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-button use wxButton class
1045 --enable-bmpbutton use wxBitmapButton class
1046 --enable-bmpcombobox use wxBitmapComboBox class
1047 --enable-calendar use wxCalendarCtrl class
1048 --enable-caret use wxCaret class
1049 --enable-checkbox use wxCheckBox class
1050 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1051 --enable-choice use wxChoice class
1052 --enable-choicebook use wxChoicebook class
1053 --enable-colourpicker use wxColourPickerCtrl class
1054 --enable-combobox use wxComboBox class
1055 --enable-comboctrl use wxComboCtrl class
1056 --enable-datepick use wxDatePickerCtrl class
1057 --enable-dirpicker use wxDirPickerCtrl class
1058 --enable-display use wxDisplay class
1059 --enable-filepicker use wxFilePickerCtrl class
1060 --enable-fontpicker use wxFontPickerCtrl class
1061 --enable-gauge use wxGauge class
1062 --enable-grid use wxGrid class
1063 --enable-dataviewctrl, use wxDataViewCtrl class
1064 --enable-hyperlink use wxHyperlinkCtrl class
1065 --enable-imaglist use wxImageList class
1066 --enable-listbook use wxListbook class
1067 --enable-listbox use wxListBox class
1068 --enable-listctrl use wxListCtrl class
1069 --enable-notebook use wxNotebook class
1070 --enable-odcombobox use wxOwnerDrawnComboBox class
1071 --enable-radiobox use wxRadioBox class
1072 --enable-radiobtn use wxRadioButton class
1073 --enable-sash use wxSashWindow class
1074 --enable-scrollbar use wxScrollBar class and scrollable windows
1075 --enable-slider use wxSlider class
1076 --enable-spinbtn use wxSpinButton class
1077 --enable-spinctrl use wxSpinCtrl class
1078 --enable-splitter use wxSplitterWindow class
1079 --enable-statbmp use wxStaticBitmap class
1080 --enable-statbox use wxStaticBox class
1081 --enable-statline use wxStaticLine class
1082 --enable-stattext use wxStaticText class
1083 --enable-statusbar use wxStatusBar class
1084 --enable-tabdialog use wxTabControl class
1085 --enable-textctrl use wxTextCtrl class
1086 --enable-togglebtn use wxToggleButton class
1087 --enable-toolbar use wxToolBar class
1088 --enable-tbarnative use native wxToolBar class
1089 --enable-treebook use wxTreebook class
1090 --enable-toolbook use wxToolbook class
1091 --enable-treectrl use wxTreeCtrl class
1092 --enable-tipwindow use wxTipWindow class
1093 --enable-popupwin use wxPopUpWindow class
1094 --enable-commondlg use all common dialogs
1095 --enable-aboutdlg use wxAboutBox
1096 --enable-choicedlg use wxChoiceDialog
1097 --enable-coldlg use wxColourDialog
1098 --enable-filedlg use wxFileDialog
1099 --enable-finddlg use wxFindReplaceDialog
1100 --enable-fontdlg use wxFontDialog
1101 --enable-dirdlg use wxDirDialog
1102 --enable-msgdlg use wxMessageDialog
1103 --enable-numberdlg use wxNumberEntryDialog
1104 --enable-splash use wxSplashScreen
1105 --enable-textdlg use wxTextDialog
1106 --enable-tipdlg use startup tips
1107 --enable-progressdlg use wxProgressDialog
1108 --enable-wizarddlg use wxWizard
1109 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1110 --enable-miniframe use wxMiniFrame class
1111 --enable-tooltips use wxToolTip class
1112 --enable-splines use spline drawing code
1113 --enable-mousewheel use mousewheel
1114 --enable-validators use wxValidator and derived classes
1115 --enable-busyinfo use wxBusyInfo
1116 --enable-joystick use wxJoystick
1117 --enable-metafiles use wxMetaFile
(Win32 only
)
1118 --enable-dragimage use wxDragImage
1119 --enable-accessibility enable accessibility support
1120 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1121 --enable-palette use wxPalette class
1122 --enable-image use wxImage class
1123 --enable-gif use gif images
(GIF
file format
)
1124 --enable-pcx use pcx images
(PCX
file format
)
1125 --enable-iff use iff images
(IFF
file format
)
1126 --enable-pnm use pnm images
(PNM
file format
)
1127 --enable-xpm use xpm images
(XPM
file format
)
1128 --enable-icocur use Windows ICO and CUR formats
1129 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1130 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1131 --disable-largefile omit support
for large files
1132 --disable-gtktest do not try to compile and run a
test GTK
+ program
1133 --disable-gtktest Do not try to compile and run a
test GTK program
1134 --disable-sdltest Do not try to compile and run a
test SDL program
1135 --enable-omf use OMF object format
(OS
/2)
1136 --disable-dependency-tracking
1137 don
't use dependency tracking even if the compiler
1139 --disable-precomp-headers
1140 don't use precompiled headers even
if compiler can
1143 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1144 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1145 --without-subdirs don
't generate makefiles for samples/demos/...
1146 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1147 --with-motif use Motif/Lesstif
1148 --with-mac use Mac OS X
1149 --with-cocoa use Cocoa
1150 --with-wine use Wine
1151 --with-msw use MS-Windows
1152 --with-pm use OS/2 Presentation Manager
1153 --with-mgl use SciTech MGL
1154 --with-directfb use DirectFB
1155 --with-microwin use MicroWindows
1157 --with-libpng use libpng (PNG image format)
1158 --with-libjpeg use libjpeg (JPEG file format)
1159 --with-libtiff use libtiff (TIFF file format)
1160 --with-libxpm use libxpm (XPM file format)
1161 --with-libmspack use libmspack (CHM help files loading)
1162 --with-sdl use SDL for audio on Unix
1163 --with-gnomeprint use GNOME print for printing under GNOME
1164 --with-gnomevfs use GNOME VFS for associating MIME types
1165 --with-hildon use Hildon framework for Nokia 770
1166 --with-opengl use OpenGL (or Mesa)
1167 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1168 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1169 --with-regex enable support for wxRegEx class
1170 --with-zlib use zlib for LZW compression
1171 --with-odbc use the IODBC and wxODBC classes
1172 --with-expat enable XML support using expat parser
1173 --with-flavour=NAME specify a name to identify this build
1174 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1175 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1176 --with-x use the X Window System
1177 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1178 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1179 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1180 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1181 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1183 Some influential environment variables:
1184 CC C compiler command
1185 CFLAGS C compiler flags
1186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1187 nonstandard directory <lib dir>
1188 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1189 headers in a nonstandard directory <include dir>
1191 CXX C++ compiler command
1192 CXXFLAGS C++ compiler flags
1193 CXXCPP C++ preprocessor
1194 PKG_CONFIG path to pkg-config utility
1196 C compiler flags for DIRECTFB, overriding pkg-config
1198 linker flags for DIRECTFB, overriding pkg-config
1200 C compiler flags for PANGOX, overriding pkg-config
1201 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1203 C compiler flags for PANGOFT2, overriding pkg-config
1205 linker flags for PANGOFT2, overriding pkg-config
1207 C compiler flags for PANGOXFT, overriding pkg-config
1209 linker flags for PANGOXFT, overriding pkg-config
1210 LIBGNOMEPRINTUI_CFLAGS
1211 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 LIBGNOMEPRINTUI_LIBS
1213 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1215 C compiler flags for GNOMEVFS, overriding pkg-config
1217 linker flags for GNOMEVFS, overriding pkg-config
1219 C compiler flags for HILDON, overriding pkg-config
1220 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1221 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1222 GST_LIBS linker flags for GST, overriding pkg-config
1224 Use these variables to override the choices made by `configure' or to
help
1225 it to
find libraries and programs with nonstandard names
/locations.
1227 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1231 if test "$ac_init_help" = "recursive"; then
1232 # If there are subdirs, report their specific --help.
1234 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1235 test -d $ac_dir || continue
1238 if test "$ac_dir" != .
; then
1239 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A "../" for each directory in $ac_dir_suffix.
1241 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1243 ac_dir_suffix
= ac_top_builddir
=
1247 .
) # No --srcdir option. We are building in place.
1249 if test -z "$ac_top_builddir"; then
1252 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1254 [\\/]* | ?
:[\\/]* ) # Absolute path.
1255 ac_srcdir
=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir
=$srcdir ;;
1258 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1259 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1262 # Do not use `cd foo && pwd` to compute absolute paths, because
1263 # the directories may not exist.
1265 .
) ac_abs_builddir
="$ac_dir";;
1268 .
) ac_abs_builddir
=`pwd`;;
1269 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1270 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1273 case $ac_abs_builddir in
1274 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1276 case ${ac_top_builddir}.
in
1277 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1278 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1279 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1282 case $ac_abs_builddir in
1283 .
) ac_abs_srcdir
=$ac_srcdir;;
1286 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1287 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1288 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1291 case $ac_abs_builddir in
1292 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1294 case $ac_top_srcdir in
1295 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1296 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1297 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1302 # Check for guested configure; otherwise get Cygnus style configure.
1303 if test -f $ac_srcdir/configure.gnu
; then
1305 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1306 elif test -f $ac_srcdir/configure
; then
1308 $SHELL $ac_srcdir/configure
--help=recursive
1309 elif test -f $ac_srcdir/configure.ac
||
1310 test -f $ac_srcdir/configure.
in; then
1312 $ac_configure --help
1314 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1320 test -n "$ac_init_help" && exit 0
1321 if $ac_init_version; then
1323 wxWidgets configure
2.7.1
1324 generated by GNU Autoconf
2.59
1326 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1327 This configure
script is free software
; the Free Software Foundation
1328 gives unlimited permission to copy
, distribute and modify it.
1334 This file contains any messages produced by compilers while
1335 running configure, to aid debugging if configure makes a mistake.
1337 It was created by wxWidgets $as_me 2.7.1, which was
1338 generated by GNU Autoconf 2.59. Invocation command line was
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir
=.
1373 echo "PATH: $as_dir"
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1397 ac_must_keep_next
=false
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1407 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1408 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1411 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1413 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1414 if test $ac_must_keep_next = true
; then
1415 ac_must_keep_next
=false
# Got value, back to normal.
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1426 -* ) ac_must_keep_next
=true
;;
1429 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1430 # Get rid of the leading space.
1436 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1437 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Be sure not to use single quotes in there, as some shells,
1443 # such as our DU 5.0 friend, will then `close' the trap.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1455 # The following way of writing the cache mishandles newlines in values,
1458 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1461 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1473 ## ----------------- ##
1474 ## Output variables. ##
1475 ## ----------------- ##
1478 for ac_var in $ac_subst_vars
1480 eval ac_val=$`echo $ac_var`
1481 echo "$ac_var='"'"'$ac_val'"'"'"
1485 if test -n "$ac_subst_files"; then
1492 for ac_var in $ac_subst_files
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1500 if test -s confdefs.h; then
1507 sed "/^$/d" confdefs.h | sort
1510 test "$ac_signal" != 0 &&
1511 echo "$as_me: caught signal $ac_signal"
1512 echo "$as_me: exit $exit_status"
1514 rm -f core *.core &&
1515 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1518 for ac_signal
in 1 2 13 15; do
1519 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -rf conftest
* confdefs.h
1525 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1528 # Predefined preprocessor variables.
1530 cat >>confdefs.h
<<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1535 cat >>confdefs.h
<<_ACEOF
1536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1540 cat >>confdefs.h
<<_ACEOF
1541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1545 cat >>confdefs.h
<<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1550 cat >>confdefs.h
<<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer explicitly selected file to automatically selected ones.
1557 if test -z "$CONFIG_SITE"; then
1558 if test "x$prefix" != xNONE
; then
1559 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1561 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1564 for ac_site_file
in $CONFIG_SITE; do
1565 if test -r "$ac_site_file"; then
1566 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1567 echo "$as_me: loading site script $ac_site_file" >&6;}
1568 sed 's/^/| /' "$ac_site_file" >&5
1573 if test -r "$cache_file"; then
1574 # Some versions of bash will fail to source /dev/null (special
1575 # files actually), so we avoid doing that.
1576 if test -f "$cache_file"; then
1577 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1578 echo "$as_me: loading cache $cache_file" >&6;}
1580 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1581 *) . .
/$cache_file;;
1585 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1586 echo "$as_me: creating cache $cache_file" >&6;}
1590 # Check that the precious variables saved in the cache have kept the same
1592 ac_cache_corrupted
=false
1593 for ac_var
in `(set) 2>&1 |
1594 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1595 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1596 eval ac_new_set
=\
$ac_env_${ac_var}_set
1597 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1598 eval ac_new_val
="\$ac_env_${ac_var}_value"
1599 case $ac_old_set,$ac_new_set in
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1603 ac_cache_corrupted
=: ;;
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1607 ac_cache_corrupted
=: ;;
1610 if test "x$ac_old_val" != "x$ac_new_val"; then
1611 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1612 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1614 echo "$as_me: former value: $ac_old_val" >&2;}
1615 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1616 echo "$as_me: current value: $ac_new_val" >&2;}
1617 ac_cache_corrupted
=:
1620 # Pass precious variables to config.status.
1621 if test "$ac_new_set" = set; then
1623 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1624 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1625 *) ac_arg
=$ac_var=$ac_new_val ;;
1627 case " $ac_configure_args " in
1628 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1629 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1633 if $ac_cache_corrupted; then
1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1635 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1637 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1638 { (exit 1); exit 1; }; }
1642 ac_cpp
='$CPP $CPPFLAGS'
1643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1677 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1678 if test -f $ac_dir/install-sh; then
1680 ac_install_sh
="$ac_aux_dir/install-sh -c"
1682 elif test -f $ac_dir/install.sh
; then
1684 ac_install_sh
="$ac_aux_dir/install.sh -c"
1686 elif test -f $ac_dir/shtool
; then
1688 ac_install_sh
="$ac_aux_dir/shtool install -c"
1692 if test -z "$ac_aux_dir"; then
1693 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1694 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1695 { (exit 1); exit 1; }; }
1697 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1698 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1699 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1701 # Make sure we can run config.sub.
1702 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1703 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1704 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1705 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: checking build system type" >&5
1708 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1709 if test "${ac_cv_build+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 ac_cv_build_alias
=$build_alias
1713 test -z "$ac_cv_build_alias" &&
1714 ac_cv_build_alias
=`$ac_config_guess`
1715 test -z "$ac_cv_build_alias" &&
1716 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1717 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1718 { (exit 1); exit 1; }; }
1719 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1720 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1721 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1722 { (exit 1); exit 1; }; }
1725 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1726 echo "${ECHO_T}$ac_cv_build" >&6
1728 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1729 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1730 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1733 echo "$as_me:$LINENO: checking host system type" >&5
1734 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1735 if test "${ac_cv_host+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 ac_cv_host_alias
=$host_alias
1739 test -z "$ac_cv_host_alias" &&
1740 ac_cv_host_alias
=$ac_cv_build_alias
1741 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1742 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1743 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1744 { (exit 1); exit 1; }; }
1747 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1748 echo "${ECHO_T}$ac_cv_host" >&6
1750 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1755 echo "$as_me:$LINENO: checking target system type" >&5
1756 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1757 if test "${ac_cv_target+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 ac_cv_target_alias
=$target_alias
1761 test "x$ac_cv_target_alias" = "x" &&
1762 ac_cv_target_alias
=$ac_cv_host_alias
1763 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1764 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1765 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1769 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1770 echo "${ECHO_T}$ac_cv_target" >&6
1771 target
=$ac_cv_target
1772 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1777 # The aliases save the names the user supplied, while $host etc.
1778 # will get canonicalized.
1779 test -n "$target_alias" &&
1780 test "$program_prefix$program_suffix$program_transform_name" = \
1782 program_prefix
=${target_alias}-
1786 wx_major_version_number
=2
1787 wx_minor_version_number
=7
1789 wx_subrelease_number
=0
1791 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1792 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1793 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1795 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1808 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1814 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1822 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1824 DEFAULT_wxUSE_COCOA
=0
1828 DEFAULT_wxUSE_MICROWIN
=0
1829 DEFAULT_wxUSE_MOTIF
=0
1835 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1836 DEFAULT_DEFAULT_wxUSE_GTK
=0
1837 DEFAULT_DEFAULT_wxUSE_MAC
=0
1838 DEFAULT_DEFAULT_wxUSE_MGL
=0
1839 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1840 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1841 DEFAULT_DEFAULT_wxUSE_MSW
=0
1842 DEFAULT_DEFAULT_wxUSE_PM
=0
1843 DEFAULT_DEFAULT_wxUSE_X11
=0
1844 DEFAULT_DEFAULT_wxUSE_DFB
=0
1849 SAMPLES_RPATH_POSTLINK
=
1851 DEFAULT_STD_FLAG
=yes
1856 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1857 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1859 cat >>confdefs.h
<<\_ACEOF
1864 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1868 cat >>confdefs.h
<<\_ACEOF
1873 if test "x$TMP" = "xalpha"; then
1875 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_GTK
=1
1882 *-*-gnu* | *-*-k*bsd
*-gnu )
1885 if test "x$TMP" = "xalpha"; then
1887 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_GTK
=1
1894 *-*-irix5* | *-*-irix6* )
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1911 cat >>confdefs.h
<<\_ACEOF
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define __SOLARIS__ 1
1919 cat >>confdefs.h
<<\_ACEOF
1923 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1924 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1930 cat >>confdefs.h
<<\_ACEOF
1934 cat >>confdefs.h
<<\_ACEOF
1938 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1947 cat >>confdefs.h
<<\_ACEOF
1948 #define __FREEBSD__ 1
1951 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_GTK
=1
1957 *-*-openbsd*|*-*-mirbsd*)
1960 cat >>confdefs.h
<<\_ACEOF
1961 #define __OPENBSD__ 1
1964 cat >>confdefs.h
<<\_ACEOF
1968 DEFAULT_DEFAULT_wxUSE_GTK
=1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __NETBSD__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_GTK
=1
1982 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1984 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1989 cat >>confdefs.h
<<\_ACEOF
1993 cat >>confdefs.h
<<\_ACEOF
1997 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2003 cat >>confdefs.h
<<\_ACEOF
2007 cat >>confdefs.h
<<\_ACEOF
2011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2016 cat >>confdefs.h
<<\_ACEOF
2020 cat >>confdefs.h
<<\_ACEOF
2024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2031 cat >>confdefs.h
<<\_ACEOF
2035 cat >>confdefs.h
<<\_ACEOF
2039 cat >>confdefs.h
<<\_ACEOF
2043 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2050 cat >>confdefs.h
<<\_ACEOF
2051 #define __UNIXWARE__ 1
2056 *-*-cygwin* | *-*-mingw32* )
2059 DEFAULT_DEFAULT_wxUSE_MSW
=1
2066 cat >>confdefs.h
<<\_ACEOF
2071 DEFAULT_DEFAULT_wxUSE_MGL
=1
2074 *-pc-os2_emx | *-pc-os2-emx )
2075 cat >>confdefs.h
<<\_ACEOF
2080 cat >>confdefs.h
<<\_ACEOF
2085 DEFAULT_DEFAULT_wxUSE_PM
=1
2087 LDFLAGS
="$LDFLAGS -Zcrtdll"
2088 ac_executable_extensions
=".exe"
2089 export ac_executable_extensions
2093 for ac_dir
in $PATH; do
2095 if test -z "$ac_TEMP_PATH"; then
2096 ac_TEMP_PATH
="$ac_dir"
2098 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2101 export PATH
="$ac_TEMP_PATH"
2110 cat >>confdefs.h
<<\_ACEOF
2114 cat >>confdefs.h
<<\_ACEOF
2115 #define __DARWIN__ 1
2118 cat >>confdefs.h
<<\_ACEOF
2119 #define TARGET_CARBON 1
2122 DEFAULT_DEFAULT_wxUSE_MAC
=1
2125 powerpc
-apple-macos* )
2127 ac_cv_c_bigendian
=yes
2129 DEFAULT_DEFAULT_wxUSE_MAC
=1
2135 cat >>confdefs.h
<<\_ACEOF
2142 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2143 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2144 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2145 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2147 DEFAULT_DEFAULT_wxUSE_X11
=1
2148 DEFAULT_wxUSE_SHARED
=no
2154 wx_arg_cache_file
="configarg.cache"
2155 echo "loading argument cache $wx_arg_cache_file"
2156 rm -f ${wx_arg_cache_file}.tmp
2157 touch ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}
2162 if test $DEBUG_CONFIGURE = 1; then
2163 DEFAULT_wxUSE_UNIVERSAL
=no
2164 DEFAULT_wxUSE_STL
=no
2166 DEFAULT_wxUSE_NANOX
=no
2168 DEFAULT_wxUSE_THREADS
=yes
2170 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2171 DEFAULT_wxUSE_OPTIMISE
=no
2172 DEFAULT_wxUSE_PROFILE
=no
2173 DEFAULT_wxUSE_NO_DEPS
=no
2174 DEFAULT_wxUSE_NO_RTTI
=no
2175 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2176 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2177 DEFAULT_wxUSE_RPATH
=yes
2178 DEFAULT_wxUSE_PERMISSIVE
=no
2179 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2180 DEFAULT_wxUSE_DEBUG_INFO
=yes
2181 DEFAULT_wxUSE_DEBUG_GDB
=yes
2182 DEFAULT_wxUSE_MEM_TRACING
=no
2183 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2184 DEFAULT_wxUSE_DMALLOC
=no
2185 DEFAULT_wxUSE_APPLE_IEEE
=no
2187 DEFAULT_wxUSE_EXCEPTIONS
=no
2188 DEFAULT_wxUSE_LOG
=yes
2189 DEFAULT_wxUSE_LOGWINDOW
=no
2190 DEFAULT_wxUSE_LOGGUI
=no
2191 DEFAULT_wxUSE_LOGDIALOG
=no
2193 DEFAULT_wxUSE_GUI
=yes
2194 DEFAULT_wxUSE_CONTROLS
=no
2196 DEFAULT_wxUSE_REGEX
=no
2197 DEFAULT_wxUSE_XML
=no
2198 DEFAULT_wxUSE_EXPAT
=no
2199 DEFAULT_wxUSE_ZLIB
=no
2200 DEFAULT_wxUSE_LIBPNG
=no
2201 DEFAULT_wxUSE_LIBJPEG
=no
2202 DEFAULT_wxUSE_LIBTIFF
=no
2203 DEFAULT_wxUSE_LIBXPM
=no
2204 DEFAULT_wxUSE_LIBMSPACK
=no
2205 DEFAULT_wxUSE_LIBSDL
=no
2206 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2207 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2208 DEFAULT_wxUSE_LIBHILDON
=no
2209 DEFAULT_wxUSE_ODBC
=no
2210 DEFAULT_wxUSE_OPENGL
=no
2212 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2213 DEFAULT_wxUSE_STACKWALKER
=no
2214 DEFAULT_wxUSE_DEBUGREPORT
=no
2215 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2216 DEFAULT_wxUSE_STD_IOSTREAM
=no
2217 DEFAULT_wxUSE_STD_STRING
=no
2218 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2219 DEFAULT_wxUSE_DATETIME
=no
2220 DEFAULT_wxUSE_TIMER
=no
2221 DEFAULT_wxUSE_STOPWATCH
=no
2222 DEFAULT_wxUSE_FILE
=no
2223 DEFAULT_wxUSE_FFILE
=no
2224 DEFAULT_wxUSE_STDPATHS
=no
2225 DEFAULT_wxUSE_TEXTBUFFER
=no
2226 DEFAULT_wxUSE_TEXTFILE
=no
2227 DEFAULT_wxUSE_SOUND
=no
2228 DEFAULT_wxUSE_MEDIACTRL
=no
2229 DEFAULT_wxUSE_GSTREAMER8
=no
2230 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2231 DEFAULT_wxUSE_INTL
=no
2232 DEFAULT_wxUSE_CONFIG
=no
2233 DEFAULT_wxUSE_FONTMAP
=no
2234 DEFAULT_wxUSE_STREAMS
=no
2235 DEFAULT_wxUSE_SOCKETS
=no
2236 DEFAULT_wxUSE_OLE
=no
2237 DEFAULT_wxUSE_DATAOBJ
=no
2238 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2239 DEFAULT_wxUSE_JOYSTICK
=no
2240 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2241 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2242 DEFAULT_wxUSE_LONGLONG
=no
2243 DEFAULT_wxUSE_GEOMETRY
=no
2245 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2246 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2247 DEFAULT_wxUSE_POSTSCRIPT
=no
2249 DEFAULT_wxUSE_CLIPBOARD
=no
2250 DEFAULT_wxUSE_TOOLTIPS
=no
2251 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2252 DEFAULT_wxUSE_DRAGIMAGE
=no
2253 DEFAULT_wxUSE_SPLINES
=no
2254 DEFAULT_wxUSE_MOUSEWHEEL
=no
2256 DEFAULT_wxUSE_MDI
=no
2257 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2258 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2259 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2261 DEFAULT_wxUSE_RESOURCES
=no
2262 DEFAULT_wxUSE_CONSTRAINTS
=no
2263 DEFAULT_wxUSE_IPC
=no
2264 DEFAULT_wxUSE_HELP
=no
2265 DEFAULT_wxUSE_MS_HTML_HELP
=no
2266 DEFAULT_wxUSE_WXHTML_HELP
=no
2267 DEFAULT_wxUSE_TREELAYOUT
=no
2268 DEFAULT_wxUSE_METAFILE
=no
2269 DEFAULT_wxUSE_MIMETYPE
=no
2270 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2271 DEFAULT_wxUSE_PROTOCOL
=no
2272 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2273 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2274 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2275 DEFAULT_wxUSE_URL
=no
2276 DEFAULT_wxUSE_VARIANT
=no
2278 DEFAULT_wxUSE_ABOUTDLG
=no
2279 DEFAULT_wxUSE_COMMONDLGS
=no
2280 DEFAULT_wxUSE_CHOICEDLG
=no
2281 DEFAULT_wxUSE_COLOURDLG
=no
2282 DEFAULT_wxUSE_DIRDLG
=no
2283 DEFAULT_wxUSE_FILEDLG
=no
2284 DEFAULT_wxUSE_FINDREPLDLG
=no
2285 DEFAULT_wxUSE_FONTDLG
=no
2286 DEFAULT_wxUSE_MSGDLG
=no
2287 DEFAULT_wxUSE_NUMBERDLG
=no
2288 DEFAULT_wxUSE_TEXTDLG
=no
2289 DEFAULT_wxUSE_SPLASH
=no
2290 DEFAULT_wxUSE_STARTUP_TIPS
=no
2291 DEFAULT_wxUSE_PROGRESSDLG
=no
2292 DEFAULT_wxUSE_WIZARDDLG
=no
2294 DEFAULT_wxUSE_MENUS
=no
2295 DEFAULT_wxUSE_MINIFRAME
=no
2296 DEFAULT_wxUSE_HTML
=no
2297 DEFAULT_wxUSE_RICHTEXT
=no
2298 DEFAULT_wxUSE_XRC
=no
2299 DEFAULT_wxUSE_AUI
=no
2300 DEFAULT_wxUSE_WEBKIT
=no
2301 DEFAULT_wxUSE_FILESYSTEM
=no
2302 DEFAULT_wxUSE_FS_INET
=no
2303 DEFAULT_wxUSE_FS_ZIP
=no
2304 DEFAULT_wxUSE_BUSYINFO
=no
2305 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2306 DEFAULT_wxUSE_ZIPSTREAM
=no
2307 DEFAULT_wxUSE_VALIDATORS
=no
2309 DEFAULT_wxUSE_ACCEL
=no
2310 DEFAULT_wxUSE_BUTTON
=no
2311 DEFAULT_wxUSE_BMPBUTTON
=no
2312 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2313 DEFAULT_wxUSE_CALCTRL
=no
2314 DEFAULT_wxUSE_CARET
=no
2315 DEFAULT_wxUSE_CHECKBOX
=no
2316 DEFAULT_wxUSE_CHECKLST
=no
2317 DEFAULT_wxUSE_CHOICE
=no
2318 DEFAULT_wxUSE_CHOICEBOOK
=no
2319 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2320 DEFAULT_wxUSE_COMBOBOX
=no
2321 DEFAULT_wxUSE_COMBOCTRL
=no
2322 DEFAULT_wxUSE_DATEPICKCTRL
=no
2323 DEFAULT_wxUSE_DISPLAY
=no
2324 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2325 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2326 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2327 DEFAULT_wxUSE_GAUGE
=no
2328 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2329 DEFAULT_wxUSE_GRID
=no
2330 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2331 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2332 DEFAULT_wxUSE_IMAGLIST
=no
2333 DEFAULT_wxUSE_LISTBOOK
=no
2334 DEFAULT_wxUSE_LISTBOX
=no
2335 DEFAULT_wxUSE_LISTCTRL
=no
2336 DEFAULT_wxUSE_NOTEBOOK
=no
2337 DEFAULT_wxUSE_ODCOMBOBOX
=no
2338 DEFAULT_wxUSE_RADIOBOX
=no
2339 DEFAULT_wxUSE_RADIOBTN
=no
2340 DEFAULT_wxUSE_SASH
=no
2341 DEFAULT_wxUSE_SCROLLBAR
=no
2342 DEFAULT_wxUSE_SLIDER
=no
2343 DEFAULT_wxUSE_SPINBTN
=no
2344 DEFAULT_wxUSE_SPINCTRL
=no
2345 DEFAULT_wxUSE_SPLITTER
=no
2346 DEFAULT_wxUSE_STATBMP
=no
2347 DEFAULT_wxUSE_STATBOX
=no
2348 DEFAULT_wxUSE_STATLINE
=no
2349 DEFAULT_wxUSE_STATTEXT
=no
2350 DEFAULT_wxUSE_STATUSBAR
=yes
2351 DEFAULT_wxUSE_TAB_DIALOG
=no
2352 DEFAULT_wxUSE_TEXTCTRL
=no
2353 DEFAULT_wxUSE_TOGGLEBTN
=no
2354 DEFAULT_wxUSE_TOOLBAR
=no
2355 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2356 DEFAULT_wxUSE_TREEBOOK
=no
2357 DEFAULT_wxUSE_TOOLBOOK
=no
2358 DEFAULT_wxUSE_TREECTRL
=no
2359 DEFAULT_wxUSE_POPUPWIN
=no
2360 DEFAULT_wxUSE_TIPWINDOW
=no
2362 DEFAULT_wxUSE_UNICODE
=no
2363 DEFAULT_wxUSE_UNICODE_MSLU
=no
2364 DEFAULT_wxUSE_WCSRTOMBS
=no
2366 DEFAULT_wxUSE_PALETTE
=no
2367 DEFAULT_wxUSE_IMAGE
=no
2368 DEFAULT_wxUSE_GIF
=no
2369 DEFAULT_wxUSE_PCX
=no
2370 DEFAULT_wxUSE_PNM
=no
2371 DEFAULT_wxUSE_IFF
=no
2372 DEFAULT_wxUSE_XPM
=no
2373 DEFAULT_wxUSE_ICO_CUR
=no
2374 DEFAULT_wxUSE_ACCESSIBILITY
=no
2376 DEFAULT_wxUSE_MONOLITHIC
=no
2377 DEFAULT_wxUSE_PLUGINS
=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 DEFAULT_wxUSE_UNIVERSAL
=no
2381 DEFAULT_wxUSE_STL
=no
2383 DEFAULT_wxUSE_NANOX
=no
2385 DEFAULT_wxUSE_THREADS
=yes
2387 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2388 DEFAULT_wxUSE_OPTIMISE
=yes
2389 DEFAULT_wxUSE_PROFILE
=no
2390 DEFAULT_wxUSE_NO_DEPS
=no
2391 DEFAULT_wxUSE_NO_RTTI
=no
2392 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2393 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2394 DEFAULT_wxUSE_RPATH
=yes
2395 DEFAULT_wxUSE_PERMISSIVE
=no
2396 DEFAULT_wxUSE_DEBUG_FLAG
=no
2397 DEFAULT_wxUSE_DEBUG_INFO
=no
2398 DEFAULT_wxUSE_DEBUG_GDB
=no
2399 DEFAULT_wxUSE_MEM_TRACING
=no
2400 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2401 DEFAULT_wxUSE_DMALLOC
=no
2402 DEFAULT_wxUSE_APPLE_IEEE
=yes
2404 DEFAULT_wxUSE_EXCEPTIONS
=yes
2405 DEFAULT_wxUSE_LOG
=yes
2406 DEFAULT_wxUSE_LOGWINDOW
=yes
2407 DEFAULT_wxUSE_LOGGUI
=yes
2408 DEFAULT_wxUSE_LOGDIALOG
=yes
2410 DEFAULT_wxUSE_GUI
=yes
2412 DEFAULT_wxUSE_REGEX
=yes
2413 DEFAULT_wxUSE_XML
=yes
2414 DEFAULT_wxUSE_EXPAT
=yes
2415 DEFAULT_wxUSE_ZLIB
=yes
2416 DEFAULT_wxUSE_LIBPNG
=yes
2417 DEFAULT_wxUSE_LIBJPEG
=yes
2418 DEFAULT_wxUSE_LIBTIFF
=yes
2419 DEFAULT_wxUSE_LIBXPM
=yes
2420 DEFAULT_wxUSE_LIBMSPACK
=yes
2421 DEFAULT_wxUSE_LIBSDL
=no
2422 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2423 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2424 DEFAULT_wxUSE_LIBHILDON
=no
2425 DEFAULT_wxUSE_ODBC
=no
2426 DEFAULT_wxUSE_OPENGL
=no
2428 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2429 DEFAULT_wxUSE_STACKWALKER
=yes
2430 DEFAULT_wxUSE_DEBUGREPORT
=yes
2431 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2432 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2433 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2434 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2435 DEFAULT_wxUSE_DATETIME
=yes
2436 DEFAULT_wxUSE_TIMER
=yes
2437 DEFAULT_wxUSE_STOPWATCH
=yes
2438 DEFAULT_wxUSE_FILE
=yes
2439 DEFAULT_wxUSE_FFILE
=yes
2440 DEFAULT_wxUSE_STDPATHS
=yes
2441 DEFAULT_wxUSE_TEXTBUFFER
=yes
2442 DEFAULT_wxUSE_TEXTFILE
=yes
2443 DEFAULT_wxUSE_SOUND
=yes
2444 DEFAULT_wxUSE_MEDIACTRL
=no
2445 DEFAULT_wxUSE_GSTREAMER8
=no
2446 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2447 DEFAULT_wxUSE_INTL
=yes
2448 DEFAULT_wxUSE_CONFIG
=yes
2449 DEFAULT_wxUSE_FONTMAP
=yes
2450 DEFAULT_wxUSE_STREAMS
=yes
2451 DEFAULT_wxUSE_SOCKETS
=yes
2452 DEFAULT_wxUSE_OLE
=yes
2453 DEFAULT_wxUSE_DATAOBJ
=yes
2454 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2455 DEFAULT_wxUSE_JOYSTICK
=yes
2456 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2457 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2458 DEFAULT_wxUSE_LONGLONG
=yes
2459 DEFAULT_wxUSE_GEOMETRY
=yes
2461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2463 DEFAULT_wxUSE_POSTSCRIPT
=yes
2465 DEFAULT_wxUSE_CLIPBOARD
=yes
2466 DEFAULT_wxUSE_TOOLTIPS
=yes
2467 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2468 DEFAULT_wxUSE_DRAGIMAGE
=yes
2469 DEFAULT_wxUSE_SPLINES
=yes
2470 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2472 DEFAULT_wxUSE_MDI
=yes
2473 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2474 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2475 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2477 DEFAULT_wxUSE_RESOURCES
=no
2478 DEFAULT_wxUSE_CONSTRAINTS
=yes
2479 DEFAULT_wxUSE_IPC
=yes
2480 DEFAULT_wxUSE_HELP
=yes
2481 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2482 DEFAULT_wxUSE_WXHTML_HELP
=yes
2483 DEFAULT_wxUSE_TREELAYOUT
=yes
2484 DEFAULT_wxUSE_METAFILE
=yes
2485 DEFAULT_wxUSE_MIMETYPE
=yes
2486 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2487 DEFAULT_wxUSE_PROTOCOL
=yes
2488 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2489 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2490 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2491 DEFAULT_wxUSE_URL
=yes
2492 DEFAULT_wxUSE_VARIANT
=yes
2494 DEFAULT_wxUSE_ABOUTDLG
=yes
2495 DEFAULT_wxUSE_COMMONDLGS
=yes
2496 DEFAULT_wxUSE_CHOICEDLG
=yes
2497 DEFAULT_wxUSE_COLOURDLG
=yes
2498 DEFAULT_wxUSE_DIRDLG
=yes
2499 DEFAULT_wxUSE_FILEDLG
=yes
2500 DEFAULT_wxUSE_FINDREPLDLG
=yes
2501 DEFAULT_wxUSE_FONTDLG
=yes
2502 DEFAULT_wxUSE_MSGDLG
=yes
2503 DEFAULT_wxUSE_NUMBERDLG
=yes
2504 DEFAULT_wxUSE_TEXTDLG
=yes
2505 DEFAULT_wxUSE_SPLASH
=yes
2506 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2507 DEFAULT_wxUSE_PROGRESSDLG
=yes
2508 DEFAULT_wxUSE_WIZARDDLG
=yes
2510 DEFAULT_wxUSE_MENUS
=yes
2511 DEFAULT_wxUSE_MINIFRAME
=yes
2512 DEFAULT_wxUSE_HTML
=yes
2513 DEFAULT_wxUSE_RICHTEXT
=yes
2514 DEFAULT_wxUSE_XRC
=yes
2515 DEFAULT_wxUSE_AUI
=yes
2516 DEFAULT_wxUSE_WEBKIT
=yes
2517 DEFAULT_wxUSE_FILESYSTEM
=yes
2518 DEFAULT_wxUSE_FS_INET
=yes
2519 DEFAULT_wxUSE_FS_ZIP
=yes
2520 DEFAULT_wxUSE_BUSYINFO
=yes
2521 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2522 DEFAULT_wxUSE_ZIPSTREAM
=yes
2523 DEFAULT_wxUSE_VALIDATORS
=yes
2525 DEFAULT_wxUSE_ACCEL
=yes
2526 DEFAULT_wxUSE_BUTTON
=yes
2527 DEFAULT_wxUSE_BMPBUTTON
=yes
2528 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2529 DEFAULT_wxUSE_CALCTRL
=yes
2530 DEFAULT_wxUSE_CARET
=yes
2531 DEFAULT_wxUSE_CHECKBOX
=yes
2532 DEFAULT_wxUSE_CHECKLST
=yes
2533 DEFAULT_wxUSE_CHOICE
=yes
2534 DEFAULT_wxUSE_CHOICEBOOK
=yes
2535 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2536 DEFAULT_wxUSE_COMBOBOX
=yes
2537 DEFAULT_wxUSE_COMBOCTRL
=yes
2538 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2539 DEFAULT_wxUSE_DISPLAY
=yes
2540 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2541 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2542 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2543 DEFAULT_wxUSE_GAUGE
=yes
2544 DEFAULT_wxUSE_GRID
=yes
2545 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2546 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2547 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2548 DEFAULT_wxUSE_IMAGLIST
=yes
2549 DEFAULT_wxUSE_LISTBOOK
=yes
2550 DEFAULT_wxUSE_LISTBOX
=yes
2551 DEFAULT_wxUSE_LISTCTRL
=yes
2552 DEFAULT_wxUSE_NOTEBOOK
=yes
2553 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2554 DEFAULT_wxUSE_RADIOBOX
=yes
2555 DEFAULT_wxUSE_RADIOBTN
=yes
2556 DEFAULT_wxUSE_SASH
=yes
2557 DEFAULT_wxUSE_SCROLLBAR
=yes
2558 DEFAULT_wxUSE_SLIDER
=yes
2559 DEFAULT_wxUSE_SPINBTN
=yes
2560 DEFAULT_wxUSE_SPINCTRL
=yes
2561 DEFAULT_wxUSE_SPLITTER
=yes
2562 DEFAULT_wxUSE_STATBMP
=yes
2563 DEFAULT_wxUSE_STATBOX
=yes
2564 DEFAULT_wxUSE_STATLINE
=yes
2565 DEFAULT_wxUSE_STATTEXT
=yes
2566 DEFAULT_wxUSE_STATUSBAR
=yes
2567 DEFAULT_wxUSE_TAB_DIALOG
=no
2568 DEFAULT_wxUSE_TEXTCTRL
=yes
2569 DEFAULT_wxUSE_TOGGLEBTN
=yes
2570 DEFAULT_wxUSE_TOOLBAR
=yes
2571 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2572 DEFAULT_wxUSE_TREEBOOK
=yes
2573 DEFAULT_wxUSE_TOOLBOOK
=yes
2574 DEFAULT_wxUSE_TREECTRL
=yes
2575 DEFAULT_wxUSE_POPUPWIN
=yes
2576 DEFAULT_wxUSE_TIPWINDOW
=yes
2578 DEFAULT_wxUSE_UNICODE
=no
2579 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2580 DEFAULT_wxUSE_WCSRTOMBS
=no
2582 DEFAULT_wxUSE_PALETTE
=yes
2583 DEFAULT_wxUSE_IMAGE
=yes
2584 DEFAULT_wxUSE_GIF
=yes
2585 DEFAULT_wxUSE_PCX
=yes
2586 DEFAULT_wxUSE_IFF
=no
2587 DEFAULT_wxUSE_PNM
=yes
2588 DEFAULT_wxUSE_XPM
=yes
2589 DEFAULT_wxUSE_ICO_CUR
=yes
2590 DEFAULT_wxUSE_ACCESSIBILITY
=no
2592 DEFAULT_wxUSE_MONOLITHIC
=no
2593 DEFAULT_wxUSE_PLUGINS
=no
2594 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2596 DEFAULT_wxUSE_GTK2
=yes
2602 for toolkit
in `echo $ALL_TOOLKITS`; do
2603 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2604 if test "x$LINE" != "x" ; then
2605 has_toolkit_in_cache
=1
2606 eval "DEFAULT_$LINE"
2607 eval "CACHE_$toolkit=1"
2609 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2610 if test "x$LINE" != "x" ; then
2611 eval "DEFAULT_$LINE"
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2622 # Check whether --enable-gui or --disable-gui was given.
2623 if test "${enable_gui+set}" = set; then
2624 enableval
="$enable_gui"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_gui
='wxUSE_GUI=yes'
2629 ac_cv_use_gui
='wxUSE_GUI=no'
2634 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2645 eval "$ac_cv_use_gui"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_GUI" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2663 # Check whether --enable-monolithic or --disable-monolithic was given.
2664 if test "${enable_monolithic+set}" = set; then
2665 enableval
="$enable_monolithic"
2667 if test "$enableval" = yes; then
2668 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2670 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2675 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x
; then
2677 eval "DEFAULT_$LINE"
2682 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2686 eval "$ac_cv_use_monolithic"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_MONOLITHIC" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2704 # Check whether --enable-plugins or --disable-plugins was given.
2705 if test "${enable_plugins+set}" = set; then
2706 enableval
="$enable_plugins"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2711 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2716 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2727 eval "$ac_cv_use_plugins"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_PLUGINS" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2742 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2743 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2746 # Check whether --with-subdirs or --without-subdirs was given.
2747 if test "${with_subdirs+set}" = set; then
2748 withval
="$with_subdirs"
2750 if test "$withval" = yes; then
2751 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2753 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2758 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x
; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2769 eval "$ac_cv_use_subdirs"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2774 if test "$wxWITH_SUBDIRS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2783 if test "$wxUSE_GUI" = "yes"; then
2787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2788 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2790 # Check whether --enable-universal or --disable-universal was given.
2791 if test "${enable_universal+set}" = set; then
2792 enableval
="$enable_universal"
2794 if test "$enableval" = yes; then
2795 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2797 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2802 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x
; then
2804 eval "DEFAULT_$LINE"
2809 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2813 eval "$ac_cv_use_universal"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2818 if test "$wxUSE_UNIVERSAL" = yes; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2827 # Check whether --with-gtk or --without-gtk was given.
2828 if test "${with_gtk+set}" = set; then
2830 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2833 # Check whether --with-motif or --without-motif was given.
2834 if test "${with_motif+set}" = set; then
2835 withval
="$with_motif"
2836 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2839 # Check whether --with-mac or --without-mac was given.
2840 if test "${with_mac+set}" = set; then
2842 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2845 # Check whether --with-cocoa or --without-cocoa was given.
2846 if test "${with_cocoa+set}" = set; then
2847 withval
="$with_cocoa"
2848 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2851 # Check whether --with-wine or --without-wine was given.
2852 if test "${with_wine+set}" = set; then
2853 withval
="$with_wine"
2854 wxUSE_WINE
="$withval" CACHE_WINE
=1
2857 # Check whether --with-msw or --without-msw was given.
2858 if test "${with_msw+set}" = set; then
2860 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2863 # Check whether --with-pm or --without-pm was given.
2864 if test "${with_pm+set}" = set; then
2866 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2869 # Check whether --with-mgl or --without-mgl was given.
2870 if test "${with_mgl+set}" = set; then
2872 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2875 # Check whether --with-directfb or --without-directfb was given.
2876 if test "${with_directfb+set}" = set; then
2877 withval
="$with_directfb"
2878 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2881 # Check whether --with-microwin or --without-microwin was given.
2882 if test "${with_microwin+set}" = set; then
2883 withval
="$with_microwin"
2884 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2887 # Check whether --with-x11 or --without-x11 was given.
2888 if test "${with_x11+set}" = set; then
2890 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2895 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2897 # Check whether --enable-nanox or --disable-nanox was given.
2898 if test "${enable_nanox+set}" = set; then
2899 enableval
="$enable_nanox"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2904 ac_cv_use_nanox
='wxUSE_NANOX=no'
2909 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2920 eval "$ac_cv_use_nanox"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_NANOX" = yes; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2934 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2935 if test "${enable_gtk2+set}" = set; then
2936 enableval
="$enable_gtk2"
2937 wxUSE_GTK2
="$enableval"
2941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2942 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2944 # Check whether --enable-gpe or --disable-gpe was given.
2945 if test "${enable_gpe+set}" = set; then
2946 enableval
="$enable_gpe"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_gpe
='wxUSE_GPE=yes'
2951 ac_cv_use_gpe
='wxUSE_GPE=no'
2956 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2967 eval "$ac_cv_use_gpe"
2968 if test "$no_cache" != 1; then
2969 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2972 if test "$wxUSE_GPE" = yes; then
2973 echo "$as_me:$LINENO: result: yes" >&5
2974 echo "${ECHO_T}yes" >&6
2976 echo "$as_me:$LINENO: result: no" >&5
2977 echo "${ECHO_T}no" >&6
2982 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2983 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2986 # Check whether --with-libpng or --without-libpng was given.
2987 if test "${with_libpng+set}" = set; then
2988 withval
="$with_libpng"
2990 if test "$withval" = yes; then
2991 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2992 elif test "$withval" = no
; then
2993 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2994 elif test "$withval" = sys
; then
2995 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2996 elif test "$withval" = builtin; then
2997 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2999 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3000 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3001 { (exit 1); exit 1; }; }
3006 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x
; then
3008 eval "DEFAULT_$LINE"
3013 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3017 eval "$ac_cv_use_libpng"
3018 if test "$no_cache" != 1; then
3019 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3022 if test "$wxUSE_LIBPNG" = yes; then
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3025 elif test "$wxUSE_LIBPNG" = no
; then
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3028 elif test "$wxUSE_LIBPNG" = sys
; then
3029 echo "$as_me:$LINENO: result: system version" >&5
3030 echo "${ECHO_T}system version" >&6
3031 elif test "$wxUSE_LIBPNG" = builtin; then
3032 echo "$as_me:$LINENO: result: builtin version" >&5
3033 echo "${ECHO_T}builtin version" >&6
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3041 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3042 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3045 # Check whether --with-libjpeg or --without-libjpeg was given.
3046 if test "${with_libjpeg+set}" = set; then
3047 withval
="$with_libjpeg"
3049 if test "$withval" = yes; then
3050 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3051 elif test "$withval" = no
; then
3052 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3053 elif test "$withval" = sys
; then
3054 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3055 elif test "$withval" = builtin; then
3056 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3058 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3059 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3060 { (exit 1); exit 1; }; }
3065 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x
; then
3067 eval "DEFAULT_$LINE"
3072 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3076 eval "$ac_cv_use_libjpeg"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_LIBJPEG" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3084 elif test "$wxUSE_LIBJPEG" = no
; then
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3087 elif test "$wxUSE_LIBJPEG" = sys
; then
3088 echo "$as_me:$LINENO: result: system version" >&5
3089 echo "${ECHO_T}system version" >&6
3090 elif test "$wxUSE_LIBJPEG" = builtin; then
3091 echo "$as_me:$LINENO: result: builtin version" >&5
3092 echo "${ECHO_T}builtin version" >&6
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3100 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3101 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3104 # Check whether --with-libtiff or --without-libtiff was given.
3105 if test "${with_libtiff+set}" = set; then
3106 withval
="$with_libtiff"
3108 if test "$withval" = yes; then
3109 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3110 elif test "$withval" = no
; then
3111 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3112 elif test "$withval" = sys
; then
3113 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3114 elif test "$withval" = builtin; then
3115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3117 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3118 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3119 { (exit 1); exit 1; }; }
3124 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3135 eval "$ac_cv_use_libtiff"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_LIBTIFF" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3143 elif test "$wxUSE_LIBTIFF" = no
; then
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3146 elif test "$wxUSE_LIBTIFF" = sys
; then
3147 echo "$as_me:$LINENO: result: system version" >&5
3148 echo "${ECHO_T}system version" >&6
3149 elif test "$wxUSE_LIBTIFF" = builtin; then
3150 echo "$as_me:$LINENO: result: builtin version" >&5
3151 echo "${ECHO_T}builtin version" >&6
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3159 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3160 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3163 # Check whether --with-libxpm or --without-libxpm was given.
3164 if test "${with_libxpm+set}" = set; then
3165 withval
="$with_libxpm"
3167 if test "$withval" = yes; then
3168 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3169 elif test "$withval" = no
; then
3170 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3171 elif test "$withval" = sys
; then
3172 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3173 elif test "$withval" = builtin; then
3174 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3176 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3177 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3178 { (exit 1); exit 1; }; }
3183 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3194 eval "$ac_cv_use_libxpm"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_LIBXPM" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 elif test "$wxUSE_LIBXPM" = no
; then
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 elif test "$wxUSE_LIBXPM" = sys
; then
3206 echo "$as_me:$LINENO: result: system version" >&5
3207 echo "${ECHO_T}system version" >&6
3208 elif test "$wxUSE_LIBXPM" = builtin; then
3209 echo "$as_me:$LINENO: result: builtin version" >&5
3210 echo "${ECHO_T}builtin version" >&6
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3219 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3220 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3223 # Check whether --with-libmspack or --without-libmspack was given.
3224 if test "${with_libmspack+set}" = set; then
3225 withval
="$with_libmspack"
3227 if test "$withval" = yes; then
3228 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3230 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3235 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3246 eval "$ac_cv_use_libmspack"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_LIBMSPACK" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3265 # Check whether --with-sdl or --without-sdl was given.
3266 if test "${with_sdl+set}" = set; then
3269 if test "$withval" = yes; then
3270 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3272 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3277 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x
; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3288 eval "$ac_cv_use_sdl"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_LIBSDL" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3307 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3308 if test "${with_gnomeprint+set}" = set; then
3309 withval
="$with_gnomeprint"
3311 if test "$withval" = yes; then
3312 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3314 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3319 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3330 eval "$ac_cv_use_gnomeprint"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3335 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3349 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3350 if test "${with_gnomevfs+set}" = set; then
3351 withval
="$with_gnomevfs"
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3356 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3361 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3372 eval "$ac_cv_use_gnomevfs"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3391 # Check whether --with-hildon or --without-hildon was given.
3392 if test "${with_hildon+set}" = set; then
3393 withval
="$with_hildon"
3395 if test "$withval" = yes; then
3396 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3398 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3403 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3414 eval "$ac_cv_use_hildon"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_LIBHILDON" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3433 # Check whether --with-opengl or --without-opengl was given.
3434 if test "${with_opengl+set}" = set; then
3435 withval
="$with_opengl"
3437 if test "$withval" = yes; then
3438 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3440 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3445 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3456 eval "$ac_cv_use_opengl"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_OPENGL" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3470 if test "$wxUSE_UNIVERSAL" = "yes"; then
3472 # Check whether --with-themes or --without-themes was given.
3473 if test "${with_themes+set}" = set; then
3474 withval
="$with_themes"
3475 wxUNIV_THEMES
="$withval"
3483 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3487 # Check whether --with-dmalloc or --without-dmalloc was given.
3488 if test "${with_dmalloc+set}" = set; then
3489 withval
="$with_dmalloc"
3491 if test "$withval" = yes; then
3492 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3494 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3499 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3510 eval "$ac_cv_use_dmalloc"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DMALLOC" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3524 echo "$as_me:$LINENO: checking for --with-regex" >&5
3525 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3528 # Check whether --with-regex or --without-regex was given.
3529 if test "${with_regex+set}" = set; then
3530 withval
="$with_regex"
3532 if test "$withval" = yes; then
3533 ac_cv_use_regex
='wxUSE_REGEX=yes'
3534 elif test "$withval" = no
; then
3535 ac_cv_use_regex
='wxUSE_REGEX=no'
3536 elif test "$withval" = sys
; then
3537 ac_cv_use_regex
='wxUSE_REGEX=sys'
3538 elif test "$withval" = builtin; then
3539 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3541 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3542 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3548 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x
; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3559 eval "$ac_cv_use_regex"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_REGEX" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 elif test "$wxUSE_REGEX" = no
; then
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 elif test "$wxUSE_REGEX" = sys
; then
3571 echo "$as_me:$LINENO: result: system version" >&5
3572 echo "${ECHO_T}system version" >&6
3573 elif test "$wxUSE_REGEX" = builtin; then
3574 echo "$as_me:$LINENO: result: builtin version" >&5
3575 echo "${ECHO_T}builtin version" >&6
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3583 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3584 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3587 # Check whether --with-zlib or --without-zlib was given.
3588 if test "${with_zlib+set}" = set; then
3589 withval
="$with_zlib"
3591 if test "$withval" = yes; then
3592 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3593 elif test "$withval" = no
; then
3594 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3595 elif test "$withval" = sys
; then
3596 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3597 elif test "$withval" = builtin; then
3598 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3607 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3618 eval "$ac_cv_use_zlib"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_ZLIB" = yes; then
3624 echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6
3626 elif test "$wxUSE_ZLIB" = no
; then
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3629 elif test "$wxUSE_ZLIB" = sys
; then
3630 echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6
3632 elif test "$wxUSE_ZLIB" = builtin; then
3633 echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3642 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3643 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3646 # Check whether --with-odbc or --without-odbc was given.
3647 if test "${with_odbc+set}" = set; then
3648 withval
="$with_odbc"
3650 if test "$withval" = yes; then
3651 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3652 elif test "$withval" = no
; then
3653 ac_cv_use_odbc
='wxUSE_ODBC=no'
3654 elif test "$withval" = sys
; then
3655 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3656 elif test "$withval" = builtin; then
3657 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3666 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x
; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3677 eval "$ac_cv_use_odbc"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_ODBC" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3685 elif test "$wxUSE_ODBC" = no
; then
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3688 elif test "$wxUSE_ODBC" = sys
; then
3689 echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6
3691 elif test "$wxUSE_ODBC" = builtin; then
3692 echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 echo "$as_me:$LINENO: checking for --with-expat" >&5
3702 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3705 # Check whether --with-expat or --without-expat was given.
3706 if test "${with_expat+set}" = set; then
3707 withval
="$with_expat"
3709 if test "$withval" = yes; then
3710 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3711 elif test "$withval" = no
; then
3712 ac_cv_use_expat
='wxUSE_EXPAT=no'
3713 elif test "$withval" = sys
; then
3714 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3715 elif test "$withval" = builtin; then
3716 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3718 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3719 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3720 { (exit 1); exit 1; }; }
3725 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x
; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3736 eval "$ac_cv_use_expat"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_EXPAT" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 elif test "$wxUSE_EXPAT" = no
; then
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 elif test "$wxUSE_EXPAT" = sys
; then
3748 echo "$as_me:$LINENO: result: system version" >&5
3749 echo "${ECHO_T}system version" >&6
3750 elif test "$wxUSE_EXPAT" = builtin; then
3751 echo "$as_me:$LINENO: result: builtin version" >&5
3752 echo "${ECHO_T}builtin version" >&6
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3766 # Check whether --enable-shared or --disable-shared was given.
3767 if test "${enable_shared+set}" = set; then
3768 enableval
="$enable_shared"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_shared
='wxUSE_SHARED=yes'
3773 ac_cv_use_shared
='wxUSE_SHARED=no'
3778 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3789 eval "$ac_cv_use_shared"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_SHARED" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3807 # Check whether --enable-optimise or --disable-optimise was given.
3808 if test "${enable_optimise+set}" = set; then
3809 enableval
="$enable_optimise"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3814 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3819 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3830 eval "$ac_cv_use_optimise"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_OPTIMISE" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3848 # Check whether --enable-debug or --disable-debug was given.
3849 if test "${enable_debug+set}" = set; then
3850 enableval
="$enable_debug"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3855 ac_cv_use_debug
='wxUSE_DEBUG=no'
3860 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3871 eval "$ac_cv_use_debug"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_DEBUG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3889 # Check whether --enable-stl or --disable-stl was given.
3890 if test "${enable_stl+set}" = set; then
3891 enableval
="$enable_stl"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_stl
='wxUSE_STL=yes'
3896 ac_cv_use_stl
='wxUSE_STL=no'
3901 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3912 eval "$ac_cv_use_stl"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_STL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3925 if test "$USE_OS2" = "1"; then
3926 DEFAULT_wxUSE_OMF
=no
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3932 # Check whether --enable-omf or --disable-omf was given.
3933 if test "${enable_omf+set}" = set; then
3934 enableval
="$enable_omf"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_omf
='wxUSE_OMF=yes'
3939 ac_cv_use_omf
='wxUSE_OMF=no'
3944 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3955 eval "$ac_cv_use_omf"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_OMF" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 if test "$wxUSE_DEBUG" = "yes"; then
3971 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3972 DEFAULT_wxUSE_DEBUG_INFO
=yes
3974 elif test "$wxUSE_DEBUG" = "no"; then
3975 DEFAULT_wxUSE_DEBUG_FLAG
=no
3976 DEFAULT_wxUSE_DEBUG_INFO
=no
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3985 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3986 if test "${enable_debug_flag+set}" = set; then
3987 enableval
="$enable_debug_flag"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3992 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3997 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4008 eval "$ac_cv_use_debug_flag"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_DEBUG_FLAG" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4026 # Check whether --enable-debug_info or --disable-debug_info was given.
4027 if test "${enable_debug_info+set}" = set; then
4028 enableval
="$enable_debug_info"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4033 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4038 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x
; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4049 eval "$ac_cv_use_debug_info"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_DEBUG_INFO" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4067 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4068 if test "${enable_debug_gdb+set}" = set; then
4069 enableval
="$enable_debug_gdb"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4074 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4079 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4090 eval "$ac_cv_use_debug_gdb"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_DEBUG_GDB" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4108 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4109 if test "${enable_debug_cntxt+set}" = set; then
4110 enableval
="$enable_debug_cntxt"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4115 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4120 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4131 eval "$ac_cv_use_debug_cntxt"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4149 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4150 if test "${enable_mem_tracing+set}" = set; then
4151 enableval
="$enable_mem_tracing"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4156 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4161 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4172 eval "$ac_cv_use_mem_tracing"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_MEM_TRACING" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4190 # Check whether --enable-profile or --disable-profile was given.
4191 if test "${enable_profile+set}" = set; then
4192 enableval
="$enable_profile"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4197 ac_cv_use_profile
='wxUSE_PROFILE=no'
4202 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x
; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4213 eval "$ac_cv_use_profile"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_PROFILE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4231 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4232 if test "${enable_no_rtti+set}" = set; then
4233 enableval
="$enable_no_rtti"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4238 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4243 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4254 eval "$ac_cv_use_no_rtti"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_NO_RTTI" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4272 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4273 if test "${enable_no_exceptions+set}" = set; then
4274 enableval
="$enable_no_exceptions"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4279 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4284 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x
; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4295 eval "$ac_cv_use_no_exceptions"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4313 # Check whether --enable-permissive or --disable-permissive was given.
4314 if test "${enable_permissive+set}" = set; then
4315 enableval
="$enable_permissive"
4317 if test "$enableval" = yes; then
4318 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4320 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4325 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x
; then
4327 eval "DEFAULT_$LINE"
4332 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4336 eval "$ac_cv_use_permissive"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_PERMISSIVE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4354 # Check whether --enable-no_deps or --disable-no_deps was given.
4355 if test "${enable_no_deps+set}" = set; then
4356 enableval
="$enable_no_deps"
4358 if test "$enableval" = yes; then
4359 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4361 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4366 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x
; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4377 eval "$ac_cv_use_no_deps"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_NO_DEPS" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4395 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4396 if test "${enable_universal_binary+set}" = set; then
4397 enableval
="$enable_universal_binary"
4399 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4403 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4406 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4409 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4414 eval "$wx_cv_use_universal_binary"
4415 if test "$no_cache" != 1; then
4416 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4419 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4420 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4428 # Check whether --enable-compat24 or --disable-compat24 was given.
4429 if test "${enable_compat24+set}" = set; then
4430 enableval
="$enable_compat24"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4435 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4440 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x
; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4451 eval "$ac_cv_use_compat24"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4456 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4465 enablestring
=disable
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4469 # Check whether --enable-compat26 or --disable-compat26 was given.
4470 if test "${enable_compat26+set}" = set; then
4471 enableval
="$enable_compat26"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4476 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4481 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4492 eval "$ac_cv_use_compat26"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4497 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4511 # Check whether --enable-rpath or --disable-rpath was given.
4512 if test "${enable_rpath+set}" = set; then
4513 enableval
="$enable_rpath"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4518 ac_cv_use_rpath
='wxUSE_RPATH=no'
4523 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4534 eval "$ac_cv_use_rpath"
4535 if test "$no_cache" != 1; then
4536 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4539 if test "$wxUSE_RPATH" = yes; then
4540 echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4555 # Check whether --enable-intl or --disable-intl was given.
4556 if test "${enable_intl+set}" = set; then
4557 enableval
="$enable_intl"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_intl
='wxUSE_INTL=yes'
4562 ac_cv_use_intl
='wxUSE_INTL=no'
4567 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4578 eval "$ac_cv_use_intl"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_INTL" = yes; then
4584 echo "$as_me:$LINENO: result: yes" >&5
4585 echo "${ECHO_T}yes" >&6
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4596 # Check whether --enable-config or --disable-config was given.
4597 if test "${enable_config+set}" = set; then
4598 enableval
="$enable_config"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_config
='wxUSE_CONFIG=yes'
4603 ac_cv_use_config
='wxUSE_CONFIG=no'
4608 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4619 eval "$ac_cv_use_config"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_CONFIG" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4638 # Check whether --enable-protocols or --disable-protocols was given.
4639 if test "${enable_protocols+set}" = set; then
4640 enableval
="$enable_protocols"
4642 if test "$enableval" = yes; then
4643 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4645 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4650 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x
; then
4652 eval "DEFAULT_$LINE"
4657 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4661 eval "$ac_cv_use_protocols"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4666 if test "$wxUSE_PROTOCOL" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4679 # Check whether --enable-ftp or --disable-ftp was given.
4680 if test "${enable_ftp+set}" = set; then
4681 enableval
="$enable_ftp"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4686 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4691 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4702 eval "$ac_cv_use_ftp"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4720 # Check whether --enable-http or --disable-http was given.
4721 if test "${enable_http+set}" = set; then
4722 enableval
="$enable_http"
4724 if test "$enableval" = yes; then
4725 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4727 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4732 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x
; then
4734 eval "DEFAULT_$LINE"
4739 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4743 eval "$ac_cv_use_http"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4761 # Check whether --enable-fileproto or --disable-fileproto was given.
4762 if test "${enable_fileproto+set}" = set; then
4763 enableval
="$enable_fileproto"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4768 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4773 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4784 eval "$ac_cv_use_fileproto"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4789 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4802 # Check whether --enable-sockets or --disable-sockets was given.
4803 if test "${enable_sockets+set}" = set; then
4804 enableval
="$enable_sockets"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4809 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4814 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4825 eval "$ac_cv_use_sockets"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4830 if test "$wxUSE_SOCKETS" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4843 # Check whether --enable-ole or --disable-ole was given.
4844 if test "${enable_ole+set}" = set; then
4845 enableval
="$enable_ole"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_ole
='wxUSE_OLE=yes'
4850 ac_cv_use_ole
='wxUSE_OLE=no'
4855 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4866 eval "$ac_cv_use_ole"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_OLE" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4884 # Check whether --enable-dataobj or --disable-dataobj was given.
4885 if test "${enable_dataobj+set}" = set; then
4886 enableval
="$enable_dataobj"
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4891 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4896 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x
; then
4898 eval "DEFAULT_$LINE"
4903 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4907 eval "$ac_cv_use_dataobj"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_DATAOBJ" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4926 # Check whether --enable-ipc or --disable-ipc was given.
4927 if test "${enable_ipc+set}" = set; then
4928 enableval
="$enable_ipc"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_ipc
='wxUSE_IPC=yes'
4933 ac_cv_use_ipc
='wxUSE_IPC=no'
4938 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4949 eval "$ac_cv_use_ipc"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_IPC" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4968 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4969 if test "${enable_apple_ieee+set}" = set; then
4970 enableval
="$enable_apple_ieee"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4975 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4980 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4991 eval "$ac_cv_use_apple_ieee"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_APPLE_IEEE" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5009 # Check whether --enable-arcstream or --disable-arcstream was given.
5010 if test "${enable_arcstream+set}" = set; then
5011 enableval
="$enable_arcstream"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5016 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5021 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5032 eval "$ac_cv_use_arcstream"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5050 # Check whether --enable-backtrace or --disable-backtrace was given.
5051 if test "${enable_backtrace+set}" = set; then
5052 enableval
="$enable_backtrace"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5057 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5062 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5073 eval "$ac_cv_use_backtrace"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_STACKWALKER" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5091 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5092 if test "${enable_catch_segvs+set}" = set; then
5093 enableval
="$enable_catch_segvs"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5098 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5103 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5114 eval "$ac_cv_use_catch_segvs"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5132 # Check whether --enable-cmdline or --disable-cmdline was given.
5133 if test "${enable_cmdline+set}" = set; then
5134 enableval
="$enable_cmdline"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5139 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5144 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5155 eval "$ac_cv_use_cmdline"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5173 # Check whether --enable-datetime or --disable-datetime was given.
5174 if test "${enable_datetime+set}" = set; then
5175 enableval
="$enable_datetime"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5180 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5185 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5196 eval "$ac_cv_use_datetime"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_DATETIME" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5214 # Check whether --enable-debugreport or --disable-debugreport was given.
5215 if test "${enable_debugreport+set}" = set; then
5216 enableval
="$enable_debugreport"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5221 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5226 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5237 eval "$ac_cv_use_debugreport"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_DEBUGREPORT" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5255 # Check whether --enable-dialupman or --disable-dialupman was given.
5256 if test "${enable_dialupman+set}" = set; then
5257 enableval
="$enable_dialupman"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5262 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5267 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5278 eval "$ac_cv_use_dialupman"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5296 # Check whether --enable-dynlib or --disable-dynlib was given.
5297 if test "${enable_dynlib+set}" = set; then
5298 enableval
="$enable_dynlib"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5303 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5308 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5319 eval "$ac_cv_use_dynlib"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5337 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5338 if test "${enable_dynamicloader+set}" = set; then
5339 enableval
="$enable_dynamicloader"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5344 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5349 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5360 eval "$ac_cv_use_dynamicloader"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5378 # Check whether --enable-exceptions or --disable-exceptions was given.
5379 if test "${enable_exceptions+set}" = set; then
5380 enableval
="$enable_exceptions"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5385 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5390 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5401 eval "$ac_cv_use_exceptions"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_EXCEPTIONS" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5419 # Check whether --enable-ffile or --disable-ffile was given.
5420 if test "${enable_ffile+set}" = set; then
5421 enableval
="$enable_ffile"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5426 ac_cv_use_ffile
='wxUSE_FFILE=no'
5431 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5442 eval "$ac_cv_use_ffile"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_FFILE" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5460 # Check whether --enable-file or --disable-file was given.
5461 if test "${enable_file+set}" = set; then
5462 enableval
="$enable_file"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_file
='wxUSE_FILE=yes'
5467 ac_cv_use_file
='wxUSE_FILE=no'
5472 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5483 eval "$ac_cv_use_file"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_FILE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5501 # Check whether --enable-filesystem or --disable-filesystem was given.
5502 if test "${enable_filesystem+set}" = set; then
5503 enableval
="$enable_filesystem"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5508 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5513 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5524 eval "$ac_cv_use_filesystem"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_FILESYSTEM" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5542 # Check whether --enable-fontmap or --disable-fontmap was given.
5543 if test "${enable_fontmap+set}" = set; then
5544 enableval
="$enable_fontmap"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5549 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5554 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5565 eval "$ac_cv_use_fontmap"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_FONTMAP" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5583 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5584 if test "${enable_fs_inet+set}" = set; then
5585 enableval
="$enable_fs_inet"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5590 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5595 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5606 eval "$ac_cv_use_fs_inet"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_FS_INET" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5624 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5625 if test "${enable_fs_zip+set}" = set; then
5626 enableval
="$enable_fs_zip"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5631 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5636 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5647 eval "$ac_cv_use_fs_zip"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_FS_ZIP" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5665 # Check whether --enable-geometry or --disable-geometry was given.
5666 if test "${enable_geometry+set}" = set; then
5667 enableval
="$enable_geometry"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5672 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5677 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5688 eval "$ac_cv_use_geometry"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_GEOMETRY" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5706 # Check whether --enable-log or --disable-log was given.
5707 if test "${enable_log+set}" = set; then
5708 enableval
="$enable_log"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_log
='wxUSE_LOG=yes'
5713 ac_cv_use_log
='wxUSE_LOG=no'
5718 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5729 eval "$ac_cv_use_log"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_LOG" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5747 # Check whether --enable-longlong or --disable-longlong was given.
5748 if test "${enable_longlong+set}" = set; then
5749 enableval
="$enable_longlong"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5754 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5759 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5770 eval "$ac_cv_use_longlong"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_LONGLONG" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5788 # Check whether --enable-mimetype or --disable-mimetype was given.
5789 if test "${enable_mimetype+set}" = set; then
5790 enableval
="$enable_mimetype"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5795 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5800 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5811 eval "$ac_cv_use_mimetype"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_MIMETYPE" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5829 # Check whether --enable-mslu or --disable-mslu was given.
5830 if test "${enable_mslu+set}" = set; then
5831 enableval
="$enable_mslu"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5836 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5841 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5852 eval "$ac_cv_use_mslu"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_UNICODE_MSLU" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5870 # Check whether --enable-snglinst or --disable-snglinst was given.
5871 if test "${enable_snglinst+set}" = set; then
5872 enableval
="$enable_snglinst"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5877 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5882 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5893 eval "$ac_cv_use_snglinst"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5911 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then
5913 enableval
="$enable_std_iostreams"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5918 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5923 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5934 eval "$ac_cv_use_std_iostreams"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_STD_IOSTREAM" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5952 # Check whether --enable-std_string or --disable-std_string was given.
5953 if test "${enable_std_string+set}" = set; then
5954 enableval
="$enable_std_string"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5959 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5964 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5975 eval "$ac_cv_use_std_string"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_STD_STRING" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5993 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5994 if test "${enable_stdpaths+set}" = set; then
5995 enableval
="$enable_stdpaths"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6000 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6005 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6016 eval "$ac_cv_use_stdpaths"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_STDPATHS" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6034 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6035 if test "${enable_stopwatch+set}" = set; then
6036 enableval
="$enable_stopwatch"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6041 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6046 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6057 eval "$ac_cv_use_stopwatch"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_STOPWATCH" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6075 # Check whether --enable-streams or --disable-streams was given.
6076 if test "${enable_streams+set}" = set; then
6077 enableval
="$enable_streams"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6082 ac_cv_use_streams
='wxUSE_STREAMS=no'
6087 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6098 eval "$ac_cv_use_streams"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_STREAMS" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6116 # Check whether --enable-system_options or --disable-system_options was given.
6117 if test "${enable_system_options+set}" = set; then
6118 enableval
="$enable_system_options"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6123 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6128 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x
; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6139 eval "$ac_cv_use_system_options"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6157 # Check whether --enable-textbuf or --disable-textbuf was given.
6158 if test "${enable_textbuf+set}" = set; then
6159 enableval
="$enable_textbuf"
6161 if test "$enableval" = yes; then
6162 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6164 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6169 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x
; then
6171 eval "DEFAULT_$LINE"
6176 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6180 eval "$ac_cv_use_textbuf"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_TEXTBUFFER" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6198 # Check whether --enable-textfile or --disable-textfile was given.
6199 if test "${enable_textfile+set}" = set; then
6200 enableval
="$enable_textfile"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6205 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6210 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x
; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6221 eval "$ac_cv_use_textfile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_TEXTFILE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6239 # Check whether --enable-timer or --disable-timer was given.
6240 if test "${enable_timer+set}" = set; then
6241 enableval
="$enable_timer"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_timer
='wxUSE_TIMER=yes'
6246 ac_cv_use_timer
='wxUSE_TIMER=no'
6251 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6262 eval "$ac_cv_use_timer"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_TIMER" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6280 # Check whether --enable-unicode or --disable-unicode was given.
6281 if test "${enable_unicode+set}" = set; then
6282 enableval
="$enable_unicode"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6287 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6292 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6303 eval "$ac_cv_use_unicode"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_UNICODE" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6321 # Check whether --enable-sound or --disable-sound was given.
6322 if test "${enable_sound+set}" = set; then
6323 enableval
="$enable_sound"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_sound
='wxUSE_SOUND=yes'
6328 ac_cv_use_sound
='wxUSE_SOUND=no'
6333 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6344 eval "$ac_cv_use_sound"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_SOUND" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6362 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6363 if test "${enable_mediactrl+set}" = set; then
6364 enableval
="$enable_mediactrl"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6369 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6374 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6385 eval "$ac_cv_use_mediactrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_MEDIACTRL" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6403 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6404 if test "${enable_gstreamer8+set}" = set; then
6405 enableval
="$enable_gstreamer8"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6410 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6415 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x
; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6426 eval "$ac_cv_use_gstreamer8"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_GSTREAMER8" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6444 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6445 if test "${enable_printfposparam+set}" = set; then
6446 enableval
="$enable_printfposparam"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6451 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6456 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6467 eval "$ac_cv_use_printfposparam"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6485 # Check whether --enable-zipstream or --disable-zipstream was given.
6486 if test "${enable_zipstream+set}" = set; then
6487 enableval
="$enable_zipstream"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6492 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6497 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x
; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6508 eval "$ac_cv_use_zipstream"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_ZIPSTREAM" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6527 # Check whether --enable-url or --disable-url was given.
6528 if test "${enable_url+set}" = set; then
6529 enableval
="$enable_url"
6531 if test "$enableval" = yes; then
6532 ac_cv_use_url
='wxUSE_URL=yes'
6534 ac_cv_use_url
='wxUSE_URL=no'
6539 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x
; then
6541 eval "DEFAULT_$LINE"
6546 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6550 eval "$ac_cv_use_url"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6555 if test "$wxUSE_URL" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6568 # Check whether --enable-variant or --disable-variant was given.
6569 if test "${enable_variant+set}" = set; then
6570 enableval
="$enable_variant"
6572 if test "$enableval" = yes; then
6573 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6575 ac_cv_use_variant
='wxUSE_VARIANT=no'
6580 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x
; then
6582 eval "DEFAULT_$LINE"
6587 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6591 eval "$ac_cv_use_variant"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6596 if test "$wxUSE_VARIANT" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6609 # Check whether --enable-protocol or --disable-protocol was given.
6610 if test "${enable_protocol+set}" = set; then
6611 enableval
="$enable_protocol"
6613 if test "$enableval" = yes; then
6614 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6616 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6621 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x
; then
6623 eval "DEFAULT_$LINE"
6628 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6632 eval "$ac_cv_use_protocol"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6637 if test "$wxUSE_PROTOCOL" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6650 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6651 if test "${enable_protocol_http+set}" = set; then
6652 enableval
="$enable_protocol_http"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6657 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6662 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6673 eval "$ac_cv_use_protocol_http"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6678 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6691 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6692 if test "${enable_protocol_ftp+set}" = set; then
6693 enableval
="$enable_protocol_ftp"
6695 if test "$enableval" = yes; then
6696 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6698 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6703 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x
; then
6705 eval "DEFAULT_$LINE"
6710 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6714 eval "$ac_cv_use_protocol_ftp"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6732 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6733 if test "${enable_protocol_file+set}" = set; then
6734 enableval
="$enable_protocol_file"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6739 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6744 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6755 eval "$ac_cv_use_protocol_file"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6776 # Check whether --enable-threads or --disable-threads was given.
6777 if test "${enable_threads+set}" = set; then
6778 enableval
="$enable_threads"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_threads
='wxUSE_THREADS=yes'
6783 ac_cv_use_threads
='wxUSE_THREADS=no'
6788 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6799 eval "$ac_cv_use_threads"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_THREADS" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806 echo "${ECHO_T}yes" >&6
6808 echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6
6813 if test "$wxUSE_GUI" = "yes"; then
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6821 # Check whether --enable-docview or --disable-docview was given.
6822 if test "${enable_docview+set}" = set; then
6823 enableval
="$enable_docview"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6828 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6833 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6844 eval "$ac_cv_use_docview"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6862 # Check whether --enable-help or --disable-help was given.
6863 if test "${enable_help+set}" = set; then
6864 enableval
="$enable_help"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_help
='wxUSE_HELP=yes'
6869 ac_cv_use_help
='wxUSE_HELP=no'
6874 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6885 eval "$ac_cv_use_help"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_HELP" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6903 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6904 if test "${enable_mshtmlhelp+set}" = set; then
6905 enableval
="$enable_mshtmlhelp"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6910 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6915 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6926 eval "$ac_cv_use_mshtmlhelp"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_MS_HTML_HELP" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6944 # Check whether --enable-html or --disable-html was given.
6945 if test "${enable_html+set}" = set; then
6946 enableval
="$enable_html"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_html
='wxUSE_HTML=yes'
6951 ac_cv_use_html
='wxUSE_HTML=no'
6956 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x
; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6967 eval "$ac_cv_use_html"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6972 if test "$wxUSE_HTML" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6985 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6986 if test "${enable_htmlhelp+set}" = set; then
6987 enableval
="$enable_htmlhelp"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6992 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6997 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x
; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7008 eval "$ac_cv_use_htmlhelp"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_WXHTML_HELP" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7026 # Check whether --enable-xrc or --disable-xrc was given.
7027 if test "${enable_xrc+set}" = set; then
7028 enableval
="$enable_xrc"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_xrc
='wxUSE_XRC=yes'
7033 ac_cv_use_xrc
='wxUSE_XRC=no'
7038 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x
; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7049 eval "$ac_cv_use_xrc"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_XRC" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7067 # Check whether --enable-aui or --disable-aui was given.
7068 if test "${enable_aui+set}" = set; then
7069 enableval
="$enable_aui"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_aui
='wxUSE_AUI=yes'
7074 ac_cv_use_aui
='wxUSE_AUI=no'
7079 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x
; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7090 eval "$ac_cv_use_aui"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_AUI" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7108 # Check whether --enable-constraints or --disable-constraints was given.
7109 if test "${enable_constraints+set}" = set; then
7110 enableval
="$enable_constraints"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7115 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7120 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x
; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7131 eval "$ac_cv_use_constraints"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_CONSTRAINTS" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7149 # Check whether --enable-printarch or --disable-printarch was given.
7150 if test "${enable_printarch+set}" = set; then
7151 enableval
="$enable_printarch"
7153 if test "$enableval" = yes; then
7154 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7156 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7161 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x
; then
7163 eval "DEFAULT_$LINE"
7168 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7172 eval "$ac_cv_use_printarch"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7177 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7190 # Check whether --enable-mdi or --disable-mdi was given.
7191 if test "${enable_mdi+set}" = set; then
7192 enableval
="$enable_mdi"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_mdi
='wxUSE_MDI=yes'
7197 ac_cv_use_mdi
='wxUSE_MDI=no'
7202 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x
; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7213 eval "$ac_cv_use_mdi"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_MDI" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7231 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7232 if test "${enable_mdidoc+set}" = set; then
7233 enableval
="$enable_mdidoc"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7238 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7243 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x
; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7254 eval "$ac_cv_use_mdidoc"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7272 # Check whether --enable-loggui or --disable-loggui was given.
7273 if test "${enable_loggui+set}" = set; then
7274 enableval
="$enable_loggui"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7279 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7284 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x
; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7295 eval "$ac_cv_use_loggui"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_LOGGUI" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7313 # Check whether --enable-logwin or --disable-logwin was given.
7314 if test "${enable_logwin+set}" = set; then
7315 enableval
="$enable_logwin"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7320 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7325 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7336 eval "$ac_cv_use_logwin"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_LOGWINDOW" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7354 # Check whether --enable-logdialog or --disable-logdialog was given.
7355 if test "${enable_logdialog+set}" = set; then
7356 enableval
="$enable_logdialog"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7361 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7366 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7377 eval "$ac_cv_use_logdialog"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_LOGDIALOG" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7395 # Check whether --enable-webkit or --disable-webkit was given.
7396 if test "${enable_webkit+set}" = set; then
7397 enableval
="$enable_webkit"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7402 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7407 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7418 eval "$ac_cv_use_webkit"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_WEBKIT" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7436 # Check whether --enable-html or --disable-html was given.
7437 if test "${enable_html+set}" = set; then
7438 enableval
="$enable_html"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7443 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7448 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7459 eval "$ac_cv_use_html"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_RICHTEXT" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7477 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7478 if test "${enable_graphics_ctx+set}" = set; then
7479 enableval
="$enable_graphics_ctx"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7484 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7489 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7500 eval "$ac_cv_use_graphics_ctx"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7519 # Check whether --enable-postscript or --disable-postscript was given.
7520 if test "${enable_postscript+set}" = set; then
7521 enableval
="$enable_postscript"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7526 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7531 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x
; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7542 eval "$ac_cv_use_postscript"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_POSTSCRIPT" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7563 # Check whether --enable-prologio or --disable-prologio was given.
7564 if test "${enable_prologio+set}" = set; then
7565 enableval
="$enable_prologio"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7570 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7575 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7586 eval "$ac_cv_use_prologio"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_PROLOGIO" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7604 # Check whether --enable-resources or --disable-resources was given.
7605 if test "${enable_resources+set}" = set; then
7606 enableval
="$enable_resources"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7611 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7616 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7627 eval "$ac_cv_use_resources"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_RESOURCES" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7647 # Check whether --enable-clipboard or --disable-clipboard was given.
7648 if test "${enable_clipboard+set}" = set; then
7649 enableval
="$enable_clipboard"
7651 if test "$enableval" = yes; then
7652 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7654 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7659 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x
; then
7661 eval "DEFAULT_$LINE"
7666 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7670 eval "$ac_cv_use_clipboard"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7675 if test "$wxUSE_CLIPBOARD" = yes; then
7676 echo "$as_me:$LINENO: result: yes" >&5
7677 echo "${ECHO_T}yes" >&6
7679 echo "$as_me:$LINENO: result: no" >&5
7680 echo "${ECHO_T}no" >&6
7685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7688 # Check whether --enable-dnd or --disable-dnd was given.
7689 if test "${enable_dnd+set}" = set; then
7690 enableval
="$enable_dnd"
7692 if test "$enableval" = yes; then
7693 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7695 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7700 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x
; then
7702 eval "DEFAULT_$LINE"
7707 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7711 eval "$ac_cv_use_dnd"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7716 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7717 echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6
7720 echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6
7726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7729 # Check whether --enable-metafile or --disable-metafile was given.
7730 if test "${enable_metafile+set}" = set; then
7731 enableval
="$enable_metafile"
7733 if test "$enableval" = yes; then
7734 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7736 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7741 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x
; then
7743 eval "DEFAULT_$LINE"
7748 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7752 eval "$ac_cv_use_metafile"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7757 if test "$wxUSE_METAFILE" = yes; then
7758 echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7773 # Check whether --enable-controls or --disable-controls was given.
7774 if test "${enable_controls+set}" = set; then
7775 enableval
="$enable_controls"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7780 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7785 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x
; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7796 eval "$ac_cv_use_controls"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_CONTROLS" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7810 if test "$wxUSE_CONTROLS" = "yes"; then
7811 DEFAULT_wxUSE_ACCEL
=yes
7812 DEFAULT_wxUSE_BMPBUTTON
=yes
7813 DEFAULT_wxUSE_BUTTON
=yes
7814 DEFAULT_wxUSE_CALCTRL
=yes
7815 DEFAULT_wxUSE_CARET
=yes
7816 DEFAULT_wxUSE_COMBOBOX
=yes
7817 DEFAULT_wxUSE_CHECKBOX
=yes
7818 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7819 DEFAULT_wxUSE_CHOICE
=yes
7820 DEFAULT_wxUSE_CHOICEBOOK
=yes
7821 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7822 DEFAULT_wxUSE_COMBOBOX
=yes
7823 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7824 DEFAULT_wxUSE_DISPLAY
=yes
7825 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7826 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7827 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7828 DEFAULT_wxUSE_GAUGE
=yes
7829 DEFAULT_wxUSE_GRID
=yes
7830 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7831 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7832 DEFAULT_wxUSE_IMAGLIST
=yes
7833 DEFAULT_wxUSE_LISTBOOK
=yes
7834 DEFAULT_wxUSE_LISTBOX
=yes
7835 DEFAULT_wxUSE_LISTCTRL
=yes
7836 DEFAULT_wxUSE_NOTEBOOK
=yes
7837 DEFAULT_wxUSE_RADIOBOX
=yes
7838 DEFAULT_wxUSE_RADIOBTN
=yes
7839 DEFAULT_wxUSE_SASH
=yes
7840 DEFAULT_wxUSE_SCROLLBAR
=yes
7841 DEFAULT_wxUSE_SLIDER
=yes
7842 DEFAULT_wxUSE_SPINBTN
=yes
7843 DEFAULT_wxUSE_SPINCTRL
=yes
7844 DEFAULT_wxUSE_SPLITTER
=yes
7845 DEFAULT_wxUSE_STATBMP
=yes
7846 DEFAULT_wxUSE_STATBOX
=yes
7847 DEFAULT_wxUSE_STATLINE
=yes
7848 DEFAULT_wxUSE_STATUSBAR
=yes
7849 DEFAULT_wxUSE_TAB_DIALOG
=yes
7850 DEFAULT_wxUSE_TOGGLEBTN
=yes
7851 DEFAULT_wxUSE_TOOLBAR
=yes
7852 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7853 DEFAULT_wxUSE_TOOLTIPS
=yes
7854 DEFAULT_wxUSE_TREEBOOK
=yes
7855 DEFAULT_wxUSE_TOOLBOOK
=yes
7856 DEFAULT_wxUSE_TREECTRL
=yes
7857 DEFAULT_wxUSE_POPUPWIN
=yes
7858 DEFAULT_wxUSE_TIPWINDOW
=yes
7859 elif test "$wxUSE_CONTROLS" = "no"; then
7860 DEFAULT_wxUSE_ACCEL
=no
7861 DEFAULT_wxUSE_BMPBUTTON
=no
7862 DEFAULT_wxUSE_BUTTON
=no
7863 DEFAULT_wxUSE_CALCTRL
=no
7864 DEFAULT_wxUSE_CARET
=no
7865 DEFAULT_wxUSE_COMBOBOX
=no
7866 DEFAULT_wxUSE_CHECKBOX
=no
7867 DEFAULT_wxUSE_CHECKLISTBOX
=no
7868 DEFAULT_wxUSE_CHOICE
=no
7869 DEFAULT_wxUSE_CHOICEBOOK
=no
7870 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7871 DEFAULT_wxUSE_COMBOBOX
=no
7872 DEFAULT_wxUSE_DATEPICKCTRL
=no
7873 DEFAULT_wxUSE_DISPLAY
=no
7874 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7875 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7876 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7877 DEFAULT_wxUSE_GAUGE
=no
7878 DEFAULT_wxUSE_GRID
=no
7879 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7880 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7881 DEFAULT_wxUSE_IMAGLIST
=no
7882 DEFAULT_wxUSE_LISTBOOK
=no
7883 DEFAULT_wxUSE_LISTBOX
=no
7884 DEFAULT_wxUSE_LISTCTRL
=no
7885 DEFAULT_wxUSE_NOTEBOOK
=no
7886 DEFAULT_wxUSE_RADIOBOX
=no
7887 DEFAULT_wxUSE_RADIOBTN
=no
7888 DEFAULT_wxUSE_SASH
=no
7889 DEFAULT_wxUSE_SCROLLBAR
=no
7890 DEFAULT_wxUSE_SLIDER
=no
7891 DEFAULT_wxUSE_SPINBTN
=no
7892 DEFAULT_wxUSE_SPINCTRL
=no
7893 DEFAULT_wxUSE_SPLITTER
=no
7894 DEFAULT_wxUSE_STATBMP
=no
7895 DEFAULT_wxUSE_STATBOX
=no
7896 DEFAULT_wxUSE_STATLINE
=no
7897 DEFAULT_wxUSE_STATUSBAR
=no
7898 DEFAULT_wxUSE_TAB_DIALOG
=no
7899 DEFAULT_wxUSE_TOGGLEBTN
=no
7900 DEFAULT_wxUSE_TOOLBAR
=no
7901 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7902 DEFAULT_wxUSE_TOOLTIPS
=no
7903 DEFAULT_wxUSE_TREEBOOK
=no
7904 DEFAULT_wxUSE_TOOLBOOK
=no
7905 DEFAULT_wxUSE_TREECTRL
=no
7906 DEFAULT_wxUSE_POPUPWIN
=no
7907 DEFAULT_wxUSE_TIPWINDOW
=no
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7915 # Check whether --enable-accel or --disable-accel was given.
7916 if test "${enable_accel+set}" = set; then
7917 enableval
="$enable_accel"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7922 ac_cv_use_accel
='wxUSE_ACCEL=no'
7927 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7938 eval "$ac_cv_use_accel"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_ACCEL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7956 # Check whether --enable-button or --disable-button was given.
7957 if test "${enable_button+set}" = set; then
7958 enableval
="$enable_button"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_button
='wxUSE_BUTTON=yes'
7963 ac_cv_use_button
='wxUSE_BUTTON=no'
7968 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7979 eval "$ac_cv_use_button"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_BUTTON" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7997 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7998 if test "${enable_bmpbutton+set}" = set; then
7999 enableval
="$enable_bmpbutton"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8004 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8009 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8020 eval "$ac_cv_use_bmpbutton"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_BMPBUTTON" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8038 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8039 if test "${enable_bmpcombobox+set}" = set; then
8040 enableval
="$enable_bmpcombobox"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8045 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8050 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8061 eval "$ac_cv_use_bmpcombobox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8079 # Check whether --enable-calendar or --disable-calendar was given.
8080 if test "${enable_calendar+set}" = set; then
8081 enableval
="$enable_calendar"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8086 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8091 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8102 eval "$ac_cv_use_calendar"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_CALCTRL" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8120 # Check whether --enable-caret or --disable-caret was given.
8121 if test "${enable_caret+set}" = set; then
8122 enableval
="$enable_caret"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_caret
='wxUSE_CARET=yes'
8127 ac_cv_use_caret
='wxUSE_CARET=no'
8132 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8143 eval "$ac_cv_use_caret"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_CARET" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8161 # Check whether --enable-checkbox or --disable-checkbox was given.
8162 if test "${enable_checkbox+set}" = set; then
8163 enableval
="$enable_checkbox"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8168 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8173 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8184 eval "$ac_cv_use_checkbox"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_CHECKBOX" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8202 # Check whether --enable-checklst or --disable-checklst was given.
8203 if test "${enable_checklst+set}" = set; then
8204 enableval
="$enable_checklst"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8209 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8214 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8225 eval "$ac_cv_use_checklst"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_CHECKLST" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8243 # Check whether --enable-choice or --disable-choice was given.
8244 if test "${enable_choice+set}" = set; then
8245 enableval
="$enable_choice"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8250 ac_cv_use_choice
='wxUSE_CHOICE=no'
8255 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8266 eval "$ac_cv_use_choice"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_CHOICE" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8284 # Check whether --enable-choicebook or --disable-choicebook was given.
8285 if test "${enable_choicebook+set}" = set; then
8286 enableval
="$enable_choicebook"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8291 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8296 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8307 eval "$ac_cv_use_choicebook"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_CHOICEBOOK" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8325 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8326 if test "${enable_colourpicker+set}" = set; then
8327 enableval
="$enable_colourpicker"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8332 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8337 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8348 eval "$ac_cv_use_colourpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8366 # Check whether --enable-combobox or --disable-combobox was given.
8367 if test "${enable_combobox+set}" = set; then
8368 enableval
="$enable_combobox"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8373 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8378 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8389 eval "$ac_cv_use_combobox"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_COMBOBOX" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8407 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8408 if test "${enable_comboctrl+set}" = set; then
8409 enableval
="$enable_comboctrl"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8414 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8419 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8430 eval "$ac_cv_use_comboctrl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_COMBOCTRL" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8448 # Check whether --enable-datepick or --disable-datepick was given.
8449 if test "${enable_datepick+set}" = set; then
8450 enableval
="$enable_datepick"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8455 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8460 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8471 eval "$ac_cv_use_datepick"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_DATEPICKCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8489 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8490 if test "${enable_dirpicker+set}" = set; then
8491 enableval
="$enable_dirpicker"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8496 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8501 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8512 eval "$ac_cv_use_dirpicker"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8530 # Check whether --enable-display or --disable-display was given.
8531 if test "${enable_display+set}" = set; then
8532 enableval
="$enable_display"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8537 ac_cv_use_display
='wxUSE_DISPLAY=no'
8542 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8553 eval "$ac_cv_use_display"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_DISPLAY" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8571 # Check whether --enable-filepicker or --disable-filepicker was given.
8572 if test "${enable_filepicker+set}" = set; then
8573 enableval
="$enable_filepicker"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8578 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8583 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8594 eval "$ac_cv_use_filepicker"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8612 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8613 if test "${enable_fontpicker+set}" = set; then
8614 enableval
="$enable_fontpicker"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8619 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8624 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8635 eval "$ac_cv_use_fontpicker"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8653 # Check whether --enable-gauge or --disable-gauge was given.
8654 if test "${enable_gauge+set}" = set; then
8655 enableval
="$enable_gauge"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8660 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8665 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8676 eval "$ac_cv_use_gauge"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_GAUGE" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8694 # Check whether --enable-grid or --disable-grid was given.
8695 if test "${enable_grid+set}" = set; then
8696 enableval
="$enable_grid"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_grid
='wxUSE_GRID=yes'
8701 ac_cv_use_grid
='wxUSE_GRID=no'
8706 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8717 eval "$ac_cv_use_grid"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_GRID" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8735 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8736 if test "${enable_dataviewctrl+set}" = set; then
8737 enableval
="$enable_dataviewctrl"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8742 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8747 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8758 eval "$ac_cv_use_dataviewctrl"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8776 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8777 if test "${enable_hyperlink+set}" = set; then
8778 enableval
="$enable_hyperlink"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8783 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8788 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8799 eval "$ac_cv_use_hyperlink"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8817 # Check whether --enable-imaglist or --disable-imaglist was given.
8818 if test "${enable_imaglist+set}" = set; then
8819 enableval
="$enable_imaglist"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8824 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8829 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8840 eval "$ac_cv_use_imaglist"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_IMAGLIST" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8858 # Check whether --enable-listbook or --disable-listbook was given.
8859 if test "${enable_listbook+set}" = set; then
8860 enableval
="$enable_listbook"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8865 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8870 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8881 eval "$ac_cv_use_listbook"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_LISTBOOK" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8899 # Check whether --enable-listbox or --disable-listbox was given.
8900 if test "${enable_listbox+set}" = set; then
8901 enableval
="$enable_listbox"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8906 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8911 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8922 eval "$ac_cv_use_listbox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_LISTBOX" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8940 # Check whether --enable-listctrl or --disable-listctrl was given.
8941 if test "${enable_listctrl+set}" = set; then
8942 enableval
="$enable_listctrl"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8947 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8952 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8963 eval "$ac_cv_use_listctrl"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_LISTCTRL" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8981 # Check whether --enable-notebook or --disable-notebook was given.
8982 if test "${enable_notebook+set}" = set; then
8983 enableval
="$enable_notebook"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8988 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8993 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9004 eval "$ac_cv_use_notebook"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_NOTEBOOK" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9022 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9023 if test "${enable_odcombobox+set}" = set; then
9024 enableval
="$enable_odcombobox"
9026 if test "$enableval" = yes; then
9027 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9029 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9034 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x
; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9045 eval "$ac_cv_use_odcombobox"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9050 if test "$wxUSE_ODCOMBOBOX" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9063 # Check whether --enable-radiobox or --disable-radiobox was given.
9064 if test "${enable_radiobox+set}" = set; then
9065 enableval
="$enable_radiobox"
9067 if test "$enableval" = yes; then
9068 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9070 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9075 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x
; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9086 eval "$ac_cv_use_radiobox"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9091 if test "$wxUSE_RADIOBOX" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9104 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9105 if test "${enable_radiobtn+set}" = set; then
9106 enableval
="$enable_radiobtn"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9111 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9116 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9127 eval "$ac_cv_use_radiobtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_RADIOBTN" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9145 # Check whether --enable-sash or --disable-sash was given.
9146 if test "${enable_sash+set}" = set; then
9147 enableval
="$enable_sash"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_sash
='wxUSE_SASH=yes'
9152 ac_cv_use_sash
='wxUSE_SASH=no'
9157 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9168 eval "$ac_cv_use_sash"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_SASH" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9186 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9187 if test "${enable_scrollbar+set}" = set; then
9188 enableval
="$enable_scrollbar"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9193 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9198 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9209 eval "$ac_cv_use_scrollbar"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_SCROLLBAR" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9227 # Check whether --enable-slider or --disable-slider was given.
9228 if test "${enable_slider+set}" = set; then
9229 enableval
="$enable_slider"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9234 ac_cv_use_slider
='wxUSE_SLIDER=no'
9239 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9250 eval "$ac_cv_use_slider"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_SLIDER" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9268 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9269 if test "${enable_spinbtn+set}" = set; then
9270 enableval
="$enable_spinbtn"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9275 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9280 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9291 eval "$ac_cv_use_spinbtn"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_SPINBTN" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9309 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9310 if test "${enable_spinctrl+set}" = set; then
9311 enableval
="$enable_spinctrl"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9316 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9321 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9332 eval "$ac_cv_use_spinctrl"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_SPINCTRL" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9350 # Check whether --enable-splitter or --disable-splitter was given.
9351 if test "${enable_splitter+set}" = set; then
9352 enableval
="$enable_splitter"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9357 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9362 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9373 eval "$ac_cv_use_splitter"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_SPLITTER" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9391 # Check whether --enable-statbmp or --disable-statbmp was given.
9392 if test "${enable_statbmp+set}" = set; then
9393 enableval
="$enable_statbmp"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9398 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9403 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9414 eval "$ac_cv_use_statbmp"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_STATBMP" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9432 # Check whether --enable-statbox or --disable-statbox was given.
9433 if test "${enable_statbox+set}" = set; then
9434 enableval
="$enable_statbox"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9439 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9444 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9455 eval "$ac_cv_use_statbox"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_STATBOX" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9473 # Check whether --enable-statline or --disable-statline was given.
9474 if test "${enable_statline+set}" = set; then
9475 enableval
="$enable_statline"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9480 ac_cv_use_statline
='wxUSE_STATLINE=no'
9485 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9496 eval "$ac_cv_use_statline"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_STATLINE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9514 # Check whether --enable-stattext or --disable-stattext was given.
9515 if test "${enable_stattext+set}" = set; then
9516 enableval
="$enable_stattext"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9521 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9526 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9537 eval "$ac_cv_use_stattext"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_STATTEXT" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9555 # Check whether --enable-statusbar or --disable-statusbar was given.
9556 if test "${enable_statusbar+set}" = set; then
9557 enableval
="$enable_statusbar"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9562 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9567 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9578 eval "$ac_cv_use_statusbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_STATUSBAR" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9596 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9597 if test "${enable_tabdialog+set}" = set; then
9598 enableval
="$enable_tabdialog"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9603 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9608 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9619 eval "$ac_cv_use_tabdialog"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_TAB_DIALOG" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9637 # Check whether --enable-textctrl or --disable-textctrl was given.
9638 if test "${enable_textctrl+set}" = set; then
9639 enableval
="$enable_textctrl"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9644 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9649 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9660 eval "$ac_cv_use_textctrl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_TEXTCTRL" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9678 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9679 if test "${enable_togglebtn+set}" = set; then
9680 enableval
="$enable_togglebtn"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9685 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9690 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9701 eval "$ac_cv_use_togglebtn"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_TOGGLEBTN" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9719 # Check whether --enable-toolbar or --disable-toolbar was given.
9720 if test "${enable_toolbar+set}" = set; then
9721 enableval
="$enable_toolbar"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9726 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9731 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9742 eval "$ac_cv_use_toolbar"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_TOOLBAR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9760 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9761 if test "${enable_tbarnative+set}" = set; then
9762 enableval
="$enable_tbarnative"
9764 if test "$enableval" = yes; then
9765 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9767 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9772 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x
; then
9774 eval "DEFAULT_$LINE"
9779 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9783 eval "$ac_cv_use_tbarnative"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9788 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9801 # Check whether --enable-treebook or --disable-treebook was given.
9802 if test "${enable_treebook+set}" = set; then
9803 enableval
="$enable_treebook"
9805 if test "$enableval" = yes; then
9806 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9808 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9813 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x
; then
9815 eval "DEFAULT_$LINE"
9820 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9824 eval "$ac_cv_use_treebook"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9829 if test "$wxUSE_TREEBOOK" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9842 # Check whether --enable-toolbook or --disable-toolbook was given.
9843 if test "${enable_toolbook+set}" = set; then
9844 enableval
="$enable_toolbook"
9846 if test "$enableval" = yes; then
9847 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9849 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9854 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x
; then
9856 eval "DEFAULT_$LINE"
9861 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9865 eval "$ac_cv_use_toolbook"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9870 if test "$wxUSE_TOOLBOOK" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9883 # Check whether --enable-treectrl or --disable-treectrl was given.
9884 if test "${enable_treectrl+set}" = set; then
9885 enableval
="$enable_treectrl"
9887 if test "$enableval" = yes; then
9888 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9890 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9895 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x
; then
9897 eval "DEFAULT_$LINE"
9902 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9906 eval "$ac_cv_use_treectrl"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9911 if test "$wxUSE_TREECTRL" = yes; then
9912 echo "$as_me:$LINENO: result: yes" >&5
9913 echo "${ECHO_T}yes" >&6
9915 echo "$as_me:$LINENO: result: no" >&5
9916 echo "${ECHO_T}no" >&6
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9924 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9925 if test "${enable_tipwindow+set}" = set; then
9926 enableval
="$enable_tipwindow"
9928 if test "$enableval" = yes; then
9929 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9931 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9936 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x
; then
9938 eval "DEFAULT_$LINE"
9943 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9947 eval "$ac_cv_use_tipwindow"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9952 if test "$wxUSE_TIPWINDOW" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9965 # Check whether --enable-popupwin or --disable-popupwin was given.
9966 if test "${enable_popupwin+set}" = set; then
9967 enableval
="$enable_popupwin"
9969 if test "$enableval" = yes; then
9970 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9972 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9977 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x
; then
9979 eval "DEFAULT_$LINE"
9984 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9988 eval "$ac_cv_use_popupwin"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9993 if test "$wxUSE_POPUPWIN" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10008 # Check whether --enable-commondlg or --disable-commondlg was given.
10009 if test "${enable_commondlg+set}" = set; then
10010 enableval
="$enable_commondlg"
10012 if test "$enableval" = yes; then
10013 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10015 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10020 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x
; then
10022 eval "DEFAULT_$LINE"
10027 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10031 eval "$ac_cv_use_commondlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10036 if test "$wxUSE_COMMONDLGS" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10049 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10050 if test "${enable_aboutdlg+set}" = set; then
10051 enableval
="$enable_aboutdlg"
10053 if test "$enableval" = yes; then
10054 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10056 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10061 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x
; then
10063 eval "DEFAULT_$LINE"
10068 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10072 eval "$ac_cv_use_aboutdlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10077 if test "$wxUSE_ABOUTDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10090 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10091 if test "${enable_choicedlg+set}" = set; then
10092 enableval
="$enable_choicedlg"
10094 if test "$enableval" = yes; then
10095 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10097 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10102 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x
; then
10104 eval "DEFAULT_$LINE"
10109 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10113 eval "$ac_cv_use_choicedlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10118 if test "$wxUSE_CHOICEDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10131 # Check whether --enable-coldlg or --disable-coldlg was given.
10132 if test "${enable_coldlg+set}" = set; then
10133 enableval
="$enable_coldlg"
10135 if test "$enableval" = yes; then
10136 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10138 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10143 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x
; then
10145 eval "DEFAULT_$LINE"
10150 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10154 eval "$ac_cv_use_coldlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10159 if test "$wxUSE_COLOURDLG" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10172 # Check whether --enable-filedlg or --disable-filedlg was given.
10173 if test "${enable_filedlg+set}" = set; then
10174 enableval
="$enable_filedlg"
10176 if test "$enableval" = yes; then
10177 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10179 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10184 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x
; then
10186 eval "DEFAULT_$LINE"
10191 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10195 eval "$ac_cv_use_filedlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10200 if test "$wxUSE_FILEDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10213 # Check whether --enable-finddlg or --disable-finddlg was given.
10214 if test "${enable_finddlg+set}" = set; then
10215 enableval
="$enable_finddlg"
10217 if test "$enableval" = yes; then
10218 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10220 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10225 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x
; then
10227 eval "DEFAULT_$LINE"
10232 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10236 eval "$ac_cv_use_finddlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10241 if test "$wxUSE_FINDREPLDLG" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10254 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10255 if test "${enable_fontdlg+set}" = set; then
10256 enableval
="$enable_fontdlg"
10258 if test "$enableval" = yes; then
10259 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10261 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10266 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x
; then
10268 eval "DEFAULT_$LINE"
10273 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10277 eval "$ac_cv_use_fontdlg"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10282 if test "$wxUSE_FONTDLG" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10295 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10296 if test "${enable_dirdlg+set}" = set; then
10297 enableval
="$enable_dirdlg"
10299 if test "$enableval" = yes; then
10300 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10302 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10307 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x
; then
10309 eval "DEFAULT_$LINE"
10314 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10318 eval "$ac_cv_use_dirdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10323 if test "$wxUSE_DIRDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10336 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10337 if test "${enable_msgdlg+set}" = set; then
10338 enableval
="$enable_msgdlg"
10340 if test "$enableval" = yes; then
10341 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10343 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10348 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x
; then
10350 eval "DEFAULT_$LINE"
10355 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10359 eval "$ac_cv_use_msgdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10364 if test "$wxUSE_MSGDLG" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10377 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10378 if test "${enable_numberdlg+set}" = set; then
10379 enableval
="$enable_numberdlg"
10381 if test "$enableval" = yes; then
10382 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10384 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10389 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x
; then
10391 eval "DEFAULT_$LINE"
10396 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10400 eval "$ac_cv_use_numberdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10405 if test "$wxUSE_NUMBERDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10418 # Check whether --enable-splash or --disable-splash was given.
10419 if test "${enable_splash+set}" = set; then
10420 enableval
="$enable_splash"
10422 if test "$enableval" = yes; then
10423 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10425 ac_cv_use_splash
='wxUSE_SPLASH=no'
10430 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x
; then
10432 eval "DEFAULT_$LINE"
10437 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10441 eval "$ac_cv_use_splash"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10446 if test "$wxUSE_SPLASH" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10459 # Check whether --enable-textdlg or --disable-textdlg was given.
10460 if test "${enable_textdlg+set}" = set; then
10461 enableval
="$enable_textdlg"
10463 if test "$enableval" = yes; then
10464 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10466 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10471 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x
; then
10473 eval "DEFAULT_$LINE"
10478 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10482 eval "$ac_cv_use_textdlg"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10487 if test "$wxUSE_TEXTDLG" = yes; then
10488 echo "$as_me:$LINENO: result: yes" >&5
10489 echo "${ECHO_T}yes" >&6
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10500 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10501 if test "${enable_tipdlg+set}" = set; then
10502 enableval
="$enable_tipdlg"
10504 if test "$enableval" = yes; then
10505 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10507 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10512 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x
; then
10514 eval "DEFAULT_$LINE"
10519 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10523 eval "$ac_cv_use_tipdlg"
10524 if test "$no_cache" != 1; then
10525 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10528 if test "$wxUSE_STARTUP_TIPS" = yes; then
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10532 echo "$as_me:$LINENO: result: no" >&5
10533 echo "${ECHO_T}no" >&6
10538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10541 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10542 if test "${enable_progressdlg+set}" = set; then
10543 enableval
="$enable_progressdlg"
10545 if test "$enableval" = yes; then
10546 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10548 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10553 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10554 if test "x$LINE" != x
; then
10555 eval "DEFAULT_$LINE"
10560 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10564 eval "$ac_cv_use_progressdlg"
10565 if test "$no_cache" != 1; then
10566 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10569 if test "$wxUSE_PROGRESSDLG" = yes; then
10570 echo "$as_me:$LINENO: result: yes" >&5
10571 echo "${ECHO_T}yes" >&6
10573 echo "$as_me:$LINENO: result: no" >&5
10574 echo "${ECHO_T}no" >&6
10579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10582 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10583 if test "${enable_wizarddlg+set}" = set; then
10584 enableval
="$enable_wizarddlg"
10586 if test "$enableval" = yes; then
10587 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10589 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10594 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x
; then
10596 eval "DEFAULT_$LINE"
10601 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10605 eval "$ac_cv_use_wizarddlg"
10606 if test "$no_cache" != 1; then
10607 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10610 if test "$wxUSE_WIZARDDLG" = yes; then
10611 echo "$as_me:$LINENO: result: yes" >&5
10612 echo "${ECHO_T}yes" >&6
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10625 # Check whether --enable-menus or --disable-menus was given.
10626 if test "${enable_menus+set}" = set; then
10627 enableval
="$enable_menus"
10629 if test "$enableval" = yes; then
10630 ac_cv_use_menus
='wxUSE_MENUS=yes'
10632 ac_cv_use_menus
='wxUSE_MENUS=no'
10637 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x
; then
10639 eval "DEFAULT_$LINE"
10644 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10648 eval "$ac_cv_use_menus"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10653 if test "$wxUSE_MENUS" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10666 # Check whether --enable-miniframe or --disable-miniframe was given.
10667 if test "${enable_miniframe+set}" = set; then
10668 enableval
="$enable_miniframe"
10670 if test "$enableval" = yes; then
10671 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10673 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10678 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x
; then
10680 eval "DEFAULT_$LINE"
10685 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10689 eval "$ac_cv_use_miniframe"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10694 if test "$wxUSE_MINIFRAME" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10707 # Check whether --enable-tooltips or --disable-tooltips was given.
10708 if test "${enable_tooltips+set}" = set; then
10709 enableval
="$enable_tooltips"
10711 if test "$enableval" = yes; then
10712 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10714 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10719 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x
; then
10721 eval "DEFAULT_$LINE"
10726 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10730 eval "$ac_cv_use_tooltips"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10735 if test "$wxUSE_TOOLTIPS" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10748 # Check whether --enable-splines or --disable-splines was given.
10749 if test "${enable_splines+set}" = set; then
10750 enableval
="$enable_splines"
10752 if test "$enableval" = yes; then
10753 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10755 ac_cv_use_splines
='wxUSE_SPLINES=no'
10760 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x
; then
10762 eval "DEFAULT_$LINE"
10767 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10771 eval "$ac_cv_use_splines"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10776 if test "$wxUSE_SPLINES" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10789 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10790 if test "${enable_mousewheel+set}" = set; then
10791 enableval
="$enable_mousewheel"
10793 if test "$enableval" = yes; then
10794 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10796 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10801 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x
; then
10803 eval "DEFAULT_$LINE"
10808 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10812 eval "$ac_cv_use_mousewheel"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10817 if test "$wxUSE_MOUSEWHEEL" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10830 # Check whether --enable-validators or --disable-validators was given.
10831 if test "${enable_validators+set}" = set; then
10832 enableval
="$enable_validators"
10834 if test "$enableval" = yes; then
10835 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10837 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10842 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x
; then
10844 eval "DEFAULT_$LINE"
10849 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10853 eval "$ac_cv_use_validators"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10858 if test "$wxUSE_VALIDATORS" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10872 if test "${enable_busyinfo+set}" = set; then
10873 enableval
="$enable_busyinfo"
10875 if test "$enableval" = yes; then
10876 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10878 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10883 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x
; then
10885 eval "DEFAULT_$LINE"
10890 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10894 eval "$ac_cv_use_busyinfo"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10899 if test "$wxUSE_BUSYINFO" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10912 # Check whether --enable-joystick or --disable-joystick was given.
10913 if test "${enable_joystick+set}" = set; then
10914 enableval
="$enable_joystick"
10916 if test "$enableval" = yes; then
10917 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10919 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10924 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10925 if test "x$LINE" != x
; then
10926 eval "DEFAULT_$LINE"
10931 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10935 eval "$ac_cv_use_joystick"
10936 if test "$no_cache" != 1; then
10937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10940 if test "$wxUSE_JOYSTICK" = yes; then
10941 echo "$as_me:$LINENO: result: yes" >&5
10942 echo "${ECHO_T}yes" >&6
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10953 # Check whether --enable-metafile or --disable-metafile was given.
10954 if test "${enable_metafile+set}" = set; then
10955 enableval
="$enable_metafile"
10957 if test "$enableval" = yes; then
10958 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10960 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10965 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x
; then
10967 eval "DEFAULT_$LINE"
10972 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10976 eval "$ac_cv_use_metafile"
10977 if test "$no_cache" != 1; then
10978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10981 if test "$wxUSE_METAFILE" = yes; then
10982 echo "$as_me:$LINENO: result: yes" >&5
10983 echo "${ECHO_T}yes" >&6
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10994 # Check whether --enable-dragimage or --disable-dragimage was given.
10995 if test "${enable_dragimage+set}" = set; then
10996 enableval
="$enable_dragimage"
10998 if test "$enableval" = yes; then
10999 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11001 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11006 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x
; then
11008 eval "DEFAULT_$LINE"
11013 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11017 eval "$ac_cv_use_dragimage"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11022 if test "$wxUSE_DRAGIMAGE" = yes; then
11023 echo "$as_me:$LINENO: result: yes" >&5
11024 echo "${ECHO_T}yes" >&6
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11035 # Check whether --enable-accessibility or --disable-accessibility was given.
11036 if test "${enable_accessibility+set}" = set; then
11037 enableval
="$enable_accessibility"
11039 if test "$enableval" = yes; then
11040 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11042 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11047 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11048 if test "x$LINE" != x
; then
11049 eval "DEFAULT_$LINE"
11054 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11058 eval "$ac_cv_use_accessibility"
11059 if test "$no_cache" != 1; then
11060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11063 if test "$wxUSE_ACCESSIBILITY" = yes; then
11064 echo "$as_me:$LINENO: result: yes" >&5
11065 echo "${ECHO_T}yes" >&6
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11072 if test "$wxUSE_MSW" = "1"; then
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11078 # Check whether --enable-dccache or --disable-dccache was given.
11079 if test "${enable_dccache+set}" = set; then
11080 enableval
="$enable_dccache"
11082 if test "$enableval" = yes; then
11083 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11085 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11090 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x
; then
11092 eval "DEFAULT_$LINE"
11097 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11101 eval "$ac_cv_use_dccache"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11106 if test "$wxUSE_DC_CACHEING" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11122 # Check whether --enable-palette or --disable-palette was given.
11123 if test "${enable_palette+set}" = set; then
11124 enableval
="$enable_palette"
11126 if test "$enableval" = yes; then
11127 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11129 ac_cv_use_palette
='wxUSE_PALETTE=no'
11134 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x
; then
11136 eval "DEFAULT_$LINE"
11141 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11145 eval "$ac_cv_use_palette"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11150 if test "$wxUSE_PALETTE" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11163 # Check whether --enable-image or --disable-image was given.
11164 if test "${enable_image+set}" = set; then
11165 enableval
="$enable_image"
11167 if test "$enableval" = yes; then
11168 ac_cv_use_image
='wxUSE_IMAGE=yes'
11170 ac_cv_use_image
='wxUSE_IMAGE=no'
11175 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x
; then
11177 eval "DEFAULT_$LINE"
11182 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11186 eval "$ac_cv_use_image"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11191 if test "$wxUSE_IMAGE" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11204 # Check whether --enable-gif or --disable-gif was given.
11205 if test "${enable_gif+set}" = set; then
11206 enableval
="$enable_gif"
11208 if test "$enableval" = yes; then
11209 ac_cv_use_gif
='wxUSE_GIF=yes'
11211 ac_cv_use_gif
='wxUSE_GIF=no'
11216 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x
; then
11218 eval "DEFAULT_$LINE"
11223 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11227 eval "$ac_cv_use_gif"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11232 if test "$wxUSE_GIF" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11245 # Check whether --enable-pcx or --disable-pcx was given.
11246 if test "${enable_pcx+set}" = set; then
11247 enableval
="$enable_pcx"
11249 if test "$enableval" = yes; then
11250 ac_cv_use_pcx
='wxUSE_PCX=yes'
11252 ac_cv_use_pcx
='wxUSE_PCX=no'
11257 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x
; then
11259 eval "DEFAULT_$LINE"
11264 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11268 eval "$ac_cv_use_pcx"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11273 if test "$wxUSE_PCX" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11286 # Check whether --enable-iff or --disable-iff was given.
11287 if test "${enable_iff+set}" = set; then
11288 enableval
="$enable_iff"
11290 if test "$enableval" = yes; then
11291 ac_cv_use_iff
='wxUSE_IFF=yes'
11293 ac_cv_use_iff
='wxUSE_IFF=no'
11298 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x
; then
11300 eval "DEFAULT_$LINE"
11305 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11309 eval "$ac_cv_use_iff"
11310 if test "$no_cache" != 1; then
11311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11314 if test "$wxUSE_IFF" = yes; then
11315 echo "$as_me:$LINENO: result: yes" >&5
11316 echo "${ECHO_T}yes" >&6
11318 echo "$as_me:$LINENO: result: no" >&5
11319 echo "${ECHO_T}no" >&6
11324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11327 # Check whether --enable-pnm or --disable-pnm was given.
11328 if test "${enable_pnm+set}" = set; then
11329 enableval
="$enable_pnm"
11331 if test "$enableval" = yes; then
11332 ac_cv_use_pnm
='wxUSE_PNM=yes'
11334 ac_cv_use_pnm
='wxUSE_PNM=no'
11339 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x
; then
11341 eval "DEFAULT_$LINE"
11346 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11350 eval "$ac_cv_use_pnm"
11351 if test "$no_cache" != 1; then
11352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11355 if test "$wxUSE_PNM" = yes; then
11356 echo "$as_me:$LINENO: result: yes" >&5
11357 echo "${ECHO_T}yes" >&6
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11368 # Check whether --enable-xpm or --disable-xpm was given.
11369 if test "${enable_xpm+set}" = set; then
11370 enableval
="$enable_xpm"
11372 if test "$enableval" = yes; then
11373 ac_cv_use_xpm
='wxUSE_XPM=yes'
11375 ac_cv_use_xpm
='wxUSE_XPM=no'
11380 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x
; then
11382 eval "DEFAULT_$LINE"
11387 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11391 eval "$ac_cv_use_xpm"
11392 if test "$no_cache" != 1; then
11393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11396 if test "$wxUSE_XPM" = yes; then
11397 echo "$as_me:$LINENO: result: yes" >&5
11398 echo "${ECHO_T}yes" >&6
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11410 if test "${enable_ico_cur+set}" = set; then
11411 enableval
="$enable_ico_cur"
11413 if test "$enableval" = yes; then
11414 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11416 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11421 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x
; then
11423 eval "DEFAULT_$LINE"
11428 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11432 eval "$ac_cv_use_ico_cur"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11437 if test "$wxUSE_ICO_CUR" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11450 # Check whether --with-flavour or --without-flavour was given.
11451 if test "${with_flavour+set}" = set; then
11452 withval
="$with_flavour"
11453 WX_FLAVOUR
="$withval"
11459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11462 # Check whether --enable-official_build or --disable-official_build was given.
11463 if test "${enable_official_build+set}" = set; then
11464 enableval
="$enable_official_build"
11466 if test "$enableval" = yes; then
11467 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11469 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11474 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x
; then
11476 eval "DEFAULT_$LINE"
11481 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11485 eval "$ac_cv_use_official_build"
11486 if test "$no_cache" != 1; then
11487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11491 echo "$as_me:$LINENO: result: yes" >&5
11492 echo "${ECHO_T}yes" >&6
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11498 # Check whether --enable-vendor or --disable-vendor was given.
11499 if test "${enable_vendor+set}" = set; then
11500 enableval
="$enable_vendor"
11501 VENDOR
="$enableval"
11503 if test "x$VENDOR" = "x"; then
11510 echo "saving argument cache $wx_arg_cache_file"
11511 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11515 echo "$as_me:$LINENO: checking for toolkit" >&5
11516 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11518 # In Wine, we need to default to MSW, not GTK or MOTIF
11519 if test "$wxUSE_WINE" = "yes"; then
11520 DEFAULT_DEFAULT_wxUSE_GTK
=0
11521 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11522 DEFAULT_DEFAULT_wxUSE_MSW
=1
11527 if test "$wxUSE_GUI" = "yes"; then
11529 if test "$USE_BEOS" = 1; then
11530 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11531 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11532 { (exit 1); exit 1; }; }
11535 if test "$TOOLKIT_GIVEN" = 1; then
11536 for toolkit
in `echo $ALL_TOOLKITS`; do
11538 eval "value=\$${var}"
11539 if test "x$value" = "xno"; then
11541 elif test "x$value" != "x"; then
11545 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11546 eval "wx${toolkit}_VERSION=$value"
11550 for toolkit
in `echo $ALL_TOOLKITS`; do
11551 if test "$has_toolkit_in_cache" != 1; then
11552 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11554 var
=DEFAULT_wxUSE_
$toolkit
11556 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11557 if test "x$version" != "x"; then
11558 eval "wx${toolkit}_VERSION=$version"
11561 eval "wxUSE_$toolkit=\$${var}"
11565 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11566 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11567 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11570 *-pc-os2_emx | *-pc-os2-emx )
11571 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11574 case "$NUM_TOOLKITS" in
11578 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11579 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11580 { (exit 1); exit 1; }; }
11583 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11584 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11585 { (exit 1); exit 1; }; }
11588 # to be removed when --disable-gtk2 isn't needed
11589 if test "x$wxUSE_GTK2" = "xyes"; then
11591 elif test "x$wxUSE_GTK2" = "xno"; then
11595 for toolkit
in `echo $ALL_TOOLKITS`; do
11597 eval "value=\$${var}"
11598 if test "x$value" != x
; then
11599 cache_var
=CACHE_
$toolkit
11600 eval "cache=\$${cache_var}"
11601 if test "$cache" = 1; then
11602 echo "$var=$value" >> ${wx_arg_cache_file}
11603 eval "version=\$wx${toolkit}_VERSION"
11604 if test "x$version" != "x"; then
11605 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11608 if test "$value" = 1; then
11609 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11610 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11611 echo "${ECHO_T}$toolkit_echo" >&6
11616 if test "x$host_alias" != "x"; then
11617 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11618 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11620 echo "$as_me:$LINENO: result: base only" >&5
11621 echo "${ECHO_T}base only" >&6
11626 doesnt_want_win32
=0
11629 if test "$wxUSE_MSW" = 1 ; then
11631 BAKEFILE_FORCE_PLATFORM
=win32
11633 doesnt_want_win32
=1
11641 if test "$wxUSE_WINE" = "yes"; then
11645 LDFLAGS_GUI
="-mwindows"
11648 if test "$wants_win32" = 1 ; then
11651 cat >>confdefs.h
<<\_ACEOF
11652 #define __WIN32__ 1
11655 cat >>confdefs.h
<<\_ACEOF
11656 #define __WIN95__ 1
11659 cat >>confdefs.h
<<\_ACEOF
11660 #define __WINDOWS__ 1
11663 cat >>confdefs.h
<<\_ACEOF
11664 #define __GNUWIN32__ 1
11667 cat >>confdefs.h
<<\_ACEOF
11671 cat >>confdefs.h
<<\_ACEOF
11672 #define WINVER 0x0400
11676 if test "$doesnt_want_win32" = 1 ; then
11681 if test "$USE_UNIX" = 1 ; then
11683 cat >>confdefs.h
<<\_ACEOF
11690 cat >confcache
<<\_ACEOF
11691 # This file is a shell script that caches the results of configure
11692 # tests run on this system so they can be shared between configure
11693 # scripts and configure runs, see configure's option --config-cache.
11694 # It is not useful on other systems. If it contains results you don't
11695 # want to keep, you may remove or edit it.
11697 # config.status only pays attention to the cache file if you give it
11698 # the --recheck option to rerun configure.
11700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11702 # following values.
11706 # The following way of writing the cache mishandles newlines in values,
11707 # but we know of no workaround that is simple, portable, and efficient.
11708 # So, don't put newlines in cache variables' values.
11709 # Ultrix sh set writes to stderr and can't be redirected directly,
11710 # and sets the high bit in the cache file unless we assign to the vars.
11713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11715 # `set' does not quote correctly, so add quotes (double-quote
11716 # substitution turns \\\\ into \\, and sed turns \\ into \).
11719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11722 # `set' quotes correctly as required by POSIX, so do not add quotes.
11724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11735 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11736 if test -w $cache_file; then
11737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11738 cat confcache
>$cache_file
11740 echo "not updating unwritable cache $cache_file"
11750 ac_cpp
='$CPP $CPPFLAGS'
11751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11754 if test -n "$ac_tool_prefix"; then
11755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11756 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11757 echo "$as_me:$LINENO: checking for $ac_word" >&5
11758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11759 if test "${ac_cv_prog_CC+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 if test -n "$CC"; then
11763 ac_cv_prog_CC
="$CC" # Let the user override the test.
11765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11766 for as_dir
in $PATH
11769 test -z "$as_dir" && as_dir
=.
11770 for ac_exec_ext
in '' $ac_executable_extensions; do
11771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11772 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 if test -n "$CC"; then
11783 echo "$as_me:$LINENO: result: $CC" >&5
11784 echo "${ECHO_T}$CC" >&6
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11791 if test -z "$ac_cv_prog_CC"; then
11793 # Extract the first word of "gcc", so it can be a program name with args.
11794 set dummy gcc
; ac_word
=$2
11795 echo "$as_me:$LINENO: checking for $ac_word" >&5
11796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 if test -n "$ac_ct_CC"; then
11801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11804 for as_dir
in $PATH
11807 test -z "$as_dir" && as_dir
=.
11808 for ac_exec_ext
in '' $ac_executable_extensions; do
11809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_prog_ac_ct_CC
="gcc"
11811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11820 if test -n "$ac_ct_CC"; then
11821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11822 echo "${ECHO_T}$ac_ct_CC" >&6
11824 echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6
11830 CC
="$ac_cv_prog_CC"
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11837 echo "$as_me:$LINENO: checking for $ac_word" >&5
11838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11839 if test "${ac_cv_prog_CC+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC
="$CC" # Let the user override the test.
11845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11846 for as_dir
in $PATH
11849 test -z "$as_dir" && as_dir
=.
11850 for ac_exec_ext
in '' $ac_executable_extensions; do
11851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11862 if test -n "$CC"; then
11863 echo "$as_me:$LINENO: result: $CC" >&5
11864 echo "${ECHO_T}$CC" >&6
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11871 if test -z "$ac_cv_prog_CC"; then
11873 # Extract the first word of "cc", so it can be a program name with args.
11874 set dummy cc
; ac_word
=$2
11875 echo "$as_me:$LINENO: checking for $ac_word" >&5
11876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 if test -n "$ac_ct_CC"; then
11881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11884 for as_dir
in $PATH
11887 test -z "$as_dir" && as_dir
=.
11888 for ac_exec_ext
in '' $ac_executable_extensions; do
11889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_prog_ac_ct_CC
="cc"
11891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11900 if test -n "$ac_ct_CC"; then
11901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11902 echo "${ECHO_T}$ac_ct_CC" >&6
11904 echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6
11910 CC
="$ac_cv_prog_CC"
11914 if test -z "$CC"; then
11915 # Extract the first word of "cc", so it can be a program name with args.
11916 set dummy cc
; ac_word
=$2
11917 echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11919 if test "${ac_cv_prog_CC+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 if test -n "$CC"; then
11923 ac_cv_prog_CC
="$CC" # Let the user override the test.
11925 ac_prog_rejected
=no
11926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11927 for as_dir
in $PATH
11930 test -z "$as_dir" && as_dir
=.
11931 for ac_exec_ext
in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11934 ac_prog_rejected
=yes
11938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11944 if test $ac_prog_rejected = yes; then
11945 # We found a bogon in the path, so make sure we never use it.
11946 set dummy
$ac_cv_prog_CC
11948 if test $# != 0; then
11949 # We chose a different compiler from the bogus one.
11950 # However, it has the same basename, so the bogon will be chosen
11951 # first if we set CC to just the basename; use the full file name.
11953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11959 if test -n "$CC"; then
11960 echo "$as_me:$LINENO: result: $CC" >&5
11961 echo "${ECHO_T}$CC" >&6
11963 echo "$as_me:$LINENO: result: no" >&5
11964 echo "${ECHO_T}no" >&6
11968 if test -z "$CC"; then
11969 if test -n "$ac_tool_prefix"; then
11972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC
="$CC" # Let the user override the test.
11982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11983 for as_dir
in $PATH
11986 test -z "$as_dir" && as_dir
=.
11987 for ac_exec_ext
in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11999 if test -n "$CC"; then
12000 echo "$as_me:$LINENO: result: $CC" >&5
12001 echo "${ECHO_T}$CC" >&6
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12007 test -n "$CC" && break
12010 if test -z "$CC"; then
12014 # Extract the first word of "$ac_prog", so it can be a program name with args.
12015 set dummy
$ac_prog; ac_word
=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 if test -n "$ac_ct_CC"; then
12022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12025 for as_dir
in $PATH
12028 test -z "$as_dir" && as_dir
=.
12029 for ac_exec_ext
in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_ac_ct_CC
="$ac_prog"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12041 if test -n "$ac_ct_CC"; then
12042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12043 echo "${ECHO_T}$ac_ct_CC" >&6
12045 echo "$as_me:$LINENO: result: no" >&5
12046 echo "${ECHO_T}no" >&6
12049 test -n "$ac_ct_CC" && break
12058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12059 See \`config.log' for more details." >&5
12060 echo "$as_me: error: no acceptable C compiler found in \$PATH
12061 See \`config.log' for more details." >&2;}
12062 { (exit 1); exit 1; }; }
12064 # Provide some information about the compiler.
12065 echo "$as_me:$LINENO:" \
12066 "checking for C compiler version" >&5
12067 ac_compiler
=`set X $ac_compile; echo $2`
12068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12069 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }
12073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12074 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }
12078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12079 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }
12084 cat >conftest.
$ac_ext <<_ACEOF
12087 cat confdefs.h
>>conftest.
$ac_ext
12088 cat >>conftest.
$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12099 ac_clean_files_save
=$ac_clean_files
12100 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12101 # Try to create an executable without -o first, disregard a.out.
12102 # It will help us diagnose broken compilers, and finding out an intuition
12104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12106 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12108 (eval $ac_link_default) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; then
12112 # Find the output, starting from the most likely. This scheme is
12113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12116 # Be careful to initialize this variable, since it used to be cached.
12117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12119 # b.out is created by i960 compilers.
12120 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12122 test -f "$ac_file" || continue
12124 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12127 # This is the source file.
12130 # We found the default executable, but exeext='' is most
12134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12135 # FIXME: I believe we export ac_cv_exeext for Libtool,
12136 # but it would be cool to find out if it's true. Does anybody
12137 # maintain Libtool? --akim.
12138 export ac_cv_exeext
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.
$ac_ext >&5
12148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12149 See \`config.log' for more details." >&5
12150 echo "$as_me: error: C compiler cannot create executables
12151 See \`config.log' for more details." >&2;}
12152 { (exit 77); exit 77; }; }
12155 ac_exeext
=$ac_cv_exeext
12156 echo "$as_me:$LINENO: result: $ac_file" >&5
12157 echo "${ECHO_T}$ac_file" >&6
12159 # Check the compiler produces executables we can run. If not, either
12160 # the compiler is broken, or we cross compile.
12161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12164 # If not cross compiling, check that we can run a simple program.
12165 if test "$cross_compiling" != yes; then
12166 if { ac_try
='./$ac_file'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12174 if test "$cross_compiling" = maybe
; then
12175 cross_compiling
=yes
12177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12178 If you meant to cross compile, use \`--host'.
12179 See \`config.log' for more details." >&5
12180 echo "$as_me: error: cannot run C compiled programs.
12181 If you meant to cross compile, use \`--host'.
12182 See \`config.log' for more details." >&2;}
12183 { (exit 1); exit 1; }; }
12187 echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6
12190 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12191 ac_clean_files
=$ac_clean_files_save
12192 # Check the compiler produces executables we can run. If not, either
12193 # the compiler is broken, or we cross compile.
12194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12197 echo "${ECHO_T}$cross_compiling" >&6
12199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; then
12206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12208 # work properly (i.e., refer to `conftest.exe'), while it won't with
12210 for ac_file
in conftest.exe conftest conftest.
*; do
12211 test -f "$ac_file" || continue
12213 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12214 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12215 export ac_cv_exeext
12221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12222 See \`config.log' for more details." >&5
12223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12224 See \`config.log' for more details." >&2;}
12225 { (exit 1); exit 1; }; }
12228 rm -f conftest
$ac_cv_exeext
12229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12230 echo "${ECHO_T}$ac_cv_exeext" >&6
12232 rm -f conftest.
$ac_ext
12233 EXEEXT
=$ac_cv_exeext
12235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12237 if test "${ac_cv_objext+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 cat >conftest.
$ac_ext <<_ACEOF
12243 cat confdefs.h
>>conftest.
$ac_ext
12244 cat >>conftest.
$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12255 rm -f conftest.o conftest.obj
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; then
12261 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12263 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12264 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.
$ac_ext >&5
12272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12273 See \`config.log' for more details." >&5
12274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12275 See \`config.log' for more details." >&2;}
12276 { (exit 1); exit 1; }; }
12279 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12282 echo "${ECHO_T}$ac_cv_objext" >&6
12283 OBJEXT
=$ac_cv_objext
12285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12308 rm -f conftest.
$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12312 grep -v '^ *+' conftest.er1
>conftest.err
12314 cat conftest.err
>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try
='test -z "$ac_c_werror_flag"
12318 || test ! -s conftest.err'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try
='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 ac_compiler_gnu
=yes
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.
$ac_ext >&5
12337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12338 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12341 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12342 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12343 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12344 ac_test_CFLAGS
=${CFLAGS+set}
12345 ac_save_CFLAGS
=$CFLAGS
12347 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12348 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12349 if test "${ac_cv_prog_cc_g+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 cat >conftest.
$ac_ext <<_ACEOF
12355 cat confdefs.h
>>conftest.
$ac_ext
12356 cat >>conftest.
$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12367 rm -f conftest.
$ac_objext
12368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12369 (eval $ac_compile) 2>conftest.er1
12371 grep -v '^ *+' conftest.er1
>conftest.err
12373 cat conftest.err
>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try
='test -z "$ac_c_werror_flag"
12377 || test ! -s conftest.err'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; } &&
12383 { ac_try
='test -s conftest.$ac_objext'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; }; then
12389 ac_cv_prog_cc_g
=yes
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.
$ac_ext >&5
12396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12399 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12400 if test "$ac_test_CFLAGS" = set; then
12401 CFLAGS
=$ac_save_CFLAGS
12402 elif test $ac_cv_prog_cc_g = yes; then
12403 if test "$GCC" = yes; then
12409 if test "$GCC" = yes; then
12415 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12416 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12417 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 ac_cv_prog_cc_stdc
=no
12422 cat >conftest.
$ac_ext <<_ACEOF
12425 cat confdefs.h
>>conftest.
$ac_ext
12426 cat >>conftest.
$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 #include <stdarg.h>
12430 #include <sys/types.h>
12431 #include <sys/stat.h>
12432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12433 struct buf { int x; };
12434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12435 static char *e (p, i)
12441 static char *f (char * (*g) (char **, int), char **p, ...)
12446 s = g (p, va_arg (v,int));
12451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12452 function prototypes and stuff, but not '\xHH' hex character constants.
12453 These don't provoke an error unfortunately, instead are silently treated
12454 as 'x'. The following induces an error, until -std1 is added to get
12455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12456 array size at least. It's necessary to write '\x00'==0 to get something
12457 that's true only with -std1. */
12458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12460 int test (int i, double x);
12461 struct s1 {int (*f) (int a);};
12462 struct s2 {int (*f) (double a);};
12463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12474 # Don't try gcc -ansi; that turns off useful extensions and
12475 # breaks some systems' header files.
12476 # AIX -qlanglvl=ansi
12477 # Ultrix and OSF/1 -std1
12478 # HP-UX 10.20 and later -Ae
12479 # HP-UX older versions -Aa -D_HPUX_SOURCE
12480 # SVR4 -Xc -D__EXTENSIONS__
12481 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12483 CC
="$ac_save_CC $ac_arg"
12484 rm -f conftest.
$ac_objext
12485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12486 (eval $ac_compile) 2>conftest.er1
12488 grep -v '^ *+' conftest.er1
>conftest.err
12490 cat conftest.err
>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } &&
12493 { ac_try
='test -z "$ac_c_werror_flag"
12494 || test ! -s conftest.err'
12495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12496 (eval $ac_try) 2>&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; } &&
12500 { ac_try
='test -s conftest.$ac_objext'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; }; then
12506 ac_cv_prog_cc_stdc
=$ac_arg
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.
$ac_ext >&5
12513 rm -f conftest.err conftest.
$ac_objext
12515 rm -f conftest.
$ac_ext conftest.
$ac_objext
12520 case "x$ac_cv_prog_cc_stdc" in
12522 echo "$as_me:$LINENO: result: none needed" >&5
12523 echo "${ECHO_T}none needed" >&6 ;;
12525 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12526 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12527 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12530 # Some people use a C++ compiler to compile C. Since we use `exit',
12531 # in C++ we need to declare it. In case someone uses the same compiler
12532 # for both compiling C and C++ we need to have the C++ compiler decide
12533 # the declaration of exit, since it's the most demanding environment.
12534 cat >conftest.
$ac_ext <<_ACEOF
12535 #ifndef __cplusplus
12539 rm -f conftest.
$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 for ac_declaration
in \
12563 'extern "C" void std::exit (int) throw (); using std::exit;' \
12564 'extern "C" void std::exit (int); using std::exit;' \
12565 'extern "C" void exit (int) throw ();' \
12566 'extern "C" void exit (int);' \
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12576 #include <stdlib.h>
12585 rm -f conftest.
$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12589 grep -v '^ *+' conftest.er1
>conftest.err
12591 cat conftest.err
>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try
='test -z "$ac_c_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try
='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12630 rm -f conftest.
$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 if test -n "$ac_declaration"; then
12662 echo '#ifdef __cplusplus' >>confdefs.h
12663 echo $ac_declaration >>confdefs.h
12664 echo '#endif' >>confdefs.h
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.
$ac_ext >&5
12672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12674 ac_cpp
='$CPP $CPPFLAGS'
12675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12682 ac_cpp
='$CPP $CPPFLAGS'
12683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12687 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12688 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12689 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12703 #ifndef __INTEL_COMPILER
12711 rm -f conftest.
$ac_objext
12712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12713 (eval $ac_compile) 2>conftest.er1
12715 grep -v '^ *+' conftest.er1
>conftest.err
12717 cat conftest.err
>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try
='test -z "$ac_c_werror_flag"
12721 || test ! -s conftest.err'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; } &&
12727 { ac_try
='test -s conftest.$ac_objext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12733 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.
$ac_ext >&5
12738 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12745 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12746 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12748 ac_cpp
='$CPP $CPPFLAGS'
12749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12753 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12760 if test "x$GCC" != "xyes"; then
12761 if test "xCC" = "xC"; then
12762 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12763 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12764 if test "${bakefile_cv_c_exto+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 cat >conftest.
$ac_ext <<_ACEOF
12770 cat confdefs.h
>>conftest.
$ac_ext
12771 cat >>conftest.
$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12782 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12784 (eval $ac_compile) 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; then
12788 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12790 conftest.
$ac_ext.o
)
12791 bakefile_cv_c_exto
="-ext o"
12798 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12799 See \`config.log' for more details." >&5
12800 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12801 See \`config.log' for more details." >&2;}
12802 { (exit 1); exit 1; }; }
12806 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12809 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12810 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12811 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12812 if test "c" = "c"; then
12813 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12815 if test "c" = "cxx"; then
12816 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12820 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12821 unset ac_cv_prog_cc_g
12822 ac_test_CFLAGS
=${CFLAGS+set}
12823 ac_save_CFLAGS
=$CFLAGS
12825 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12827 if test "${ac_cv_prog_cc_g+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12845 rm -f conftest.
$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try
='test -z "$ac_c_werror_flag"
12855 || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try
='test -s conftest.$ac_objext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 ac_cv_prog_cc_g
=yes
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.
$ac_ext >&5
12874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12876 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12877 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12878 if test "$ac_test_CFLAGS" = set; then
12879 CFLAGS
=$ac_save_CFLAGS
12880 elif test $ac_cv_prog_cc_g = yes; then
12881 if test "$GCC" = yes; then
12887 if test "$GCC" = yes; then
12899 ac_cpp
='$CPP $CPPFLAGS'
12900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12904 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12905 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12906 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 cat >conftest.
$ac_ext <<_ACEOF
12912 cat confdefs.h
>>conftest.
$ac_ext
12913 cat >>conftest.
$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12927 rm -f conftest.
$ac_objext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12929 (eval $ac_compile) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try
='test -z "$ac_c_werror_flag"
12937 || test ! -s conftest.err'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; } &&
12943 { ac_try
='test -s conftest.$ac_objext'
12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945 (eval $ac_try) 2>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); }; }; then
12949 bakefile_compiler_xlc
=yes
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.
$ac_ext >&5
12954 bakefile_compiler_xlc
=no
12956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12957 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12960 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12961 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12963 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12965 ac_cpp
='$CPP $CPPFLAGS'
12966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12975 ac_cpp
='$CPP $CPPFLAGS'
12976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12980 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12981 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12982 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 cat >conftest.
$ac_ext <<_ACEOF
12988 cat confdefs.h
>>conftest.
$ac_ext
12989 cat >>conftest.
$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
13003 rm -f conftest.
$ac_objext
13004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13005 (eval $ac_compile) 2>conftest.er1
13007 grep -v '^ *+' conftest.er1
>conftest.err
13009 cat conftest.err
>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } &&
13012 { ac_try
='test -z "$ac_c_werror_flag"
13013 || test ! -s conftest.err'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; } &&
13019 { ac_try
='test -s conftest.$ac_objext'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; }; then
13025 bakefile_compiler_mwerks
=yes
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.
$ac_ext >&5
13030 bakefile_compiler_mwerks
=no
13032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13033 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13039 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13041 ac_cpp
='$CPP $CPPFLAGS'
13042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13048 ac_cpp
='$CPP $CPPFLAGS'
13049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13053 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13055 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 cat >conftest.
$ac_ext <<_ACEOF
13061 cat confdefs.h
>>conftest.
$ac_ext
13062 cat >>conftest.
$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13076 rm -f conftest.
$ac_objext
13077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13078 (eval $ac_compile) 2>conftest.er1
13080 grep -v '^ *+' conftest.er1
>conftest.err
13082 cat conftest.err
>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } &&
13085 { ac_try
='test -z "$ac_c_werror_flag"
13086 || test ! -s conftest.err'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; } &&
13092 { ac_try
='test -s conftest.$ac_objext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 bakefile_compiler_xlc
=yes
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.
$ac_ext >&5
13103 bakefile_compiler_xlc
=no
13105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13106 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13109 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13110 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13112 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13114 ac_cpp
='$CPP $CPPFLAGS'
13115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13126 ac_cpp
='$CPP $CPPFLAGS'
13127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13131 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13132 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13133 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13136 cat >conftest.
$ac_ext <<_ACEOF
13139 cat confdefs.h
>>conftest.
$ac_ext
13140 cat >>conftest.
$ac_ext <<_ACEOF
13141 /* end confdefs.h. */
13147 #ifndef _SGI_COMPILER_VERSION
13155 rm -f conftest.
$ac_objext
13156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157 (eval $ac_compile) 2>conftest.er1
13159 grep -v '^ *+' conftest.er1
>conftest.err
13161 cat conftest.err
>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } &&
13164 { ac_try
='test -z "$ac_c_werror_flag"
13165 || test ! -s conftest.err'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; } &&
13171 { ac_try
='test -s conftest.$ac_objext'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.
$ac_ext >&5
13182 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13189 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13190 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13192 ac_cpp
='$CPP $CPPFLAGS'
13193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13197 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13210 ac_cpp
='$CPP $CPPFLAGS'
13211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13215 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13216 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13217 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13239 rm -f conftest.
$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1
>conftest.err
13245 cat conftest.err
>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try
='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 bakefile_cv_c_compiler___HP_cc
=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 bakefile_cv_c_compiler___HP_cc
=no
13269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13273 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13274 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13276 ac_cpp
='$CPP $CPPFLAGS'
13277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13281 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13294 ac_cpp
='$CPP $CPPFLAGS'
13295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13299 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13300 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13301 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 cat >conftest.
$ac_ext <<_ACEOF
13307 cat confdefs.h
>>conftest.
$ac_ext
13308 cat >>conftest.
$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13323 rm -f conftest.
$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>conftest.er1
13327 grep -v '^ *+' conftest.er1
>conftest.err
13329 cat conftest.err
>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } &&
13332 { ac_try
='test -z "$ac_c_werror_flag"
13333 || test ! -s conftest.err'
13334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335 (eval $ac_try) 2>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }; } &&
13339 { ac_try
='test -s conftest.$ac_objext'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; }; then
13345 bakefile_cv_c_compiler___DECC
=yes
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.
$ac_ext >&5
13350 bakefile_cv_c_compiler___DECC
=no
13353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13357 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13358 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13360 ac_cpp
='$CPP $CPPFLAGS'
13361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13365 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13378 ac_cpp
='$CPP $CPPFLAGS'
13379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13383 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13384 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13385 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 cat >conftest.
$ac_ext <<_ACEOF
13391 cat confdefs.h
>>conftest.
$ac_ext
13392 cat >>conftest.
$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13407 rm -f conftest.
$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13411 grep -v '^ *+' conftest.er1
>conftest.err
13413 cat conftest.err
>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try
='test -z "$ac_c_werror_flag"
13417 || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try
='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler___SUNPRO_C
=yes
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.
$ac_ext >&5
13434 bakefile_cv_c_compiler___SUNPRO_C
=no
13437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13444 ac_cpp
='$CPP $CPPFLAGS'
13445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13449 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13463 ac_cpp
='$CPP $CPPFLAGS'
13464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13467 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13468 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13469 # On Suns, sometimes $CPP names a directory.
13470 if test -n "$CPP" && test -d "$CPP"; then
13473 if test -z "$CPP"; then
13474 if test "${ac_cv_prog_CPP+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 # Double quotes because CPP needs to be expanded
13478 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13480 ac_preproc_ok
=false
13481 for ac_c_preproc_warn_flag
in '' yes
13483 # Use a header file that comes with gcc, so configuring glibc
13484 # with a fresh cross-compiler works.
13485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13486 # <limits.h> exists even on freestanding compilers.
13487 # On the NeXT, cc -E runs the code through the compiler's parser,
13488 # not just through cpp. "Syntax error" is here to catch this case.
13489 cat >conftest.
$ac_ext <<_ACEOF
13492 cat confdefs.h
>>conftest.
$ac_ext
13493 cat >>conftest.
$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13496 # include <limits.h>
13498 # include <assert.h>
13502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1
>conftest.err
13507 cat conftest.err
>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } >/dev
/null
; then
13510 if test -s conftest.err
; then
13511 ac_cpp_err
=$ac_c_preproc_warn_flag
13512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13519 if test -z "$ac_cpp_err"; then
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.
$ac_ext >&5
13525 # Broken: fails on valid input.
13528 rm -f conftest.err conftest.
$ac_ext
13530 # OK, works on sane cases. Now check whether non-existent headers
13531 # can be detected and how.
13532 cat >conftest.
$ac_ext <<_ACEOF
13535 cat confdefs.h
>>conftest.
$ac_ext
13536 cat >>conftest.
$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 #include <ac_nonexistent.h>
13540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } >/dev
/null
; then
13548 if test -s conftest.err
; then
13549 ac_cpp_err
=$ac_c_preproc_warn_flag
13550 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13557 if test -z "$ac_cpp_err"; then
13558 # Broken: success on invalid input.
13561 echo "$as_me: failed program was:" >&5
13562 sed 's/^/| /' conftest.
$ac_ext >&5
13564 # Passes both tests.
13568 rm -f conftest.err conftest.
$ac_ext
13571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13572 rm -f conftest.err conftest.
$ac_ext
13573 if $ac_preproc_ok; then
13578 ac_cv_prog_CPP
=$CPP
13581 CPP
=$ac_cv_prog_CPP
13583 ac_cv_prog_CPP
=$CPP
13585 echo "$as_me:$LINENO: result: $CPP" >&5
13586 echo "${ECHO_T}$CPP" >&6
13587 ac_preproc_ok
=false
13588 for ac_c_preproc_warn_flag
in '' yes
13590 # Use a header file that comes with gcc, so configuring glibc
13591 # with a fresh cross-compiler works.
13592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13593 # <limits.h> exists even on freestanding compilers.
13594 # On the NeXT, cc -E runs the code through the compiler's parser,
13595 # not just through cpp. "Syntax error" is here to catch this case.
13596 cat >conftest.
$ac_ext <<_ACEOF
13599 cat confdefs.h
>>conftest.
$ac_ext
13600 cat >>conftest.
$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13603 # include <limits.h>
13605 # include <assert.h>
13609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } >/dev
/null
; then
13617 if test -s conftest.err
; then
13618 ac_cpp_err
=$ac_c_preproc_warn_flag
13619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13626 if test -z "$ac_cpp_err"; then
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.
$ac_ext >&5
13632 # Broken: fails on valid input.
13635 rm -f conftest.err conftest.
$ac_ext
13637 # OK, works on sane cases. Now check whether non-existent headers
13638 # can be detected and how.
13639 cat >conftest.
$ac_ext <<_ACEOF
13642 cat confdefs.h
>>conftest.
$ac_ext
13643 cat >>conftest.
$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645 #include <ac_nonexistent.h>
13647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } >/dev
/null
; then
13655 if test -s conftest.err
; then
13656 ac_cpp_err
=$ac_c_preproc_warn_flag
13657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13664 if test -z "$ac_cpp_err"; then
13665 # Broken: success on invalid input.
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13671 # Passes both tests.
13675 rm -f conftest.err conftest.
$ac_ext
13678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13679 rm -f conftest.err conftest.
$ac_ext
13680 if $ac_preproc_ok; then
13683 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13684 See \`config.log' for more details." >&5
13685 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13686 See \`config.log' for more details." >&2;}
13687 { (exit 1); exit 1; }; }
13691 ac_cpp
='$CPP $CPPFLAGS'
13692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13697 echo "$as_me:$LINENO: checking for egrep" >&5
13698 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13699 if test "${ac_cv_prog_egrep+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13703 then ac_cv_prog_egrep
='grep -E'
13704 else ac_cv_prog_egrep
='egrep'
13707 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13708 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13709 EGREP
=$ac_cv_prog_egrep
13712 if test $ac_cv_c_compiler_gnu = yes; then
13713 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13714 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13715 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 ac_pattern
="Autoconf.*'x'"
13719 cat >conftest.
$ac_ext <<_ACEOF
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13729 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13730 ac_cv_prog_gcc_traditional
=yes
13732 ac_cv_prog_gcc_traditional
=no
13737 if test $ac_cv_prog_gcc_traditional = no
; then
13738 cat >conftest.
$ac_ext <<_ACEOF
13741 cat confdefs.h
>>conftest.
$ac_ext
13742 cat >>conftest.
$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 #include <termio.h>
13747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13748 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13749 ac_cv_prog_gcc_traditional
=yes
13755 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13756 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13757 if test $ac_cv_prog_gcc_traditional = yes; then
13758 CC
="$CC -traditional"
13764 ac_cpp
='$CXXCPP $CPPFLAGS'
13765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13770 CXXFLAGS
=${CXXFLAGS:=}
13775 ac_cpp
='$CXXCPP $CPPFLAGS'
13776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13779 if test -n "$ac_tool_prefix"; then
13780 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13783 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13784 echo "$as_me:$LINENO: checking for $ac_word" >&5
13785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13786 if test "${ac_cv_prog_CXX+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 if test -n "$CXX"; then
13790 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13793 for as_dir
in $PATH
13796 test -z "$as_dir" && as_dir
=.
13797 for ac_exec_ext
in '' $ac_executable_extensions; do
13798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13799 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13808 CXX
=$ac_cv_prog_CXX
13809 if test -n "$CXX"; then
13810 echo "$as_me:$LINENO: result: $CXX" >&5
13811 echo "${ECHO_T}$CXX" >&6
13813 echo "$as_me:$LINENO: result: no" >&5
13814 echo "${ECHO_T}no" >&6
13817 test -n "$CXX" && break
13820 if test -z "$CXX"; then
13822 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13824 # Extract the first word of "$ac_prog", so it can be a program name with args.
13825 set dummy
$ac_prog; ac_word
=$2
13826 echo "$as_me:$LINENO: checking for $ac_word" >&5
13827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13828 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 if test -n "$ac_ct_CXX"; then
13832 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13835 for as_dir
in $PATH
13838 test -z "$as_dir" && as_dir
=.
13839 for ac_exec_ext
in '' $ac_executable_extensions; do
13840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13841 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13850 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13851 if test -n "$ac_ct_CXX"; then
13852 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13853 echo "${ECHO_T}$ac_ct_CXX" >&6
13855 echo "$as_me:$LINENO: result: no" >&5
13856 echo "${ECHO_T}no" >&6
13859 test -n "$ac_ct_CXX" && break
13861 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13867 # Provide some information about the compiler.
13868 echo "$as_me:$LINENO:" \
13869 "checking for C++ compiler version" >&5
13870 ac_compiler
=`set X $ac_compile; echo $2`
13871 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13872 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }
13876 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13877 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }
13881 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13882 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }
13887 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13888 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13889 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13910 rm -f conftest.
$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>conftest.er1
13914 grep -v '^ *+' conftest.er1
>conftest.err
13916 cat conftest.err
>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try
='test -z "$ac_cxx_werror_flag"
13920 || test ! -s conftest.err'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; } &&
13926 { ac_try
='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 ac_compiler_gnu
=yes
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.
$ac_ext >&5
13939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13940 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13943 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13944 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13945 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13946 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13947 ac_save_CXXFLAGS
=$CXXFLAGS
13949 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13950 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13951 if test "${ac_cv_prog_cxx_g+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13969 rm -f conftest.
$ac_objext
13970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13971 (eval $ac_compile) 2>conftest.er1
13973 grep -v '^ *+' conftest.er1
>conftest.err
13975 cat conftest.err
>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); } &&
13978 { ac_try
='test -z "$ac_cxx_werror_flag"
13979 || test ! -s conftest.err'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; } &&
13985 { ac_try
='test -s conftest.$ac_objext'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; }; then
13991 ac_cv_prog_cxx_g
=yes
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.
$ac_ext >&5
13996 ac_cv_prog_cxx_g
=no
13998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14000 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14001 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14002 if test "$ac_test_CXXFLAGS" = set; then
14003 CXXFLAGS
=$ac_save_CXXFLAGS
14004 elif test $ac_cv_prog_cxx_g = yes; then
14005 if test "$GXX" = yes; then
14011 if test "$GXX" = yes; then
14017 for ac_declaration
in \
14019 'extern "C" void std::exit (int) throw (); using std::exit;' \
14020 'extern "C" void std::exit (int); using std::exit;' \
14021 'extern "C" void exit (int) throw ();' \
14022 'extern "C" void exit (int);' \
14025 cat >conftest.
$ac_ext <<_ACEOF
14028 cat confdefs.h
>>conftest.
$ac_ext
14029 cat >>conftest.
$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14032 #include <stdlib.h>
14041 rm -f conftest.
$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>conftest.er1
14045 grep -v '^ *+' conftest.er1
>conftest.err
14047 cat conftest.err
>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try
='test -z "$ac_cxx_werror_flag"
14051 || test ! -s conftest.err'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try
='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.
$ac_ext >&5
14070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14071 cat >conftest.
$ac_ext <<_ACEOF
14074 cat confdefs.h
>>conftest.
$ac_ext
14075 cat >>conftest.
$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14086 rm -f conftest.
$ac_objext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14088 (eval $ac_compile) 2>conftest.er1
14090 grep -v '^ *+' conftest.er1
>conftest.err
14092 cat conftest.err
>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try
='test -z "$ac_cxx_werror_flag"
14096 || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try
='test -s conftest.$ac_objext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.
$ac_ext >&5
14114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 if test -n "$ac_declaration"; then
14118 echo '#ifdef __cplusplus' >>confdefs.h
14119 echo $ac_declaration >>confdefs.h
14120 echo '#endif' >>confdefs.h
14124 ac_cpp
='$CXXCPP $CPPFLAGS'
14125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14132 ac_cpp
='$CXXCPP $CPPFLAGS'
14133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14137 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14138 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14139 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 cat >conftest.
$ac_ext <<_ACEOF
14145 cat confdefs.h
>>conftest.
$ac_ext
14146 cat >>conftest.
$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14153 #ifndef __INTEL_COMPILER
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_cxx_werror_flag"
14171 || test ! -s conftest.err'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try
='test -s conftest.$ac_objext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14183 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.
$ac_ext >&5
14188 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14195 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14198 ac_cpp
='$CXXCPP $CPPFLAGS'
14199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14203 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14210 if test "x$GCXX" != "xyes"; then
14211 if test "xCXX" = "xC"; then
14212 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14213 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14214 if test "${bakefile_cv_cxx_exto+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 cat >conftest.
$ac_ext <<_ACEOF
14220 cat confdefs.h
>>conftest.
$ac_ext
14221 cat >>conftest.
$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14232 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; then
14238 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14240 conftest.
$ac_ext.o
)
14241 bakefile_cv_cxx_exto
="-ext o"
14248 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14249 See \`config.log' for more details." >&5
14250 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14251 See \`config.log' for more details." >&2;}
14252 { (exit 1); exit 1; }; }
14256 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14259 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14260 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14261 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14262 if test "cxx" = "c"; then
14263 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14265 if test "cxx" = "cxx"; then
14266 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14270 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14271 unset ac_cv_prog_cc_g
14272 ac_test_CFLAGS
=${CFLAGS+set}
14273 ac_save_CFLAGS
=$CFLAGS
14275 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14276 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14277 if test "${ac_cv_prog_cc_g+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14280 cat >conftest.
$ac_ext <<_ACEOF
14283 cat confdefs.h
>>conftest.
$ac_ext
14284 cat >>conftest.
$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14295 rm -f conftest.
$ac_objext
14296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14297 (eval $ac_compile) 2>conftest.er1
14299 grep -v '^ *+' conftest.er1
>conftest.err
14301 cat conftest.err
>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); } &&
14304 { ac_try
='test -z "$ac_cxx_werror_flag"
14305 || test ! -s conftest.err'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; } &&
14311 { ac_try
='test -s conftest.$ac_objext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 ac_cv_prog_cc_g
=yes
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14326 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14327 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14328 if test "$ac_test_CFLAGS" = set; then
14329 CFLAGS
=$ac_save_CFLAGS
14330 elif test $ac_cv_prog_cc_g = yes; then
14331 if test "$GCC" = yes; then
14337 if test "$GCC" = yes; then
14349 ac_cpp
='$CXXCPP $CPPFLAGS'
14350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14354 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14355 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14356 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 cat >conftest.
$ac_ext <<_ACEOF
14362 cat confdefs.h
>>conftest.
$ac_ext
14363 cat >>conftest.
$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14377 rm -f conftest.
$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14381 grep -v '^ *+' conftest.er1
>conftest.err
14383 cat conftest.err
>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try
='test -z "$ac_cxx_werror_flag"
14387 || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try
='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 bakefile_compiler_xlc
=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.
$ac_ext >&5
14404 bakefile_compiler_xlc
=no
14406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14407 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14410 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14411 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14413 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14415 ac_cpp
='$CXXCPP $CPPFLAGS'
14416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14425 ac_cpp
='$CXXCPP $CPPFLAGS'
14426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14430 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14431 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14432 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 cat >conftest.
$ac_ext <<_ACEOF
14438 cat confdefs.h
>>conftest.
$ac_ext
14439 cat >>conftest.
$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14453 rm -f conftest.
$ac_objext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 (eval $ac_compile) 2>conftest.er1
14457 grep -v '^ *+' conftest.er1
>conftest.err
14459 cat conftest.err
>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try
='test -z "$ac_cxx_werror_flag"
14463 || test ! -s conftest.err'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; } &&
14469 { ac_try
='test -s conftest.$ac_objext'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; }; then
14475 bakefile_compiler_mwerks
=yes
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.
$ac_ext >&5
14480 bakefile_compiler_mwerks
=no
14482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14483 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14486 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14487 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14489 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14491 ac_cpp
='$CXXCPP $CPPFLAGS'
14492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14498 ac_cpp
='$CXXCPP $CPPFLAGS'
14499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14503 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14504 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14505 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 cat >conftest.
$ac_ext <<_ACEOF
14511 cat confdefs.h
>>conftest.
$ac_ext
14512 cat >>conftest.
$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14526 rm -f conftest.
$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528 (eval $ac_compile) 2>conftest.er1
14530 grep -v '^ *+' conftest.er1
>conftest.err
14532 cat conftest.err
>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try
='test -z "$ac_cxx_werror_flag"
14536 || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try
='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 bakefile_compiler_xlc
=yes
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.
$ac_ext >&5
14553 bakefile_compiler_xlc
=no
14555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14556 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14559 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14560 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14562 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14564 ac_cpp
='$CXXCPP $CPPFLAGS'
14565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14576 ac_cpp
='$CXXCPP $CPPFLAGS'
14577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14581 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14582 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14583 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 cat >conftest.
$ac_ext <<_ACEOF
14589 cat confdefs.h
>>conftest.
$ac_ext
14590 cat >>conftest.
$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14597 #ifndef _SGI_COMPILER_VERSION
14605 rm -f conftest.
$ac_objext
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>conftest.er1
14609 grep -v '^ *+' conftest.er1
>conftest.err
14611 cat conftest.err
>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } &&
14614 { ac_try
='test -z "$ac_cxx_werror_flag"
14615 || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14639 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14640 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14642 ac_cpp
='$CXXCPP $CPPFLAGS'
14643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14647 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14660 ac_cpp
='$CXXCPP $CPPFLAGS'
14661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14665 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14689 rm -f conftest.
$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>conftest.er1
14693 grep -v '^ *+' conftest.er1
>conftest.err
14695 cat conftest.err
>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try
='test -z "$ac_cxx_werror_flag"
14699 || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try
='test -s conftest.$ac_objext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 bakefile_cv_cxx_compiler___HP_aCC
=yes
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.
$ac_ext >&5
14716 bakefile_cv_cxx_compiler___HP_aCC
=no
14719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14723 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14724 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14726 ac_cpp
='$CXXCPP $CPPFLAGS'
14727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14731 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14744 ac_cpp
='$CXXCPP $CPPFLAGS'
14745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14749 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14750 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14751 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14752 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 cat >conftest.
$ac_ext <<_ACEOF
14757 cat confdefs.h
>>conftest.
$ac_ext
14758 cat >>conftest.
$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14773 rm -f conftest.
$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>conftest.er1
14777 grep -v '^ *+' conftest.er1
>conftest.err
14779 cat conftest.err
>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try
='test -z "$ac_cxx_werror_flag"
14783 || test ! -s conftest.err'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; } &&
14789 { ac_try
='test -s conftest.$ac_objext'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; }; then
14795 bakefile_cv_cxx_compiler___DECCXX
=yes
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.
$ac_ext >&5
14800 bakefile_cv_cxx_compiler___DECCXX
=no
14803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14807 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14810 ac_cpp
='$CXXCPP $CPPFLAGS'
14811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14815 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14828 ac_cpp
='$CXXCPP $CPPFLAGS'
14829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14833 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14834 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14835 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14849 #ifndef __SUNPRO_CC
14857 rm -f conftest.
$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>conftest.er1
14861 grep -v '^ *+' conftest.er1
>conftest.err
14863 cat conftest.err
>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -z "$ac_cxx_werror_flag"
14867 || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try
='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.
$ac_ext >&5
14884 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14891 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14892 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14894 ac_cpp
='$CXXCPP $CPPFLAGS'
14895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14899 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14912 if test -n "$ac_tool_prefix"; then
14913 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14914 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14915 echo "$as_me:$LINENO: checking for $ac_word" >&5
14916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14917 if test "${ac_cv_prog_RANLIB+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 if test -n "$RANLIB"; then
14921 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14924 for as_dir
in $PATH
14927 test -z "$as_dir" && as_dir
=.
14928 for ac_exec_ext
in '' $ac_executable_extensions; do
14929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14930 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14939 RANLIB
=$ac_cv_prog_RANLIB
14940 if test -n "$RANLIB"; then
14941 echo "$as_me:$LINENO: result: $RANLIB" >&5
14942 echo "${ECHO_T}$RANLIB" >&6
14944 echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6
14949 if test -z "$ac_cv_prog_RANLIB"; then
14950 ac_ct_RANLIB
=$RANLIB
14951 # Extract the first word of "ranlib", so it can be a program name with args.
14952 set dummy ranlib
; ac_word
=$2
14953 echo "$as_me:$LINENO: checking for $ac_word" >&5
14954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14955 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 if test -n "$ac_ct_RANLIB"; then
14959 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14962 for as_dir
in $PATH
14965 test -z "$as_dir" && as_dir
=.
14966 for ac_exec_ext
in '' $ac_executable_extensions; do
14967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14968 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14975 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14978 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14979 if test -n "$ac_ct_RANLIB"; then
14980 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14981 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14983 echo "$as_me:$LINENO: result: no" >&5
14984 echo "${ECHO_T}no" >&6
14987 RANLIB
=$ac_ct_RANLIB
14989 RANLIB
="$ac_cv_prog_RANLIB"
14993 if test -n "$ac_tool_prefix"; then
14994 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14995 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14996 echo "$as_me:$LINENO: checking for $ac_word" >&5
14997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14998 if test "${ac_cv_prog_AR+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 if test -n "$AR"; then
15002 ac_cv_prog_AR
="$AR" # Let the user override the test.
15004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15005 for as_dir
in $PATH
15008 test -z "$as_dir" && as_dir
=.
15009 for ac_exec_ext
in '' $ac_executable_extensions; do
15010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15011 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15021 if test -n "$AR"; then
15022 echo "$as_me:$LINENO: result: $AR" >&5
15023 echo "${ECHO_T}$AR" >&6
15025 echo "$as_me:$LINENO: result: no" >&5
15026 echo "${ECHO_T}no" >&6
15030 if test -z "$ac_cv_prog_AR"; then
15032 # Extract the first word of "ar", so it can be a program name with args.
15033 set dummy
ar; ac_word
=$2
15034 echo "$as_me:$LINENO: checking for $ac_word" >&5
15035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15036 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15039 if test -n "$ac_ct_AR"; then
15040 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15043 for as_dir
in $PATH
15046 test -z "$as_dir" && as_dir
=.
15047 for ac_exec_ext
in '' $ac_executable_extensions; do
15048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15049 ac_cv_prog_ac_ct_AR
="ar"
15050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15058 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15059 if test -n "$ac_ct_AR"; then
15060 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15061 echo "${ECHO_T}$ac_ct_AR" >&6
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15069 AR
="$ac_cv_prog_AR"
15072 if test "x$AR" = "x" ; then
15073 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15074 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15075 { (exit 1); exit 1; }; }
15078 # Find a good install program. We prefer a C program (faster),
15079 # so one script is as good as another. But avoid the broken or
15080 # incompatible versions:
15081 # SysV /etc/install, /usr/sbin/install
15082 # SunOS /usr/etc/install
15083 # IRIX /sbin/install
15085 # AmigaOS /C/install, which installs bootblocks on floppy discs
15086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15089 # OS/2's system install, which has a completely different semantic
15090 # ./install, which can be erroneously created by make from ./install.sh.
15091 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15092 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15093 if test -z "$INSTALL"; then
15094 if test "${ac_cv_path_install+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15098 for as_dir
in $PATH
15101 test -z "$as_dir" && as_dir
=.
15102 # Account for people who put trailing slashes in PATH elements.
15104 .
/ | .
// | /cC
/* | \
15105 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15106 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15109 # OSF1 and SCO ODT 3.0 have their own names for install.
15110 # Don't use installbsd from OSF since it installs stuff as root
15112 for ac_prog
in ginstall scoinst
install; do
15113 for ac_exec_ext
in '' $ac_executable_extensions; do
15114 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15115 if test $ac_prog = install &&
15116 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15117 # AIX install. It has an incompatible calling convention.
15119 elif test $ac_prog = install &&
15120 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15121 # program-specific install script used by HP pwplus--don't use.
15124 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15136 if test "${ac_cv_path_install+set}" = set; then
15137 INSTALL
=$ac_cv_path_install
15139 # As a last resort, use the slow shell script. We don't cache a
15140 # path for INSTALL within a source directory, because that will
15141 # break other packages using the cache if that directory is
15142 # removed, or if the path is relative.
15143 INSTALL
=$ac_install_sh
15146 echo "$as_me:$LINENO: result: $INSTALL" >&5
15147 echo "${ECHO_T}$INSTALL" >&6
15149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15150 # It thinks the first close brace ends the variable substitution.
15151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15155 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15161 ?
:* ) # Drive letter, considered as absolute.
15164 INSTALL
=`pwd`/${INSTALL} ;;
15171 INSTALL_PROGRAM
="cp -fp"
15172 INSTALL_DATA
="cp -fp"
15178 if test -n "$ac_tool_prefix"; then
15179 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15180 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15181 echo "$as_me:$LINENO: checking for $ac_word" >&5
15182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15183 if test "${ac_cv_prog_STRIP+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 if test -n "$STRIP"; then
15187 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15190 for as_dir
in $PATH
15193 test -z "$as_dir" && as_dir
=.
15194 for ac_exec_ext
in '' $ac_executable_extensions; do
15195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15196 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15205 STRIP
=$ac_cv_prog_STRIP
15206 if test -n "$STRIP"; then
15207 echo "$as_me:$LINENO: result: $STRIP" >&5
15208 echo "${ECHO_T}$STRIP" >&6
15210 echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15215 if test -z "$ac_cv_prog_STRIP"; then
15217 # Extract the first word of "strip", so it can be a program name with args.
15218 set dummy strip
; ac_word
=$2
15219 echo "$as_me:$LINENO: checking for $ac_word" >&5
15220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15221 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 if test -n "$ac_ct_STRIP"; then
15225 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15228 for as_dir
in $PATH
15231 test -z "$as_dir" && as_dir
=.
15232 for ac_exec_ext
in '' $ac_executable_extensions; do
15233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_prog_ac_ct_STRIP
="strip"
15235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15241 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15244 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15245 if test -n "$ac_ct_STRIP"; then
15246 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15247 echo "${ECHO_T}$ac_ct_STRIP" >&6
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15255 STRIP
="$ac_cv_prog_STRIP"
15259 if test "$wxUSE_WINE" = "yes"; then
15260 if test -n "$ac_tool_prefix"; then
15261 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15262 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15263 echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15265 if test "${ac_cv_prog_WINDRES+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 if test -n "$WINDRES"; then
15269 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15272 for as_dir
in $PATH
15275 test -z "$as_dir" && as_dir
=.
15276 for ac_exec_ext
in '' $ac_executable_extensions; do
15277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287 WINDRES
=$ac_cv_prog_WINDRES
15288 if test -n "$WINDRES"; then
15289 echo "$as_me:$LINENO: result: $WINDRES" >&5
15290 echo "${ECHO_T}$WINDRES" >&6
15292 echo "$as_me:$LINENO: result: no" >&5
15293 echo "${ECHO_T}no" >&6
15297 if test -z "$ac_cv_prog_WINDRES"; then
15298 ac_ct_WINDRES
=$WINDRES
15299 # Extract the first word of "wrc", so it can be a program name with args.
15300 set dummy wrc
; ac_word
=$2
15301 echo "$as_me:$LINENO: checking for $ac_word" >&5
15302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15303 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15306 if test -n "$ac_ct_WINDRES"; then
15307 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15310 for as_dir
in $PATH
15313 test -z "$as_dir" && as_dir
=.
15314 for ac_exec_ext
in '' $ac_executable_extensions; do
15315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_ac_ct_WINDRES
="wrc"
15317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15325 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15326 if test -n "$ac_ct_WINDRES"; then
15327 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15328 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15330 echo "$as_me:$LINENO: result: no" >&5
15331 echo "${ECHO_T}no" >&6
15334 WINDRES
=$ac_ct_WINDRES
15336 WINDRES
="$ac_cv_prog_WINDRES"
15342 *-*-cygwin* | *-*-mingw32* )
15343 if test -n "$ac_tool_prefix"; then
15344 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15345 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15346 echo "$as_me:$LINENO: checking for $ac_word" >&5
15347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15348 if test "${ac_cv_prog_WINDRES+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 if test -n "$WINDRES"; then
15352 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15355 for as_dir
in $PATH
15358 test -z "$as_dir" && as_dir
=.
15359 for ac_exec_ext
in '' $ac_executable_extensions; do
15360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15361 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15370 WINDRES
=$ac_cv_prog_WINDRES
15371 if test -n "$WINDRES"; then
15372 echo "$as_me:$LINENO: result: $WINDRES" >&5
15373 echo "${ECHO_T}$WINDRES" >&6
15375 echo "$as_me:$LINENO: result: no" >&5
15376 echo "${ECHO_T}no" >&6
15380 if test -z "$ac_cv_prog_WINDRES"; then
15381 ac_ct_WINDRES
=$WINDRES
15382 # Extract the first word of "windres", so it can be a program name with args.
15383 set dummy windres
; ac_word
=$2
15384 echo "$as_me:$LINENO: checking for $ac_word" >&5
15385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15386 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15387 echo $ECHO_N "(cached) $ECHO_C" >&6
15389 if test -n "$ac_ct_WINDRES"; then
15390 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15393 for as_dir
in $PATH
15396 test -z "$as_dir" && as_dir
=.
15397 for ac_exec_ext
in '' $ac_executable_extensions; do
15398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15399 ac_cv_prog_ac_ct_WINDRES
="windres"
15400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15408 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15409 if test -n "$ac_ct_WINDRES"; then
15410 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15411 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15413 echo "$as_me:$LINENO: result: no" >&5
15414 echo "${ECHO_T}no" >&6
15417 WINDRES
=$ac_ct_WINDRES
15419 WINDRES
="$ac_cv_prog_WINDRES"
15423 if test -n "$ac_tool_prefix"; then
15424 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15425 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15426 echo "$as_me:$LINENO: checking for $ac_word" >&5
15427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15428 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15429 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 if test -n "$DLLTOOL"; then
15432 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15435 for as_dir
in $PATH
15438 test -z "$as_dir" && as_dir
=.
15439 for ac_exec_ext
in '' $ac_executable_extensions; do
15440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15441 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15450 DLLTOOL
=$ac_cv_prog_DLLTOOL
15451 if test -n "$DLLTOOL"; then
15452 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15453 echo "${ECHO_T}$DLLTOOL" >&6
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15460 if test -z "$ac_cv_prog_DLLTOOL"; then
15461 ac_ct_DLLTOOL
=$DLLTOOL
15462 # Extract the first word of "dlltool", so it can be a program name with args.
15463 set dummy dlltool
; ac_word
=$2
15464 echo "$as_me:$LINENO: checking for $ac_word" >&5
15465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15466 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 if test -n "$ac_ct_DLLTOOL"; then
15470 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15473 for as_dir
in $PATH
15476 test -z "$as_dir" && as_dir
=.
15477 for ac_exec_ext
in '' $ac_executable_extensions; do
15478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15479 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15488 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15489 if test -n "$ac_ct_DLLTOOL"; then
15490 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15491 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15493 echo "$as_me:$LINENO: result: no" >&5
15494 echo "${ECHO_T}no" >&6
15497 DLLTOOL
=$ac_ct_DLLTOOL
15499 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15506 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15507 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15508 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15513 egrep -s GNU
> /dev
/null
); then
15514 wx_cv_prog_makeisgnu
="yes"
15516 wx_cv_prog_makeisgnu
="no"
15520 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15521 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15523 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15531 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15532 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15533 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15534 if test "${wx_cv_prog_makevpath+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 cat - << EOF > confMake
15544 if test ! -d sub
; then
15547 echo dummy
> sub
/file
15548 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15550 rm -f sub
/file check final_file confMake
15552 if test "$RESULT" = 0; then
15553 wx_cv_prog_makevpath
="yes"
15555 wx_cv_prog_makevpath
="no"
15559 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15560 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15562 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15563 { { echo "$as_me:$LINENO: error:
15564 You need a make-utility that is able to use the variable
15566 If your version of make does not support VPATH correctly,
15567 please install GNU-make (possibly as gmake), and start
15568 configure with the following command:
15569 export MAKE=gmake; ./configure for sh-type shells
15570 setenv MAKE gmake; ./configure for csh-type shells
15571 Also please do remember to use gmake in this case every time
15572 you are trying to compile.
15574 echo "$as_me: error:
15575 You need a make-utility that is able to use the variable
15577 If your version of make does not support VPATH correctly,
15578 please install GNU-make (possibly as gmake), and start
15579 configure with the following command:
15580 export MAKE=gmake; ./configure for sh-type shells
15581 setenv MAKE gmake; ./configure for csh-type shells
15582 Also please do remember to use gmake in this case every time
15583 you are trying to compile.
15585 { (exit 1); exit 1; }; }
15587 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15588 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15590 if test "$LN_S" = "ln -s"; then
15591 echo "$as_me:$LINENO: result: yes" >&5
15592 echo "${ECHO_T}yes" >&6
15594 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15595 echo "${ECHO_T}no, using $LN_S" >&6
15601 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15602 CXXFLAGS
="-qunique $CXXFLAGS"
15606 powerpc
-*-darwin* )
15607 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15608 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15609 cat >conftest.
$ac_ext <<_ACEOF
15612 cat confdefs.h
>>conftest.
$ac_ext
15613 cat >>conftest.
$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15619 #ifndef __POWERPC__
15620 choke me for lack of PowerPC
15627 rm -f conftest.
$ac_objext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15629 (eval $ac_compile) 2>conftest.er1
15631 grep -v '^ *+' conftest.er1
>conftest.err
15633 cat conftest.err
>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } &&
15636 { ac_try
='test -z "$ac_cxx_werror_flag"
15637 || test ! -s conftest.err'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try
='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 echo "$as_me:$LINENO: result: yes" >&5
15650 echo "${ECHO_T}yes" >&6
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.
$ac_ext >&5
15655 echo "$as_me:$LINENO: result: no" >&5
15656 echo "${ECHO_T}no" >&6
15657 cat >>confdefs.h
<<\_ACEOF
15658 #define __POWERPC__ 1
15663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15669 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15670 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15671 cat >conftest.
$ac_ext <<_ACEOF
15674 cat confdefs.h
>>conftest.
$ac_ext
15675 cat >>conftest.
$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15677 #include <CoreFoundation/CFBase.h>
15687 rm -f conftest.
$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15691 grep -v '^ *+' conftest.er1
>conftest.err
15693 cat conftest.err
>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try
='test -z "$ac_cxx_werror_flag"
15697 || test ! -s conftest.err'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; } &&
15703 { ac_try
='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 echo "$as_me:$LINENO: result: yes" >&5
15710 echo "${ECHO_T}yes" >&6
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.
$ac_ext >&5
15715 echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6
15717 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15718 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15719 cat >conftest.
$ac_ext <<_ACEOF
15722 cat confdefs.h
>>conftest.
$ac_ext
15723 cat >>conftest.
$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15725 #define __CF_USE_FRAMEWORK_INCLUDES__
15726 #include <CoreFoundation/CFBase.h>
15736 rm -f conftest.
$ac_objext
15737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15738 (eval $ac_compile) 2>conftest.er1
15740 grep -v '^ *+' conftest.er1
>conftest.err
15742 cat conftest.err
>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try
='test -z "$ac_cxx_werror_flag"
15746 || test ! -s conftest.err'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; } &&
15752 { ac_try
='test -s conftest.$ac_objext'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; }; then
15758 echo "$as_me:$LINENO: result: yes" >&5
15759 echo "${ECHO_T}yes" >&6
15760 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.
$ac_ext >&5
15765 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15766 See \`config.log' for more details." >&5
15767 echo "$as_me: error: no. CoreFoundation not available.
15768 See \`config.log' for more details." >&2;}
15769 { (exit 1); exit 1; }; }
15772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15781 *-pc-os2_emx | *-pc-os2-emx )
15783 ac_cpp
='$CPP $CPPFLAGS'
15784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15788 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15789 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15790 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15791 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 ac_check_lib_save_LIBS
=$LIBS
15795 LIBS
="-lcExt $LIBS"
15796 cat >conftest.
$ac_ext <<_ACEOF
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15803 /* Override any gcc2 internal prototype to avoid an error. */
15807 /* We use char because int might match the return type of a gcc2
15808 builtin and then its argument prototype would still apply. */
15818 rm -f conftest.
$ac_objext conftest
$ac_exeext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15820 (eval $ac_link) 2>conftest.er1
15822 grep -v '^ *+' conftest.er1
>conftest.err
15824 cat conftest.err
>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try
='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try
='test -s conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_lib_cExt_drand48
=yes
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.
$ac_ext >&5
15845 ac_cv_lib_cExt_drand48
=no
15847 rm -f conftest.err conftest.
$ac_objext \
15848 conftest
$ac_exeext conftest.
$ac_ext
15849 LIBS
=$ac_check_lib_save_LIBS
15851 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15852 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15853 if test $ac_cv_lib_cExt_drand48 = yes; then
15854 LIBS
="$LIBS -lcExt"
15858 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15860 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15861 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15862 if test "${wx_cv_gccversion+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 if test "$cross_compiling" = yes; then
15867 wx_cv_gccversion
="EMX2"
15870 cat >conftest.
$ac_ext <<_ACEOF
15873 cat confdefs.h
>>conftest.
$ac_ext
15874 cat >>conftest.
$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15881 FILE *f=fopen("conftestval", "w");
15886 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15888 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15898 rm -f conftest
$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900 (eval $ac_link) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 wx_cv_gccversion
=`cat conftestval`
15911 echo "$as_me: program exited with status $ac_status" >&5
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.
$ac_ext >&5
15915 ( exit $ac_status )
15916 wx_cv_gccversion
="EMX2"
15918 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15922 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15923 echo "${ECHO_T}$wx_cv_gccversion" >&6
15925 ac_cpp
='$CXXCPP $CPPFLAGS'
15926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15930 if test "$wx_cv_gccversion" = "EMX2"; then
15931 LIBS
="$LIBS -lstdcpp"
15932 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15934 if test "$wx_cv_gccversion" = "EMX3"; then
15935 LIBS
="$LIBS -lstdcxx -lgcc"
15936 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15938 LIBS
="$LIBS -lstdc++"
15941 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15942 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15943 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15950 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15951 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15952 if test "${ac_cv_string_strcasecmp+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 cat >conftest.
$ac_ext <<_ACEOF
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15963 #include <string.h>
15969 strcasecmp("foo", "bar");
15975 rm -f conftest.
$ac_objext conftest
$ac_exeext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15977 (eval $ac_link) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -z "$ac_cxx_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try
='test -s conftest$ac_exeext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_cv_string_strcasecmp
=yes
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.
$ac_ext >&5
16002 ac_cv_string_strcasecmp
=no
16005 rm -f conftest.err conftest.
$ac_objext \
16006 conftest
$ac_exeext conftest.
$ac_ext
16009 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16010 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16012 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16013 cat >>confdefs.h
<<\_ACEOF
16014 #define HAVE_STRCASECMP_IN_STRING_H 1
16018 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16019 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16020 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 cat >conftest.
$ac_ext <<_ACEOF
16027 cat confdefs.h
>>conftest.
$ac_ext
16028 cat >>conftest.
$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16031 #include <strings.h>
16037 strcasecmp("foo", "bar");
16043 rm -f conftest.
$ac_objext conftest
$ac_exeext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16045 (eval $ac_link) 2>conftest.er1
16047 grep -v '^ *+' conftest.er1
>conftest.err
16049 cat conftest.err
>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try
='test -z "$ac_cxx_werror_flag"
16053 || test ! -s conftest.err'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } &&
16059 { ac_try
='test -s conftest$ac_exeext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 ac_cv_strings_strcasecmp
=yes
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 ac_cv_strings_strcasecmp
=no
16073 rm -f conftest.err conftest.
$ac_objext \
16074 conftest
$ac_exeext conftest.
$ac_ext
16077 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16078 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16080 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16081 cat >>confdefs.h
<<\_ACEOF
16082 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16086 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16087 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16088 { (exit 1); exit 1; }; }
16097 ac_cpp
='$CXXCPP $CPPFLAGS'
16098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16101 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16102 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16103 if test -z "$CXXCPP"; then
16104 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 # Double quotes because CXXCPP needs to be expanded
16108 for CXXCPP
in "$CXX -E" "/lib/cpp"
16110 ac_preproc_ok
=false
16111 for ac_cxx_preproc_warn_flag
in '' yes
16113 # Use a header file that comes with gcc, so configuring glibc
16114 # with a fresh cross-compiler works.
16115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16116 # <limits.h> exists even on freestanding compilers.
16117 # On the NeXT, cc -E runs the code through the compiler's parser,
16118 # not just through cpp. "Syntax error" is here to catch this case.
16119 cat >conftest.
$ac_ext <<_ACEOF
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16126 # include <limits.h>
16128 # include <assert.h>
16132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16135 grep -v '^ *+' conftest.er1
>conftest.err
16137 cat conftest.err
>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev
/null
; then
16140 if test -s conftest.err
; then
16141 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16142 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16149 if test -z "$ac_cpp_err"; then
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 # Broken: fails on valid input.
16158 rm -f conftest.err conftest.
$ac_ext
16160 # OK, works on sane cases. Now check whether non-existent headers
16161 # can be detected and how.
16162 cat >conftest.
$ac_ext <<_ACEOF
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 #include <ac_nonexistent.h>
16170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16173 grep -v '^ *+' conftest.er1
>conftest.err
16175 cat conftest.err
>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } >/dev
/null
; then
16178 if test -s conftest.err
; then
16179 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16180 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16187 if test -z "$ac_cpp_err"; then
16188 # Broken: success on invalid input.
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.
$ac_ext >&5
16194 # Passes both tests.
16198 rm -f conftest.err conftest.
$ac_ext
16201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16202 rm -f conftest.err conftest.
$ac_ext
16203 if $ac_preproc_ok; then
16208 ac_cv_prog_CXXCPP
=$CXXCPP
16211 CXXCPP
=$ac_cv_prog_CXXCPP
16213 ac_cv_prog_CXXCPP
=$CXXCPP
16215 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16216 echo "${ECHO_T}$CXXCPP" >&6
16217 ac_preproc_ok
=false
16218 for ac_cxx_preproc_warn_flag
in '' yes
16220 # Use a header file that comes with gcc, so configuring glibc
16221 # with a fresh cross-compiler works.
16222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16223 # <limits.h> exists even on freestanding compilers.
16224 # On the NeXT, cc -E runs the code through the compiler's parser,
16225 # not just through cpp. "Syntax error" is here to catch this case.
16226 cat >conftest.
$ac_ext <<_ACEOF
16229 cat confdefs.h
>>conftest.
$ac_ext
16230 cat >>conftest.
$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16233 # include <limits.h>
16235 # include <assert.h>
16239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16242 grep -v '^ *+' conftest.er1
>conftest.err
16244 cat conftest.err
>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } >/dev
/null
; then
16247 if test -s conftest.err
; then
16248 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16249 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16256 if test -z "$ac_cpp_err"; then
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.
$ac_ext >&5
16262 # Broken: fails on valid input.
16265 rm -f conftest.err conftest.
$ac_ext
16267 # OK, works on sane cases. Now check whether non-existent headers
16268 # can be detected and how.
16269 cat >conftest.
$ac_ext <<_ACEOF
16272 cat confdefs.h
>>conftest.
$ac_ext
16273 cat >>conftest.
$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 #include <ac_nonexistent.h>
16277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16280 grep -v '^ *+' conftest.er1
>conftest.err
16282 cat conftest.err
>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } >/dev
/null
; then
16285 if test -s conftest.err
; then
16286 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16287 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16294 if test -z "$ac_cpp_err"; then
16295 # Broken: success on invalid input.
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.
$ac_ext >&5
16301 # Passes both tests.
16305 rm -f conftest.err conftest.
$ac_ext
16308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16309 rm -f conftest.err conftest.
$ac_ext
16310 if $ac_preproc_ok; then
16313 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16316 See \`config.log' for more details." >&2;}
16317 { (exit 1); exit 1; }; }
16321 ac_cpp
='$CXXCPP $CPPFLAGS'
16322 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16323 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16324 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16327 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16328 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16329 if test "${ac_cv_header_stdc+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 cat >conftest.
$ac_ext <<_ACEOF
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <stdlib.h>
16339 #include <stdarg.h>
16340 #include <string.h>
16351 rm -f conftest.
$ac_objext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>conftest.er1
16355 grep -v '^ *+' conftest.er1
>conftest.err
16357 cat conftest.err
>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } &&
16360 { ac_try
='test -z "$ac_cxx_werror_flag"
16361 || test ! -s conftest.err'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; } &&
16367 { ac_try
='test -s conftest.$ac_objext'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; }; then
16373 ac_cv_header_stdc
=yes
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.
$ac_ext >&5
16378 ac_cv_header_stdc
=no
16380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16382 if test $ac_cv_header_stdc = yes; then
16383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16384 cat >conftest.
$ac_ext <<_ACEOF
16387 cat confdefs.h
>>conftest.
$ac_ext
16388 cat >>conftest.
$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <string.h>
16393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16394 $EGREP "memchr" >/dev
/null
2>&1; then
16397 ac_cv_header_stdc
=no
16403 if test $ac_cv_header_stdc = yes; then
16404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 #include <stdlib.h>
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "free" >/dev
/null
2>&1; then
16418 ac_cv_header_stdc
=no
16424 if test $ac_cv_header_stdc = yes; then
16425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16426 if test "$cross_compiling" = yes; then
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16436 #if ((' ' & 0x0FF) == 0x020)
16437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16440 # define ISLOWER(c) \
16441 (('a' <= (c) && (c) <= 'i') \
16442 || ('j' <= (c) && (c) <= 'r') \
16443 || ('s' <= (c) && (c) <= 'z'))
16444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16452 for (i = 0; i < 256; i++)
16453 if (XOR (islower (i), ISLOWER (i))
16454 || toupper (i) != TOUPPER (i))
16459 rm -f conftest
$ac_exeext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16461 (eval $ac_link) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16472 echo "$as_me: program exited with status $ac_status" >&5
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.
$ac_ext >&5
16476 ( exit $ac_status )
16477 ac_cv_header_stdc
=no
16479 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16483 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16484 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16485 if test $ac_cv_header_stdc = yes; then
16487 cat >>confdefs.h
<<\_ACEOF
16488 #define STDC_HEADERS 1
16493 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16503 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16504 inttypes.h stdint.h unistd.h
16506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16507 echo "$as_me:$LINENO: checking for $ac_header" >&5
16508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 cat >conftest.
$ac_ext <<_ACEOF
16515 cat confdefs.h
>>conftest.
$ac_ext
16516 cat >>conftest.
$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 $ac_includes_default
16520 #include <$ac_header>
16522 rm -f conftest.
$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16526 grep -v '^ *+' conftest.er1
>conftest.err
16528 cat conftest.err
>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try
='test -z "$ac_cxx_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try
='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 eval "$as_ac_Header=yes"
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.
$ac_ext >&5
16549 eval "$as_ac_Header=no"
16551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16556 cat >>confdefs.h
<<_ACEOF
16557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16566 for ac_header
in stdlib.h
16568 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo "$as_me:$LINENO: checking for $ac_header" >&5
16571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16578 # Is the header compilable?
16579 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16588 #include <$ac_header>
16590 rm -f conftest.
$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16594 grep -v '^ *+' conftest.er1
>conftest.err
16596 cat conftest.err
>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try
='test -z "$ac_cxx_werror_flag"
16600 || test ! -s conftest.err'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try
='test -s conftest.$ac_objext'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 ac_header_compiler
=yes
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.
$ac_ext >&5
16617 ac_header_compiler
=no
16619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16621 echo "${ECHO_T}$ac_header_compiler" >&6
16623 # Is the header present?
16624 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16626 cat >conftest.
$ac_ext <<_ACEOF
16629 cat confdefs.h
>>conftest.
$ac_ext
16630 cat >>conftest.
$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 #include <$ac_header>
16634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16635 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16637 grep -v '^ *+' conftest.er1
>conftest.err
16639 cat conftest.err
>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } >/dev
/null
; then
16642 if test -s conftest.err
; then
16643 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16644 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16651 if test -z "$ac_cpp_err"; then
16652 ac_header_preproc
=yes
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16657 ac_header_preproc
=no
16659 rm -f conftest.err conftest.
$ac_ext
16660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16661 echo "${ECHO_T}$ac_header_preproc" >&6
16663 # So? What about this header?
16664 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16666 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16667 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16669 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16670 ac_header_preproc
=yes
16673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16676 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16677 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16678 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16679 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16680 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16683 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16684 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16687 ## ----------------------------------------- ##
16688 ## Report this to wx-dev@lists.wxwidgets.org ##
16689 ## ----------------------------------------- ##
16692 sed "s/^/$as_me: WARNING: /" >&2
16695 echo "$as_me:$LINENO: checking for $ac_header" >&5
16696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 eval "$as_ac_Header=\$ac_header_preproc"
16702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16707 cat >>confdefs.h
<<_ACEOF
16708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16716 for ac_header
in malloc.h
16718 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16720 echo "$as_me:$LINENO: checking for $ac_header" >&5
16721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16728 # Is the header compilable?
16729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16731 cat >conftest.
$ac_ext <<_ACEOF
16734 cat confdefs.h
>>conftest.
$ac_ext
16735 cat >>conftest.
$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 $ac_includes_default
16738 #include <$ac_header>
16740 rm -f conftest.
$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1
>conftest.err
16746 cat conftest.err
>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } &&
16749 { ac_try
='test -z "$ac_cxx_werror_flag"
16750 || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try
='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_header_compiler
=yes
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16767 ac_header_compiler
=no
16769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16771 echo "${ECHO_T}$ac_header_compiler" >&6
16773 # Is the header present?
16774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 #include <$ac_header>
16784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16787 grep -v '^ *+' conftest.er1
>conftest.err
16789 cat conftest.err
>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } >/dev
/null
; then
16792 if test -s conftest.err
; then
16793 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16794 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16801 if test -z "$ac_cpp_err"; then
16802 ac_header_preproc
=yes
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.
$ac_ext >&5
16807 ac_header_preproc
=no
16809 rm -f conftest.err conftest.
$ac_ext
16810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16811 echo "${ECHO_T}$ac_header_preproc" >&6
16813 # So? What about this header?
16814 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16820 ac_header_preproc
=yes
16823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16837 ## ----------------------------------------- ##
16838 ## Report this to wx-dev@lists.wxwidgets.org ##
16839 ## ----------------------------------------- ##
16842 sed "s/^/$as_me: WARNING: /" >&2
16845 echo "$as_me:$LINENO: checking for $ac_header" >&5
16846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 eval "$as_ac_Header=\$ac_header_preproc"
16852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16857 cat >>confdefs.h
<<_ACEOF
16858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16866 for ac_header
in unistd.h
16868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16870 echo "$as_me:$LINENO: checking for $ac_header" >&5
16871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16878 # Is the header compilable?
16879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16881 cat >conftest.
$ac_ext <<_ACEOF
16884 cat confdefs.h
>>conftest.
$ac_ext
16885 cat >>conftest.
$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 #include <$ac_header>
16890 rm -f conftest.
$ac_objext
16891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16892 (eval $ac_compile) 2>conftest.er1
16894 grep -v '^ *+' conftest.er1
>conftest.err
16896 cat conftest.err
>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try
='test -z "$ac_cxx_werror_flag"
16900 || test ! -s conftest.err'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; } &&
16906 { ac_try
='test -s conftest.$ac_objext'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; }; then
16912 ac_header_compiler
=yes
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.
$ac_ext >&5
16917 ac_header_compiler
=no
16919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16921 echo "${ECHO_T}$ac_header_compiler" >&6
16923 # Is the header present?
16924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16926 cat >conftest.
$ac_ext <<_ACEOF
16929 cat confdefs.h
>>conftest.
$ac_ext
16930 cat >>conftest.
$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932 #include <$ac_header>
16934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16937 grep -v '^ *+' conftest.er1
>conftest.err
16939 cat conftest.err
>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } >/dev
/null
; then
16942 if test -s conftest.err
; then
16943 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16944 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16951 if test -z "$ac_cpp_err"; then
16952 ac_header_preproc
=yes
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.
$ac_ext >&5
16957 ac_header_preproc
=no
16959 rm -f conftest.err conftest.
$ac_ext
16960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16961 echo "${ECHO_T}$ac_header_preproc" >&6
16963 # So? What about this header?
16964 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16969 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16970 ac_header_preproc
=yes
16973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16977 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16978 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16980 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16984 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16987 ## ----------------------------------------- ##
16988 ## Report this to wx-dev@lists.wxwidgets.org ##
16989 ## ----------------------------------------- ##
16992 sed "s/^/$as_me: WARNING: /" >&2
16995 echo "$as_me:$LINENO: checking for $ac_header" >&5
16996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 eval "$as_ac_Header=\$ac_header_preproc"
17002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17007 cat >>confdefs.h
<<_ACEOF
17008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17016 for ac_header
in wchar.h
17018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17020 echo "$as_me:$LINENO: checking for $ac_header" >&5
17021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17028 # Is the header compilable?
17029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 #include <$ac_header>
17040 rm -f conftest.
$ac_objext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042 (eval $ac_compile) 2>conftest.er1
17044 grep -v '^ *+' conftest.er1
>conftest.err
17046 cat conftest.err
>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try
='test -z "$ac_cxx_werror_flag"
17050 || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17062 ac_header_compiler
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 ac_header_compiler
=no
17069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17071 echo "${ECHO_T}$ac_header_compiler" >&6
17073 # Is the header present?
17074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17076 cat >conftest.
$ac_ext <<_ACEOF
17079 cat confdefs.h
>>conftest.
$ac_ext
17080 cat >>conftest.
$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 #include <$ac_header>
17084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17087 grep -v '^ *+' conftest.er1
>conftest.err
17089 cat conftest.err
>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } >/dev
/null
; then
17092 if test -s conftest.err
; then
17093 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17094 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17101 if test -z "$ac_cpp_err"; then
17102 ac_header_preproc
=yes
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.
$ac_ext >&5
17107 ac_header_preproc
=no
17109 rm -f conftest.err conftest.
$ac_ext
17110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17111 echo "${ECHO_T}$ac_header_preproc" >&6
17113 # So? What about this header?
17114 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17120 ac_header_preproc
=yes
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17137 ## ----------------------------------------- ##
17138 ## Report this to wx-dev@lists.wxwidgets.org ##
17139 ## ----------------------------------------- ##
17142 sed "s/^/$as_me: WARNING: /" >&2
17145 echo "$as_me:$LINENO: checking for $ac_header" >&5
17146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 eval "$as_ac_Header=\$ac_header_preproc"
17152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17157 cat >>confdefs.h
<<_ACEOF
17158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17166 if test "$ac_cv_header_wchar_h" != "yes"; then
17168 for ac_header
in wcstr.h
17170 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17172 echo "$as_me:$LINENO: checking for $ac_header" >&5
17173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17180 # Is the header compilable?
17181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17190 #include <$ac_header>
17192 rm -f conftest.
$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17196 grep -v '^ *+' conftest.er1
>conftest.err
17198 cat conftest.err
>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try
='test -z "$ac_cxx_werror_flag"
17202 || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try
='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_header_compiler
=yes
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.
$ac_ext >&5
17219 ac_header_compiler
=no
17221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17223 echo "${ECHO_T}$ac_header_compiler" >&6
17225 # Is the header present?
17226 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 #include <$ac_header>
17236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17237 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } >/dev
/null
; then
17244 if test -s conftest.err
; then
17245 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17246 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17253 if test -z "$ac_cpp_err"; then
17254 ac_header_preproc
=yes
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 ac_header_preproc
=no
17261 rm -f conftest.err conftest.
$ac_ext
17262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17263 echo "${ECHO_T}$ac_header_preproc" >&6
17265 # So? What about this header?
17266 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17271 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17272 ac_header_preproc
=yes
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17280 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17282 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17289 ## ----------------------------------------- ##
17290 ## Report this to wx-dev@lists.wxwidgets.org ##
17291 ## ----------------------------------------- ##
17294 sed "s/^/$as_me: WARNING: /" >&2
17297 echo "$as_me:$LINENO: checking for $ac_header" >&5
17298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17302 eval "$as_ac_Header=\$ac_header_preproc"
17304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17309 cat >>confdefs.h
<<_ACEOF
17310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17320 for ac_header
in fnmatch.h
17322 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17324 echo "$as_me:$LINENO: checking for $ac_header" >&5
17325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17332 # Is the header compilable?
17333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17342 #include <$ac_header>
17344 rm -f conftest.
$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>conftest.er1
17348 grep -v '^ *+' conftest.er1
>conftest.err
17350 cat conftest.err
>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try
='test -z "$ac_cxx_werror_flag"
17354 || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try
='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_header_compiler
=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 ac_header_compiler
=no
17373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17375 echo "${ECHO_T}$ac_header_compiler" >&6
17377 # Is the header present?
17378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17380 cat >conftest.
$ac_ext <<_ACEOF
17383 cat confdefs.h
>>conftest.
$ac_ext
17384 cat >>conftest.
$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 #include <$ac_header>
17388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1
>conftest.err
17393 cat conftest.err
>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } >/dev
/null
; then
17396 if test -s conftest.err
; then
17397 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17398 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17405 if test -z "$ac_cpp_err"; then
17406 ac_header_preproc
=yes
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.
$ac_ext >&5
17411 ac_header_preproc
=no
17413 rm -f conftest.err conftest.
$ac_ext
17414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17415 echo "${ECHO_T}$ac_header_preproc" >&6
17417 # So? What about this header?
17418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17424 ac_header_preproc
=yes
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17441 ## ----------------------------------------- ##
17442 ## Report this to wx-dev@lists.wxwidgets.org ##
17443 ## ----------------------------------------- ##
17446 sed "s/^/$as_me: WARNING: /" >&2
17449 echo "$as_me:$LINENO: checking for $ac_header" >&5
17450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 eval "$as_ac_Header=\$ac_header_preproc"
17456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17461 cat >>confdefs.h
<<_ACEOF
17462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17471 for ac_header
in langinfo.h
17473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17475 echo "$as_me:$LINENO: checking for $ac_header" >&5
17476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17483 # Is the header compilable?
17484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17486 cat >conftest.
$ac_ext <<_ACEOF
17489 cat confdefs.h
>>conftest.
$ac_ext
17490 cat >>conftest.
$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 $ac_includes_default
17493 #include <$ac_header>
17495 rm -f conftest.
$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try
='test -z "$ac_cxx_werror_flag"
17505 || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try
='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_header_compiler
=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.
$ac_ext >&5
17522 ac_header_compiler
=no
17524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17526 echo "${ECHO_T}$ac_header_compiler" >&6
17528 # Is the header present?
17529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17531 cat >conftest.
$ac_ext <<_ACEOF
17534 cat confdefs.h
>>conftest.
$ac_ext
17535 cat >>conftest.
$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 #include <$ac_header>
17539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17542 grep -v '^ *+' conftest.er1
>conftest.err
17544 cat conftest.err
>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } >/dev
/null
; then
17547 if test -s conftest.err
; then
17548 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17549 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17556 if test -z "$ac_cpp_err"; then
17557 ac_header_preproc
=yes
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17562 ac_header_preproc
=no
17564 rm -f conftest.err conftest.
$ac_ext
17565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17566 echo "${ECHO_T}$ac_header_preproc" >&6
17568 # So? What about this header?
17569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17575 ac_header_preproc
=yes
17578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17592 ## ----------------------------------------- ##
17593 ## Report this to wx-dev@lists.wxwidgets.org ##
17594 ## ----------------------------------------- ##
17597 sed "s/^/$as_me: WARNING: /" >&2
17600 echo "$as_me:$LINENO: checking for $ac_header" >&5
17601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 eval "$as_ac_Header=\$ac_header_preproc"
17607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17612 cat >>confdefs.h
<<_ACEOF
17613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17622 *-pc-os2_emx | *-pc-os2-emx )
17623 if test $ac_cv_header_langinfo_h = "yes" \
17624 -a \
( "$wx_cv_gccversion" = "EMX2" \
17625 -o "$wx_cv_gccversion" = "EMX3" \
17626 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17627 LIBS
="$LIBS -lintl"
17632 if test "$USE_UNIX" = 1 ; then
17634 for ac_header
in sys
/select.h
17636 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17638 echo "$as_me:$LINENO: checking for $ac_header" >&5
17639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17646 # Is the header compilable?
17647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17656 #include <$ac_header>
17658 rm -f conftest.
$ac_objext
17659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17660 (eval $ac_compile) 2>conftest.er1
17662 grep -v '^ *+' conftest.er1
>conftest.err
17664 cat conftest.err
>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } &&
17667 { ac_try
='test -z "$ac_cxx_werror_flag"
17668 || test ! -s conftest.err'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; } &&
17674 { ac_try
='test -s conftest.$ac_objext'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; }; then
17680 ac_header_compiler
=yes
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.
$ac_ext >&5
17685 ac_header_compiler
=no
17687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17689 echo "${ECHO_T}$ac_header_compiler" >&6
17691 # Is the header present?
17692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17694 cat >conftest.
$ac_ext <<_ACEOF
17697 cat confdefs.h
>>conftest.
$ac_ext
17698 cat >>conftest.
$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17700 #include <$ac_header>
17702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } >/dev
/null
; then
17710 if test -s conftest.err
; then
17711 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17712 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17719 if test -z "$ac_cpp_err"; then
17720 ac_header_preproc
=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.
$ac_ext >&5
17725 ac_header_preproc
=no
17727 rm -f conftest.err conftest.
$ac_ext
17728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17729 echo "${ECHO_T}$ac_header_preproc" >&6
17731 # So? What about this header?
17732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17738 ac_header_preproc
=yes
17741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17755 ## ----------------------------------------- ##
17756 ## Report this to wx-dev@lists.wxwidgets.org ##
17757 ## ----------------------------------------- ##
17760 sed "s/^/$as_me: WARNING: /" >&2
17763 echo "$as_me:$LINENO: checking for $ac_header" >&5
17764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 eval "$as_ac_Header=\$ac_header_preproc"
17770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17775 cat >>confdefs.h
<<_ACEOF
17776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17786 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17788 if test "${ac_cv_c_const+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 cat >conftest.
$ac_ext <<_ACEOF
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17801 /* FIXME: Include the comments suggested by Paul. */
17802 #ifndef __cplusplus
17803 /* Ultrix mips cc rejects this. */
17804 typedef int charset[2];
17806 /* SunOS 4.1.1 cc rejects this. */
17807 char const *const *ccp;
17809 /* NEC SVR4.0.2 mips cc rejects this. */
17810 struct point {int x, y;};
17811 static struct point const zero = {0,0};
17812 /* AIX XL C 1.02.0.0 rejects this.
17813 It does not let you subtract one const X* pointer from another in
17814 an arm of an if-expression whose if-part is not a constant
17816 const char *g = "string";
17817 ccp = &g + (g ? g-g : 0);
17818 /* HPUX 7.0 cc rejects these. */
17821 ccp = (char const *const *) p;
17822 { /* SCO 3.2v4 cc rejects this. */
17824 char const *s = 0 ? (char *) 0 : (char const *) 0;
17828 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17829 int x[] = {25, 17};
17830 const int *foo = &x[0];
17833 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17834 typedef const int *iptr;
17838 { /* AIX XL C 1.02.0.0 rejects this saying
17839 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17840 struct s { int j; const int *ap[3]; };
17841 struct s *b; b->j = 5;
17843 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17844 const int foo = 10;
17852 rm -f conftest.
$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17856 grep -v '^ *+' conftest.er1
>conftest.err
17858 cat conftest.err
>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -z "$ac_cxx_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17884 echo "${ECHO_T}$ac_cv_c_const" >&6
17885 if test $ac_cv_c_const = no
; then
17887 cat >>confdefs.h
<<\_ACEOF
17893 echo "$as_me:$LINENO: checking for inline" >&5
17894 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17895 if test "${ac_cv_c_inline+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 for ac_kw
in inline __inline__ __inline
; do
17900 cat >conftest.
$ac_ext <<_ACEOF
17903 cat confdefs.h
>>conftest.
$ac_ext
17904 cat >>conftest.
$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 #ifndef __cplusplus
17908 static $ac_kw foo_t static_foo () {return 0; }
17909 $ac_kw foo_t foo () {return 0; }
17913 rm -f conftest.
$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1
>conftest.err
17919 cat conftest.err
>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try
='test -z "$ac_cxx_werror_flag"
17923 || 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"
17998 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try
='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_type_char
=yes
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18019 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18020 echo "${ECHO_T}$ac_cv_type_char" >&6
18022 echo "$as_me:$LINENO: checking size of char" >&5
18023 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18024 if test "${ac_cv_sizeof_char+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 if test "$ac_cv_type_char" = yes; then
18028 # The cast to unsigned long works around a bug in the HP C Compiler
18029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18031 # This bug is HP SR number 8606223364.
18032 if test "$cross_compiling" = yes; then
18033 # Depending upon the size, compute the lo and hi bounds.
18034 cat >conftest.
$ac_ext <<_ACEOF
18037 cat confdefs.h
>>conftest.
$ac_ext
18038 cat >>conftest.
$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040 $ac_includes_default
18044 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18051 rm -f conftest.
$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18055 grep -v '^ *+' conftest.er1
>conftest.err
18057 cat conftest.err
>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try
='test -z "$ac_cxx_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try
='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18075 cat >conftest.
$ac_ext <<_ACEOF
18078 cat confdefs.h
>>conftest.
$ac_ext
18079 cat >>conftest.
$ac_ext <<_ACEOF
18080 /* end confdefs.h. */
18081 $ac_includes_default
18085 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18092 rm -f conftest.
$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>conftest.er1
18096 grep -v '^ *+' conftest.er1
>conftest.err
18098 cat conftest.err
>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try
='test -z "$ac_cxx_werror_flag"
18102 || test ! -s conftest.err'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; } &&
18108 { ac_try
='test -s conftest.$ac_objext'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; }; then
18114 ac_hi
=$ac_mid; break
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.
$ac_ext >&5
18119 ac_lo
=`expr $ac_mid + 1`
18120 if test $ac_lo -le $ac_mid; then
18124 ac_mid
=`expr 2 '*' $ac_mid + 1`
18126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.
$ac_ext >&5
18132 cat >conftest.
$ac_ext <<_ACEOF
18135 cat confdefs.h
>>conftest.
$ac_ext
18136 cat >>conftest.
$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18142 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1
>conftest.err
18155 cat conftest.err
>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try
='test -z "$ac_cxx_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18183 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18190 rm -f conftest.
$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18194 grep -v '^ *+' conftest.er1
>conftest.err
18196 cat conftest.err
>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try
='test -z "$ac_cxx_werror_flag"
18200 || test ! -s conftest.err'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; } &&
18206 { ac_try
='test -s conftest.$ac_objext'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; }; then
18212 ac_lo
=$ac_mid; break
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.
$ac_ext >&5
18217 ac_hi
=`expr '(' $ac_mid ')' - 1`
18218 if test $ac_mid -le $ac_hi; then
18222 ac_mid
=`expr 2 '*' $ac_mid`
18224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18235 # Binary search between lo and hi bounds.
18236 while test "x$ac_lo" != "x$ac_hi"; do
18237 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18248 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18255 rm -f conftest.
$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18259 grep -v '^ *+' conftest.er1
>conftest.err
18261 cat conftest.err
>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try
='test -z "$ac_cxx_werror_flag"
18265 || test ! -s conftest.err'
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); }; } &&
18271 { ac_try
='test -s conftest.$ac_objext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 ac_lo
=`expr '(' $ac_mid ')' + 1`
18284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18287 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18288 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18289 See \`config.log' for more details." >&5
18290 echo "$as_me: error: cannot compute sizeof (char), 77
18291 See \`config.log' for more details." >&2;}
18292 { (exit 1); exit 1; }; } ;;
18295 if test "$cross_compiling" = yes; then
18296 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18297 See \`config.log' for more details." >&5
18298 echo "$as_me: error: cannot run test program while cross compiling
18299 See \`config.log' for more details." >&2;}
18300 { (exit 1); exit 1; }; }
18302 cat >conftest.
$ac_ext <<_ACEOF
18305 cat confdefs.h
>>conftest.
$ac_ext
18306 cat >>conftest.
$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18309 long longval () { return (long) (sizeof (char)); }
18310 unsigned long ulongval () { return (long) (sizeof (char)); }
18312 #include <stdlib.h>
18317 FILE *f = fopen ("conftest.val", "w");
18320 if (((long) (sizeof (char))) < 0)
18322 long i = longval ();
18323 if (i != ((long) (sizeof (char))))
18325 fprintf (f, "%ld\n", i);
18329 unsigned long i = ulongval ();
18330 if (i != ((long) (sizeof (char))))
18332 fprintf (f, "%lu\n", i);
18334 exit (ferror (f) || fclose (f) != 0);
18340 rm -f conftest
$ac_exeext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342 (eval $ac_link) 2>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_cv_sizeof_char
=`cat conftest.val`
18353 echo "$as_me: program exited with status $ac_status" >&5
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 ( exit $ac_status )
18358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18359 See \`config.log' for more details." >&5
18360 echo "$as_me: error: cannot compute sizeof (char), 77
18361 See \`config.log' for more details." >&2;}
18362 { (exit 1); exit 1; }; }
18364 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18369 ac_cv_sizeof_char
=0
18372 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18373 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18374 cat >>confdefs.h
<<_ACEOF
18375 #define SIZEOF_CHAR $ac_cv_sizeof_char
18379 echo "$as_me:$LINENO: checking for short" >&5
18380 echo $ECHO_N "checking for short... $ECHO_C" >&6
18381 if test "${ac_cv_type_short+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 cat >conftest.
$ac_ext <<_ACEOF
18387 cat confdefs.h
>>conftest.
$ac_ext
18388 cat >>conftest.
$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18390 $ac_includes_default
18396 if (sizeof (short))
18402 rm -f conftest.
$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18406 grep -v '^ *+' conftest.er1
>conftest.err
18408 cat conftest.err
>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try
='test -z "$ac_cxx_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try
='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_type_short
=yes
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 ac_cv_type_short
=no
18431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18433 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18434 echo "${ECHO_T}$ac_cv_type_short" >&6
18436 echo "$as_me:$LINENO: checking size of short" >&5
18437 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18438 if test "${ac_cv_sizeof_short+set}" = set; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 if test "$ac_cv_type_short" = yes; then
18442 # The cast to unsigned long works around a bug in the HP C Compiler
18443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18445 # This bug is HP SR number 8606223364.
18446 if test "$cross_compiling" = yes; then
18447 # Depending upon the size, compute the lo and hi bounds.
18448 cat >conftest.
$ac_ext <<_ACEOF
18451 cat confdefs.h
>>conftest.
$ac_ext
18452 cat >>conftest.
$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 $ac_includes_default
18458 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18465 rm -f conftest.
$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18469 grep -v '^ *+' conftest.er1
>conftest.err
18471 cat conftest.err
>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try
='test -z "$ac_cxx_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 $ac_includes_default
18499 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18506 rm -f conftest.
$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18510 grep -v '^ *+' conftest.er1
>conftest.err
18512 cat conftest.err
>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try
='test -z "$ac_cxx_werror_flag"
18516 || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try
='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_hi
=$ac_mid; break
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.
$ac_ext >&5
18533 ac_lo
=`expr $ac_mid + 1`
18534 if test $ac_lo -le $ac_mid; then
18538 ac_mid
=`expr 2 '*' $ac_mid + 1`
18540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 cat >conftest.
$ac_ext <<_ACEOF
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18556 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18563 rm -f conftest.
$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18567 grep -v '^ *+' conftest.er1
>conftest.err
18569 cat conftest.err
>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try
='test -z "$ac_cxx_werror_flag"
18573 || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try
='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18597 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18604 rm -f conftest.
$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18608 grep -v '^ *+' conftest.er1
>conftest.err
18610 cat conftest.err
>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try
='test -z "$ac_cxx_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try
='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_lo
=$ac_mid; break
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 ac_hi
=`expr '(' $ac_mid ')' - 1`
18632 if test $ac_mid -le $ac_hi; then
18636 ac_mid
=`expr 2 '*' $ac_mid`
18638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18649 # Binary search between lo and hi bounds.
18650 while test "x$ac_lo" != "x$ac_hi"; do
18651 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18652 cat >conftest.
$ac_ext <<_ACEOF
18655 cat confdefs.h
>>conftest.
$ac_ext
18656 cat >>conftest.
$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 $ac_includes_default
18662 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18669 rm -f conftest.
$ac_objext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18671 (eval $ac_compile) 2>conftest.er1
18673 grep -v '^ *+' conftest.er1
>conftest.err
18675 cat conftest.err
>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try
='test -z "$ac_cxx_werror_flag"
18679 || test ! -s conftest.err'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try
='test -s conftest.$ac_objext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.
$ac_ext >&5
18696 ac_lo
=`expr '(' $ac_mid ')' + 1`
18698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18702 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18703 See \`config.log' for more details." >&5
18704 echo "$as_me: error: cannot compute sizeof (short), 77
18705 See \`config.log' for more details." >&2;}
18706 { (exit 1); exit 1; }; } ;;
18709 if test "$cross_compiling" = yes; then
18710 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18711 See \`config.log' for more details." >&5
18712 echo "$as_me: error: cannot run test program while cross compiling
18713 See \`config.log' for more details." >&2;}
18714 { (exit 1); exit 1; }; }
18716 cat >conftest.
$ac_ext <<_ACEOF
18719 cat confdefs.h
>>conftest.
$ac_ext
18720 cat >>conftest.
$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 $ac_includes_default
18723 long longval () { return (long) (sizeof (short)); }
18724 unsigned long ulongval () { return (long) (sizeof (short)); }
18726 #include <stdlib.h>
18731 FILE *f = fopen ("conftest.val", "w");
18734 if (((long) (sizeof (short))) < 0)
18736 long i = longval ();
18737 if (i != ((long) (sizeof (short))))
18739 fprintf (f, "%ld\n", i);
18743 unsigned long i = ulongval ();
18744 if (i != ((long) (sizeof (short))))
18746 fprintf (f, "%lu\n", i);
18748 exit (ferror (f) || fclose (f) != 0);
18754 rm -f conftest
$ac_exeext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18756 (eval $ac_link) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 ac_cv_sizeof_short
=`cat conftest.val`
18767 echo "$as_me: program exited with status $ac_status" >&5
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 ( exit $ac_status )
18772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18773 See \`config.log' for more details." >&5
18774 echo "$as_me: error: cannot compute sizeof (short), 77
18775 See \`config.log' for more details." >&2;}
18776 { (exit 1); exit 1; }; }
18778 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18783 ac_cv_sizeof_short
=0
18786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18787 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18788 cat >>confdefs.h
<<_ACEOF
18789 #define SIZEOF_SHORT $ac_cv_sizeof_short
18793 echo "$as_me:$LINENO: checking for void *" >&5
18794 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18795 if test "${ac_cv_type_void_p+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 cat >conftest.
$ac_ext <<_ACEOF
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18810 if (sizeof (void *))
18816 rm -f conftest.
$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18820 grep -v '^ *+' conftest.er1
>conftest.err
18822 cat conftest.err
>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try
='test -z "$ac_cxx_werror_flag"
18826 || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try
='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838 ac_cv_type_void_p
=yes
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.
$ac_ext >&5
18843 ac_cv_type_void_p
=no
18845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18847 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18848 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18850 echo "$as_me:$LINENO: checking size of void *" >&5
18851 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18852 if test "${ac_cv_sizeof_void_p+set}" = set; then
18853 echo $ECHO_N "(cached) $ECHO_C" >&6
18855 if test "$ac_cv_type_void_p" = yes; then
18856 # The cast to unsigned long works around a bug in the HP C Compiler
18857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18859 # This bug is HP SR number 8606223364.
18860 if test "$cross_compiling" = yes; then
18861 # Depending upon the size, compute the lo and hi bounds.
18862 cat >conftest.
$ac_ext <<_ACEOF
18865 cat confdefs.h
>>conftest.
$ac_ext
18866 cat >>conftest.
$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 $ac_includes_default
18872 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18879 rm -f conftest.
$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try
='test -z "$ac_cxx_werror_flag"
18889 || test ! -s conftest.err'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try
='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18903 cat >conftest.
$ac_ext <<_ACEOF
18906 cat confdefs.h
>>conftest.
$ac_ext
18907 cat >>conftest.
$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 $ac_includes_default
18913 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18920 rm -f conftest.
$ac_objext
18921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18922 (eval $ac_compile) 2>conftest.er1
18924 grep -v '^ *+' conftest.er1
>conftest.err
18926 cat conftest.err
>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } &&
18929 { ac_try
='test -z "$ac_cxx_werror_flag"
18930 || test ! -s conftest.err'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; } &&
18936 { ac_try
='test -s conftest.$ac_objext'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18942 ac_hi
=$ac_mid; break
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.
$ac_ext >&5
18947 ac_lo
=`expr $ac_mid + 1`
18948 if test $ac_lo -le $ac_mid; then
18952 ac_mid
=`expr 2 '*' $ac_mid + 1`
18954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.
$ac_ext >&5
18960 cat >conftest.
$ac_ext <<_ACEOF
18963 cat confdefs.h
>>conftest.
$ac_ext
18964 cat >>conftest.
$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18970 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18977 rm -f conftest.
$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try
='test -z "$ac_cxx_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try
='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19011 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19018 rm -f conftest.
$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_cxx_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try
='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_lo
=$ac_mid; break
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ac_hi
=`expr '(' $ac_mid ')' - 1`
19046 if test $ac_mid -le $ac_hi; then
19050 ac_mid
=`expr 2 '*' $ac_mid`
19052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.
$ac_ext >&5
19060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 # Binary search between lo and hi bounds.
19064 while test "x$ac_lo" != "x$ac_hi"; do
19065 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19066 cat >conftest.
$ac_ext <<_ACEOF
19069 cat confdefs.h
>>conftest.
$ac_ext
19070 cat >>conftest.
$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 $ac_includes_default
19076 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19083 rm -f conftest.
$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19087 grep -v '^ *+' conftest.er1
>conftest.err
19089 cat conftest.err
>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try
='test -z "$ac_cxx_werror_flag"
19093 || test ! -s conftest.err'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; } &&
19099 { ac_try
='test -s conftest.$ac_objext'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; }; then
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.
$ac_ext >&5
19110 ac_lo
=`expr '(' $ac_mid ')' + 1`
19112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19115 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19116 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19117 See \`config.log' for more details." >&5
19118 echo "$as_me: error: cannot compute sizeof (void *), 77
19119 See \`config.log' for more details." >&2;}
19120 { (exit 1); exit 1; }; } ;;
19123 if test "$cross_compiling" = yes; then
19124 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19125 See \`config.log' for more details." >&5
19126 echo "$as_me: error: cannot run test program while cross compiling
19127 See \`config.log' for more details." >&2;}
19128 { (exit 1); exit 1; }; }
19130 cat >conftest.
$ac_ext <<_ACEOF
19133 cat confdefs.h
>>conftest.
$ac_ext
19134 cat >>conftest.
$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 $ac_includes_default
19137 long longval () { return (long) (sizeof (void *)); }
19138 unsigned long ulongval () { return (long) (sizeof (void *)); }
19140 #include <stdlib.h>
19145 FILE *f = fopen ("conftest.val", "w");
19148 if (((long) (sizeof (void *))) < 0)
19150 long i = longval ();
19151 if (i != ((long) (sizeof (void *))))
19153 fprintf (f, "%ld\n", i);
19157 unsigned long i = ulongval ();
19158 if (i != ((long) (sizeof (void *))))
19160 fprintf (f, "%lu\n", i);
19162 exit (ferror (f) || fclose (f) != 0);
19168 rm -f conftest
$ac_exeext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19170 (eval $ac_link) 2>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_sizeof_void_p
=`cat conftest.val`
19181 echo "$as_me: program exited with status $ac_status" >&5
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.
$ac_ext >&5
19185 ( exit $ac_status )
19186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19187 See \`config.log' for more details." >&5
19188 echo "$as_me: error: cannot compute sizeof (void *), 77
19189 See \`config.log' for more details." >&2;}
19190 { (exit 1); exit 1; }; }
19192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19197 ac_cv_sizeof_void_p
=0
19200 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19201 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19202 cat >>confdefs.h
<<_ACEOF
19203 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19207 echo "$as_me:$LINENO: checking for int" >&5
19208 echo $ECHO_N "checking for int... $ECHO_C" >&6
19209 if test "${ac_cv_type_int+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 $ac_includes_default
19230 rm -f conftest.
$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19234 grep -v '^ *+' conftest.er1
>conftest.err
19236 cat conftest.err
>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try
='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try
='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.
$ac_ext >&5
19259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19261 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19262 echo "${ECHO_T}$ac_cv_type_int" >&6
19264 echo "$as_me:$LINENO: checking size of int" >&5
19265 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19266 if test "${ac_cv_sizeof_int+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 if test "$ac_cv_type_int" = yes; then
19270 # The cast to unsigned long works around a bug in the HP C Compiler
19271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19273 # This bug is HP SR number 8606223364.
19274 if test "$cross_compiling" = yes; then
19275 # Depending upon the size, compute the lo and hi bounds.
19276 cat >conftest.
$ac_ext <<_ACEOF
19279 cat confdefs.h
>>conftest.
$ac_ext
19280 cat >>conftest.
$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 $ac_includes_default
19286 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19293 rm -f conftest.
$ac_objext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19295 (eval $ac_compile) 2>conftest.er1
19297 grep -v '^ *+' conftest.er1
>conftest.err
19299 cat conftest.err
>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try
='test -z "$ac_cxx_werror_flag"
19303 || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try
='test -s conftest.$ac_objext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19317 cat >conftest.
$ac_ext <<_ACEOF
19320 cat confdefs.h
>>conftest.
$ac_ext
19321 cat >>conftest.
$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19327 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19334 rm -f conftest.
$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19338 grep -v '^ *+' conftest.er1
>conftest.err
19340 cat conftest.err
>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try
='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try
='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 ac_hi
=$ac_mid; break
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.
$ac_ext >&5
19361 ac_lo
=`expr $ac_mid + 1`
19362 if test $ac_lo -le $ac_mid; then
19366 ac_mid
=`expr 2 '*' $ac_mid + 1`
19368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.
$ac_ext >&5
19374 cat >conftest.
$ac_ext <<_ACEOF
19377 cat confdefs.h
>>conftest.
$ac_ext
19378 cat >>conftest.
$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380 $ac_includes_default
19384 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_cxx_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try
='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19415 cat >conftest.
$ac_ext <<_ACEOF
19418 cat confdefs.h
>>conftest.
$ac_ext
19419 cat >>conftest.
$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 $ac_includes_default
19425 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19432 rm -f conftest.
$ac_objext
19433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19434 (eval $ac_compile) 2>conftest.er1
19436 grep -v '^ *+' conftest.er1
>conftest.err
19438 cat conftest.err
>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try
='test -z "$ac_cxx_werror_flag"
19442 || test ! -s conftest.err'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; } &&
19448 { ac_try
='test -s conftest.$ac_objext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_lo
=$ac_mid; break
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 ac_hi
=`expr '(' $ac_mid ')' - 1`
19460 if test $ac_mid -le $ac_hi; then
19464 ac_mid
=`expr 2 '*' $ac_mid`
19466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.
$ac_ext >&5
19474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19477 # Binary search between lo and hi bounds.
19478 while test "x$ac_lo" != "x$ac_hi"; do
19479 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19490 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19497 rm -f conftest.
$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19501 grep -v '^ *+' conftest.er1
>conftest.err
19503 cat conftest.err
>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try
='test -z "$ac_cxx_werror_flag"
19507 || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try
='test -s conftest.$ac_objext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.
$ac_ext >&5
19524 ac_lo
=`expr '(' $ac_mid ')' + 1`
19526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19529 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19530 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19531 See \`config.log' for more details." >&5
19532 echo "$as_me: error: cannot compute sizeof (int), 77
19533 See \`config.log' for more details." >&2;}
19534 { (exit 1); exit 1; }; } ;;
19537 if test "$cross_compiling" = yes; then
19538 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19539 See \`config.log' for more details." >&5
19540 echo "$as_me: error: cannot run test program while cross compiling
19541 See \`config.log' for more details." >&2;}
19542 { (exit 1); exit 1; }; }
19544 cat >conftest.
$ac_ext <<_ACEOF
19547 cat confdefs.h
>>conftest.
$ac_ext
19548 cat >>conftest.
$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 $ac_includes_default
19551 long longval () { return (long) (sizeof (int)); }
19552 unsigned long ulongval () { return (long) (sizeof (int)); }
19554 #include <stdlib.h>
19559 FILE *f = fopen ("conftest.val", "w");
19562 if (((long) (sizeof (int))) < 0)
19564 long i = longval ();
19565 if (i != ((long) (sizeof (int))))
19567 fprintf (f, "%ld\n", i);
19571 unsigned long i = ulongval ();
19572 if (i != ((long) (sizeof (int))))
19574 fprintf (f, "%lu\n", i);
19576 exit (ferror (f) || fclose (f) != 0);
19582 rm -f conftest
$ac_exeext
19583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19584 (eval $ac_link) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_cv_sizeof_int
=`cat conftest.val`
19595 echo "$as_me: program exited with status $ac_status" >&5
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.
$ac_ext >&5
19599 ( exit $ac_status )
19600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19601 See \`config.log' for more details." >&5
19602 echo "$as_me: error: cannot compute sizeof (int), 77
19603 See \`config.log' for more details." >&2;}
19604 { (exit 1); exit 1; }; }
19606 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19616 cat >>confdefs.h
<<_ACEOF
19617 #define SIZEOF_INT $ac_cv_sizeof_int
19621 echo "$as_me:$LINENO: checking for long" >&5
19622 echo $ECHO_N "checking for long... $ECHO_C" >&6
19623 if test "${ac_cv_type_long+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 cat >conftest.
$ac_ext <<_ACEOF
19629 cat confdefs.h
>>conftest.
$ac_ext
19630 cat >>conftest.
$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 $ac_includes_default
19644 rm -f conftest.
$ac_objext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19646 (eval $ac_compile) 2>conftest.er1
19648 grep -v '^ *+' conftest.er1
>conftest.err
19650 cat conftest.err
>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try
='test -z "$ac_cxx_werror_flag"
19654 || test ! -s conftest.err'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; } &&
19660 { ac_try
='test -s conftest.$ac_objext'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 ac_cv_type_long
=yes
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.
$ac_ext >&5
19673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19675 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19676 echo "${ECHO_T}$ac_cv_type_long" >&6
19678 echo "$as_me:$LINENO: checking size of long" >&5
19679 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19680 if test "${ac_cv_sizeof_long+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19683 if test "$ac_cv_type_long" = yes; then
19684 # The cast to unsigned long works around a bug in the HP C Compiler
19685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19687 # This bug is HP SR number 8606223364.
19688 if test "$cross_compiling" = yes; then
19689 # Depending upon the size, compute the lo and hi bounds.
19690 cat >conftest.
$ac_ext <<_ACEOF
19693 cat confdefs.h
>>conftest.
$ac_ext
19694 cat >>conftest.
$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19700 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19707 rm -f conftest.
$ac_objext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19709 (eval $ac_compile) 2>conftest.er1
19711 grep -v '^ *+' conftest.er1
>conftest.err
19713 cat conftest.err
>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); } &&
19716 { ac_try
='test -z "$ac_cxx_werror_flag"
19717 || test ! -s conftest.err'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19741 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19748 rm -f conftest.
$ac_objext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19750 (eval $ac_compile) 2>conftest.er1
19752 grep -v '^ *+' conftest.er1
>conftest.err
19754 cat conftest.err
>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try
='test -z "$ac_cxx_werror_flag"
19758 || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try
='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_hi
=$ac_mid; break
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.
$ac_ext >&5
19775 ac_lo
=`expr $ac_mid + 1`
19776 if test $ac_lo -le $ac_mid; then
19780 ac_mid
=`expr 2 '*' $ac_mid + 1`
19782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.
$ac_ext >&5
19788 cat >conftest.
$ac_ext <<_ACEOF
19791 cat confdefs.h
>>conftest.
$ac_ext
19792 cat >>conftest.
$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $ac_includes_default
19798 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19805 rm -f conftest.
$ac_objext
19806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19807 (eval $ac_compile) 2>conftest.er1
19809 grep -v '^ *+' conftest.er1
>conftest.err
19811 cat conftest.err
>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); } &&
19814 { ac_try
='test -z "$ac_cxx_werror_flag"
19815 || test ! -s conftest.err'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; } &&
19821 { ac_try
='test -s conftest.$ac_objext'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; }; then
19829 cat >conftest.
$ac_ext <<_ACEOF
19832 cat confdefs.h
>>conftest.
$ac_ext
19833 cat >>conftest.
$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19839 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19846 rm -f conftest.
$ac_objext
19847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19848 (eval $ac_compile) 2>conftest.er1
19850 grep -v '^ *+' conftest.er1
>conftest.err
19852 cat conftest.err
>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try
='test -z "$ac_cxx_werror_flag"
19856 || test ! -s conftest.err'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; } &&
19862 { ac_try
='test -s conftest.$ac_objext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 ac_lo
=$ac_mid; break
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.
$ac_ext >&5
19873 ac_hi
=`expr '(' $ac_mid ')' - 1`
19874 if test $ac_mid -le $ac_hi; then
19878 ac_mid
=`expr 2 '*' $ac_mid`
19880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.
$ac_ext >&5
19888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19891 # Binary search between lo and hi bounds.
19892 while test "x$ac_lo" != "x$ac_hi"; do
19893 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19894 cat >conftest.
$ac_ext <<_ACEOF
19897 cat confdefs.h
>>conftest.
$ac_ext
19898 cat >>conftest.
$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19904 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19911 rm -f conftest.
$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19915 grep -v '^ *+' conftest.er1
>conftest.err
19917 cat conftest.err
>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try
='test -z "$ac_cxx_werror_flag"
19921 || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try
='test -s conftest.$ac_objext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19938 ac_lo
=`expr '(' $ac_mid ')' + 1`
19940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19943 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19944 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19945 See \`config.log' for more details." >&5
19946 echo "$as_me: error: cannot compute sizeof (long), 77
19947 See \`config.log' for more details." >&2;}
19948 { (exit 1); exit 1; }; } ;;
19951 if test "$cross_compiling" = yes; then
19952 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19953 See \`config.log' for more details." >&5
19954 echo "$as_me: error: cannot run test program while cross compiling
19955 See \`config.log' for more details." >&2;}
19956 { (exit 1); exit 1; }; }
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 long longval () { return (long) (sizeof (long)); }
19966 unsigned long ulongval () { return (long) (sizeof (long)); }
19968 #include <stdlib.h>
19973 FILE *f = fopen ("conftest.val", "w");
19976 if (((long) (sizeof (long))) < 0)
19978 long i = longval ();
19979 if (i != ((long) (sizeof (long))))
19981 fprintf (f, "%ld\n", i);
19985 unsigned long i = ulongval ();
19986 if (i != ((long) (sizeof (long))))
19988 fprintf (f, "%lu\n", i);
19990 exit (ferror (f) || fclose (f) != 0);
19996 rm -f conftest
$ac_exeext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19998 (eval $ac_link) 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_cv_sizeof_long
=`cat conftest.val`
20009 echo "$as_me: program exited with status $ac_status" >&5
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20013 ( exit $ac_status )
20014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20015 See \`config.log' for more details." >&5
20016 echo "$as_me: error: cannot compute sizeof (long), 77
20017 See \`config.log' for more details." >&2;}
20018 { (exit 1); exit 1; }; }
20020 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20025 ac_cv_sizeof_long
=0
20028 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20029 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20030 cat >>confdefs.h
<<_ACEOF
20031 #define SIZEOF_LONG $ac_cv_sizeof_long
20035 echo "$as_me:$LINENO: checking for size_t" >&5
20036 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20037 if test "${ac_cv_type_size_t+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.
$ac_ext <<_ACEOF
20043 cat confdefs.h
>>conftest.
$ac_ext
20044 cat >>conftest.
$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20052 if (sizeof (size_t))
20058 rm -f conftest.
$ac_objext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20060 (eval $ac_compile) 2>conftest.er1
20062 grep -v '^ *+' conftest.er1
>conftest.err
20064 cat conftest.err
>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } &&
20067 { ac_try
='test -z "$ac_cxx_werror_flag"
20068 || test ! -s conftest.err'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; } &&
20074 { ac_try
='test -s conftest.$ac_objext'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; }; then
20080 ac_cv_type_size_t
=yes
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.
$ac_ext >&5
20085 ac_cv_type_size_t
=no
20087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20089 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20090 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20092 echo "$as_me:$LINENO: checking size of size_t" >&5
20093 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20094 if test "${ac_cv_sizeof_size_t+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 if test "$ac_cv_type_size_t" = yes; then
20098 # The cast to unsigned long works around a bug in the HP C Compiler
20099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20101 # This bug is HP SR number 8606223364.
20102 if test "$cross_compiling" = yes; then
20103 # Depending upon the size, compute the lo and hi bounds.
20104 cat >conftest.
$ac_ext <<_ACEOF
20107 cat confdefs.h
>>conftest.
$ac_ext
20108 cat >>conftest.
$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20114 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20121 rm -f conftest.
$ac_objext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20123 (eval $ac_compile) 2>conftest.er1
20125 grep -v '^ *+' conftest.er1
>conftest.err
20127 cat conftest.err
>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try
='test -z "$ac_cxx_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try
='test -s conftest.$ac_objext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20145 cat >conftest.
$ac_ext <<_ACEOF
20148 cat confdefs.h
>>conftest.
$ac_ext
20149 cat >>conftest.
$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 $ac_includes_default
20155 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20162 rm -f conftest.
$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>conftest.er1
20166 grep -v '^ *+' conftest.er1
>conftest.err
20168 cat conftest.err
>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try
='test -z "$ac_cxx_werror_flag"
20172 || test ! -s conftest.err'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; } &&
20178 { ac_try
='test -s conftest.$ac_objext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 ac_hi
=$ac_mid; break
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.
$ac_ext >&5
20189 ac_lo
=`expr $ac_mid + 1`
20190 if test $ac_lo -le $ac_mid; then
20194 ac_mid
=`expr 2 '*' $ac_mid + 1`
20196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.
$ac_ext >&5
20202 cat >conftest.
$ac_ext <<_ACEOF
20205 cat confdefs.h
>>conftest.
$ac_ext
20206 cat >>conftest.
$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20212 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20219 rm -f conftest.
$ac_objext
20220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20221 (eval $ac_compile) 2>conftest.er1
20223 grep -v '^ *+' conftest.er1
>conftest.err
20225 cat conftest.err
>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } &&
20228 { ac_try
='test -z "$ac_cxx_werror_flag"
20229 || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try
='test -s conftest.$ac_objext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20243 cat >conftest.
$ac_ext <<_ACEOF
20246 cat confdefs.h
>>conftest.
$ac_ext
20247 cat >>conftest.
$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20253 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20260 rm -f conftest.
$ac_objext
20261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20262 (eval $ac_compile) 2>conftest.er1
20264 grep -v '^ *+' conftest.er1
>conftest.err
20266 cat conftest.err
>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } &&
20269 { ac_try
='test -z "$ac_cxx_werror_flag"
20270 || test ! -s conftest.err'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; } &&
20276 { ac_try
='test -s conftest.$ac_objext'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 ac_lo
=$ac_mid; break
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.
$ac_ext >&5
20287 ac_hi
=`expr '(' $ac_mid ')' - 1`
20288 if test $ac_mid -le $ac_hi; then
20292 ac_mid
=`expr 2 '*' $ac_mid`
20294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20305 # Binary search between lo and hi bounds.
20306 while test "x$ac_lo" != "x$ac_hi"; do
20307 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20308 cat >conftest.
$ac_ext <<_ACEOF
20311 cat confdefs.h
>>conftest.
$ac_ext
20312 cat >>conftest.
$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 $ac_includes_default
20318 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20325 rm -f conftest.
$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try
='test -z "$ac_cxx_werror_flag"
20335 || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try
='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20352 ac_lo
=`expr '(' $ac_mid ')' + 1`
20354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20358 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20359 See \`config.log' for more details." >&5
20360 echo "$as_me: error: cannot compute sizeof (size_t), 77
20361 See \`config.log' for more details." >&2;}
20362 { (exit 1); exit 1; }; } ;;
20365 if test "$cross_compiling" = yes; then
20366 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20367 See \`config.log' for more details." >&5
20368 echo "$as_me: error: cannot run test program while cross compiling
20369 See \`config.log' for more details." >&2;}
20370 { (exit 1); exit 1; }; }
20372 cat >conftest.
$ac_ext <<_ACEOF
20375 cat confdefs.h
>>conftest.
$ac_ext
20376 cat >>conftest.
$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20379 long longval () { return (long) (sizeof (size_t)); }
20380 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20382 #include <stdlib.h>
20387 FILE *f = fopen ("conftest.val", "w");
20390 if (((long) (sizeof (size_t))) < 0)
20392 long i = longval ();
20393 if (i != ((long) (sizeof (size_t))))
20395 fprintf (f, "%ld\n", i);
20399 unsigned long i = ulongval ();
20400 if (i != ((long) (sizeof (size_t))))
20402 fprintf (f, "%lu\n", i);
20404 exit (ferror (f) || fclose (f) != 0);
20410 rm -f conftest
$ac_exeext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20412 (eval $ac_link) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_cv_sizeof_size_t
=`cat conftest.val`
20423 echo "$as_me: program exited with status $ac_status" >&5
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 ( exit $ac_status )
20428 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20429 See \`config.log' for more details." >&5
20430 echo "$as_me: error: cannot compute sizeof (size_t), 77
20431 See \`config.log' for more details." >&2;}
20432 { (exit 1); exit 1; }; }
20434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20439 ac_cv_sizeof_size_t
=0
20442 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20443 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20444 cat >>confdefs.h
<<_ACEOF
20445 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20452 echo "$as_me:$LINENO: checking for long long" >&5
20453 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20454 if test "${ac_cv_type_long_long+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 cat >conftest.
$ac_ext <<_ACEOF
20460 cat confdefs.h
>>conftest.
$ac_ext
20461 cat >>conftest.
$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20463 $ac_includes_default
20467 if ((long long *) 0)
20469 if (sizeof (long long))
20475 rm -f conftest.
$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20479 grep -v '^ *+' conftest.er1
>conftest.err
20481 cat conftest.err
>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try
='test -z "$ac_cxx_werror_flag"
20485 || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try
='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_type_long_long
=yes
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20502 ac_cv_type_long_long
=no
20504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20506 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20507 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20509 echo "$as_me:$LINENO: checking size of long long" >&5
20510 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20511 if test "${ac_cv_sizeof_long_long+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 if test "$ac_cv_type_long_long" = yes; then
20515 # The cast to unsigned long works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 if test "$cross_compiling" = yes; then
20520 # Depending upon the size, compute the lo and hi bounds.
20521 cat >conftest.
$ac_ext <<_ACEOF
20524 cat confdefs.h
>>conftest.
$ac_ext
20525 cat >>conftest.
$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20531 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20538 rm -f conftest.
$ac_objext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20540 (eval $ac_compile) 2>conftest.er1
20542 grep -v '^ *+' conftest.er1
>conftest.err
20544 cat conftest.err
>&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try
='test -z "$ac_cxx_werror_flag"
20548 || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try
='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20579 rm -f conftest.
$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_cxx_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try
='test -s conftest.$ac_objext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_hi
=$ac_mid; break
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 ac_lo
=`expr $ac_mid + 1`
20607 if test $ac_lo -le $ac_mid; then
20611 ac_mid
=`expr 2 '*' $ac_mid + 1`
20613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.
$ac_ext >&5
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20636 rm -f conftest.
$ac_objext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20638 (eval $ac_compile) 2>conftest.er1
20640 grep -v '^ *+' conftest.er1
>conftest.err
20642 cat conftest.err
>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try
='test -z "$ac_cxx_werror_flag"
20646 || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try
='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20660 cat >conftest.
$ac_ext <<_ACEOF
20663 cat confdefs.h
>>conftest.
$ac_ext
20664 cat >>conftest.
$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20677 rm -f conftest.
$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -z "$ac_cxx_werror_flag"
20687 || test ! -s conftest.err'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; } &&
20693 { ac_try
='test -s conftest.$ac_objext'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_lo
=$ac_mid; break
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.
$ac_ext >&5
20704 ac_hi
=`expr '(' $ac_mid ')' - 1`
20705 if test $ac_mid -le $ac_hi; then
20709 ac_mid
=`expr 2 '*' $ac_mid`
20711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.
$ac_ext >&5
20719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20722 # Binary search between lo and hi bounds.
20723 while test "x$ac_lo" != "x$ac_hi"; do
20724 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20725 cat >conftest.
$ac_ext <<_ACEOF
20728 cat confdefs.h
>>conftest.
$ac_ext
20729 cat >>conftest.
$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20735 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20742 rm -f conftest.
$ac_objext
20743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20744 (eval $ac_compile) 2>conftest.er1
20746 grep -v '^ *+' conftest.er1
>conftest.err
20748 cat conftest.err
>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } &&
20751 { ac_try
='test -z "$ac_cxx_werror_flag"
20752 || test ! -s conftest.err'
20753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20754 (eval $ac_try) 2>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); }; } &&
20758 { ac_try
='test -s conftest.$ac_objext'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; }; then
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.
$ac_ext >&5
20769 ac_lo
=`expr '(' $ac_mid ')' + 1`
20771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20774 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20775 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20776 See \`config.log' for more details." >&5
20777 echo "$as_me: error: cannot compute sizeof (long long), 77
20778 See \`config.log' for more details." >&2;}
20779 { (exit 1); exit 1; }; } ;;
20782 if test "$cross_compiling" = yes; then
20783 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20784 See \`config.log' for more details." >&5
20785 echo "$as_me: error: cannot run test program while cross compiling
20786 See \`config.log' for more details." >&2;}
20787 { (exit 1); exit 1; }; }
20789 cat >conftest.
$ac_ext <<_ACEOF
20792 cat confdefs.h
>>conftest.
$ac_ext
20793 cat >>conftest.
$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 long longval () { return (long) (sizeof (long long)); }
20797 unsigned long ulongval () { return (long) (sizeof (long long)); }
20799 #include <stdlib.h>
20804 FILE *f = fopen ("conftest.val", "w");
20807 if (((long) (sizeof (long long))) < 0)
20809 long i = longval ();
20810 if (i != ((long) (sizeof (long long))))
20812 fprintf (f, "%ld\n", i);
20816 unsigned long i = ulongval ();
20817 if (i != ((long) (sizeof (long long))))
20819 fprintf (f, "%lu\n", i);
20821 exit (ferror (f) || fclose (f) != 0);
20827 rm -f conftest
$ac_exeext
20828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20829 (eval $ac_link) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_sizeof_long_long
=`cat conftest.val`
20840 echo "$as_me: program exited with status $ac_status" >&5
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20844 ( exit $ac_status )
20845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20846 See \`config.log' for more details." >&5
20847 echo "$as_me: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&2;}
20849 { (exit 1); exit 1; }; }
20851 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20856 ac_cv_sizeof_long_long
=0
20859 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20861 cat >>confdefs.h
<<_ACEOF
20862 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20868 echo "$as_me:$LINENO: checking for long long" >&5
20869 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20870 if test "${ac_cv_type_long_long+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 cat >conftest.
$ac_ext <<_ACEOF
20876 cat confdefs.h
>>conftest.
$ac_ext
20877 cat >>conftest.
$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20879 $ac_includes_default
20883 if ((long long *) 0)
20885 if (sizeof (long long))
20891 rm -f conftest.
$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20895 grep -v '^ *+' conftest.er1
>conftest.err
20897 cat conftest.err
>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try
='test -z "$ac_cxx_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_type_long_long
=yes
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 ac_cv_type_long_long
=no
20920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20923 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20925 echo "$as_me:$LINENO: checking size of long long" >&5
20926 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20927 if test "${ac_cv_sizeof_long_long+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 if test "$ac_cv_type_long_long" = yes; then
20931 # The cast to unsigned long works around a bug in the HP C Compiler
20932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20934 # This bug is HP SR number 8606223364.
20935 if test "$cross_compiling" = yes; then
20936 # Depending upon the size, compute the lo and hi bounds.
20937 cat >conftest.
$ac_ext <<_ACEOF
20940 cat confdefs.h
>>conftest.
$ac_ext
20941 cat >>conftest.
$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20954 rm -f conftest.
$ac_objext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20956 (eval $ac_compile) 2>conftest.er1
20958 grep -v '^ *+' conftest.er1
>conftest.err
20960 cat conftest.err
>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try
='test -z "$ac_cxx_werror_flag"
20964 || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try
='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20978 cat >conftest.
$ac_ext <<_ACEOF
20981 cat confdefs.h
>>conftest.
$ac_ext
20982 cat >>conftest.
$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20988 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20995 rm -f conftest.
$ac_objext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20997 (eval $ac_compile) 2>conftest.er1
20999 grep -v '^ *+' conftest.er1
>conftest.err
21001 cat conftest.err
>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } &&
21004 { ac_try
='test -z "$ac_cxx_werror_flag"
21005 || test ! -s conftest.err'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; } &&
21011 { ac_try
='test -s conftest.$ac_objext'
21012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21013 (eval $ac_try) 2>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); }; }; then
21017 ac_hi
=$ac_mid; break
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.
$ac_ext >&5
21022 ac_lo
=`expr $ac_mid + 1`
21023 if test $ac_lo -le $ac_mid; then
21027 ac_mid
=`expr 2 '*' $ac_mid + 1`
21029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.
$ac_ext >&5
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 $ac_includes_default
21045 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21052 rm -f conftest.
$ac_objext
21053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21054 (eval $ac_compile) 2>conftest.er1
21056 grep -v '^ *+' conftest.er1
>conftest.err
21058 cat conftest.err
>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } &&
21061 { ac_try
='test -z "$ac_cxx_werror_flag"
21062 || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try
='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21086 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21093 rm -f conftest.
$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>conftest.er1
21097 grep -v '^ *+' conftest.er1
>conftest.err
21099 cat conftest.err
>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try
='test -z "$ac_cxx_werror_flag"
21103 || test ! -s conftest.err'
21104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21105 (eval $ac_try) 2>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; } &&
21109 { ac_try
='test -s conftest.$ac_objext'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; }; then
21115 ac_lo
=$ac_mid; break
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.
$ac_ext >&5
21120 ac_hi
=`expr '(' $ac_mid ')' - 1`
21121 if test $ac_mid -le $ac_hi; then
21125 ac_mid
=`expr 2 '*' $ac_mid`
21127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.
$ac_ext >&5
21135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 # Binary search between lo and hi bounds.
21139 while test "x$ac_lo" != "x$ac_hi"; do
21140 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
21151 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21158 rm -f conftest.
$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21162 grep -v '^ *+' conftest.er1
>conftest.err
21164 cat conftest.err
>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try
='test -z "$ac_cxx_werror_flag"
21168 || test ! -s conftest.err'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; } &&
21174 { ac_try
='test -s conftest.$ac_objext'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; }; then
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.
$ac_ext >&5
21185 ac_lo
=`expr '(' $ac_mid ')' + 1`
21187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21190 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21191 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long long), 77
21194 See \`config.log' for more details." >&2;}
21195 { (exit 1); exit 1; }; } ;;
21198 if test "$cross_compiling" = yes; then
21199 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21200 See \`config.log' for more details." >&5
21201 echo "$as_me: error: cannot run test program while cross compiling
21202 See \`config.log' for more details." >&2;}
21203 { (exit 1); exit 1; }; }
21205 cat >conftest.
$ac_ext <<_ACEOF
21208 cat confdefs.h
>>conftest.
$ac_ext
21209 cat >>conftest.
$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 long longval () { return (long) (sizeof (long long)); }
21213 unsigned long ulongval () { return (long) (sizeof (long long)); }
21215 #include <stdlib.h>
21220 FILE *f = fopen ("conftest.val", "w");
21223 if (((long) (sizeof (long long))) < 0)
21225 long i = longval ();
21226 if (i != ((long) (sizeof (long long))))
21228 fprintf (f, "%ld\n", i);
21232 unsigned long i = ulongval ();
21233 if (i != ((long) (sizeof (long long))))
21235 fprintf (f, "%lu\n", i);
21237 exit (ferror (f) || fclose (f) != 0);
21243 rm -f conftest
$ac_exeext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21245 (eval $ac_link) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_sizeof_long_long
=`cat conftest.val`
21256 echo "$as_me: program exited with status $ac_status" >&5
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 ( exit $ac_status )
21261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21262 See \`config.log' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (long long), 77
21264 See \`config.log' for more details." >&2;}
21265 { (exit 1); exit 1; }; }
21267 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21272 ac_cv_sizeof_long_long
=0
21275 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21277 cat >>confdefs.h
<<_ACEOF
21278 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21282 if test "$ac_cv_sizeof_long_long" != "0"; then
21283 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21287 echo "$as_me:$LINENO: checking for long long" >&5
21288 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21289 if test "${ac_cv_type_long_long+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 cat >conftest.
$ac_ext <<_ACEOF
21295 cat confdefs.h
>>conftest.
$ac_ext
21296 cat >>conftest.
$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21302 if ((long long *) 0)
21304 if (sizeof (long long))
21310 rm -f conftest.
$ac_objext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21312 (eval $ac_compile) 2>conftest.er1
21314 grep -v '^ *+' conftest.er1
>conftest.err
21316 cat conftest.err
>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try
='test -z "$ac_cxx_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try
='test -s conftest.$ac_objext'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; }; then
21332 ac_cv_type_long_long
=yes
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.
$ac_ext >&5
21337 ac_cv_type_long_long
=no
21339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21341 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21342 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21344 echo "$as_me:$LINENO: checking size of long long" >&5
21345 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21346 if test "${ac_cv_sizeof_long_long+set}" = set; then
21347 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 if test "$ac_cv_type_long_long" = yes; then
21350 # The cast to unsigned long works around a bug in the HP C Compiler
21351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21353 # This bug is HP SR number 8606223364.
21354 if test "$cross_compiling" = yes; then
21355 # Depending upon the size, compute the lo and hi bounds.
21356 cat >conftest.
$ac_ext <<_ACEOF
21359 cat confdefs.h
>>conftest.
$ac_ext
21360 cat >>conftest.
$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21373 rm -f conftest.
$ac_objext
21374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21375 (eval $ac_compile) 2>conftest.er1
21377 grep -v '^ *+' conftest.er1
>conftest.err
21379 cat conftest.err
>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } &&
21382 { ac_try
='test -z "$ac_cxx_werror_flag"
21383 || test ! -s conftest.err'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; } &&
21389 { ac_try
='test -s conftest.$ac_objext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21397 cat >conftest.
$ac_ext <<_ACEOF
21400 cat confdefs.h
>>conftest.
$ac_ext
21401 cat >>conftest.
$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 $ac_includes_default
21407 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21414 rm -f conftest.
$ac_objext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21416 (eval $ac_compile) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_cxx_werror_flag"
21424 || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_hi
=$ac_mid; break
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 ac_lo
=`expr $ac_mid + 1`
21442 if test $ac_lo -le $ac_mid; then
21446 ac_mid
=`expr 2 '*' $ac_mid + 1`
21448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21451 echo "$as_me: failed program was:" >&5
21452 sed 's/^/| /' conftest.
$ac_ext >&5
21454 cat >conftest.
$ac_ext <<_ACEOF
21457 cat confdefs.h
>>conftest.
$ac_ext
21458 cat >>conftest.
$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21471 rm -f conftest.
$ac_objext
21472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21473 (eval $ac_compile) 2>conftest.er1
21475 grep -v '^ *+' conftest.er1
>conftest.err
21477 cat conftest.err
>&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try
='test -z "$ac_cxx_werror_flag"
21481 || test ! -s conftest.err'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; } &&
21487 { ac_try
='test -s conftest.$ac_objext'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; }; then
21495 cat >conftest.
$ac_ext <<_ACEOF
21498 cat confdefs.h
>>conftest.
$ac_ext
21499 cat >>conftest.
$ac_ext <<_ACEOF
21500 /* end confdefs.h. */
21501 $ac_includes_default
21505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21512 rm -f conftest.
$ac_objext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21514 (eval $ac_compile) 2>conftest.er1
21516 grep -v '^ *+' conftest.er1
>conftest.err
21518 cat conftest.err
>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try
='test -z "$ac_cxx_werror_flag"
21522 || test ! -s conftest.err'
21523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524 (eval $ac_try) 2>&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; } &&
21528 { ac_try
='test -s conftest.$ac_objext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; }; then
21534 ac_lo
=$ac_mid; break
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.
$ac_ext >&5
21539 ac_hi
=`expr '(' $ac_mid ')' - 1`
21540 if test $ac_mid -le $ac_hi; then
21544 ac_mid
=`expr 2 '*' $ac_mid`
21546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21557 # Binary search between lo and hi bounds.
21558 while test "x$ac_lo" != "x$ac_hi"; do
21559 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 $ac_includes_default
21570 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21577 rm -f conftest.
$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try
='test -z "$ac_cxx_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try
='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21604 ac_lo
=`expr '(' $ac_mid ')' + 1`
21606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21609 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21610 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21611 See \`config.log' for more details." >&5
21612 echo "$as_me: error: cannot compute sizeof (long long), 77
21613 See \`config.log' for more details." >&2;}
21614 { (exit 1); exit 1; }; } ;;
21617 if test "$cross_compiling" = yes; then
21618 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21619 See \`config.log' for more details." >&5
21620 echo "$as_me: error: cannot run test program while cross compiling
21621 See \`config.log' for more details." >&2;}
21622 { (exit 1); exit 1; }; }
21624 cat >conftest.
$ac_ext <<_ACEOF
21627 cat confdefs.h
>>conftest.
$ac_ext
21628 cat >>conftest.
$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 $ac_includes_default
21631 long longval () { return (long) (sizeof (long long)); }
21632 unsigned long ulongval () { return (long) (sizeof (long long)); }
21634 #include <stdlib.h>
21639 FILE *f = fopen ("conftest.val", "w");
21642 if (((long) (sizeof (long long))) < 0)
21644 long i = longval ();
21645 if (i != ((long) (sizeof (long long))))
21647 fprintf (f, "%ld\n", i);
21651 unsigned long i = ulongval ();
21652 if (i != ((long) (sizeof (long long))))
21654 fprintf (f, "%lu\n", i);
21656 exit (ferror (f) || fclose (f) != 0);
21662 rm -f conftest
$ac_exeext
21663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21664 (eval $ac_link) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 ac_cv_sizeof_long_long
=`cat conftest.val`
21675 echo "$as_me: program exited with status $ac_status" >&5
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 ( exit $ac_status )
21680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21681 See \`config.log' for more details." >&5
21682 echo "$as_me: error: cannot compute sizeof (long long), 77
21683 See \`config.log' for more details." >&2;}
21684 { (exit 1); exit 1; }; }
21686 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21691 ac_cv_sizeof_long_long
=0
21694 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21695 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21696 cat >>confdefs.h
<<_ACEOF
21697 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21703 echo "$as_me:$LINENO: checking for wchar_t" >&5
21704 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21705 if test "${ac_cv_type_wchar_t+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21717 # error "fake wchar_t"
21719 #ifdef HAVE_WCHAR_H
21721 # include <stddef.h>
21723 # include <wchar.h>
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21737 if (sizeof (wchar_t))
21743 rm -f conftest.
$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21747 grep -v '^ *+' conftest.er1
>conftest.err
21749 cat conftest.err
>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try
='test -z "$ac_cxx_werror_flag"
21753 || test ! -s conftest.err'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21765 ac_cv_type_wchar_t
=yes
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.
$ac_ext >&5
21770 ac_cv_type_wchar_t
=no
21772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21774 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21775 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21777 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21778 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21779 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 if test "$ac_cv_type_wchar_t" = yes; then
21783 # The cast to unsigned long works around a bug in the HP C Compiler
21784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21786 # This bug is HP SR number 8606223364.
21787 if test "$cross_compiling" = yes; then
21788 # Depending upon the size, compute the lo and hi bounds.
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21798 # error "fake wchar_t"
21800 #ifdef HAVE_WCHAR_H
21802 # include <stddef.h>
21804 # include <wchar.h>
21806 #ifdef HAVE_STDLIB_H
21807 # include <stdlib.h>
21816 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21823 rm -f conftest.
$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21827 grep -v '^ *+' conftest.er1
>conftest.err
21829 cat conftest.err
>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try
='test -z "$ac_cxx_werror_flag"
21833 || test ! -s conftest.err'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; } &&
21839 { ac_try
='test -s conftest.$ac_objext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21847 cat >conftest.
$ac_ext <<_ACEOF
21850 cat confdefs.h
>>conftest.
$ac_ext
21851 cat >>conftest.
$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21854 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21855 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21856 # error "fake wchar_t"
21858 #ifdef HAVE_WCHAR_H
21860 # include <stddef.h>
21862 # include <wchar.h>
21864 #ifdef HAVE_STDLIB_H
21865 # include <stdlib.h>
21874 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21881 rm -f conftest.
$ac_objext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21883 (eval $ac_compile) 2>conftest.er1
21885 grep -v '^ *+' conftest.er1
>conftest.err
21887 cat conftest.err
>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try
='test -z "$ac_cxx_werror_flag"
21891 || test ! -s conftest.err'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try
='test -s conftest.$ac_objext'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; }; then
21903 ac_hi
=$ac_mid; break
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.
$ac_ext >&5
21908 ac_lo
=`expr $ac_mid + 1`
21909 if test $ac_lo -le $ac_mid; then
21913 ac_mid
=`expr 2 '*' $ac_mid + 1`
21915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.
$ac_ext >&5
21921 cat >conftest.
$ac_ext <<_ACEOF
21924 cat confdefs.h
>>conftest.
$ac_ext
21925 cat >>conftest.
$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21928 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21929 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21930 # error "fake wchar_t"
21932 #ifdef HAVE_WCHAR_H
21934 # include <stddef.h>
21936 # include <wchar.h>
21938 #ifdef HAVE_STDLIB_H
21939 # include <stdlib.h>
21948 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21955 rm -f conftest.
$ac_objext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21957 (eval $ac_compile) 2>conftest.er1
21959 grep -v '^ *+' conftest.er1
>conftest.err
21961 cat conftest.err
>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); } &&
21964 { ac_try
='test -z "$ac_cxx_werror_flag"
21965 || test ! -s conftest.err'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; } &&
21971 { ac_try
='test -s conftest.$ac_objext'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; }; then
21979 cat >conftest.
$ac_ext <<_ACEOF
21982 cat confdefs.h
>>conftest.
$ac_ext
21983 cat >>conftest.
$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21986 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21987 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21988 # error "fake wchar_t"
21990 #ifdef HAVE_WCHAR_H
21992 # include <stddef.h>
21994 # include <wchar.h>
21996 #ifdef HAVE_STDLIB_H
21997 # include <stdlib.h>
22006 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22013 rm -f conftest.
$ac_objext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22015 (eval $ac_compile) 2>conftest.er1
22017 grep -v '^ *+' conftest.er1
>conftest.err
22019 cat conftest.err
>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try
='test -z "$ac_cxx_werror_flag"
22023 || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try
='test -s conftest.$ac_objext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 ac_lo
=$ac_mid; break
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.
$ac_ext >&5
22040 ac_hi
=`expr '(' $ac_mid ')' - 1`
22041 if test $ac_mid -le $ac_hi; then
22045 ac_mid
=`expr 2 '*' $ac_mid`
22047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.
$ac_ext >&5
22055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22058 # Binary search between lo and hi bounds.
22059 while test "x$ac_lo" != "x$ac_hi"; do
22060 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22061 cat >conftest.
$ac_ext <<_ACEOF
22064 cat confdefs.h
>>conftest.
$ac_ext
22065 cat >>conftest.
$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22068 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22069 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22070 # error "fake wchar_t"
22072 #ifdef HAVE_WCHAR_H
22074 # include <stddef.h>
22076 # include <wchar.h>
22078 #ifdef HAVE_STDLIB_H
22079 # include <stdlib.h>
22088 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22095 rm -f conftest.
$ac_objext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22097 (eval $ac_compile) 2>conftest.er1
22099 grep -v '^ *+' conftest.er1
>conftest.err
22101 cat conftest.err
>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } &&
22104 { ac_try
='test -z "$ac_cxx_werror_flag"
22105 || test ! -s conftest.err'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; } &&
22111 { ac_try
='test -s conftest.$ac_objext'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; }; then
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.
$ac_ext >&5
22122 ac_lo
=`expr '(' $ac_mid ')' + 1`
22124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22127 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22128 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22129 See \`config.log' for more details." >&5
22130 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22131 See \`config.log' for more details." >&2;}
22132 { (exit 1); exit 1; }; } ;;
22135 if test "$cross_compiling" = yes; then
22136 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22137 See \`config.log' for more details." >&5
22138 echo "$as_me: error: cannot run test program while cross compiling
22139 See \`config.log' for more details." >&2;}
22140 { (exit 1); exit 1; }; }
22142 cat >conftest.
$ac_ext <<_ACEOF
22145 cat confdefs.h
>>conftest.
$ac_ext
22146 cat >>conftest.
$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22151 # error "fake wchar_t"
22153 #ifdef HAVE_WCHAR_H
22155 # include <stddef.h>
22157 # include <wchar.h>
22159 #ifdef HAVE_STDLIB_H
22160 # include <stdlib.h>
22166 long longval () { return (long) (sizeof (wchar_t)); }
22167 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22169 #include <stdlib.h>
22174 FILE *f = fopen ("conftest.val", "w");
22177 if (((long) (sizeof (wchar_t))) < 0)
22179 long i = longval ();
22180 if (i != ((long) (sizeof (wchar_t))))
22182 fprintf (f, "%ld\n", i);
22186 unsigned long i = ulongval ();
22187 if (i != ((long) (sizeof (wchar_t))))
22189 fprintf (f, "%lu\n", i);
22191 exit (ferror (f) || fclose (f) != 0);
22197 rm -f conftest
$ac_exeext
22198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22199 (eval $ac_link) 2>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22204 (eval $ac_try) 2>&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); }; }; then
22208 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22210 echo "$as_me: program exited with status $ac_status" >&5
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.
$ac_ext >&5
22214 ( exit $ac_status )
22215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22216 See \`config.log' for more details." >&5
22217 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22218 See \`config.log' for more details." >&2;}
22219 { (exit 1); exit 1; }; }
22221 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22226 ac_cv_sizeof_wchar_t
=0
22229 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22230 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22231 cat >>confdefs.h
<<_ACEOF
22232 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22236 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22242 echo "$as_me:$LINENO: checking for va_copy" >&5
22243 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22244 if test "${wx_cv_func_va_copy+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 cat >conftest.
$ac_ext <<_ACEOF
22250 #include <stdarg.h>
22251 void foo(char *f, ...)
22265 rm -f conftest.
$ac_objext conftest
$ac_exeext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22267 (eval $ac_link) 2>conftest.er1
22269 grep -v '^ *+' conftest.er1
>conftest.err
22271 cat conftest.err
>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try
='test -z "$ac_cxx_werror_flag"
22275 || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try
='test -s conftest$ac_exeext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 wx_cv_func_va_copy
=yes
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22292 wx_cv_func_va_copy
=no
22295 rm -f conftest.err conftest.
$ac_objext \
22296 conftest
$ac_exeext conftest.
$ac_ext
22300 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22301 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22303 if test $wx_cv_func_va_copy = "yes"; then
22304 cat >>confdefs.h
<<\_ACEOF
22305 #define HAVE_VA_COPY 1
22309 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22310 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22311 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22315 if test "$cross_compiling" = yes; then
22316 wx_cv_type_va_list_lvalue
=yes
22319 cat >conftest.
$ac_ext <<_ACEOF
22321 #include <stdarg.h>
22322 int foo(char *f, ...)
22327 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22335 return foo("hi", 17);
22338 rm -f conftest
$ac_exeext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22340 (eval $ac_link) 2>&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 wx_cv_type_va_list_lvalue
=yes
22351 echo "$as_me: program exited with status $ac_status" >&5
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.
$ac_ext >&5
22355 ( exit $ac_status )
22356 wx_cv_type_va_list_lvalue
=no
22358 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22363 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22364 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22366 if test $wx_cv_type_va_list_lvalue != "yes"; then
22367 cat >>confdefs.h
<<\_ACEOF
22368 #define VA_LIST_IS_ARRAY 1
22374 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22375 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22376 if test "${wx_cv_have_variadic_macros+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 cat >conftest.
$ac_ext <<_ACEOF
22383 cat confdefs.h
>>conftest.
$ac_ext
22384 cat >>conftest.
$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22388 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22394 test("%s %d %p", "test", 1, 0);
22401 rm -f conftest.
$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22405 grep -v '^ *+' conftest.er1
>conftest.err
22407 cat conftest.err
>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try
='test -z "$ac_cxx_werror_flag"
22411 || test ! -s conftest.err'
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); }; } &&
22417 { ac_try
='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 wx_cv_have_variadic_macros
=yes
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.
$ac_ext >&5
22428 wx_cv_have_variadic_macros
=no
22431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22435 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22436 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22438 if test $wx_cv_have_variadic_macros = "yes"; then
22439 cat >>confdefs.h
<<\_ACEOF
22440 #define HAVE_VARIADIC_MACROS 1
22445 # Check whether --enable-largefile or --disable-largefile was given.
22446 if test "${enable_largefile+set}" = set; then
22447 enableval
="$enable_largefile"
22450 if test "$enable_largefile" != no
; then
22453 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22454 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22455 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22459 cat >conftest.
$ac_ext <<_ACEOF
22462 cat confdefs.h
>>conftest.
$ac_ext
22463 cat >>conftest.
$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 #define _FILE_OFFSET_BITS 64
22466 #include <sys/types.h>
22471 unsigned int field: sizeof(off_t) == 8;
22478 rm -f conftest.
$ac_objext
22479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22480 (eval $ac_compile) 2>conftest.er1
22482 grep -v '^ *+' conftest.er1
>conftest.err
22484 cat conftest.err
>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } &&
22487 { ac_try
='test -z "$ac_cxx_werror_flag"
22488 || test ! -s conftest.err'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; } &&
22494 { ac_try
='test -s conftest.$ac_objext'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; }; then
22500 ac_cv_sys_file_offset_bits
=64
22502 echo "$as_me: failed program was:" >&5
22503 sed 's/^/| /' conftest.
$ac_ext >&5
22505 ac_cv_sys_file_offset_bits
=no
22507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22511 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22512 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22514 if test "$ac_cv_sys_file_offset_bits" != no
; then
22516 cat >>confdefs.h
<<_ACEOF
22517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22522 if test "x$wx_largefile" != "xyes"; then
22524 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22525 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22526 if test "${ac_cv_sys_large_files+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 cat >conftest.
$ac_ext <<_ACEOF
22533 cat confdefs.h
>>conftest.
$ac_ext
22534 cat >>conftest.
$ac_ext <<_ACEOF
22535 /* end confdefs.h. */
22536 #define _LARGE_FILES 1
22537 #include <sys/types.h>
22542 unsigned int field: sizeof(off_t) == 8;
22549 rm -f conftest.
$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22553 grep -v '^ *+' conftest.er1
>conftest.err
22555 cat conftest.err
>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try
='test -z "$ac_cxx_werror_flag"
22559 || test ! -s conftest.err'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; } &&
22565 { ac_try
='test -s conftest.$ac_objext'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_sys_large_files
=1
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.
$ac_ext >&5
22576 ac_cv_sys_large_files
=no
22578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22582 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22583 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22585 if test "$ac_cv_sys_large_files" != no
; then
22587 cat >>confdefs.h
<<_ACEOF
22588 #define _LARGE_FILES $ac_cv_sys_large_files
22595 echo "$as_me:$LINENO: checking if large file support is available" >&5
22596 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22597 if test "x$wx_largefile" = "xyes"; then
22598 cat >>confdefs.h
<<\_ACEOF
22599 #define HAVE_LARGEFILE_SUPPORT 1
22603 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22604 echo "${ECHO_T}$wx_largefile" >&6
22608 if test "x$wx_largefile" = "xyes"; then
22609 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22610 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22612 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22613 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22614 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22615 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22616 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 cat >conftest.
$ac_ext <<_ACEOF
22622 cat confdefs.h
>>conftest.
$ac_ext
22623 cat >>conftest.
$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22630 #ifndef __STDC_EXT__
22638 rm -f conftest.
$ac_objext
22639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22640 (eval $ac_compile) 2>conftest.er1
22642 grep -v '^ *+' conftest.er1
>conftest.err
22644 cat conftest.err
>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try
='test -z "$ac_cxx_werror_flag"
22648 || test ! -s conftest.err'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; } &&
22654 { ac_try
='test -s conftest.$ac_objext'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; }; then
22660 wx_cv_STDC_EXT_required
=no
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.
$ac_ext >&5
22665 wx_cv_STDC_EXT_required
=yes
22668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22672 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22673 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22674 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22675 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22679 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22681 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22682 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22683 if test "${ac_cv_sys_largefile_source+set}" = set; then
22684 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 ac_cv_sys_largefile_source
=no
22688 cat >conftest.
$ac_ext <<_ACEOF
22691 cat confdefs.h
>>conftest.
$ac_ext
22692 cat >>conftest.
$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22703 rm -f conftest.
$ac_objext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705 (eval $ac_compile) 2>conftest.er1
22707 grep -v '^ *+' conftest.er1
>conftest.err
22709 cat conftest.err
>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try
='test -z "$ac_cxx_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try
='test -s conftest.$ac_objext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.
$ac_ext >&5
22731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22732 cat >conftest.
$ac_ext <<_ACEOF
22735 cat confdefs.h
>>conftest.
$ac_ext
22736 cat >>conftest.
$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 #define _LARGEFILE_SOURCE 1
22748 rm -f conftest.
$ac_objext
22749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22750 (eval $ac_compile) 2>conftest.er1
22752 grep -v '^ *+' conftest.er1
>conftest.err
22754 cat conftest.err
>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } &&
22757 { ac_try
='test -z "$ac_cxx_werror_flag"
22758 || test ! -s conftest.err'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try
='test -s conftest.$ac_objext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22770 ac_cv_sys_largefile_source
=1; break
22772 echo "$as_me: failed program was:" >&5
22773 sed 's/^/| /' conftest.
$ac_ext >&5
22776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22780 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22781 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22782 if test "$ac_cv_sys_largefile_source" != no
; then
22784 cat >>confdefs.h
<<_ACEOF
22785 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22791 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22792 # in glibc 2.1.3, but that breaks too many other things.
22793 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22794 echo "$as_me:$LINENO: checking for fseeko" >&5
22795 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22796 if test "${ac_cv_func_fseeko+set}" = set; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22799 cat >conftest.
$ac_ext <<_ACEOF
22802 cat confdefs.h
>>conftest.
$ac_ext
22803 cat >>conftest.
$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22809 return fseeko && fseeko (stdin, 0, 0);
22814 rm -f conftest.
$ac_objext conftest
$ac_exeext
22815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22816 (eval $ac_link) 2>conftest.er1
22818 grep -v '^ *+' conftest.er1
>conftest.err
22820 cat conftest.err
>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } &&
22823 { ac_try
='test -z "$ac_cxx_werror_flag"
22824 || test ! -s conftest.err'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; } &&
22830 { ac_try
='test -s conftest$ac_exeext'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; }; then
22836 ac_cv_func_fseeko
=yes
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.
$ac_ext >&5
22841 ac_cv_func_fseeko
=no
22843 rm -f conftest.err conftest.
$ac_objext \
22844 conftest
$ac_exeext conftest.
$ac_ext
22846 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22847 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22848 if test $ac_cv_func_fseeko = yes; then
22850 cat >>confdefs.h
<<\_ACEOF
22851 #define HAVE_FSEEKO 1
22856 if test "$ac_cv_sys_largefile_source" != no
; then
22857 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22861 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22862 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22863 if test "${ac_cv_c_bigendian+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 ac_cv_c_bigendian
=unknown
22867 # See if sys/param.h defines the BYTE_ORDER macro.
22868 cat >conftest.
$ac_ext <<_ACEOF
22871 cat confdefs.h
>>conftest.
$ac_ext
22872 cat >>conftest.
$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874 #include <sys/types.h>
22875 #include <sys/param.h>
22880 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22881 bogus endian macros
22887 rm -f conftest.
$ac_objext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22889 (eval $ac_compile) 2>conftest.er1
22891 grep -v '^ *+' conftest.er1
>conftest.err
22893 cat conftest.err
>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try
='test -z "$ac_cxx_werror_flag"
22897 || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try
='test -s conftest.$ac_objext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22909 # It does; now see whether it defined to BIG_ENDIAN or not.
22910 cat >conftest.
$ac_ext <<_ACEOF
22913 cat confdefs.h
>>conftest.
$ac_ext
22914 cat >>conftest.
$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 #include <sys/types.h>
22917 #include <sys/param.h>
22922 #if BYTE_ORDER != BIG_ENDIAN
22929 rm -f conftest.
$ac_objext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22931 (eval $ac_compile) 2>conftest.er1
22933 grep -v '^ *+' conftest.er1
>conftest.err
22935 cat conftest.err
>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try
='test -z "$ac_cxx_werror_flag"
22939 || test ! -s conftest.err'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; } &&
22945 { ac_try
='test -s conftest.$ac_objext'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; }; then
22951 ac_cv_c_bigendian
=yes
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.
$ac_ext >&5
22956 ac_cv_c_bigendian
=no
22958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.
$ac_ext >&5
22964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22965 if test $ac_cv_c_bigendian = unknown
; then
22966 if test "$cross_compiling" = yes; then
22967 ac_cv_c_bigendian
=unknown
22969 cat >conftest.
$ac_ext <<_ACEOF
22972 cat confdefs.h
>>conftest.
$ac_ext
22973 cat >>conftest.
$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22976 /* Are we little or big endian? From Harbison&Steele. */
22980 char c[sizeof (long)];
22983 exit (u.c[sizeof (long) - 1] == 1);
22986 rm -f conftest
$ac_exeext
22987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22988 (eval $ac_link) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22997 ac_cv_c_bigendian
=no
22999 echo "$as_me: program exited with status $ac_status" >&5
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 ( exit $ac_status )
23004 ac_cv_c_bigendian
=yes
23006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23010 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23011 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23012 if test $ac_cv_c_bigendian = unknown
; then
23013 { 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
23014 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;}
23016 if test $ac_cv_c_bigendian = yes; then
23017 cat >>confdefs.h
<<\_ACEOF
23018 #define WORDS_BIGENDIAN 1
23028 ac_cpp
='$CXXCPP $CPPFLAGS'
23029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23035 for ac_header
in iostream
23037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23039 echo "$as_me:$LINENO: checking for $ac_header" >&5
23040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23047 # Is the header compilable?
23048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23050 cat >conftest.
$ac_ext <<_ACEOF
23053 cat confdefs.h
>>conftest.
$ac_ext
23054 cat >>conftest.
$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 $ac_includes_default
23057 #include <$ac_header>
23059 rm -f conftest.
$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23063 grep -v '^ *+' conftest.er1
>conftest.err
23065 cat conftest.err
>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try
='test -z "$ac_cxx_werror_flag"
23069 || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try
='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_header_compiler
=yes
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.
$ac_ext >&5
23086 ac_header_compiler
=no
23088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23090 echo "${ECHO_T}$ac_header_compiler" >&6
23092 # Is the header present?
23093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23095 cat >conftest.
$ac_ext <<_ACEOF
23098 cat confdefs.h
>>conftest.
$ac_ext
23099 cat >>conftest.
$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <$ac_header>
23103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23106 grep -v '^ *+' conftest.er1
>conftest.err
23108 cat conftest.err
>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } >/dev
/null
; then
23111 if test -s conftest.err
; then
23112 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23113 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23120 if test -z "$ac_cpp_err"; then
23121 ac_header_preproc
=yes
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.
$ac_ext >&5
23126 ac_header_preproc
=no
23128 rm -f conftest.err conftest.
$ac_ext
23129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23130 echo "${ECHO_T}$ac_header_preproc" >&6
23132 # So? What about this header?
23133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23139 ac_header_preproc
=yes
23142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23156 ## ----------------------------------------- ##
23157 ## Report this to wx-dev@lists.wxwidgets.org ##
23158 ## ----------------------------------------- ##
23161 sed "s/^/$as_me: WARNING: /" >&2
23164 echo "$as_me:$LINENO: checking for $ac_header" >&5
23165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23167 echo $ECHO_N "(cached) $ECHO_C" >&6
23169 eval "$as_ac_Header=\$ac_header_preproc"
23171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23176 cat >>confdefs.h
<<_ACEOF
23177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23185 if test "$ac_cv_header_iostream" = "yes" ; then
23188 cat >>confdefs.h
<<\_ACEOF
23189 #define wxUSE_IOSTREAMH 1
23195 ac_cpp
='$CXXCPP $CPPFLAGS'
23196 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23203 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23204 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23205 if test "${wx_cv_cpp_bool+set}" = set; then
23206 echo $ECHO_N "(cached) $ECHO_C" >&6
23212 ac_cpp
='$CXXCPP $CPPFLAGS'
23213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23218 cat >conftest.
$ac_ext <<_ACEOF
23221 cat confdefs.h
>>conftest.
$ac_ext
23222 cat >>conftest.
$ac_ext <<_ACEOF
23223 /* end confdefs.h. */
23238 rm -f conftest.
$ac_objext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23240 (eval $ac_compile) 2>conftest.er1
23242 grep -v '^ *+' conftest.er1
>conftest.err
23244 cat conftest.err
>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try
='test -z "$ac_cxx_werror_flag"
23248 || test ! -s conftest.err'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; } &&
23254 { ac_try
='test -s conftest.$ac_objext'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; }; then
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.
$ac_ext >&5
23272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23275 ac_cpp
='$CXXCPP $CPPFLAGS'
23276 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23282 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23283 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23285 if test "$wx_cv_cpp_bool" = "yes"; then
23286 cat >>confdefs.h
<<\_ACEOF
23287 #define HAVE_BOOL 1
23294 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23295 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23296 if test "${wx_cv_explicit+set}" = set; then
23297 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 ac_cpp
='$CXXCPP $CPPFLAGS'
23304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23309 cat >conftest.
$ac_ext <<_ACEOF
23312 cat confdefs.h
>>conftest.
$ac_ext
23313 cat >>conftest.
$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23316 class Foo { public: explicit Foo(int) {} };
23328 rm -f conftest.
$ac_objext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23330 (eval $ac_compile) 2>conftest.er1
23332 grep -v '^ *+' conftest.er1
>conftest.err
23334 cat conftest.err
>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } &&
23337 { ac_try
='test -z "$ac_cxx_werror_flag"
23338 || test ! -s conftest.err'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; } &&
23344 { ac_try
='test -s conftest.$ac_objext'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; }; then
23351 cat >conftest.
$ac_ext <<_ACEOF
23354 cat confdefs.h
>>conftest.
$ac_ext
23355 cat >>conftest.
$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23358 class Foo { public: explicit Foo(int) {} };
23359 static void TakeFoo(const Foo& foo) { }
23372 rm -f conftest.
$ac_objext
23373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23374 (eval $ac_compile) 2>conftest.er1
23376 grep -v '^ *+' conftest.er1
>conftest.err
23378 cat conftest.err
>&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); } &&
23381 { ac_try
='test -z "$ac_cxx_werror_flag"
23382 || test ! -s conftest.err'
23383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23384 (eval $ac_try) 2>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); }; } &&
23388 { ac_try
='test -s conftest.$ac_objext'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; }; then
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.
$ac_ext >&5
23402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23414 ac_cpp
='$CXXCPP $CPPFLAGS'
23415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23421 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23422 echo "${ECHO_T}$wx_cv_explicit" >&6
23424 if test "$wx_cv_explicit" = "yes"; then
23425 cat >>confdefs.h
<<\_ACEOF
23426 #define HAVE_EXPLICIT 1
23432 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23433 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23434 if test "${ac_cv_cxx_const_cast+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 ac_cpp
='$CXXCPP $CPPFLAGS'
23441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23445 cat >conftest.
$ac_ext <<_ACEOF
23448 cat confdefs.h
>>conftest.
$ac_ext
23449 cat >>conftest.
$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23455 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23460 rm -f conftest.
$ac_objext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23462 (eval $ac_compile) 2>conftest.er1
23464 grep -v '^ *+' conftest.er1
>conftest.err
23466 cat conftest.err
>&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } &&
23469 { ac_try
='test -z "$ac_cxx_werror_flag"
23470 || test ! -s conftest.err'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); }; } &&
23476 { ac_try
='test -s conftest.$ac_objext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 ac_cv_cxx_const_cast
=yes
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.
$ac_ext >&5
23487 ac_cv_cxx_const_cast
=no
23489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23491 ac_cpp
='$CXXCPP $CPPFLAGS'
23492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23498 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23499 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23500 if test "$ac_cv_cxx_const_cast" = yes; then
23502 cat >>confdefs.h
<<\_ACEOF
23503 #define HAVE_CONST_CAST
23508 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23509 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23510 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 ac_cpp
='$CXXCPP $CPPFLAGS'
23517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23521 cat >conftest.
$ac_ext <<_ACEOF
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <typeinfo>
23528 class Base { public : Base () {} virtual void f () = 0;};
23529 class Derived : public Base { public : Derived () {} virtual void f () {} };
23530 class Unrelated { public : Unrelated () {} };
23531 int g (Unrelated&) { return 0; }
23536 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23541 rm -f conftest.
$ac_objext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23543 (eval $ac_compile) 2>conftest.er1
23545 grep -v '^ *+' conftest.er1
>conftest.err
23547 cat conftest.err
>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try
='test -z "$ac_cxx_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try
='test -s conftest.$ac_objext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 ac_cv_cxx_reinterpret_cast
=yes
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23568 ac_cv_cxx_reinterpret_cast
=no
23570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23572 ac_cpp
='$CXXCPP $CPPFLAGS'
23573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23579 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23580 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23581 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23583 cat >>confdefs.h
<<\_ACEOF
23584 #define HAVE_REINTERPRET_CAST
23589 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23590 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23591 if test "${ac_cv_cxx_static_cast+set}" = set; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23597 ac_cpp
='$CXXCPP $CPPFLAGS'
23598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23602 cat >conftest.
$ac_ext <<_ACEOF
23605 cat confdefs.h
>>conftest.
$ac_ext
23606 cat >>conftest.
$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23608 #include <typeinfo>
23609 class Base { public : Base () {} virtual void f () = 0; };
23610 class Derived : public Base { public : Derived () {} virtual void f () {} };
23611 int g (Derived&) { return 0; }
23616 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23621 rm -f conftest.
$ac_objext
23622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23623 (eval $ac_compile) 2>conftest.er1
23625 grep -v '^ *+' conftest.er1
>conftest.err
23627 cat conftest.err
>&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } &&
23630 { ac_try
='test -z "$ac_cxx_werror_flag"
23631 || test ! -s conftest.err'
23632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633 (eval $ac_try) 2>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; } &&
23637 { ac_try
='test -s conftest.$ac_objext'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; }; then
23643 ac_cv_cxx_static_cast
=yes
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.
$ac_ext >&5
23648 ac_cv_cxx_static_cast
=no
23650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23652 ac_cpp
='$CXXCPP $CPPFLAGS'
23653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23659 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23660 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23661 if test "$ac_cv_cxx_static_cast" = yes; then
23663 cat >>confdefs.h
<<\_ACEOF
23664 #define HAVE_STATIC_CAST
23670 if test "x$SUNCXX" = xyes
; then
23671 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23674 if test "x$SUNCC" = xyes
; then
23675 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23678 if test "x$SGICC" = "xyes"; then
23679 CFLAGS
="-woff 3970 $CFLAGS"
23681 if test "x$SGICXX" = "xyes"; then
23682 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23685 if test "x$HPCC" = "xyes"; then
23686 CFLAGS
="+W 2011,2450 $CFLAGS"
23688 if test "x$HPCXX" = "xyes"; then
23689 CXXFLAGS
="+W 2340 $CXXFLAGS"
23692 if test "x$COMPAQCXX" = "xyes"; then
23693 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23696 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23697 if test "$wxUSE_UNICODE" = "yes"; then
23698 std_string
="std::wstring"
23699 char_type
="wchar_t"
23701 std_string
="std::string"
23705 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23706 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23707 cat >conftest.
$ac_ext <<_ACEOF
23710 cat confdefs.h
>>conftest.
$ac_ext
23711 cat >>conftest.
$ac_ext <<_ACEOF
23712 /* end confdefs.h. */
23722 rm -f conftest.
$ac_objext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23724 (eval $ac_compile) 2>conftest.er1
23726 grep -v '^ *+' conftest.er1
>conftest.err
23728 cat conftest.err
>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try
='test -z "$ac_cxx_werror_flag"
23732 || test ! -s conftest.err'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; } &&
23738 { ac_try
='test -s conftest.$ac_objext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 echo "$as_me:$LINENO: result: yes" >&5
23745 echo "${ECHO_T}yes" >&6
23746 cat >>confdefs.h
<<\_ACEOF
23747 #define HAVE_STD_WSTRING 1
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.
$ac_ext >&5
23754 echo "$as_me:$LINENO: result: no" >&5
23755 echo "${ECHO_T}no" >&6
23756 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23757 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23758 cat >conftest.
$ac_ext <<_ACEOF
23761 cat confdefs.h
>>conftest.
$ac_ext
23762 cat >>conftest.
$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23765 #ifdef HAVE_WCHAR_H
23767 # include <stddef.h>
23769 # include <wchar.h>
23771 #ifdef HAVE_STDLIB_H
23772 # include <stdlib.h>
23780 std::basic_string<$char_type> foo;
23781 const $char_type* dummy = foo.c_str();
23786 rm -f conftest.
$ac_objext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23788 (eval $ac_compile) 2>conftest.er1
23790 grep -v '^ *+' conftest.er1
>conftest.err
23792 cat conftest.err
>&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } &&
23795 { ac_try
='test -z "$ac_cxx_werror_flag"
23796 || test ! -s conftest.err'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; } &&
23802 { ac_try
='test -s conftest.$ac_objext'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 echo "$as_me:$LINENO: result: yes" >&5
23809 echo "${ECHO_T}yes" >&6
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.
$ac_ext >&5
23814 echo "$as_me:$LINENO: result: no" >&5
23815 echo "${ECHO_T}no" >&6
23816 if test "$wxUSE_STL" = "yes"; then
23817 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23818 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23819 { (exit 1); exit 1; }; }
23820 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23821 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23822 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23823 { (exit 1); exit 1; }; }
23825 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23826 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23827 wxUSE_STD_STRING
=no
23832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23838 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23839 echo "$as_me:$LINENO: checking for std::istream" >&5
23840 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23841 if test "${ac_cv_type_std__istream+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 cat >conftest.
$ac_ext <<_ACEOF
23847 cat confdefs.h
>>conftest.
$ac_ext
23848 cat >>conftest.
$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23850 #include <iostream>
23855 if ((std::istream *) 0)
23857 if (sizeof (std::istream))
23863 rm -f conftest.
$ac_objext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23865 (eval $ac_compile) 2>conftest.er1
23867 grep -v '^ *+' conftest.er1
>conftest.err
23869 cat conftest.err
>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try
='test -z "$ac_cxx_werror_flag"
23873 || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try
='test -s conftest.$ac_objext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 ac_cv_type_std__istream
=yes
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.
$ac_ext >&5
23890 ac_cv_type_std__istream
=no
23892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23894 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23895 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23896 if test $ac_cv_type_std__istream = yes; then
23898 cat >>confdefs.h
<<_ACEOF
23899 #define HAVE_STD__ISTREAM 1
23904 wxUSE_STD_IOSTREAM
=no
23906 echo "$as_me:$LINENO: checking for std::ostream" >&5
23907 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23908 if test "${ac_cv_type_std__ostream+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23911 cat >conftest.
$ac_ext <<_ACEOF
23914 cat confdefs.h
>>conftest.
$ac_ext
23915 cat >>conftest.
$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 #include <iostream>
23922 if ((std::ostream *) 0)
23924 if (sizeof (std::ostream))
23930 rm -f conftest.
$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23934 grep -v '^ *+' conftest.er1
>conftest.err
23936 cat conftest.err
>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try
='test -z "$ac_cxx_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try
='test -s conftest.$ac_objext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 ac_cv_type_std__ostream
=yes
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.
$ac_ext >&5
23957 ac_cv_type_std__ostream
=no
23959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23961 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23962 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23963 if test $ac_cv_type_std__ostream = yes; then
23965 cat >>confdefs.h
<<_ACEOF
23966 #define HAVE_STD__OSTREAM 1
23971 wxUSE_STD_IOSTREAM
=no
23975 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23976 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23977 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23978 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23979 { (exit 1); exit 1; }; }
23981 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23982 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23987 if test "$wxUSE_STL" = "yes"; then
23988 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23989 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23990 cat >conftest.
$ac_ext <<_ACEOF
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23997 #include <functional>
23998 #include <algorithm>
24004 std::vector<int> moo;
24005 std::list<int> foo;
24006 std::vector<int>::iterator it =
24007 std::find_if(moo.begin(), moo.end(),
24008 std::bind2nd(std::less<int>(), 3));
24013 rm -f conftest.
$ac_objext
24014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24015 (eval $ac_compile) 2>conftest.er1
24017 grep -v '^ *+' conftest.er1
>conftest.err
24019 cat conftest.err
>&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } &&
24022 { ac_try
='test -z "$ac_cxx_werror_flag"
24023 || test ! -s conftest.err'
24024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24025 (eval $ac_try) 2>&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; } &&
24029 { ac_try
='test -s conftest.$ac_objext'
24030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24031 (eval $ac_try) 2>&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); }; }; then
24035 echo "$as_me:$LINENO: result: yes" >&5
24036 echo "${ECHO_T}yes" >&6
24038 echo "$as_me: failed program was:" >&5
24039 sed 's/^/| /' conftest.
$ac_ext >&5
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24043 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24044 echo "$as_me: error: Basic STL functionality missing" >&2;}
24045 { (exit 1); exit 1; }; }
24047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24049 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24050 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24051 cat >conftest.
$ac_ext <<_ACEOF
24054 cat confdefs.h
>>conftest.
$ac_ext
24055 cat >>conftest.
$ac_ext <<_ACEOF
24056 /* end confdefs.h. */
24061 std::string foo, bar;
24063 foo.compare(1, 1, bar);
24064 foo.compare(1, 1, bar, 1, 1);
24066 foo.compare(1, 1, "");
24067 foo.compare(1, 1, "", 2);
24072 rm -f conftest.
$ac_objext
24073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24074 (eval $ac_compile) 2>conftest.er1
24076 grep -v '^ *+' conftest.er1
>conftest.err
24078 cat conftest.err
>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try
='test -z "$ac_cxx_werror_flag"
24082 || test ! -s conftest.err'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; } &&
24088 { ac_try
='test -s conftest.$ac_objext'
24089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24090 (eval $ac_try) 2>&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); }; }; then
24094 echo "$as_me:$LINENO: result: yes" >&5
24095 echo "${ECHO_T}yes" >&6
24096 cat >>confdefs.h
<<\_ACEOF
24097 #define HAVE_STD_STRING_COMPARE 1
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.
$ac_ext >&5
24104 echo "$as_me:$LINENO: result: no" >&5
24105 echo "${ECHO_T}no" >&6
24107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24109 if test "${ac_cv_header_hash_map+set}" = set; then
24110 echo "$as_me:$LINENO: checking for hash_map" >&5
24111 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24112 if test "${ac_cv_header_hash_map+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24116 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24118 # Is the header compilable?
24119 echo "$as_me:$LINENO: checking hash_map usability" >&5
24120 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24121 cat >conftest.
$ac_ext <<_ACEOF
24124 cat confdefs.h
>>conftest.
$ac_ext
24125 cat >>conftest.
$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127 $ac_includes_default
24128 #include <hash_map>
24130 rm -f conftest.
$ac_objext
24131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24132 (eval $ac_compile) 2>conftest.er1
24134 grep -v '^ *+' conftest.er1
>conftest.err
24136 cat conftest.err
>&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } &&
24139 { ac_try
='test -z "$ac_cxx_werror_flag"
24140 || test ! -s conftest.err'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; } &&
24146 { ac_try
='test -s conftest.$ac_objext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 ac_header_compiler
=yes
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.
$ac_ext >&5
24157 ac_header_compiler
=no
24159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24161 echo "${ECHO_T}$ac_header_compiler" >&6
24163 # Is the header present?
24164 echo "$as_me:$LINENO: checking hash_map presence" >&5
24165 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24166 cat >conftest.
$ac_ext <<_ACEOF
24169 cat confdefs.h
>>conftest.
$ac_ext
24170 cat >>conftest.
$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172 #include <hash_map>
24174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24177 grep -v '^ *+' conftest.er1
>conftest.err
24179 cat conftest.err
>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } >/dev
/null
; then
24182 if test -s conftest.err
; then
24183 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24184 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24191 if test -z "$ac_cpp_err"; then
24192 ac_header_preproc
=yes
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.
$ac_ext >&5
24197 ac_header_preproc
=no
24199 rm -f conftest.err conftest.
$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24201 echo "${ECHO_T}$ac_header_preproc" >&6
24203 # So? What about this header?
24204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24206 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24207 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24208 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24209 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24210 ac_header_preproc
=yes
24213 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24214 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24216 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24217 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24218 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24219 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24220 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24221 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24222 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24223 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24224 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24227 ## ----------------------------------------- ##
24228 ## Report this to wx-dev@lists.wxwidgets.org ##
24229 ## ----------------------------------------- ##
24232 sed "s/^/$as_me: WARNING: /" >&2
24235 echo "$as_me:$LINENO: checking for hash_map" >&5
24236 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24237 if test "${ac_cv_header_hash_map+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 ac_cv_header_hash_map
=$ac_header_preproc
24242 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24243 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24246 if test $ac_cv_header_hash_map = yes; then
24247 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24248 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24249 cat >conftest.
$ac_ext <<_ACEOF
24252 cat confdefs.h
>>conftest.
$ac_ext
24253 cat >>conftest.
$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255 #include <hash_map>
24256 #include <hash_set>
24260 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24261 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24266 rm -f conftest.
$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24270 grep -v '^ *+' conftest.er1
>conftest.err
24272 cat conftest.err
>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try
='test -z "$ac_cxx_werror_flag"
24276 || test ! -s conftest.err'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; } &&
24282 { ac_try
='test -s conftest.$ac_objext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288 echo "$as_me:$LINENO: result: yes" >&5
24289 echo "${ECHO_T}yes" >&6
24290 cat >>confdefs.h
<<\_ACEOF
24291 #define HAVE_HASH_MAP 1
24294 cat >>confdefs.h
<<\_ACEOF
24295 #define HAVE_STD_HASH_MAP 1
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.
$ac_ext >&5
24302 echo "$as_me:$LINENO: result: no" >&5
24303 echo "${ECHO_T}no" >&6
24305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24311 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24312 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24313 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24314 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24317 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24318 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24320 # Is the header compilable?
24321 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24322 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24323 cat >conftest.
$ac_ext <<_ACEOF
24326 cat confdefs.h
>>conftest.
$ac_ext
24327 cat >>conftest.
$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 #include <ext/hash_map>
24332 rm -f conftest.
$ac_objext
24333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24334 (eval $ac_compile) 2>conftest.er1
24336 grep -v '^ *+' conftest.er1
>conftest.err
24338 cat conftest.err
>&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } &&
24341 { ac_try
='test -z "$ac_cxx_werror_flag"
24342 || test ! -s conftest.err'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; } &&
24348 { ac_try
='test -s conftest.$ac_objext'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; }; then
24354 ac_header_compiler
=yes
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.
$ac_ext >&5
24359 ac_header_compiler
=no
24361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24363 echo "${ECHO_T}$ac_header_compiler" >&6
24365 # Is the header present?
24366 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24367 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24368 cat >conftest.
$ac_ext <<_ACEOF
24371 cat confdefs.h
>>conftest.
$ac_ext
24372 cat >>conftest.
$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24374 #include <ext/hash_map>
24376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24377 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24379 grep -v '^ *+' conftest.er1
>conftest.err
24381 cat conftest.err
>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } >/dev
/null
; then
24384 if test -s conftest.err
; then
24385 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24386 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24393 if test -z "$ac_cpp_err"; then
24394 ac_header_preproc
=yes
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.
$ac_ext >&5
24399 ac_header_preproc
=no
24401 rm -f conftest.err conftest.
$ac_ext
24402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24403 echo "${ECHO_T}$ac_header_preproc" >&6
24405 # So? What about this header?
24406 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24408 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24409 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24410 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24411 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24412 ac_header_preproc
=yes
24415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24416 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24418 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24419 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24420 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24421 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24422 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24423 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24424 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24425 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24426 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24429 ## ----------------------------------------- ##
24430 ## Report this to wx-dev@lists.wxwidgets.org ##
24431 ## ----------------------------------------- ##
24434 sed "s/^/$as_me: WARNING: /" >&2
24437 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24438 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24439 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24442 ac_cv_header_ext_hash_map
=$ac_header_preproc
24444 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24445 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24448 if test $ac_cv_header_ext_hash_map = yes; then
24449 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24450 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24451 cat >conftest.
$ac_ext <<_ACEOF
24454 cat confdefs.h
>>conftest.
$ac_ext
24455 cat >>conftest.
$ac_ext <<_ACEOF
24456 /* end confdefs.h. */
24457 #include <ext/hash_map>
24458 #include <ext/hash_set>
24462 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24463 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24468 rm -f conftest.
$ac_objext
24469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24470 (eval $ac_compile) 2>conftest.er1
24472 grep -v '^ *+' conftest.er1
>conftest.err
24474 cat conftest.err
>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } &&
24477 { ac_try
='test -z "$ac_cxx_werror_flag"
24478 || test ! -s conftest.err'
24479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480 (eval $ac_try) 2>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; } &&
24484 { ac_try
='test -s conftest.$ac_objext'
24485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486 (eval $ac_try) 2>&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; }; then
24490 echo "$as_me:$LINENO: result: yes" >&5
24491 echo "${ECHO_T}yes" >&6
24492 cat >>confdefs.h
<<\_ACEOF
24493 #define HAVE_EXT_HASH_MAP 1
24496 cat >>confdefs.h
<<\_ACEOF
24497 #define HAVE_GNU_CXX_HASH_MAP 1
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.
$ac_ext >&5
24504 echo "$as_me:$LINENO: result: no" >&5
24505 echo "${ECHO_T}no" >&6
24507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24516 /usr/local/include \
24518 /usr/Motif-2.1/include \
24519 /usr/Motif-1.2/include \
24520 /usr/include/Motif1.2 \
24523 /usr/openwin/include \
24527 /usr/X11R6/include \
24528 /usr/X11R6.4/include \
24529 /usr/X11R5/include \
24530 /usr/X11R4/include \
24532 /usr/include/X11R6 \
24533 /usr/include/X11R5 \
24534 /usr/include/X11R4 \
24536 /usr/local/X11R6/include \
24537 /usr/local/X11R5/include \
24538 /usr/local/X11R4/include \
24540 /usr/local/include/X11R6 \
24541 /usr/local/include/X11R5 \
24542 /usr/local/include/X11R4 \
24546 /usr/local/X11/include \
24547 /usr/local/include/X11 \
24549 /usr/XFree86/include/X11 \
24552 /usr/openwin/share/include"
24554 echo "$as_me:$LINENO: checking for libraries directory" >&5
24555 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24559 if test "${wx_cv_std_libpath+set}" = set; then
24560 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24564 for e
in a so sl dylib dll.a
; do
24566 if test -f $libc; then
24569 cat >conftest.
$ac_ext <<_ACEOF
24570 int main() { return 0; }
24572 rm -f conftest.
$ac_objext conftest
$ac_exeext
24573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24574 (eval $ac_link) 2>conftest.er1
24576 grep -v '^ *+' conftest.er1
>conftest.err
24578 cat conftest.err
>&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } &&
24581 { ac_try
='test -z "$ac_cxx_werror_flag"
24582 || test ! -s conftest.err'
24583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584 (eval $ac_try) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; } &&
24588 { ac_try
='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.
$ac_ext >&5
24600 rm -f conftest.err conftest.
$ac_objext \
24601 conftest
$ac_exeext conftest.
$ac_ext
24603 if test "x$wx_cv_std_libpath" != "x"; then
24609 if test "x$wx_cv_std_libpath" = "x"; then
24610 wx_cv_std_libpath
="lib"
24619 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24620 wx_cv_std_libpath
="lib/64"
24622 wx_cv_std_libpath
="lib"
24627 if test "$ac_cv_sizeof_void_p" = 8 -a \
24628 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24629 wx_cv_std_libpath
="lib64"
24631 wx_cv_std_libpath
="lib"
24636 wx_cv_std_libpath
="lib";
24640 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24641 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24643 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24645 if test "$build" != "$host" -a "$GCC" = yes; then
24646 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24647 cross_root
=`dirname $cross_root`
24648 cross_root
=`dirname $cross_root`
24650 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24651 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24652 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24654 if test -z "$PKG_CONFIG_PATH"; then
24655 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24656 export PKG_CONFIG_PATH
24659 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24662 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24664 if test -f "$ac_dir/X11/Intrinsic.h"; then
24665 ac_find_includes
=$ac_dir
24670 x_includes
=$ac_find_includes
24672 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24675 for ac_dir
in $SEARCH_LIB;
24677 for ac_extension
in a so sl dylib dll.a
; do
24678 if test -f "$ac_dir/libXt.$ac_extension"; then
24679 ac_find_libraries
=$ac_dir
24685 x_libraries
=$ac_find_libraries
24691 cat >confcache
<<\_ACEOF
24692 # This file is a shell script that caches the results of configure
24693 # tests run on this system so they can be shared between configure
24694 # scripts and configure runs, see configure's option --config-cache.
24695 # It is not useful on other systems. If it contains results you don't
24696 # want to keep, you may remove or edit it.
24698 # config.status only pays attention to the cache file if you give it
24699 # the --recheck option to rerun configure.
24701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24703 # following values.
24707 # The following way of writing the cache mishandles newlines in values,
24708 # but we know of no workaround that is simple, portable, and efficient.
24709 # So, don't put newlines in cache variables' values.
24710 # Ultrix sh set writes to stderr and can't be redirected directly,
24711 # and sets the high bit in the cache file unless we assign to the vars.
24714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24716 # `set' does not quote correctly, so add quotes (double-quote
24717 # substitution turns \\\\ into \\, and sed turns \\ into \).
24720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24723 # `set' quotes correctly as required by POSIX, so do not add quotes.
24725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24736 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24737 if test -w $cache_file; then
24738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24739 cat confcache
>$cache_file
24741 echo "not updating unwritable cache $cache_file"
24746 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24747 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24748 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24749 if test "${wx_cv_lib_glibc21+set}" = set; then
24750 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 cat >conftest.
$ac_ext <<_ACEOF
24756 cat confdefs.h
>>conftest.
$ac_ext
24757 cat >>conftest.
$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 #include <features.h>
24764 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24772 rm -f conftest.
$ac_objext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24774 (eval $ac_compile) 2>conftest.er1
24776 grep -v '^ *+' conftest.er1
>conftest.err
24778 cat conftest.err
>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try
='test -z "$ac_cxx_werror_flag"
24782 || test ! -s conftest.err'
24783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 (eval $ac_try) 2>&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); }; } &&
24788 { ac_try
='test -s conftest.$ac_objext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24795 wx_cv_lib_glibc21
=yes
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.
$ac_ext >&5
24802 wx_cv_lib_glibc21
=no
24806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24809 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24810 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24811 if test "$wx_cv_lib_glibc21" = "yes"; then
24812 cat >>confdefs.h
<<\_ACEOF
24813 #define wxHAVE_GLIBC2 1
24819 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24820 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24821 cat >>confdefs.h
<<\_ACEOF
24822 #define _GNU_SOURCE 1
24833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24834 echo "$as_me:$LINENO: checking for $ac_func" >&5
24835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24836 if eval "test \"\${$as_ac_var+set}\" = set"; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 cat >conftest.
$ac_ext <<_ACEOF
24842 cat confdefs.h
>>conftest.
$ac_ext
24843 cat >>conftest.
$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24847 #define $ac_func innocuous_$ac_func
24849 /* System header to define __stub macros and hopefully few prototypes,
24850 which can conflict with char $ac_func (); below.
24851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24852 <limits.h> exists even on freestanding compilers. */
24855 # include <limits.h>
24857 # include <assert.h>
24862 /* Override any gcc2 internal prototype to avoid an error. */
24867 /* We use char because int might match the return type of a gcc2
24868 builtin and then its argument prototype would still apply. */
24870 /* The GNU C library defines this for functions which it implements
24871 to always fail with ENOSYS. Some functions are actually named
24872 something starting with __ and the normal name is an alias. */
24873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24876 char (*f) () = $ac_func;
24885 return f != $ac_func;
24890 rm -f conftest.
$ac_objext conftest
$ac_exeext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24892 (eval $ac_link) 2>conftest.er1
24894 grep -v '^ *+' conftest.er1
>conftest.err
24896 cat conftest.err
>&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try
='test -z "$ac_cxx_werror_flag"
24900 || test ! -s conftest.err'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try
='test -s conftest$ac_exeext'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; }; then
24912 eval "$as_ac_var=yes"
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.
$ac_ext >&5
24917 eval "$as_ac_var=no"
24919 rm -f conftest.err conftest.
$ac_objext \
24920 conftest
$ac_exeext conftest.
$ac_ext
24922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24924 if test `eval echo '${'$as_ac_var'}'` = yes; then
24925 cat >>confdefs.h
<<_ACEOF
24926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24933 for ac_func
in floor
24935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24936 echo "$as_me:$LINENO: checking for $ac_func" >&5
24937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24938 if eval "test \"\${$as_ac_var+set}\" = set"; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 cat >conftest.
$ac_ext <<_ACEOF
24944 cat confdefs.h
>>conftest.
$ac_ext
24945 cat >>conftest.
$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24949 #define $ac_func innocuous_$ac_func
24951 /* System header to define __stub macros and hopefully few prototypes,
24952 which can conflict with char $ac_func (); below.
24953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24954 <limits.h> exists even on freestanding compilers. */
24957 # include <limits.h>
24959 # include <assert.h>
24964 /* Override any gcc2 internal prototype to avoid an error. */
24969 /* We use char because int might match the return type of a gcc2
24970 builtin and then its argument prototype would still apply. */
24972 /* The GNU C library defines this for functions which it implements
24973 to always fail with ENOSYS. Some functions are actually named
24974 something starting with __ and the normal name is an alias. */
24975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24978 char (*f) () = $ac_func;
24987 return f != $ac_func;
24992 rm -f conftest.
$ac_objext conftest
$ac_exeext
24993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24994 (eval $ac_link) 2>conftest.er1
24996 grep -v '^ *+' conftest.er1
>conftest.err
24998 cat conftest.err
>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } &&
25001 { ac_try
='test -z "$ac_cxx_werror_flag"
25002 || test ! -s conftest.err'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; } &&
25008 { ac_try
='test -s conftest$ac_exeext'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; }; then
25014 eval "$as_ac_var=yes"
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.
$ac_ext >&5
25019 eval "$as_ac_var=no"
25021 rm -f conftest.err conftest.
$ac_objext \
25022 conftest
$ac_exeext conftest.
$ac_ext
25024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25026 if test `eval echo '${'$as_ac_var'}'` = yes; then
25027 cat >>confdefs.h
<<_ACEOF
25028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25034 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25035 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25036 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25037 echo "$as_me:$LINENO: result: yes" >&5
25038 echo "${ECHO_T}yes" >&6
25040 echo "$as_me:$LINENO: result: no" >&5
25041 echo "${ECHO_T}no" >&6
25043 # use different functions to avoid configure caching
25049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25050 echo "$as_me:$LINENO: checking for $ac_func" >&5
25051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25052 if eval "test \"\${$as_ac_var+set}\" = set"; then
25053 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 cat >conftest.
$ac_ext <<_ACEOF
25058 cat confdefs.h
>>conftest.
$ac_ext
25059 cat >>conftest.
$ac_ext <<_ACEOF
25060 /* end confdefs.h. */
25061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25063 #define $ac_func innocuous_$ac_func
25065 /* System header to define __stub macros and hopefully few prototypes,
25066 which can conflict with char $ac_func (); below.
25067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25068 <limits.h> exists even on freestanding compilers. */
25071 # include <limits.h>
25073 # include <assert.h>
25078 /* Override any gcc2 internal prototype to avoid an error. */
25083 /* We use char because int might match the return type of a gcc2
25084 builtin and then its argument prototype would still apply. */
25086 /* The GNU C library defines this for functions which it implements
25087 to always fail with ENOSYS. Some functions are actually named
25088 something starting with __ and the normal name is an alias. */
25089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25092 char (*f) () = $ac_func;
25101 return f != $ac_func;
25106 rm -f conftest.
$ac_objext conftest
$ac_exeext
25107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25108 (eval $ac_link) 2>conftest.er1
25110 grep -v '^ *+' conftest.er1
>conftest.err
25112 cat conftest.err
>&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } &&
25115 { ac_try
='test -z "$ac_cxx_werror_flag"
25116 || test ! -s conftest.err'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; } &&
25122 { ac_try
='test -s conftest$ac_exeext'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; }; then
25128 eval "$as_ac_var=yes"
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.
$ac_ext >&5
25133 eval "$as_ac_var=no"
25135 rm -f conftest.err conftest.
$ac_objext \
25136 conftest
$ac_exeext conftest.
$ac_ext
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25140 if test `eval echo '${'$as_ac_var'}'` = yes; then
25141 cat >>confdefs.h
<<_ACEOF
25142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25149 for ac_func
in ceil
25151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25152 echo "$as_me:$LINENO: checking for $ac_func" >&5
25153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25154 if eval "test \"\${$as_ac_var+set}\" = set"; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 cat >conftest.
$ac_ext <<_ACEOF
25160 cat confdefs.h
>>conftest.
$ac_ext
25161 cat >>conftest.
$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25165 #define $ac_func innocuous_$ac_func
25167 /* System header to define __stub macros and hopefully few prototypes,
25168 which can conflict with char $ac_func (); below.
25169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25170 <limits.h> exists even on freestanding compilers. */
25173 # include <limits.h>
25175 # include <assert.h>
25180 /* Override any gcc2 internal prototype to avoid an error. */
25185 /* We use char because int might match the return type of a gcc2
25186 builtin and then its argument prototype would still apply. */
25188 /* The GNU C library defines this for functions which it implements
25189 to always fail with ENOSYS. Some functions are actually named
25190 something starting with __ and the normal name is an alias. */
25191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25194 char (*f) () = $ac_func;
25203 return f != $ac_func;
25208 rm -f conftest.
$ac_objext conftest
$ac_exeext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25210 (eval $ac_link) 2>conftest.er1
25212 grep -v '^ *+' conftest.er1
>conftest.err
25214 cat conftest.err
>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try
='test -z "$ac_cxx_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try
='test -s conftest$ac_exeext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25230 eval "$as_ac_var=yes"
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.
$ac_ext >&5
25235 eval "$as_ac_var=no"
25237 rm -f conftest.err conftest.
$ac_objext \
25238 conftest
$ac_exeext conftest.
$ac_ext
25240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25242 if test `eval echo '${'$as_ac_var'}'` = yes; then
25243 cat >>confdefs.h
<<_ACEOF
25244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25250 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25251 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25252 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25253 echo "$as_me:$LINENO: result: yes" >&5
25254 echo "${ECHO_T}yes" >&6
25256 echo "$as_me:$LINENO: result: no" >&5
25257 echo "${ECHO_T}no" >&6
25258 # not sure we should warn the user, crash, etc.
25264 if test "$wxUSE_REGEX" != "no"; then
25265 cat >>confdefs.h
<<\_ACEOF
25266 #define wxUSE_REGEX 1
25270 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25271 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25272 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25273 wxUSE_REGEX
=builtin
25276 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25277 if test "${ac_cv_header_regex_h+set}" = set; then
25278 echo "$as_me:$LINENO: checking for regex.h" >&5
25279 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25280 if test "${ac_cv_header_regex_h+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25284 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25286 # Is the header compilable?
25287 echo "$as_me:$LINENO: checking regex.h usability" >&5
25288 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25289 cat >conftest.
$ac_ext <<_ACEOF
25292 cat confdefs.h
>>conftest.
$ac_ext
25293 cat >>conftest.
$ac_ext <<_ACEOF
25294 /* end confdefs.h. */
25295 $ac_includes_default
25298 rm -f conftest.
$ac_objext
25299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25300 (eval $ac_compile) 2>conftest.er1
25302 grep -v '^ *+' conftest.er1
>conftest.err
25304 cat conftest.err
>&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } &&
25307 { ac_try
='test -z "$ac_cxx_werror_flag"
25308 || test ! -s conftest.err'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; } &&
25314 { ac_try
='test -s conftest.$ac_objext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25320 ac_header_compiler
=yes
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25325 ac_header_compiler
=no
25327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25329 echo "${ECHO_T}$ac_header_compiler" >&6
25331 # Is the header present?
25332 echo "$as_me:$LINENO: checking regex.h presence" >&5
25333 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25334 cat >conftest.
$ac_ext <<_ACEOF
25337 cat confdefs.h
>>conftest.
$ac_ext
25338 cat >>conftest.
$ac_ext <<_ACEOF
25339 /* end confdefs.h. */
25342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25345 grep -v '^ *+' conftest.er1
>conftest.err
25347 cat conftest.err
>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } >/dev
/null
; then
25350 if test -s conftest.err
; then
25351 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25352 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25359 if test -z "$ac_cpp_err"; then
25360 ac_header_preproc
=yes
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.
$ac_ext >&5
25365 ac_header_preproc
=no
25367 rm -f conftest.err conftest.
$ac_ext
25368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25369 echo "${ECHO_T}$ac_header_preproc" >&6
25371 # So? What about this header?
25372 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25374 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25375 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25376 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25377 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25378 ac_header_preproc
=yes
25381 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25382 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25383 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25384 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25385 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25386 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25387 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25388 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25389 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25390 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25391 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25392 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25395 ## ----------------------------------------- ##
25396 ## Report this to wx-dev@lists.wxwidgets.org ##
25397 ## ----------------------------------------- ##
25400 sed "s/^/$as_me: WARNING: /" >&2
25403 echo "$as_me:$LINENO: checking for regex.h" >&5
25404 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25405 if test "${ac_cv_header_regex_h+set}" = set; then
25406 echo $ECHO_N "(cached) $ECHO_C" >&6
25408 ac_cv_header_regex_h
=$ac_header_preproc
25410 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25411 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25414 if test $ac_cv_header_regex_h = yes; then
25417 for ac_func
in regcomp re_search
25419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25420 echo "$as_me:$LINENO: checking for $ac_func" >&5
25421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25422 if eval "test \"\${$as_ac_var+set}\" = set"; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 cat >conftest.
$ac_ext <<_ACEOF
25428 cat confdefs.h
>>conftest.
$ac_ext
25429 cat >>conftest.
$ac_ext <<_ACEOF
25430 /* end confdefs.h. */
25431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25433 #define $ac_func innocuous_$ac_func
25435 /* System header to define __stub macros and hopefully few prototypes,
25436 which can conflict with char $ac_func (); below.
25437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25438 <limits.h> exists even on freestanding compilers. */
25441 # include <limits.h>
25443 # include <assert.h>
25448 /* Override any gcc2 internal prototype to avoid an error. */
25453 /* We use char because int might match the return type of a gcc2
25454 builtin and then its argument prototype would still apply. */
25456 /* The GNU C library defines this for functions which it implements
25457 to always fail with ENOSYS. Some functions are actually named
25458 something starting with __ and the normal name is an alias. */
25459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25462 char (*f) () = $ac_func;
25471 return f != $ac_func;
25476 rm -f conftest.
$ac_objext conftest
$ac_exeext
25477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25478 (eval $ac_link) 2>conftest.er1
25480 grep -v '^ *+' conftest.er1
>conftest.err
25482 cat conftest.err
>&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); } &&
25485 { ac_try
='test -z "$ac_cxx_werror_flag"
25486 || test ! -s conftest.err'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; } &&
25492 { ac_try
='test -s conftest$ac_exeext'
25493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25494 (eval $ac_try) 2>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); }; }; then
25498 eval "$as_ac_var=yes"
25500 echo "$as_me: failed program was:" >&5
25501 sed 's/^/| /' conftest.
$ac_ext >&5
25503 eval "$as_ac_var=no"
25505 rm -f conftest.err conftest.
$ac_objext \
25506 conftest
$ac_exeext conftest.
$ac_ext
25508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25510 if test `eval echo '${'$as_ac_var'}'` = yes; then
25511 cat >>confdefs.h
<<_ACEOF
25512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25522 if test "x$ac_cv_func_regcomp" != "xyes"; then
25523 if test "$wxUSE_REGEX" = "sys" ; then
25524 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25525 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25526 { (exit 1); exit 1; }; }
25528 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25529 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25530 wxUSE_REGEX
=builtin
25534 cat >>confdefs.h
<<\_ACEOF
25535 #define WX_NO_REGEX_ADVANCED 1
25544 if test "$wxUSE_ZLIB" != "no" ; then
25545 cat >>confdefs.h
<<\_ACEOF
25546 #define wxUSE_ZLIB 1
25550 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25551 if test "$USE_DARWIN" = 1; then
25552 system_zlib_h_ok
="yes"
25554 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25555 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25556 if test "${ac_cv_header_zlib_h+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 if test "$cross_compiling" = yes; then
25560 unset ac_cv_header_zlib_h
25563 cat >conftest.
$ac_ext <<_ACEOF
25566 cat confdefs.h
>>conftest.
$ac_ext
25567 cat >>conftest.
$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25575 FILE *f=fopen("conftestval", "w");
25578 ZLIB_VERSION[0] == '1' &&
25579 (ZLIB_VERSION[2] > '1' ||
25580 (ZLIB_VERSION[2] == '1' &&
25581 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25586 rm -f conftest
$ac_exeext
25587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25588 (eval $ac_link) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_cv_header_zlib_h
=`cat conftestval`
25599 echo "$as_me: program exited with status $ac_status" >&5
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.
$ac_ext >&5
25603 ( exit $ac_status )
25604 ac_cv_header_zlib_h
=no
25606 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25610 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25612 if test "${ac_cv_header_zlib_h+set}" = set; then
25613 echo "$as_me:$LINENO: checking for zlib.h" >&5
25614 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25615 if test "${ac_cv_header_zlib_h+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25621 # Is the header compilable?
25622 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25623 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25624 cat >conftest.
$ac_ext <<_ACEOF
25627 cat confdefs.h
>>conftest.
$ac_ext
25628 cat >>conftest.
$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 $ac_includes_default
25633 rm -f conftest.
$ac_objext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25635 (eval $ac_compile) 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try
='test -z "$ac_cxx_werror_flag"
25643 || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try
='test -s conftest.$ac_objext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_header_compiler
=yes
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_header_compiler
=no
25662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25664 echo "${ECHO_T}$ac_header_compiler" >&6
25666 # Is the header present?
25667 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25668 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25669 cat >conftest.
$ac_ext <<_ACEOF
25672 cat confdefs.h
>>conftest.
$ac_ext
25673 cat >>conftest.
$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25680 grep -v '^ *+' conftest.er1
>conftest.err
25682 cat conftest.err
>&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); } >/dev
/null
; then
25685 if test -s conftest.err
; then
25686 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25687 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25694 if test -z "$ac_cpp_err"; then
25695 ac_header_preproc
=yes
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.
$ac_ext >&5
25700 ac_header_preproc
=no
25702 rm -f conftest.err conftest.
$ac_ext
25703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25704 echo "${ECHO_T}$ac_header_preproc" >&6
25706 # So? What about this header?
25707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25709 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25710 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25712 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25713 ac_header_preproc
=yes
25716 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25717 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25718 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25719 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25720 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25721 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25722 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25723 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25724 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25725 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25726 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25727 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25730 ## ----------------------------------------- ##
25731 ## Report this to wx-dev@lists.wxwidgets.org ##
25732 ## ----------------------------------------- ##
25735 sed "s/^/$as_me: WARNING: /" >&2
25738 echo "$as_me:$LINENO: checking for zlib.h" >&5
25739 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25740 if test "${ac_cv_header_zlib_h+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 ac_cv_header_zlib_h
=$ac_header_preproc
25745 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25746 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25752 system_zlib_h_ok
=$ac_cv_header_zlib_h
25755 if test "$system_zlib_h_ok" = "yes"; then
25756 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25757 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25758 if test "${ac_cv_lib_z_deflate+set}" = set; then
25759 echo $ECHO_N "(cached) $ECHO_C" >&6
25761 ac_check_lib_save_LIBS
=$LIBS
25763 cat >conftest.
$ac_ext <<_ACEOF
25766 cat confdefs.h
>>conftest.
$ac_ext
25767 cat >>conftest.
$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25770 /* Override any gcc2 internal prototype to avoid an error. */
25774 /* We use char because int might match the return type of a gcc2
25775 builtin and then its argument prototype would still apply. */
25785 rm -f conftest.
$ac_objext conftest
$ac_exeext
25786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25787 (eval $ac_link) 2>conftest.er1
25789 grep -v '^ *+' conftest.er1
>conftest.err
25791 cat conftest.err
>&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try
='test -z "$ac_cxx_werror_flag"
25795 || test ! -s conftest.err'
25796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25797 (eval $ac_try) 2>&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); }; } &&
25801 { ac_try
='test -s conftest$ac_exeext'
25802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25803 (eval $ac_try) 2>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); }; }; then
25807 ac_cv_lib_z_deflate
=yes
25809 echo "$as_me: failed program was:" >&5
25810 sed 's/^/| /' conftest.
$ac_ext >&5
25812 ac_cv_lib_z_deflate
=no
25814 rm -f conftest.err conftest.
$ac_objext \
25815 conftest
$ac_exeext conftest.
$ac_ext
25816 LIBS
=$ac_check_lib_save_LIBS
25818 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25819 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25820 if test $ac_cv_lib_z_deflate = yes; then
25826 if test "x$ZLIB_LINK" = "x" ; then
25827 if test "$wxUSE_ZLIB" = "sys" ; then
25828 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25829 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25830 { (exit 1); exit 1; }; }
25832 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25833 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25844 if test "$wxUSE_LIBPNG" != "no" ; then
25845 cat >>confdefs.h
<<\_ACEOF
25846 #define wxUSE_LIBPNG 1
25850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25852 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25856 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25857 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25858 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25859 wxUSE_LIBPNG
=builtin
25862 if test "$wxUSE_MGL" != 1 ; then
25863 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25864 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25865 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25866 if test "${ac_cv_header_png_h+set}" = set; then
25867 echo $ECHO_N "(cached) $ECHO_C" >&6
25869 if test "$cross_compiling" = yes; then
25870 unset ac_cv_header_png_h
25873 cat >conftest.
$ac_ext <<_ACEOF
25876 cat confdefs.h
>>conftest.
$ac_ext
25877 cat >>conftest.
$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25885 FILE *f=fopen("conftestval", "w");
25888 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25893 rm -f conftest
$ac_exeext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25895 (eval $ac_link) 2>&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25904 ac_cv_header_png_h
=`cat conftestval`
25906 echo "$as_me: program exited with status $ac_status" >&5
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.
$ac_ext >&5
25910 ( exit $ac_status )
25911 ac_cv_header_png_h
=no
25913 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25917 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25918 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25919 if test "${ac_cv_header_png_h+set}" = set; then
25920 echo "$as_me:$LINENO: checking for png.h" >&5
25921 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25922 if test "${ac_cv_header_png_h+set}" = set; then
25923 echo $ECHO_N "(cached) $ECHO_C" >&6
25925 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25926 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25928 # Is the header compilable?
25929 echo "$as_me:$LINENO: checking png.h usability" >&5
25930 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25931 cat >conftest.
$ac_ext <<_ACEOF
25934 cat confdefs.h
>>conftest.
$ac_ext
25935 cat >>conftest.
$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937 $ac_includes_default
25940 rm -f conftest.
$ac_objext
25941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25942 (eval $ac_compile) 2>conftest.er1
25944 grep -v '^ *+' conftest.er1
>conftest.err
25946 cat conftest.err
>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } &&
25949 { ac_try
='test -z "$ac_cxx_werror_flag"
25950 || test ! -s conftest.err'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; } &&
25956 { ac_try
='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 ac_header_compiler
=yes
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.
$ac_ext >&5
25967 ac_header_compiler
=no
25969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25971 echo "${ECHO_T}$ac_header_compiler" >&6
25973 # Is the header present?
25974 echo "$as_me:$LINENO: checking png.h presence" >&5
25975 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25976 cat >conftest.
$ac_ext <<_ACEOF
25979 cat confdefs.h
>>conftest.
$ac_ext
25980 cat >>conftest.
$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25987 grep -v '^ *+' conftest.er1
>conftest.err
25989 cat conftest.err
>&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); } >/dev
/null
; then
25992 if test -s conftest.err
; then
25993 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25994 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26001 if test -z "$ac_cpp_err"; then
26002 ac_header_preproc
=yes
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.
$ac_ext >&5
26007 ac_header_preproc
=no
26009 rm -f conftest.err conftest.
$ac_ext
26010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26011 echo "${ECHO_T}$ac_header_preproc" >&6
26013 # So? What about this header?
26014 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26016 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26017 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26018 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26019 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26020 ac_header_preproc
=yes
26023 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26024 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26025 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26026 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26027 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26028 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26029 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26030 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26031 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26032 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26033 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26034 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26037 ## ----------------------------------------- ##
26038 ## Report this to wx-dev@lists.wxwidgets.org ##
26039 ## ----------------------------------------- ##
26042 sed "s/^/$as_me: WARNING: /" >&2
26045 echo "$as_me:$LINENO: checking for png.h" >&5
26046 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26047 if test "${ac_cv_header_png_h+set}" = set; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26050 ac_cv_header_png_h
=$ac_header_preproc
26052 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26053 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26059 if test "$ac_cv_header_png_h" = "yes"; then
26060 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26061 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26062 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 ac_check_lib_save_LIBS
=$LIBS
26066 LIBS
="-lpng -lz -lm $LIBS"
26067 cat >conftest.
$ac_ext <<_ACEOF
26070 cat confdefs.h
>>conftest.
$ac_ext
26071 cat >>conftest.
$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26074 /* Override any gcc2 internal prototype to avoid an error. */
26078 /* We use char because int might match the return type of a gcc2
26079 builtin and then its argument prototype would still apply. */
26080 char png_check_sig ();
26089 rm -f conftest.
$ac_objext conftest
$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>conftest.er1
26093 grep -v '^ *+' conftest.er1
>conftest.err
26095 cat conftest.err
>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try
='test -z "$ac_cxx_werror_flag"
26099 || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try
='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 ac_cv_lib_png_png_check_sig
=yes
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.
$ac_ext >&5
26116 ac_cv_lib_png_png_check_sig
=no
26118 rm -f conftest.err conftest.
$ac_objext \
26119 conftest
$ac_exeext conftest.
$ac_ext
26120 LIBS
=$ac_check_lib_save_LIBS
26122 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26123 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26124 if test $ac_cv_lib_png_png_check_sig = yes; then
26125 PNG_LINK
=" -lpng -lz"
26130 if test "x$PNG_LINK" = "x" ; then
26131 if test "$wxUSE_LIBPNG" = "sys" ; then
26132 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26133 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26134 { (exit 1); exit 1; }; }
26136 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26137 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26138 wxUSE_LIBPNG
=builtin
26146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26151 if test "$wxUSE_LIBJPEG" != "no" ; then
26152 cat >>confdefs.h
<<\_ACEOF
26153 #define wxUSE_LIBJPEG 1
26157 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26158 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26159 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26163 if test "$wxUSE_MGL" != 1 ; then
26164 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26165 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26166 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26167 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 cat >conftest.
$ac_ext <<_ACEOF
26173 cat confdefs.h
>>conftest.
$ac_ext
26174 cat >>conftest.
$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26177 #undef HAVE_STDLIB_H
26179 #include <jpeglib.h>
26190 rm -f conftest.
$ac_objext
26191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26192 (eval $ac_compile) 2>conftest.er1
26194 grep -v '^ *+' conftest.er1
>conftest.err
26196 cat conftest.err
>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try
='test -z "$ac_cxx_werror_flag"
26200 || test ! -s conftest.err'
26201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202 (eval $ac_try) 2>&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); }; } &&
26206 { ac_try
='test -s conftest.$ac_objext'
26207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26208 (eval $ac_try) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); }; }; then
26212 ac_cv_header_jpeglib_h
=yes
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.
$ac_ext >&5
26217 ac_cv_header_jpeglib_h
=no
26220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26224 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26225 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26227 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26228 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26229 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26230 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 ac_check_lib_save_LIBS
=$LIBS
26234 LIBS
="-ljpeg $LIBS"
26235 cat >conftest.
$ac_ext <<_ACEOF
26238 cat confdefs.h
>>conftest.
$ac_ext
26239 cat >>conftest.
$ac_ext <<_ACEOF
26240 /* end confdefs.h. */
26242 /* Override any gcc2 internal prototype to avoid an error. */
26246 /* We use char because int might match the return type of a gcc2
26247 builtin and then its argument prototype would still apply. */
26248 char jpeg_read_header ();
26252 jpeg_read_header ();
26257 rm -f conftest.
$ac_objext conftest
$ac_exeext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26259 (eval $ac_link) 2>conftest.er1
26261 grep -v '^ *+' conftest.er1
>conftest.err
26263 cat conftest.err
>&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try
='test -z "$ac_cxx_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try
='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_jpeg_jpeg_read_header
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_cv_lib_jpeg_jpeg_read_header
=no
26286 rm -f conftest.err conftest.
$ac_objext \
26287 conftest
$ac_exeext conftest.
$ac_ext
26288 LIBS
=$ac_check_lib_save_LIBS
26290 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26291 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26292 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26293 JPEG_LINK
=" -ljpeg"
26298 if test "x$JPEG_LINK" = "x" ; then
26299 if test "$wxUSE_LIBJPEG" = "sys" ; then
26300 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26301 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26302 { (exit 1); exit 1; }; }
26304 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26305 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26306 wxUSE_LIBJPEG
=builtin
26317 TIFF_PREREQ_LINKS
=-lm
26318 if test "$wxUSE_LIBTIFF" != "no" ; then
26319 cat >>confdefs.h
<<\_ACEOF
26320 #define wxUSE_LIBTIFF 1
26324 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26325 if test "$wxUSE_LIBJPEG" = "sys"; then
26326 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26328 if test "$wxUSE_ZLIB" = "sys"; then
26329 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26331 if test "${ac_cv_header_tiffio_h+set}" = set; then
26332 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26333 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26334 if test "${ac_cv_header_tiffio_h+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26337 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26338 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26340 # Is the header compilable?
26341 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26342 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26343 cat >conftest.
$ac_ext <<_ACEOF
26346 cat confdefs.h
>>conftest.
$ac_ext
26347 cat >>conftest.
$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26349 $ac_includes_default
26350 #include <tiffio.h>
26352 rm -f conftest.
$ac_objext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26354 (eval $ac_compile) 2>conftest.er1
26356 grep -v '^ *+' conftest.er1
>conftest.err
26358 cat conftest.err
>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try
='test -z "$ac_cxx_werror_flag"
26362 || test ! -s conftest.err'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; } &&
26368 { ac_try
='test -s conftest.$ac_objext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26374 ac_header_compiler
=yes
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.
$ac_ext >&5
26379 ac_header_compiler
=no
26381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26383 echo "${ECHO_T}$ac_header_compiler" >&6
26385 # Is the header present?
26386 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26387 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26388 cat >conftest.
$ac_ext <<_ACEOF
26391 cat confdefs.h
>>conftest.
$ac_ext
26392 cat >>conftest.
$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394 #include <tiffio.h>
26396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26397 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26399 grep -v '^ *+' conftest.er1
>conftest.err
26401 cat conftest.err
>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } >/dev
/null
; then
26404 if test -s conftest.err
; then
26405 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26406 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26413 if test -z "$ac_cpp_err"; then
26414 ac_header_preproc
=yes
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.
$ac_ext >&5
26419 ac_header_preproc
=no
26421 rm -f conftest.err conftest.
$ac_ext
26422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26423 echo "${ECHO_T}$ac_header_preproc" >&6
26425 # So? What about this header?
26426 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26428 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26429 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26430 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26431 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26432 ac_header_preproc
=yes
26435 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26436 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26437 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26438 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26439 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26440 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26441 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26442 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26444 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26445 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26446 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26449 ## ----------------------------------------- ##
26450 ## Report this to wx-dev@lists.wxwidgets.org ##
26451 ## ----------------------------------------- ##
26454 sed "s/^/$as_me: WARNING: /" >&2
26457 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26458 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26459 if test "${ac_cv_header_tiffio_h+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 ac_cv_header_tiffio_h
=$ac_header_preproc
26464 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26465 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26468 if test $ac_cv_header_tiffio_h = yes; then
26470 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26471 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26472 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 ac_check_lib_save_LIBS
=$LIBS
26476 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26477 cat >conftest.
$ac_ext <<_ACEOF
26480 cat confdefs.h
>>conftest.
$ac_ext
26481 cat >>conftest.
$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26484 /* Override any gcc2 internal prototype to avoid an error. */
26488 /* We use char because int might match the return type of a gcc2
26489 builtin and then its argument prototype would still apply. */
26499 rm -f conftest.
$ac_objext conftest
$ac_exeext
26500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26501 (eval $ac_link) 2>conftest.er1
26503 grep -v '^ *+' conftest.er1
>conftest.err
26505 cat conftest.err
>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } &&
26508 { ac_try
='test -z "$ac_cxx_werror_flag"
26509 || test ! -s conftest.err'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; } &&
26515 { ac_try
='test -s conftest$ac_exeext'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; }; then
26521 ac_cv_lib_tiff_TIFFError
=yes
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.
$ac_ext >&5
26526 ac_cv_lib_tiff_TIFFError
=no
26528 rm -f conftest.err conftest.
$ac_objext \
26529 conftest
$ac_exeext conftest.
$ac_ext
26530 LIBS
=$ac_check_lib_save_LIBS
26532 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26533 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26534 if test $ac_cv_lib_tiff_TIFFError = yes; then
26535 TIFF_LINK
=" -ltiff"
26544 if test "x$TIFF_LINK" = "x" ; then
26545 if test "$wxUSE_LIBTIFF" = "sys" ; then
26546 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26547 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26548 { (exit 1); exit 1; }; }
26550 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26551 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26552 wxUSE_LIBTIFF
=builtin
26561 if test "$wxUSE_WCHAR_T" != "yes"; then
26562 if test "$wxUSE_EXPAT" != "no"; then
26563 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26564 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26567 if test "$wxUSE_XML" != "no"; then
26568 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26569 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26574 if test "$wxUSE_EXPAT" != "no"; then
26576 cat >>confdefs.h
<<\_ACEOF
26577 #define wxUSE_EXPAT 1
26580 cat >>confdefs.h
<<\_ACEOF
26581 #define wxUSE_XML 1
26585 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26586 if test "${ac_cv_header_expat_h+set}" = set; then
26587 echo "$as_me:$LINENO: checking for expat.h" >&5
26588 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26589 if test "${ac_cv_header_expat_h+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26593 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26595 # Is the header compilable?
26596 echo "$as_me:$LINENO: checking expat.h usability" >&5
26597 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26598 cat >conftest.
$ac_ext <<_ACEOF
26601 cat confdefs.h
>>conftest.
$ac_ext
26602 cat >>conftest.
$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 $ac_includes_default
26607 rm -f conftest.
$ac_objext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26609 (eval $ac_compile) 2>conftest.er1
26611 grep -v '^ *+' conftest.er1
>conftest.err
26613 cat conftest.err
>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try
='test -z "$ac_cxx_werror_flag"
26617 || test ! -s conftest.err'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; } &&
26623 { ac_try
='test -s conftest.$ac_objext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26629 ac_header_compiler
=yes
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.
$ac_ext >&5
26634 ac_header_compiler
=no
26636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26638 echo "${ECHO_T}$ac_header_compiler" >&6
26640 # Is the header present?
26641 echo "$as_me:$LINENO: checking expat.h presence" >&5
26642 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26643 cat >conftest.
$ac_ext <<_ACEOF
26646 cat confdefs.h
>>conftest.
$ac_ext
26647 cat >>conftest.
$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26654 grep -v '^ *+' conftest.er1
>conftest.err
26656 cat conftest.err
>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } >/dev
/null
; then
26659 if test -s conftest.err
; then
26660 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26661 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26668 if test -z "$ac_cpp_err"; then
26669 ac_header_preproc
=yes
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.
$ac_ext >&5
26674 ac_header_preproc
=no
26676 rm -f conftest.err conftest.
$ac_ext
26677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26678 echo "${ECHO_T}$ac_header_preproc" >&6
26680 # So? What about this header?
26681 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26683 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26684 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26686 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26687 ac_header_preproc
=yes
26690 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26691 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26692 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26693 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26694 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26695 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26697 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26699 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26701 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26704 ## ----------------------------------------- ##
26705 ## Report this to wx-dev@lists.wxwidgets.org ##
26706 ## ----------------------------------------- ##
26709 sed "s/^/$as_me: WARNING: /" >&2
26712 echo "$as_me:$LINENO: checking for expat.h" >&5
26713 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26714 if test "${ac_cv_header_expat_h+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 ac_cv_header_expat_h
=$ac_header_preproc
26719 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26720 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26723 if test $ac_cv_header_expat_h = yes; then
26728 if test "x$found_expat_h" = "x1"; then
26729 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26730 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26731 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 cat >conftest.
$ac_ext <<_ACEOF
26738 cat confdefs.h
>>conftest.
$ac_ext
26739 cat >>conftest.
$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26750 rm -f conftest.
$ac_objext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26752 (eval $ac_compile) 2>conftest.er1
26754 grep -v '^ *+' conftest.er1
>conftest.err
26756 cat conftest.err
>&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try
='test -z "$ac_cxx_werror_flag"
26760 || test ! -s conftest.err'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; } &&
26766 { ac_try
='test -s conftest.$ac_objext'
26767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768 (eval $ac_try) 2>&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); }; }; then
26772 wx_cv_expat_is_not_broken
=yes
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.
$ac_ext >&5
26777 wx_cv_expat_is_not_broken
=no
26780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26784 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26785 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26786 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26787 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26788 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26789 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26792 ac_check_lib_save_LIBS
=$LIBS
26793 LIBS
="-lexpat $LIBS"
26794 cat >conftest.
$ac_ext <<_ACEOF
26797 cat confdefs.h
>>conftest.
$ac_ext
26798 cat >>conftest.
$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26801 /* Override any gcc2 internal prototype to avoid an error. */
26805 /* We use char because int might match the return type of a gcc2
26806 builtin and then its argument prototype would still apply. */
26807 char XML_ParserCreate ();
26811 XML_ParserCreate ();
26816 rm -f conftest.
$ac_objext conftest
$ac_exeext
26817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26818 (eval $ac_link) 2>conftest.er1
26820 grep -v '^ *+' conftest.er1
>conftest.err
26822 cat conftest.err
>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try
='test -z "$ac_cxx_werror_flag"
26826 || test ! -s conftest.err'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; } &&
26832 { ac_try
='test -s conftest$ac_exeext'
26833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26834 (eval $ac_try) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); }; }; then
26838 ac_cv_lib_expat_XML_ParserCreate
=yes
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.
$ac_ext >&5
26843 ac_cv_lib_expat_XML_ParserCreate
=no
26845 rm -f conftest.err conftest.
$ac_objext \
26846 conftest
$ac_exeext conftest.
$ac_ext
26847 LIBS
=$ac_check_lib_save_LIBS
26849 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26850 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26851 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26852 EXPAT_LINK
=" -lexpat"
26857 if test "x$EXPAT_LINK" = "x" ; then
26858 if test "$wxUSE_EXPAT" = "sys" ; then
26859 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26860 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26861 { (exit 1); exit 1; }; }
26863 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26864 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26865 wxUSE_EXPAT
=builtin
26871 if test "$wxUSE_EXPAT" = "builtin" ; then
26874 subdirs
="$subdirs src/expat"
26881 if test "$wxUSE_LIBMSPACK" != "no"; then
26882 if test "${ac_cv_header_mspack_h+set}" = set; then
26883 echo "$as_me:$LINENO: checking for mspack.h" >&5
26884 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26885 if test "${ac_cv_header_mspack_h+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26889 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26891 # Is the header compilable?
26892 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26893 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26894 cat >conftest.
$ac_ext <<_ACEOF
26897 cat confdefs.h
>>conftest.
$ac_ext
26898 cat >>conftest.
$ac_ext <<_ACEOF
26899 /* end confdefs.h. */
26900 $ac_includes_default
26901 #include <mspack.h>
26903 rm -f conftest.
$ac_objext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26905 (eval $ac_compile) 2>conftest.er1
26907 grep -v '^ *+' conftest.er1
>conftest.err
26909 cat conftest.err
>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } &&
26912 { ac_try
='test -z "$ac_cxx_werror_flag"
26913 || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try
='test -s conftest.$ac_objext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_header_compiler
=yes
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.
$ac_ext >&5
26930 ac_header_compiler
=no
26932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26934 echo "${ECHO_T}$ac_header_compiler" >&6
26936 # Is the header present?
26937 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26938 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26939 cat >conftest.
$ac_ext <<_ACEOF
26942 cat confdefs.h
>>conftest.
$ac_ext
26943 cat >>conftest.
$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <mspack.h>
26947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26950 grep -v '^ *+' conftest.er1
>conftest.err
26952 cat conftest.err
>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } >/dev
/null
; then
26955 if test -s conftest.err
; then
26956 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26957 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26964 if test -z "$ac_cpp_err"; then
26965 ac_header_preproc
=yes
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.
$ac_ext >&5
26970 ac_header_preproc
=no
26972 rm -f conftest.err conftest.
$ac_ext
26973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26974 echo "${ECHO_T}$ac_header_preproc" >&6
26976 # So? What about this header?
26977 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26979 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26980 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26982 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26983 ac_header_preproc
=yes
26986 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26987 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26989 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26991 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26993 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26995 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26997 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27000 ## ----------------------------------------- ##
27001 ## Report this to wx-dev@lists.wxwidgets.org ##
27002 ## ----------------------------------------- ##
27005 sed "s/^/$as_me: WARNING: /" >&2
27008 echo "$as_me:$LINENO: checking for mspack.h" >&5
27009 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27010 if test "${ac_cv_header_mspack_h+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 ac_cv_header_mspack_h
=$ac_header_preproc
27015 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27016 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27019 if test $ac_cv_header_mspack_h = yes; then
27024 if test "x$found_mspack_h" = "x1"; then
27025 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27026 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27027 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 ac_check_lib_save_LIBS
=$LIBS
27031 LIBS
="-lmspack $LIBS"
27032 cat >conftest.
$ac_ext <<_ACEOF
27035 cat confdefs.h
>>conftest.
$ac_ext
27036 cat >>conftest.
$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27039 /* Override any gcc2 internal prototype to avoid an error. */
27043 /* We use char because int might match the return type of a gcc2
27044 builtin and then its argument prototype would still apply. */
27045 char mspack_create_chm_decompressor ();
27049 mspack_create_chm_decompressor ();
27054 rm -f conftest.
$ac_objext conftest
$ac_exeext
27055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27056 (eval $ac_link) 2>conftest.er1
27058 grep -v '^ *+' conftest.er1
>conftest.err
27060 cat conftest.err
>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try
='test -z "$ac_cxx_werror_flag"
27064 || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try
='test -s conftest$ac_exeext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.
$ac_ext >&5
27081 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27083 rm -f conftest.err conftest.
$ac_objext \
27084 conftest
$ac_exeext conftest.
$ac_ext
27085 LIBS
=$ac_check_lib_save_LIBS
27087 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27088 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27089 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27090 MSPACK_LINK
=" -lmspack"
27094 if test "x$MSPACK_LINK" = "x" ; then
27099 if test "$wxUSE_LIBMSPACK" != "no"; then
27100 cat >>confdefs.h
<<\_ACEOF
27101 #define wxUSE_LIBMSPACK 1
27115 if test "$USE_WIN32" = 1 ; then
27117 for ac_header
in w32api.h
27119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27121 echo "$as_me:$LINENO: checking for $ac_header" >&5
27122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27129 # Is the header compilable?
27130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27132 cat >conftest.
$ac_ext <<_ACEOF
27135 cat confdefs.h
>>conftest.
$ac_ext
27136 cat >>conftest.
$ac_ext <<_ACEOF
27137 /* end confdefs.h. */
27138 $ac_includes_default
27139 #include <$ac_header>
27141 rm -f conftest.
$ac_objext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27143 (eval $ac_compile) 2>conftest.er1
27145 grep -v '^ *+' conftest.er1
>conftest.err
27147 cat conftest.err
>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try
='test -z "$ac_cxx_werror_flag"
27151 || test ! -s conftest.err'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; } &&
27157 { ac_try
='test -s conftest.$ac_objext'
27158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159 (eval $ac_try) 2>&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); }; }; then
27163 ac_header_compiler
=yes
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.
$ac_ext >&5
27168 ac_header_compiler
=no
27170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27172 echo "${ECHO_T}$ac_header_compiler" >&6
27174 # Is the header present?
27175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27177 cat >conftest.
$ac_ext <<_ACEOF
27180 cat confdefs.h
>>conftest.
$ac_ext
27181 cat >>conftest.
$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 #include <$ac_header>
27185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27188 grep -v '^ *+' conftest.er1
>conftest.err
27190 cat conftest.err
>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } >/dev
/null
; then
27193 if test -s conftest.err
; then
27194 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27195 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27202 if test -z "$ac_cpp_err"; then
27203 ac_header_preproc
=yes
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.
$ac_ext >&5
27208 ac_header_preproc
=no
27210 rm -f conftest.err conftest.
$ac_ext
27211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27212 echo "${ECHO_T}$ac_header_preproc" >&6
27214 # So? What about this header?
27215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27221 ac_header_preproc
=yes
27224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27238 ## ----------------------------------------- ##
27239 ## Report this to wx-dev@lists.wxwidgets.org ##
27240 ## ----------------------------------------- ##
27243 sed "s/^/$as_me: WARNING: /" >&2
27246 echo "$as_me:$LINENO: checking for $ac_header" >&5
27247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27249 echo $ECHO_N "(cached) $ECHO_C" >&6
27251 eval "$as_ac_Header=\$ac_header_preproc"
27253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27258 cat >>confdefs.h
<<_ACEOF
27259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27266 if test "${ac_cv_header_windows_h+set}" = set; then
27267 echo "$as_me:$LINENO: checking for windows.h" >&5
27268 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27269 if test "${ac_cv_header_windows_h+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27272 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27273 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27275 # Is the header compilable?
27276 echo "$as_me:$LINENO: checking windows.h usability" >&5
27277 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27278 cat >conftest.
$ac_ext <<_ACEOF
27281 cat confdefs.h
>>conftest.
$ac_ext
27282 cat >>conftest.
$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284 $ac_includes_default
27285 #include <windows.h>
27287 rm -f conftest.
$ac_objext
27288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27289 (eval $ac_compile) 2>conftest.er1
27291 grep -v '^ *+' conftest.er1
>conftest.err
27293 cat conftest.err
>&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } &&
27296 { ac_try
='test -z "$ac_cxx_werror_flag"
27297 || test ! -s conftest.err'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; } &&
27303 { ac_try
='test -s conftest.$ac_objext'
27304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27305 (eval $ac_try) 2>&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); }; }; then
27309 ac_header_compiler
=yes
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.
$ac_ext >&5
27314 ac_header_compiler
=no
27316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27318 echo "${ECHO_T}$ac_header_compiler" >&6
27320 # Is the header present?
27321 echo "$as_me:$LINENO: checking windows.h presence" >&5
27322 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27323 cat >conftest.
$ac_ext <<_ACEOF
27326 cat confdefs.h
>>conftest.
$ac_ext
27327 cat >>conftest.
$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329 #include <windows.h>
27331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27334 grep -v '^ *+' conftest.er1
>conftest.err
27336 cat conftest.err
>&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } >/dev
/null
; then
27339 if test -s conftest.err
; then
27340 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27341 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27348 if test -z "$ac_cpp_err"; then
27349 ac_header_preproc
=yes
27351 echo "$as_me: failed program was:" >&5
27352 sed 's/^/| /' conftest.
$ac_ext >&5
27354 ac_header_preproc
=no
27356 rm -f conftest.err conftest.
$ac_ext
27357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27358 echo "${ECHO_T}$ac_header_preproc" >&6
27360 # So? What about this header?
27361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27363 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27364 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27366 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27367 ac_header_preproc
=yes
27370 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27371 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27373 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27375 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27377 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27378 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27379 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27380 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27381 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27384 ## ----------------------------------------- ##
27385 ## Report this to wx-dev@lists.wxwidgets.org ##
27386 ## ----------------------------------------- ##
27389 sed "s/^/$as_me: WARNING: /" >&2
27392 echo "$as_me:$LINENO: checking for windows.h" >&5
27393 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27394 if test "${ac_cv_header_windows_h+set}" = set; then
27395 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 ac_cv_header_windows_h
=$ac_header_preproc
27399 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27400 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27403 if test $ac_cv_header_windows_h = yes; then
27407 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27408 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27409 { (exit 1); exit 1; }; }
27415 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27417 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27418 LIBS
="$LIBS -loleacc"
27423 LIBS
="$LIBS -lkernel32 -luser32"
27426 if test "$wxUSE_ODBC" = "sys" ; then
27429 if test "$wxUSE_ODBC" = "yes" ; then
27430 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27431 cat >>confdefs.h
<<\_ACEOF
27432 #define wxUSE_ODBC 1
27437 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27438 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27440 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27442 WIN32INSTALL
=win32install
27444 echo "$as_me:$LINENO: checking for boolean" >&5
27445 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27446 if test "${ac_cv_type_boolean+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 cat >conftest.
$ac_ext <<_ACEOF
27452 cat confdefs.h
>>conftest.
$ac_ext
27453 cat >>conftest.
$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27455 #include <windows.h>
27462 if (sizeof (boolean))
27468 rm -f conftest.
$ac_objext
27469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27470 (eval $ac_compile) 2>conftest.er1
27472 grep -v '^ *+' conftest.er1
>conftest.err
27474 cat conftest.err
>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); } &&
27477 { ac_try
='test -z "$ac_cxx_werror_flag"
27478 || test ! -s conftest.err'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try
='test -s conftest.$ac_objext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 ac_cv_type_boolean
=yes
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.
$ac_ext >&5
27495 ac_cv_type_boolean
=no
27497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27499 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27500 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27501 if test $ac_cv_type_boolean = yes; then
27503 cat >>confdefs.h
<<_ACEOF
27504 #define HAVE_BOOLEAN 1
27512 for ac_header
in pbt.h
27514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27516 echo "$as_me:$LINENO: checking for $ac_header" >&5
27517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27519 echo $ECHO_N "(cached) $ECHO_C" >&6
27521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27524 # Is the header compilable?
27525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27527 cat >conftest.
$ac_ext <<_ACEOF
27530 cat confdefs.h
>>conftest.
$ac_ext
27531 cat >>conftest.
$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27533 $ac_includes_default
27534 #include <$ac_header>
27536 rm -f conftest.
$ac_objext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27538 (eval $ac_compile) 2>conftest.er1
27540 grep -v '^ *+' conftest.er1
>conftest.err
27542 cat conftest.err
>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try
='test -z "$ac_cxx_werror_flag"
27546 || test ! -s conftest.err'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; } &&
27552 { ac_try
='test -s conftest.$ac_objext'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 ac_header_compiler
=yes
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.
$ac_ext >&5
27563 ac_header_compiler
=no
27565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27567 echo "${ECHO_T}$ac_header_compiler" >&6
27569 # Is the header present?
27570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27572 cat >conftest.
$ac_ext <<_ACEOF
27575 cat confdefs.h
>>conftest.
$ac_ext
27576 cat >>conftest.
$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27578 #include <$ac_header>
27580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27583 grep -v '^ *+' conftest.er1
>conftest.err
27585 cat conftest.err
>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } >/dev
/null
; then
27588 if test -s conftest.err
; then
27589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27597 if test -z "$ac_cpp_err"; then
27598 ac_header_preproc
=yes
27600 echo "$as_me: failed program was:" >&5
27601 sed 's/^/| /' conftest.
$ac_ext >&5
27603 ac_header_preproc
=no
27605 rm -f conftest.err conftest.
$ac_ext
27606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27607 echo "${ECHO_T}$ac_header_preproc" >&6
27609 # So? What about this header?
27610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27616 ac_header_preproc
=yes
27619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27633 ## ----------------------------------------- ##
27634 ## Report this to wx-dev@lists.wxwidgets.org ##
27635 ## ----------------------------------------- ##
27638 sed "s/^/$as_me: WARNING: /" >&2
27641 echo "$as_me:$LINENO: checking for $ac_header" >&5
27642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27646 eval "$as_ac_Header=\$ac_header_preproc"
27648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27653 cat >>confdefs.h
<<_ACEOF
27654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27658 cat >>confdefs.h
<<\_ACEOF
27659 #define NEED_PBT_H 1
27668 if test "$wxUSE_GUI" = "yes"; then
27678 if test "$wxUSE_COCOA" = 1 ; then
27679 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27680 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27681 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27682 wxUSE_PRINTING_ARCHITECTURE
=no
27684 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27685 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27686 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27687 wxUSE_DRAG_AND_DROP
=no
27689 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27690 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27691 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27696 if test "$wxUSE_MSW" = 1 ; then
27702 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27706 if test "$wxUSE_GTK" = 1; then
27708 ac_cpp
='$CPP $CPPFLAGS'
27709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27714 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27715 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27717 gtk_version_cached
=1
27718 if test "${wx_cv_lib_gtk+set}" = set; then
27719 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 gtk_version_cached
=0
27723 echo "$as_me:$LINENO: result: " >&5
27724 echo "${ECHO_T}" >&6
27727 if test "$wxUSE_THREADS" = "yes"; then
27728 GTK_MODULES
=gthread
27732 if test "x$wxGTK_VERSION" != "x1"
27736 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27741 # Check whether --enable-gtktest or --disable-gtktest was given.
27742 if test "${enable_gtktest+set}" = set; then
27743 enableval
="$enable_gtktest"
27749 pkg_config_args
=gtk
+-2.0
27750 for module
in .
$GTK_MODULES
27754 pkg_config_args
="$pkg_config_args gthread-2.0"
27761 # Extract the first word of "pkg-config", so it can be a program name with args.
27762 set dummy pkg
-config; ac_word
=$2
27763 echo "$as_me:$LINENO: checking for $ac_word" >&5
27764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27768 case $PKG_CONFIG in
27770 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27774 for as_dir
in $PATH
27777 test -z "$as_dir" && as_dir
=.
27778 for ac_exec_ext
in '' $ac_executable_extensions; do
27779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27780 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27791 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27793 if test -n "$PKG_CONFIG"; then
27794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27795 echo "${ECHO_T}$PKG_CONFIG" >&6
27797 echo "$as_me:$LINENO: result: no" >&5
27798 echo "${ECHO_T}no" >&6
27802 if test x
$PKG_CONFIG != xno
; then
27803 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27806 echo "*** pkg-config too old; version 0.7 or better required."
27814 min_gtk_version
=2.0.0
27815 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27816 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27818 if test x
$PKG_CONFIG != xno
; then
27819 ## don't try to run the test against uninstalled libtool libs
27820 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27821 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27825 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27832 if test x
"$no_gtk" = x
; then
27833 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27834 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27835 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27837 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27839 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27841 if test "x$enable_gtktest" = "xyes" ; then
27842 ac_save_CFLAGS
="$CFLAGS"
27843 ac_save_LIBS
="$LIBS"
27844 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27845 LIBS
="$GTK_LIBS $LIBS"
27847 if test "$cross_compiling" = yes; then
27848 echo $ac_n "cross compiling; assumed OK... $ac_c"
27850 cat >conftest.
$ac_ext <<_ACEOF
27853 cat confdefs.h
>>conftest.
$ac_ext
27854 cat >>conftest.
$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27857 #include <gtk/gtk.h>
27859 #include <stdlib.h>
27864 int major, minor, micro;
27867 system ("touch conf.gtktest");
27869 /* HP/UX 9 (%@#!) writes to sscanf strings */
27870 tmp_version = g_strdup("$min_gtk_version");
27871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27872 printf("%s, bad version string\n", "$min_gtk_version");
27876 if ((gtk_major_version != $gtk_config_major_version) ||
27877 (gtk_minor_version != $gtk_config_minor_version) ||
27878 (gtk_micro_version != $gtk_config_micro_version))
27880 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27881 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27882 gtk_major_version, gtk_minor_version, gtk_micro_version);
27883 printf ("*** was found! If pkg-config was correct, then it is best\n");
27884 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27885 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27886 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27887 printf("*** required on your system.\n");
27888 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27889 printf("*** to point to the correct configuration files\n");
27891 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27892 (gtk_minor_version != GTK_MINOR_VERSION) ||
27893 (gtk_micro_version != GTK_MICRO_VERSION))
27895 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27896 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27897 printf("*** library (version %d.%d.%d)\n",
27898 gtk_major_version, gtk_minor_version, gtk_micro_version);
27902 if ((gtk_major_version > major) ||
27903 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27904 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27910 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27911 gtk_major_version, gtk_minor_version, gtk_micro_version);
27912 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27913 major, minor, micro);
27914 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27916 printf("*** If you have already installed a sufficiently new version, this error\n");
27917 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27918 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27919 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27920 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27921 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27922 printf("*** so that the correct libraries are found at run-time))\n");
27929 rm -f conftest
$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936 (eval $ac_try) 2>&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); }; }; then
27942 echo "$as_me: program exited with status $ac_status" >&5
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.
$ac_ext >&5
27946 ( exit $ac_status )
27949 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27951 CFLAGS
="$ac_save_CFLAGS"
27952 LIBS
="$ac_save_LIBS"
27955 if test "x$no_gtk" = x
; then
27956 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27957 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27960 echo "$as_me:$LINENO: result: no" >&5
27961 echo "${ECHO_T}no" >&6
27962 if test "$PKG_CONFIG" = "no" ; then
27963 echo "*** A new enough version of pkg-config was not found."
27964 echo "*** See http://pkgconfig.sourceforge.net"
27966 if test -f conf.gtktest
; then
27969 echo "*** Could not run GTK+ test program, checking why..."
27970 ac_save_CFLAGS
="$CFLAGS"
27971 ac_save_LIBS
="$LIBS"
27972 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27973 LIBS
="$LIBS $GTK_LIBS"
27974 cat >conftest.
$ac_ext <<_ACEOF
27977 cat confdefs.h
>>conftest.
$ac_ext
27978 cat >>conftest.
$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27981 #include <gtk/gtk.h>
27987 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27992 rm -f conftest.
$ac_objext conftest
$ac_exeext
27993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27996 grep -v '^ *+' conftest.er1
>conftest.err
27998 cat conftest.err
>&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try
='test -z "$ac_c_werror_flag"
28002 || test ! -s conftest.err'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; } &&
28008 { ac_try
='test -s conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014 echo "*** The test program compiled, but did not run. This usually means"
28015 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28016 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28019 echo "*** is required on your system"
28021 echo "*** If you have an old version installed, it is best to remove it, although"
28022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.
$ac_ext >&5
28027 echo "*** The test program failed to compile or link. See the file config.log for the"
28028 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28030 rm -f conftest.err conftest.
$ac_objext \
28031 conftest
$ac_exeext conftest.
$ac_ext
28032 CFLAGS
="$ac_save_CFLAGS"
28033 LIBS
="$ac_save_LIBS"
28047 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28048 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28049 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28051 if test "$wxUSE_SHARED" != "yes"; then
28052 GTK_LIBS
="$GTK_LIBS -lX11"
28057 if test -z "$wx_cv_lib_gtk"; then
28058 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28060 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28061 if test "${with_gtk_prefix+set}" = set; then
28062 withval
="$with_gtk_prefix"
28063 gtk_config_prefix
="$withval"
28065 gtk_config_prefix
=""
28068 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28069 if test "${with_gtk_exec_prefix+set}" = set; then
28070 withval
="$with_gtk_exec_prefix"
28071 gtk_config_exec_prefix
="$withval"
28073 gtk_config_exec_prefix
=""
28075 # Check whether --enable-gtktest or --disable-gtktest was given.
28076 if test "${enable_gtktest+set}" = set; then
28077 enableval
="$enable_gtktest"
28083 for module
in .
$GTK_MODULES
28087 gtk_config_args
="$gtk_config_args gthread"
28092 if test x
$gtk_config_exec_prefix != x
; then
28093 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28094 if test x
${GTK_CONFIG+set} != xset
; then
28095 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28098 if test x
$gtk_config_prefix != x
; then
28099 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28100 if test x
${GTK_CONFIG+set} != xset
; then
28101 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28105 # Extract the first word of "gtk-config", so it can be a program name with args.
28106 set dummy gtk
-config; ac_word
=$2
28107 echo "$as_me:$LINENO: checking for $ac_word" >&5
28108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28109 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28112 case $GTK_CONFIG in
28114 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28118 for as_dir
in $PATH
28121 test -z "$as_dir" && as_dir
=.
28122 for ac_exec_ext
in '' $ac_executable_extensions; do
28123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28124 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28131 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28135 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28137 if test -n "$GTK_CONFIG"; then
28138 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28139 echo "${ECHO_T}$GTK_CONFIG" >&6
28141 echo "$as_me:$LINENO: result: no" >&5
28142 echo "${ECHO_T}no" >&6
28145 min_gtk_version
=1.2.7
28146 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28147 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28149 if test "$GTK_CONFIG" = "no" ; then
28152 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28153 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28154 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28156 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28158 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28160 if test "x$enable_gtktest" = "xyes" ; then
28161 ac_save_CFLAGS
="$CFLAGS"
28162 ac_save_LIBS
="$LIBS"
28163 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28164 LIBS
="$GTK_LIBS $LIBS"
28166 if test "$cross_compiling" = yes; then
28167 echo $ac_n "cross compiling; assumed OK... $ac_c"
28169 cat >conftest.
$ac_ext <<_ACEOF
28172 cat confdefs.h
>>conftest.
$ac_ext
28173 cat >>conftest.
$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28176 #include <gtk/gtk.h>
28178 #include <stdlib.h>
28183 int major, minor, micro;
28186 system ("touch conf.gtktest");
28188 /* HP/UX 9 (%@#!) writes to sscanf strings */
28189 tmp_version = g_strdup("$min_gtk_version");
28190 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28191 printf("%s, bad version string\n", "$min_gtk_version");
28195 if ((gtk_major_version != $gtk_config_major_version) ||
28196 (gtk_minor_version != $gtk_config_minor_version) ||
28197 (gtk_micro_version != $gtk_config_micro_version))
28199 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28200 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28201 gtk_major_version, gtk_minor_version, gtk_micro_version);
28202 printf ("*** was found! If gtk-config was correct, then it is best\n");
28203 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28204 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28205 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28206 printf("*** required on your system.\n");
28207 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28208 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28209 printf("*** before re-running configure\n");
28211 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28212 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28213 (gtk_minor_version != GTK_MINOR_VERSION) ||
28214 (gtk_micro_version != GTK_MICRO_VERSION))
28216 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28217 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28218 printf("*** library (version %d.%d.%d)\n",
28219 gtk_major_version, gtk_minor_version, gtk_micro_version);
28221 #endif /* defined (GTK_MAJOR_VERSION) ... */
28224 if ((gtk_major_version > major) ||
28225 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28226 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28232 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28233 gtk_major_version, gtk_minor_version, gtk_micro_version);
28234 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28235 major, minor, micro);
28236 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28238 printf("*** If you have already installed a sufficiently new version, this error\n");
28239 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28240 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28241 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28242 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28243 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28244 printf("*** so that the correct libraries are found at run-time))\n");
28251 rm -f conftest
$ac_exeext
28252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28253 (eval $ac_link) 2>&5
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; }; then
28264 echo "$as_me: program exited with status $ac_status" >&5
28265 echo "$as_me: failed program was:" >&5
28266 sed 's/^/| /' conftest.
$ac_ext >&5
28268 ( exit $ac_status )
28271 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28273 CFLAGS
="$ac_save_CFLAGS"
28274 LIBS
="$ac_save_LIBS"
28277 if test "x$no_gtk" = x
; then
28278 echo "$as_me:$LINENO: result: yes" >&5
28279 echo "${ECHO_T}yes" >&6
28280 wx_cv_lib_gtk
=1.2.7
28282 echo "$as_me:$LINENO: result: no" >&5
28283 echo "${ECHO_T}no" >&6
28284 if test "$GTK_CONFIG" = "no" ; then
28285 echo "*** The gtk-config script installed by GTK could not be found"
28286 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28287 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28288 echo "*** full path to gtk-config."
28290 if test -f conf.gtktest
; then
28293 echo "*** Could not run GTK test program, checking why..."
28294 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28295 LIBS
="$LIBS $GTK_LIBS"
28296 cat >conftest.
$ac_ext <<_ACEOF
28299 cat confdefs.h
>>conftest.
$ac_ext
28300 cat >>conftest.
$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28303 #include <gtk/gtk.h>
28309 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28314 rm -f conftest.
$ac_objext conftest
$ac_exeext
28315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28316 (eval $ac_link) 2>conftest.er1
28318 grep -v '^ *+' conftest.er1
>conftest.err
28320 cat conftest.err
>&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); } &&
28323 { ac_try
='test -z "$ac_c_werror_flag"
28324 || test ! -s conftest.err'
28325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28326 (eval $ac_try) 2>&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); }; } &&
28330 { ac_try
='test -s conftest$ac_exeext'
28331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332 (eval $ac_try) 2>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; }; then
28336 echo "*** The test program compiled, but did not run. This usually means"
28337 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28338 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28339 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28340 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28341 echo "*** is required on your system"
28343 echo "*** If you have an old version installed, it is best to remove it, although"
28344 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28346 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28347 echo "*** came with the system with the command"
28349 echo "*** rpm --erase --nodeps gtk gtk-devel"
28351 echo "$as_me: failed program was:" >&5
28352 sed 's/^/| /' conftest.
$ac_ext >&5
28354 echo "*** The test program failed to compile or link. See the file config.log for the"
28355 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28356 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28357 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28359 rm -f conftest.err conftest.
$ac_objext \
28360 conftest
$ac_exeext conftest.
$ac_ext
28361 CFLAGS
="$ac_save_CFLAGS"
28362 LIBS
="$ac_save_LIBS"
28374 if test -z "$wx_cv_lib_gtk"; then
28376 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28377 if test "${with_gtk_prefix+set}" = set; then
28378 withval
="$with_gtk_prefix"
28379 gtk_config_prefix
="$withval"
28381 gtk_config_prefix
=""
28384 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28385 if test "${with_gtk_exec_prefix+set}" = set; then
28386 withval
="$with_gtk_exec_prefix"
28387 gtk_config_exec_prefix
="$withval"
28389 gtk_config_exec_prefix
=""
28391 # Check whether --enable-gtktest or --disable-gtktest was given.
28392 if test "${enable_gtktest+set}" = set; then
28393 enableval
="$enable_gtktest"
28399 for module
in .
$GTK_MODULES
28403 gtk_config_args
="$gtk_config_args gthread"
28408 if test x
$gtk_config_exec_prefix != x
; then
28409 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28410 if test x
${GTK_CONFIG+set} != xset
; then
28411 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28414 if test x
$gtk_config_prefix != x
; then
28415 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28416 if test x
${GTK_CONFIG+set} != xset
; then
28417 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28421 # Extract the first word of "gtk-config", so it can be a program name with args.
28422 set dummy gtk
-config; ac_word
=$2
28423 echo "$as_me:$LINENO: checking for $ac_word" >&5
28424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28425 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28426 echo $ECHO_N "(cached) $ECHO_C" >&6
28428 case $GTK_CONFIG in
28430 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28434 for as_dir
in $PATH
28437 test -z "$as_dir" && as_dir
=.
28438 for ac_exec_ext
in '' $ac_executable_extensions; do
28439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28440 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28447 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28451 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28453 if test -n "$GTK_CONFIG"; then
28454 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28455 echo "${ECHO_T}$GTK_CONFIG" >&6
28457 echo "$as_me:$LINENO: result: no" >&5
28458 echo "${ECHO_T}no" >&6
28461 min_gtk_version
=1.2.3
28462 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28463 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28465 if test "$GTK_CONFIG" = "no" ; then
28468 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28469 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28470 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28472 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28474 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28476 if test "x$enable_gtktest" = "xyes" ; then
28477 ac_save_CFLAGS
="$CFLAGS"
28478 ac_save_LIBS
="$LIBS"
28479 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28480 LIBS
="$GTK_LIBS $LIBS"
28482 if test "$cross_compiling" = yes; then
28483 echo $ac_n "cross compiling; assumed OK... $ac_c"
28485 cat >conftest.
$ac_ext <<_ACEOF
28488 cat confdefs.h
>>conftest.
$ac_ext
28489 cat >>conftest.
$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28492 #include <gtk/gtk.h>
28494 #include <stdlib.h>
28499 int major, minor, micro;
28502 system ("touch conf.gtktest");
28504 /* HP/UX 9 (%@#!) writes to sscanf strings */
28505 tmp_version = g_strdup("$min_gtk_version");
28506 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28507 printf("%s, bad version string\n", "$min_gtk_version");
28511 if ((gtk_major_version != $gtk_config_major_version) ||
28512 (gtk_minor_version != $gtk_config_minor_version) ||
28513 (gtk_micro_version != $gtk_config_micro_version))
28515 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28516 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28517 gtk_major_version, gtk_minor_version, gtk_micro_version);
28518 printf ("*** was found! If gtk-config was correct, then it is best\n");
28519 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28520 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28521 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28522 printf("*** required on your system.\n");
28523 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28524 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28525 printf("*** before re-running configure\n");
28527 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28528 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28529 (gtk_minor_version != GTK_MINOR_VERSION) ||
28530 (gtk_micro_version != GTK_MICRO_VERSION))
28532 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28533 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28534 printf("*** library (version %d.%d.%d)\n",
28535 gtk_major_version, gtk_minor_version, gtk_micro_version);
28537 #endif /* defined (GTK_MAJOR_VERSION) ... */
28540 if ((gtk_major_version > major) ||
28541 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28542 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28548 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28549 gtk_major_version, gtk_minor_version, gtk_micro_version);
28550 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28551 major, minor, micro);
28552 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28554 printf("*** If you have already installed a sufficiently new version, this error\n");
28555 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28556 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28557 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28558 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28559 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28560 printf("*** so that the correct libraries are found at run-time))\n");
28567 rm -f conftest
$ac_exeext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28569 (eval $ac_link) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28580 echo "$as_me: program exited with status $ac_status" >&5
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.
$ac_ext >&5
28584 ( exit $ac_status )
28587 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28589 CFLAGS
="$ac_save_CFLAGS"
28590 LIBS
="$ac_save_LIBS"
28593 if test "x$no_gtk" = x
; then
28594 echo "$as_me:$LINENO: result: yes" >&5
28595 echo "${ECHO_T}yes" >&6
28596 wx_cv_lib_gtk
=1.2.3
28598 echo "$as_me:$LINENO: result: no" >&5
28599 echo "${ECHO_T}no" >&6
28600 if test "$GTK_CONFIG" = "no" ; then
28601 echo "*** The gtk-config script installed by GTK could not be found"
28602 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28603 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28604 echo "*** full path to gtk-config."
28606 if test -f conf.gtktest
; then
28609 echo "*** Could not run GTK test program, checking why..."
28610 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28611 LIBS
="$LIBS $GTK_LIBS"
28612 cat >conftest.
$ac_ext <<_ACEOF
28615 cat confdefs.h
>>conftest.
$ac_ext
28616 cat >>conftest.
$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28619 #include <gtk/gtk.h>
28625 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28630 rm -f conftest.
$ac_objext conftest
$ac_exeext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632 (eval $ac_link) 2>conftest.er1
28634 grep -v '^ *+' conftest.er1
>conftest.err
28636 cat conftest.err
>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); } &&
28639 { ac_try
='test -z "$ac_c_werror_flag"
28640 || test ! -s conftest.err'
28641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642 (eval $ac_try) 2>&5
28644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645 (exit $ac_status); }; } &&
28646 { ac_try
='test -s conftest$ac_exeext'
28647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28648 (eval $ac_try) 2>&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); }; }; then
28652 echo "*** The test program compiled, but did not run. This usually means"
28653 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28654 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28655 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28656 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28657 echo "*** is required on your system"
28659 echo "*** If you have an old version installed, it is best to remove it, although"
28660 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28662 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28663 echo "*** came with the system with the command"
28665 echo "*** rpm --erase --nodeps gtk gtk-devel"
28667 echo "$as_me: failed program was:" >&5
28668 sed 's/^/| /' conftest.
$ac_ext >&5
28670 echo "*** The test program failed to compile or link. See the file config.log for the"
28671 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28672 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28673 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28675 rm -f conftest.err conftest.
$ac_objext \
28676 conftest
$ac_exeext conftest.
$ac_ext
28677 CFLAGS
="$ac_save_CFLAGS"
28678 LIBS
="$ac_save_LIBS"
28693 if test -z "$wx_cv_lib_gtk"; then
28696 wx_cv_cflags_gtk
=$GTK_CFLAGS
28697 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28704 if test "$gtk_version_cached" = 1; then
28705 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28706 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28709 case "$wx_cv_lib_gtk" in
28718 *) { { echo "$as_me:$LINENO: error:
28719 The development files for GTK+ were not found. For GTK+ 2, please
28720 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28721 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28722 and that the version is 1.2.3 or above. Also check that the
28723 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28724 --libs' are in the LD_LIBRARY_PATH or equivalent.
28726 echo "$as_me: error:
28727 The development files for GTK+ were not found. For GTK+ 2, please
28728 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28729 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28730 and that the version is 1.2.3 or above. Also check that the
28731 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28732 --libs' are in the LD_LIBRARY_PATH or equivalent.
28734 { (exit 1); exit 1; }; }
28738 if test "$WXGTK20" = 1; then
28739 save_CFLAGS
="$CFLAGS"
28741 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28742 LIBS
="$LIBS $wx_cv_libs_gtk"
28744 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28745 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28746 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 cat >conftest.
$ac_ext <<_ACEOF
28752 cat confdefs.h
>>conftest.
$ac_ext
28753 cat >>conftest.
$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 #include <gtk/gtk.h>
28760 #ifndef gtk_icon_size_lookup
28761 char *p = (char *) gtk_icon_size_lookup;
28768 rm -f conftest.
$ac_objext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28770 (eval $ac_compile) 2>conftest.er1
28772 grep -v '^ *+' conftest.er1
>conftest.err
28774 cat conftest.err
>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try
='test -z "$ac_c_werror_flag"
28778 || test ! -s conftest.err'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; } &&
28784 { ac_try
='test -s conftest.$ac_objext'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; }; then
28790 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.
$ac_ext >&5
28795 ac_cv_have_decl_gtk_icon_size_lookup
=no
28797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28799 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28800 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28801 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28803 cat >>confdefs.h
<<_ACEOF
28804 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28809 cat >>confdefs.h
<<_ACEOF
28810 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28813 cat >>confdefs.h
<<\_ACEOF
28814 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28821 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28822 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28823 cat >conftest.
$ac_ext <<_ACEOF
28826 cat confdefs.h
>>conftest.
$ac_ext
28827 cat >>conftest.
$ac_ext <<_ACEOF
28828 /* end confdefs.h. */
28830 #include <gtk/gtk.h>
28836 #if !GTK_CHECK_VERSION(2,6,0)
28844 rm -f conftest.
$ac_objext
28845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28846 (eval $ac_compile) 2>conftest.er1
28848 grep -v '^ *+' conftest.er1
>conftest.err
28850 cat conftest.err
>&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } &&
28853 { ac_try
='test -z "$ac_c_werror_flag"
28854 || test ! -s conftest.err'
28855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856 (eval $ac_try) 2>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); }; } &&
28860 { ac_try
='test -s conftest.$ac_objext'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28867 cat >>confdefs.h
<<\_ACEOF
28868 #define __WXGTK26__ 1
28871 cat >>confdefs.h
<<\_ACEOF
28872 #define __WXGTK24__ 1
28875 echo "$as_me:$LINENO: result: yes" >&5
28876 echo "${ECHO_T}yes" >&6
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.
$ac_ext >&5
28884 echo "$as_me:$LINENO: result: no" >&5
28885 echo "${ECHO_T}no" >&6
28889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28891 if test "$ac_wxgtk26" = 0; then
28892 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28893 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28894 cat >conftest.
$ac_ext <<_ACEOF
28897 cat confdefs.h
>>conftest.
$ac_ext
28898 cat >>conftest.
$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28901 #include <gtk/gtk.h>
28907 #if !GTK_CHECK_VERSION(2,4,0)
28915 rm -f conftest.
$ac_objext
28916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28917 (eval $ac_compile) 2>conftest.er1
28919 grep -v '^ *+' conftest.er1
>conftest.err
28921 cat conftest.err
>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } &&
28924 { ac_try
='test -z "$ac_c_werror_flag"
28925 || test ! -s conftest.err'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; } &&
28931 { ac_try
='test -s conftest.$ac_objext'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; }; then
28938 cat >>confdefs.h
<<\_ACEOF
28939 #define __WXGTK24__ 1
28942 echo "$as_me:$LINENO: result: yes" >&5
28943 echo "${ECHO_T}yes" >&6
28946 echo "$as_me: failed program was:" >&5
28947 sed 's/^/| /' conftest.
$ac_ext >&5
28950 echo "$as_me:$LINENO: result: no" >&5
28951 echo "${ECHO_T}no" >&6
28954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28957 CFLAGS
="$save_CFLAGS"
28960 if test "$wxUSE_UNICODE" = "yes"; then
28961 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28962 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28968 ac_cpp
='$CXXCPP $CPPFLAGS'
28969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28974 if test "$USE_DARWIN" != 1; then
28976 for ac_func
in poll
28978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28979 echo "$as_me:$LINENO: checking for $ac_func" >&5
28980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28981 if eval "test \"\${$as_ac_var+set}\" = set"; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28984 cat >conftest.
$ac_ext <<_ACEOF
28987 cat confdefs.h
>>conftest.
$ac_ext
28988 cat >>conftest.
$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
29000 # include <limits.h>
29002 # include <assert.h>
29007 /* Override any gcc2 internal prototype to avoid an error. */
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29021 char (*f) () = $ac_func;
29030 return f != $ac_func;
29035 rm -f conftest.
$ac_objext conftest
$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29039 grep -v '^ *+' conftest.er1
>conftest.err
29041 cat conftest.err
>&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try
='test -z "$ac_cxx_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try
='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 eval "$as_ac_var=yes"
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.
$ac_ext >&5
29062 eval "$as_ac_var=no"
29064 rm -f conftest.err conftest.
$ac_objext \
29065 conftest
$ac_exeext conftest.
$ac_ext
29067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29069 if test `eval echo '${'$as_ac_var'}'` = yes; then
29070 cat >>confdefs.h
<<_ACEOF
29071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29079 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29080 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29082 AFMINSTALL
=afminstall
29086 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29087 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29088 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 ac_check_lib_save_LIBS
=$LIBS
29093 cat >conftest.
$ac_ext <<_ACEOF
29096 cat confdefs.h
>>conftest.
$ac_ext
29097 cat >>conftest.
$ac_ext <<_ACEOF
29098 /* end confdefs.h. */
29100 /* Override any gcc2 internal prototype to avoid an error. */
29104 /* We use char because int might match the return type of a gcc2
29105 builtin and then its argument prototype would still apply. */
29106 char gdk_im_open ();
29115 rm -f conftest.
$ac_objext conftest
$ac_exeext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29117 (eval $ac_link) 2>conftest.er1
29119 grep -v '^ *+' conftest.er1
>conftest.err
29121 cat conftest.err
>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } &&
29124 { ac_try
='test -z "$ac_cxx_werror_flag"
29125 || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try
='test -s conftest$ac_exeext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 ac_cv_lib_gdk_gdk_im_open
=yes
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.
$ac_ext >&5
29142 ac_cv_lib_gdk_gdk_im_open
=no
29144 rm -f conftest.err conftest.
$ac_objext \
29145 conftest
$ac_exeext conftest.
$ac_ext
29146 LIBS
=$ac_check_lib_save_LIBS
29148 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29149 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29150 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29151 cat >>confdefs.h
<<\_ACEOF
29159 if test "$wxUSE_GPE" = "yes"; then
29160 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29161 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29164 for ac_dir
in $SEARCH_LIB;
29166 for ac_extension
in a so sl dylib dll.a
; do
29167 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29168 ac_find_libraries
=$ac_dir
29174 if test "$ac_find_libraries" != "" ; then
29176 if test "$ac_find_libraries" = "default location"; then
29179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29181 if test $result = 0; then
29184 ac_path_to_link
=" -L$ac_find_libraries"
29188 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29190 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29191 echo "${ECHO_T}found in $ac_find_libraries" >&6
29193 echo "$as_me:$LINENO: result: not found" >&5
29194 echo "${ECHO_T}not found" >&6
29200 if test "$wxUSE_MGL" = 1; then
29201 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29202 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29203 if test "x$MGL_ROOT" = x
; then
29204 echo "$as_me:$LINENO: result: not found" >&5
29205 echo "${ECHO_T}not found" >&6
29206 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29207 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29208 { (exit 1); exit 1; }; }
29210 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29211 echo "${ECHO_T}$MGL_ROOT" >&6
29214 echo "$as_me:$LINENO: checking for libmgl location" >&5
29215 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29218 if test "x$wxUSE_SHARED" = xyes
; then
29219 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29221 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29225 mgl_os_candidates
="dos32/dj2"
29228 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29229 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29230 { (exit 1); exit 1; }; }
29236 for mgl_os_i
in $mgl_os_candidates ; do
29237 if test "x$mgl_os" = x
; then
29238 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29239 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29240 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29245 if test "x$mgl_lib_type" = x
; then
29246 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29247 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29248 mgl_lib_type
=release
29255 if test "x$mgl_os" = x
; then
29256 echo "$as_me:$LINENO: result: not found" >&5
29257 echo "${ECHO_T}not found" >&6
29258 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29259 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29260 { (exit 1); exit 1; }; }
29262 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29263 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29265 wxUSE_UNIVERSAL
="yes"
29267 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29268 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29270 AFMINSTALL
=afminstall
29275 if test "$wxUSE_DFB" = 1; then
29278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29279 if test -n "$ac_tool_prefix"; then
29280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29281 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29282 echo "$as_me:$LINENO: checking for $ac_word" >&5
29283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 case $PKG_CONFIG in
29289 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29293 for as_dir
in $PATH
29296 test -z "$as_dir" && as_dir
=.
29297 for ac_exec_ext
in '' $ac_executable_extensions; do
29298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29299 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29309 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29311 if test -n "$PKG_CONFIG"; then
29312 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29313 echo "${ECHO_T}$PKG_CONFIG" >&6
29315 echo "$as_me:$LINENO: result: no" >&5
29316 echo "${ECHO_T}no" >&6
29320 if test -z "$ac_cv_path_PKG_CONFIG"; then
29321 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29322 # Extract the first word of "pkg-config", so it can be a program name with args.
29323 set dummy pkg
-config; ac_word
=$2
29324 echo "$as_me:$LINENO: checking for $ac_word" >&5
29325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29326 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29327 echo $ECHO_N "(cached) $ECHO_C" >&6
29329 case $ac_pt_PKG_CONFIG in
29331 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29335 for as_dir
in $PATH
29338 test -z "$as_dir" && as_dir
=.
29339 for ac_exec_ext
in '' $ac_executable_extensions; do
29340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29341 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29351 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29353 if test -n "$ac_pt_PKG_CONFIG"; then
29354 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29355 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29357 echo "$as_me:$LINENO: result: no" >&5
29358 echo "${ECHO_T}no" >&6
29361 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29363 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29367 if test -n "$PKG_CONFIG"; then
29368 _pkg_min_version
=0.9.0
29369 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29370 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29371 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29372 echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6
29375 echo "$as_me:$LINENO: result: no" >&5
29376 echo "${ECHO_T}no" >&6
29383 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29384 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29386 if test -n "$PKG_CONFIG"; then
29387 if test -n "$DIRECTFB_CFLAGS"; then
29388 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29390 if test -n "$PKG_CONFIG" && \
29391 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29392 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; then
29396 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29404 if test -n "$PKG_CONFIG"; then
29405 if test -n "$DIRECTFB_LIBS"; then
29406 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29408 if test -n "$PKG_CONFIG" && \
29409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29410 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; then
29414 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29425 if test $pkg_failed = yes; then
29427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29428 _pkg_short_errors_supported
=yes
29430 _pkg_short_errors_supported
=no
29432 if test $_pkg_short_errors_supported = yes; then
29433 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29435 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29437 # Put the nasty error message in config.log where it belongs
29438 echo "$DIRECTFB_PKG_ERRORS" >&5
29441 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29442 echo "$as_me: error: DirectFB not found." >&2;}
29443 { (exit 1); exit 1; }; }
29446 elif test $pkg_failed = untried
; then
29448 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29449 echo "$as_me: error: DirectFB not found." >&2;}
29450 { (exit 1); exit 1; }; }
29454 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29455 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29456 echo "$as_me:$LINENO: result: yes" >&5
29457 echo "${ECHO_T}yes" >&6
29459 wxUSE_UNIVERSAL
="yes"
29460 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29461 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29468 if test "$wxUSE_MICROWIN" = 1; then
29469 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29470 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29471 if test "x$MICROWINDOWS" = x
; then
29472 echo "$as_me:$LINENO: result: not found" >&5
29473 echo "${ECHO_T}not found" >&6
29474 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29475 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29476 { (exit 1); exit 1; }; }
29478 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29479 echo "${ECHO_T}$MICROWINDOWS" >&6
29482 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29483 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29484 echo "${ECHO_T}MicroWindows' libraries found." >&6
29486 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29487 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29488 { (exit 1); exit 1; }; }
29491 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29492 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29494 wxUSE_UNIVERSAL
="yes"
29496 AFMINSTALL
=afminstall
29498 GUIDIST
=MICROWIN_DIST
29500 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29503 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29504 echo "$as_me:$LINENO: checking for X" >&5
29505 echo $ECHO_N "checking for X... $ECHO_C" >&6
29508 # Check whether --with-x or --without-x was given.
29509 if test "${with_x+set}" = set; then
29513 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29514 if test "x$with_x" = xno
; then
29515 # The user explicitly disabled X.
29518 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29519 # Both variables are already set.
29522 if test "${ac_cv_have_x+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 # One or both of the vars are not set, and there is no cached value.
29526 ac_x_includes
=no ac_x_libraries
=no
29527 rm -fr conftest.dir
29528 if mkdir conftest.dir
; then
29530 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29531 cat >Imakefile
<<'_ACEOF'
29533 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29535 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29537 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29538 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29539 for ac_extension
in a so sl
; do
29540 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29541 test -f $ac_im_libdir/libX11.
$ac_extension; then
29542 ac_im_usrlibdir
=$ac_im_libdir; break
29545 # Screen out bogus values from the imake configuration. They are
29546 # bogus both because they are the default anyway, and because
29547 # using them would break gcc on systems where it needs fixed includes.
29548 case $ac_im_incroot in
29550 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29552 case $ac_im_usrlibdir in
29553 /usr
/lib
| /lib
) ;;
29554 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29558 rm -fr conftest.dir
29561 # Standard set of common directories for X headers.
29562 # Check X11 before X11Rn because it is often a symlink to the current release.
29574 /usr/local/X11/include
29575 /usr/local/X11R6/include
29576 /usr/local/X11R5/include
29577 /usr/local/X11R4/include
29579 /usr/local/include/X11
29580 /usr/local/include/X11R6
29581 /usr/local/include/X11R5
29582 /usr/local/include/X11R4
29586 /usr/XFree86/include/X11
29590 /usr/unsupported/include
29591 /usr/athena/include
29592 /usr/local/x11r5/include
29593 /usr/lpp/Xamples/include
29595 /usr/openwin/include
29596 /usr/openwin/share/include'
29598 if test "$ac_x_includes" = no
; then
29599 # Guess where to find include files, by looking for Intrinsic.h.
29600 # First, try using that file with no special directory specified.
29601 cat >conftest.
$ac_ext <<_ACEOF
29604 cat confdefs.h
>>conftest.
$ac_ext
29605 cat >>conftest.
$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 #include <X11/Intrinsic.h>
29609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29612 grep -v '^ *+' conftest.er1
>conftest.err
29614 cat conftest.err
>&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } >/dev
/null
; then
29617 if test -s conftest.err
; then
29618 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29619 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29626 if test -z "$ac_cpp_err"; then
29627 # We can compile using X headers with no special include directory.
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.
$ac_ext >&5
29633 for ac_dir
in $ac_x_header_dirs; do
29634 if test -r "$ac_dir/X11/Intrinsic.h"; then
29635 ac_x_includes
=$ac_dir
29640 rm -f conftest.err conftest.
$ac_ext
29641 fi # $ac_x_includes = no
29643 if test "$ac_x_libraries" = no
; then
29644 # Check for the libraries.
29645 # See if we find them without any special options.
29646 # Don't add to $LIBS permanently.
29649 cat >conftest.
$ac_ext <<_ACEOF
29652 cat confdefs.h
>>conftest.
$ac_ext
29653 cat >>conftest.
$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <X11/Intrinsic.h>
29664 rm -f conftest.
$ac_objext conftest
$ac_exeext
29665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29666 (eval $ac_link) 2>conftest.er1
29668 grep -v '^ *+' conftest.er1
>conftest.err
29670 cat conftest.err
>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); } &&
29673 { ac_try
='test -z "$ac_cxx_werror_flag"
29674 || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try
='test -s conftest$ac_exeext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29687 # We can link X programs with no special library path.
29690 echo "$as_me: failed program was:" >&5
29691 sed 's/^/| /' conftest.
$ac_ext >&5
29694 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29696 # Don't even attempt the hair of trying to link an X program!
29697 for ac_extension
in a so sl
; do
29698 if test -r $ac_dir/libXt.
$ac_extension; then
29699 ac_x_libraries
=$ac_dir
29705 rm -f conftest.err conftest.
$ac_objext \
29706 conftest
$ac_exeext conftest.
$ac_ext
29707 fi # $ac_x_libraries = no
29709 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29710 # Didn't find X anywhere. Cache the known absence of X.
29711 ac_cv_have_x
="have_x=no"
29713 # Record where we found X for the cache.
29714 ac_cv_have_x
="have_x=yes \
29715 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29720 eval "$ac_cv_have_x"
29723 if test "$have_x" != yes; then
29724 echo "$as_me:$LINENO: result: $have_x" >&5
29725 echo "${ECHO_T}$have_x" >&6
29728 # If each of the values was on the command line, it overrides each guess.
29729 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29730 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29731 # Update the cache value to reflect the command line values.
29732 ac_cv_have_x
="have_x=yes \
29733 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29734 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29735 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29738 if test "$no_x" = yes; then
29739 # Not all programs may use this symbol, but it does not hurt to define it.
29741 cat >>confdefs.h
<<\_ACEOF
29742 #define X_DISPLAY_MISSING 1
29745 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29747 if test -n "$x_includes"; then
29748 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29751 # It would also be nice to do this for all -L options, not just this one.
29752 if test -n "$x_libraries"; then
29753 X_LIBS
="$X_LIBS -L$x_libraries"
29754 # For Solaris; some versions of Sun CC require a space after -R and
29755 # others require no space. Words are not sufficient . . . .
29756 case `(uname -sr) 2>/dev/null` in
29758 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29759 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29760 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29761 cat >conftest.
$ac_ext <<_ACEOF
29764 cat confdefs.h
>>conftest.
$ac_ext
29765 cat >>conftest.
$ac_ext <<_ACEOF
29766 /* end confdefs.h. */
29776 rm -f conftest.
$ac_objext conftest
$ac_exeext
29777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29778 (eval $ac_link) 2>conftest.er1
29780 grep -v '^ *+' conftest.er1
>conftest.err
29782 cat conftest.err
>&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); } &&
29785 { ac_try
='test -z "$ac_cxx_werror_flag"
29786 || test ! -s conftest.err'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; } &&
29792 { ac_try
='test -s conftest$ac_exeext'
29793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794 (eval $ac_try) 2>&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); }; }; then
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.
$ac_ext >&5
29805 rm -f conftest.err conftest.
$ac_objext \
29806 conftest
$ac_exeext conftest.
$ac_ext
29807 if test $ac_R_nospace = yes; then
29808 echo "$as_me:$LINENO: result: no" >&5
29809 echo "${ECHO_T}no" >&6
29810 X_LIBS
="$X_LIBS -R$x_libraries"
29812 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29813 cat >conftest.
$ac_ext <<_ACEOF
29816 cat confdefs.h
>>conftest.
$ac_ext
29817 cat >>conftest.
$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29828 rm -f conftest.
$ac_objext conftest
$ac_exeext
29829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29830 (eval $ac_link) 2>conftest.er1
29832 grep -v '^ *+' conftest.er1
>conftest.err
29834 cat conftest.err
>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } &&
29837 { ac_try
='test -z "$ac_cxx_werror_flag"
29838 || test ! -s conftest.err'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; } &&
29844 { ac_try
='test -s conftest$ac_exeext'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; }; then
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.
$ac_ext >&5
29857 rm -f conftest.err conftest.
$ac_objext \
29858 conftest
$ac_exeext conftest.
$ac_ext
29859 if test $ac_R_space = yes; then
29860 echo "$as_me:$LINENO: result: yes" >&5
29861 echo "${ECHO_T}yes" >&6
29862 X_LIBS
="$X_LIBS -R $x_libraries"
29864 echo "$as_me:$LINENO: result: neither works" >&5
29865 echo "${ECHO_T}neither works" >&6
29868 LIBS
=$ac_xsave_LIBS
29872 # Check for system-dependent libraries X programs must link with.
29873 # Do this before checking for the system-independent R6 libraries
29874 # (-lICE), since we may need -lsocket or whatever for X linking.
29876 if test "$ISC" = yes; then
29877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29879 # Martyn Johnson says this is needed for Ultrix, if the X
29880 # libraries were built with DECnet support. And Karl Berry says
29881 # the Alpha needs dnet_stub (dnet does not exist).
29882 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29883 cat >conftest.
$ac_ext <<_ACEOF
29886 cat confdefs.h
>>conftest.
$ac_ext
29887 cat >>conftest.
$ac_ext <<_ACEOF
29888 /* end confdefs.h. */
29890 /* Override any gcc2 internal prototype to avoid an error. */
29894 /* We use char because int might match the return type of a gcc2
29895 builtin and then its argument prototype would still apply. */
29896 char XOpenDisplay ();
29905 rm -f conftest.
$ac_objext conftest
$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29909 grep -v '^ *+' conftest.er1
>conftest.err
29911 cat conftest.err
>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try
='test -z "$ac_cxx_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try
='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.
$ac_ext >&5
29932 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29933 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29934 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 ac_check_lib_save_LIBS
=$LIBS
29938 LIBS
="-ldnet $LIBS"
29939 cat >conftest.
$ac_ext <<_ACEOF
29942 cat confdefs.h
>>conftest.
$ac_ext
29943 cat >>conftest.
$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29946 /* Override any gcc2 internal prototype to avoid an error. */
29950 /* We use char because int might match the return type of a gcc2
29951 builtin and then its argument prototype would still apply. */
29961 rm -f conftest.
$ac_objext conftest
$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963 (eval $ac_link) 2>conftest.er1
29965 grep -v '^ *+' conftest.er1
>conftest.err
29967 cat conftest.err
>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try
='test -z "$ac_cxx_werror_flag"
29971 || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try
='test -s conftest$ac_exeext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 ac_cv_lib_dnet_dnet_ntoa
=yes
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.
$ac_ext >&5
29988 ac_cv_lib_dnet_dnet_ntoa
=no
29990 rm -f conftest.err conftest.
$ac_objext \
29991 conftest
$ac_exeext conftest.
$ac_ext
29992 LIBS
=$ac_check_lib_save_LIBS
29994 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29995 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29996 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30000 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30001 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30002 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30003 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30004 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 ac_check_lib_save_LIBS
=$LIBS
30007 LIBS
="-ldnet_stub $LIBS"
30008 cat >conftest.
$ac_ext <<_ACEOF
30011 cat confdefs.h
>>conftest.
$ac_ext
30012 cat >>conftest.
$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30015 /* Override any gcc2 internal prototype to avoid an error. */
30019 /* We use char because int might match the return type of a gcc2
30020 builtin and then its argument prototype would still apply. */
30030 rm -f conftest.
$ac_objext conftest
$ac_exeext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30032 (eval $ac_link) 2>conftest.er1
30034 grep -v '^ *+' conftest.er1
>conftest.err
30036 cat conftest.err
>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try
='test -z "$ac_cxx_werror_flag"
30040 || test ! -s conftest.err'
30041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30042 (eval $ac_try) 2>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; } &&
30046 { ac_try
='test -s conftest$ac_exeext'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; }; then
30052 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.
$ac_ext >&5
30057 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30059 rm -f conftest.err conftest.
$ac_objext \
30060 conftest
$ac_exeext conftest.
$ac_ext
30061 LIBS
=$ac_check_lib_save_LIBS
30063 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30064 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30065 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30071 rm -f conftest.err conftest.
$ac_objext \
30072 conftest
$ac_exeext conftest.
$ac_ext
30073 LIBS
="$ac_xsave_LIBS"
30075 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30076 # to get the SysV transport functions.
30077 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30079 # The nsl library prevents programs from opening the X display
30080 # on Irix 5.2, according to T.E. Dickey.
30081 # The functions gethostbyname, getservbyname, and inet_addr are
30082 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30083 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30084 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30085 if test "${ac_cv_func_gethostbyname+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 cat >conftest.
$ac_ext <<_ACEOF
30091 cat confdefs.h
>>conftest.
$ac_ext
30092 cat >>conftest.
$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30096 #define gethostbyname innocuous_gethostbyname
30098 /* System header to define __stub macros and hopefully few prototypes,
30099 which can conflict with char gethostbyname (); below.
30100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30101 <limits.h> exists even on freestanding compilers. */
30104 # include <limits.h>
30106 # include <assert.h>
30109 #undef gethostbyname
30111 /* Override any gcc2 internal prototype to avoid an error. */
30116 /* We use char because int might match the return type of a gcc2
30117 builtin and then its argument prototype would still apply. */
30118 char gethostbyname ();
30119 /* The GNU C library defines this for functions which it implements
30120 to always fail with ENOSYS. Some functions are actually named
30121 something starting with __ and the normal name is an alias. */
30122 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30125 char (*f) () = gethostbyname;
30134 return f != gethostbyname;
30139 rm -f conftest.
$ac_objext conftest
$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30143 grep -v '^ *+' conftest.er1
>conftest.err
30145 cat conftest.err
>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try
='test -z "$ac_cxx_werror_flag"
30149 || test ! -s conftest.err'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; } &&
30155 { ac_try
='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 ac_cv_func_gethostbyname
=yes
30163 echo "$as_me: failed program was:" >&5
30164 sed 's/^/| /' conftest.
$ac_ext >&5
30166 ac_cv_func_gethostbyname
=no
30168 rm -f conftest.err conftest.
$ac_objext \
30169 conftest
$ac_exeext conftest.
$ac_ext
30171 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30172 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30174 if test $ac_cv_func_gethostbyname = no
; then
30175 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30176 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30177 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30180 ac_check_lib_save_LIBS
=$LIBS
30182 cat >conftest.
$ac_ext <<_ACEOF
30185 cat confdefs.h
>>conftest.
$ac_ext
30186 cat >>conftest.
$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30189 /* Override any gcc2 internal prototype to avoid an error. */
30193 /* We use char because int might match the return type of a gcc2
30194 builtin and then its argument prototype would still apply. */
30195 char gethostbyname ();
30204 rm -f conftest.
$ac_objext conftest
$ac_exeext
30205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30206 (eval $ac_link) 2>conftest.er1
30208 grep -v '^ *+' conftest.er1
>conftest.err
30210 cat conftest.err
>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } &&
30213 { ac_try
='test -z "$ac_cxx_werror_flag"
30214 || test ! -s conftest.err'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; } &&
30220 { ac_try
='test -s conftest$ac_exeext'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; }; then
30226 ac_cv_lib_nsl_gethostbyname
=yes
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.
$ac_ext >&5
30231 ac_cv_lib_nsl_gethostbyname
=no
30233 rm -f conftest.err conftest.
$ac_objext \
30234 conftest
$ac_exeext conftest.
$ac_ext
30235 LIBS
=$ac_check_lib_save_LIBS
30237 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30238 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30239 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30240 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30243 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30244 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30245 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30246 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 ac_check_lib_save_LIBS
=$LIBS
30251 cat >conftest.
$ac_ext <<_ACEOF
30254 cat confdefs.h
>>conftest.
$ac_ext
30255 cat >>conftest.
$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30258 /* Override any gcc2 internal prototype to avoid an error. */
30262 /* We use char because int might match the return type of a gcc2
30263 builtin and then its argument prototype would still apply. */
30264 char gethostbyname ();
30273 rm -f conftest.
$ac_objext conftest
$ac_exeext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30275 (eval $ac_link) 2>conftest.er1
30277 grep -v '^ *+' conftest.er1
>conftest.err
30279 cat conftest.err
>&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } &&
30282 { ac_try
='test -z "$ac_cxx_werror_flag"
30283 || test ! -s conftest.err'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; } &&
30289 { ac_try
='test -s conftest$ac_exeext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 ac_cv_lib_bsd_gethostbyname
=yes
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.
$ac_ext >&5
30300 ac_cv_lib_bsd_gethostbyname
=no
30302 rm -f conftest.err conftest.
$ac_objext \
30303 conftest
$ac_exeext conftest.
$ac_ext
30304 LIBS
=$ac_check_lib_save_LIBS
30306 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30307 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30308 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30309 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30316 # socket/setsockopt and other routines are undefined under SCO ODT
30317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30318 # on later versions), says Simon Leinen: it contains gethostby*
30319 # variants that don't use the name server (or something). -lsocket
30320 # must be given before -lnsl if both are needed. We assume that
30321 # if connect needs -lnsl, so does gethostbyname.
30322 echo "$as_me:$LINENO: checking for connect" >&5
30323 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30324 if test "${ac_cv_func_connect+set}" = set; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30327 cat >conftest.
$ac_ext <<_ACEOF
30330 cat confdefs.h
>>conftest.
$ac_ext
30331 cat >>conftest.
$ac_ext <<_ACEOF
30332 /* end confdefs.h. */
30333 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30335 #define connect innocuous_connect
30337 /* System header to define __stub macros and hopefully few prototypes,
30338 which can conflict with char connect (); below.
30339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30340 <limits.h> exists even on freestanding compilers. */
30343 # include <limits.h>
30345 # include <assert.h>
30350 /* Override any gcc2 internal prototype to avoid an error. */
30355 /* We use char because int might match the return type of a gcc2
30356 builtin and then its argument prototype would still apply. */
30358 /* The GNU C library defines this for functions which it implements
30359 to always fail with ENOSYS. Some functions are actually named
30360 something starting with __ and the normal name is an alias. */
30361 #if defined (__stub_connect) || defined (__stub___connect)
30364 char (*f) () = connect;
30373 return f != connect;
30378 rm -f conftest.
$ac_objext conftest
$ac_exeext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30380 (eval $ac_link) 2>conftest.er1
30382 grep -v '^ *+' conftest.er1
>conftest.err
30384 cat conftest.err
>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try
='test -z "$ac_cxx_werror_flag"
30388 || test ! -s conftest.err'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; } &&
30394 { ac_try
='test -s conftest$ac_exeext'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; }; then
30400 ac_cv_func_connect
=yes
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.
$ac_ext >&5
30405 ac_cv_func_connect
=no
30407 rm -f conftest.err conftest.
$ac_objext \
30408 conftest
$ac_exeext conftest.
$ac_ext
30410 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30411 echo "${ECHO_T}$ac_cv_func_connect" >&6
30413 if test $ac_cv_func_connect = no
; then
30414 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30415 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30416 if test "${ac_cv_lib_socket_connect+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 ac_check_lib_save_LIBS
=$LIBS
30420 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30421 cat >conftest.
$ac_ext <<_ACEOF
30424 cat confdefs.h
>>conftest.
$ac_ext
30425 cat >>conftest.
$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30428 /* Override any gcc2 internal prototype to avoid an error. */
30432 /* We use char because int might match the return type of a gcc2
30433 builtin and then its argument prototype would still apply. */
30443 rm -f conftest.
$ac_objext conftest
$ac_exeext
30444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30445 (eval $ac_link) 2>conftest.er1
30447 grep -v '^ *+' conftest.er1
>conftest.err
30449 cat conftest.err
>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } &&
30452 { ac_try
='test -z "$ac_cxx_werror_flag"
30453 || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try
='test -s conftest$ac_exeext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 ac_cv_lib_socket_connect
=yes
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.
$ac_ext >&5
30470 ac_cv_lib_socket_connect
=no
30472 rm -f conftest.err conftest.
$ac_objext \
30473 conftest
$ac_exeext conftest.
$ac_ext
30474 LIBS
=$ac_check_lib_save_LIBS
30476 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30477 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30478 if test $ac_cv_lib_socket_connect = yes; then
30479 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30484 # Guillermo Gomez says -lposix is necessary on A/UX.
30485 echo "$as_me:$LINENO: checking for remove" >&5
30486 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30487 if test "${ac_cv_func_remove+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 cat >conftest.
$ac_ext <<_ACEOF
30493 cat confdefs.h
>>conftest.
$ac_ext
30494 cat >>conftest.
$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30496 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30498 #define remove innocuous_remove
30500 /* System header to define __stub macros and hopefully few prototypes,
30501 which can conflict with char remove (); below.
30502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30503 <limits.h> exists even on freestanding compilers. */
30506 # include <limits.h>
30508 # include <assert.h>
30513 /* Override any gcc2 internal prototype to avoid an error. */
30518 /* We use char because int might match the return type of a gcc2
30519 builtin and then its argument prototype would still apply. */
30521 /* The GNU C library defines this for functions which it implements
30522 to always fail with ENOSYS. Some functions are actually named
30523 something starting with __ and the normal name is an alias. */
30524 #if defined (__stub_remove) || defined (__stub___remove)
30527 char (*f) () = remove;
30536 return f != remove;
30541 rm -f conftest.
$ac_objext conftest
$ac_exeext
30542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30543 (eval $ac_link) 2>conftest.er1
30545 grep -v '^ *+' conftest.er1
>conftest.err
30547 cat conftest.err
>&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); } &&
30550 { ac_try
='test -z "$ac_cxx_werror_flag"
30551 || test ! -s conftest.err'
30552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30553 (eval $ac_try) 2>&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); }; } &&
30557 { ac_try
='test -s conftest$ac_exeext'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; }; then
30563 ac_cv_func_remove
=yes
30565 echo "$as_me: failed program was:" >&5
30566 sed 's/^/| /' conftest.
$ac_ext >&5
30568 ac_cv_func_remove
=no
30570 rm -f conftest.err conftest.
$ac_objext \
30571 conftest
$ac_exeext conftest.
$ac_ext
30573 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30574 echo "${ECHO_T}$ac_cv_func_remove" >&6
30576 if test $ac_cv_func_remove = no
; then
30577 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30578 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30579 if test "${ac_cv_lib_posix_remove+set}" = set; then
30580 echo $ECHO_N "(cached) $ECHO_C" >&6
30582 ac_check_lib_save_LIBS
=$LIBS
30583 LIBS
="-lposix $LIBS"
30584 cat >conftest.
$ac_ext <<_ACEOF
30587 cat confdefs.h
>>conftest.
$ac_ext
30588 cat >>conftest.
$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30591 /* Override any gcc2 internal prototype to avoid an error. */
30595 /* We use char because int might match the return type of a gcc2
30596 builtin and then its argument prototype would still apply. */
30606 rm -f conftest.
$ac_objext conftest
$ac_exeext
30607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30608 (eval $ac_link) 2>conftest.er1
30610 grep -v '^ *+' conftest.er1
>conftest.err
30612 cat conftest.err
>&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } &&
30615 { ac_try
='test -z "$ac_cxx_werror_flag"
30616 || test ! -s conftest.err'
30617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30618 (eval $ac_try) 2>&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; } &&
30622 { ac_try
='test -s conftest$ac_exeext'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; }; then
30628 ac_cv_lib_posix_remove
=yes
30630 echo "$as_me: failed program was:" >&5
30631 sed 's/^/| /' conftest.
$ac_ext >&5
30633 ac_cv_lib_posix_remove
=no
30635 rm -f conftest.err conftest.
$ac_objext \
30636 conftest
$ac_exeext conftest.
$ac_ext
30637 LIBS
=$ac_check_lib_save_LIBS
30639 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30640 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30641 if test $ac_cv_lib_posix_remove = yes; then
30642 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30647 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30648 echo "$as_me:$LINENO: checking for shmat" >&5
30649 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30650 if test "${ac_cv_func_shmat+set}" = set; then
30651 echo $ECHO_N "(cached) $ECHO_C" >&6
30653 cat >conftest.
$ac_ext <<_ACEOF
30656 cat confdefs.h
>>conftest.
$ac_ext
30657 cat >>conftest.
$ac_ext <<_ACEOF
30658 /* end confdefs.h. */
30659 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30661 #define shmat innocuous_shmat
30663 /* System header to define __stub macros and hopefully few prototypes,
30664 which can conflict with char shmat (); below.
30665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30666 <limits.h> exists even on freestanding compilers. */
30669 # include <limits.h>
30671 # include <assert.h>
30676 /* Override any gcc2 internal prototype to avoid an error. */
30681 /* We use char because int might match the return type of a gcc2
30682 builtin and then its argument prototype would still apply. */
30684 /* The GNU C library defines this for functions which it implements
30685 to always fail with ENOSYS. Some functions are actually named
30686 something starting with __ and the normal name is an alias. */
30687 #if defined (__stub_shmat) || defined (__stub___shmat)
30690 char (*f) () = shmat;
30704 rm -f conftest.
$ac_objext conftest
$ac_exeext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30706 (eval $ac_link) 2>conftest.er1
30708 grep -v '^ *+' conftest.er1
>conftest.err
30710 cat conftest.err
>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try
='test -z "$ac_cxx_werror_flag"
30714 || test ! -s conftest.err'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try
='test -s conftest$ac_exeext'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 ac_cv_func_shmat
=yes
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.
$ac_ext >&5
30731 ac_cv_func_shmat
=no
30733 rm -f conftest.err conftest.
$ac_objext \
30734 conftest
$ac_exeext conftest.
$ac_ext
30736 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30737 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30739 if test $ac_cv_func_shmat = no
; then
30740 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30741 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30742 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30743 echo $ECHO_N "(cached) $ECHO_C" >&6
30745 ac_check_lib_save_LIBS
=$LIBS
30747 cat >conftest.
$ac_ext <<_ACEOF
30750 cat confdefs.h
>>conftest.
$ac_ext
30751 cat >>conftest.
$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30754 /* Override any gcc2 internal prototype to avoid an error. */
30758 /* We use char because int might match the return type of a gcc2
30759 builtin and then its argument prototype would still apply. */
30769 rm -f conftest.
$ac_objext conftest
$ac_exeext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30771 (eval $ac_link) 2>conftest.er1
30773 grep -v '^ *+' conftest.er1
>conftest.err
30775 cat conftest.err
>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try
='test -z "$ac_cxx_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try
='test -s conftest$ac_exeext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791 ac_cv_lib_ipc_shmat
=yes
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.
$ac_ext >&5
30796 ac_cv_lib_ipc_shmat
=no
30798 rm -f conftest.err conftest.
$ac_objext \
30799 conftest
$ac_exeext conftest.
$ac_ext
30800 LIBS
=$ac_check_lib_save_LIBS
30802 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30803 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30804 if test $ac_cv_lib_ipc_shmat = yes; then
30805 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30811 # Check for libraries that X11R6 Xt/Xaw programs need.
30812 ac_save_LDFLAGS
=$LDFLAGS
30813 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30814 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30815 # check for ICE first), but we must link in the order -lSM -lICE or
30816 # we get undefined symbols. So assume we have SM if we have ICE.
30817 # These have to be linked with before -lX11, unlike the other
30818 # libraries we check for below, so use a different variable.
30819 # John Interrante, Karl Berry
30820 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30821 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30822 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 ac_check_lib_save_LIBS
=$LIBS
30826 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30827 cat >conftest.
$ac_ext <<_ACEOF
30830 cat confdefs.h
>>conftest.
$ac_ext
30831 cat >>conftest.
$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30834 /* Override any gcc2 internal prototype to avoid an error. */
30838 /* We use char because int might match the return type of a gcc2
30839 builtin and then its argument prototype would still apply. */
30840 char IceConnectionNumber ();
30844 IceConnectionNumber ();
30849 rm -f conftest.
$ac_objext conftest
$ac_exeext
30850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30851 (eval $ac_link) 2>conftest.er1
30853 grep -v '^ *+' conftest.er1
>conftest.err
30855 cat conftest.err
>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } &&
30858 { ac_try
='test -z "$ac_cxx_werror_flag"
30859 || test ! -s conftest.err'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; } &&
30865 { ac_try
='test -s conftest$ac_exeext'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; }; then
30871 ac_cv_lib_ICE_IceConnectionNumber
=yes
30873 echo "$as_me: failed program was:" >&5
30874 sed 's/^/| /' conftest.
$ac_ext >&5
30876 ac_cv_lib_ICE_IceConnectionNumber
=no
30878 rm -f conftest.err conftest.
$ac_objext \
30879 conftest
$ac_exeext conftest.
$ac_ext
30880 LIBS
=$ac_check_lib_save_LIBS
30882 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30883 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30884 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30885 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30888 LDFLAGS
=$ac_save_LDFLAGS
30893 if test "$no_x" = "yes"; then
30894 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30895 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30896 { (exit 1); exit 1; }; }
30899 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30900 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30901 AFMINSTALL
=afminstall
30902 COMPILED_X_PROGRAM
=0
30906 if test "$wxUSE_X11" = 1; then
30907 if test "$wxUSE_NANOX" = "yes"; then
30908 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30909 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30910 if test "x$MICROWIN" = x
; then
30911 echo "$as_me:$LINENO: result: not found" >&5
30912 echo "${ECHO_T}not found" >&6
30913 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30914 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30915 { (exit 1); exit 1; }; }
30917 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30918 echo "${ECHO_T}$MICROWIN" >&6
30919 cat >>confdefs.h
<<\_ACEOF
30920 #define wxUSE_NANOX 1
30926 if test "$wxUSE_UNICODE" = "yes"; then
30929 echo "$as_me:$LINENO: checking for PANGOX" >&5
30930 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30932 if test -n "$PKG_CONFIG"; then
30933 if test -n "$PANGOX_CFLAGS"; then
30934 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30936 if test -n "$PKG_CONFIG" && \
30937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30938 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; then
30942 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30950 if test -n "$PKG_CONFIG"; then
30951 if test -n "$PANGOX_LIBS"; then
30952 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30954 if test -n "$PKG_CONFIG" && \
30955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30956 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; then
30960 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30971 if test $pkg_failed = yes; then
30973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30974 _pkg_short_errors_supported
=yes
30976 _pkg_short_errors_supported
=no
30978 if test $_pkg_short_errors_supported = yes; then
30979 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30981 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30983 # Put the nasty error message in config.log where it belongs
30984 echo "$PANGOX_PKG_ERRORS" >&5
30987 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30988 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30989 { (exit 1); exit 1; }; }
30992 elif test $pkg_failed = untried
; then
30994 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30995 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30996 { (exit 1); exit 1; }; }
31000 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31001 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31002 echo "$as_me:$LINENO: result: yes" >&5
31003 echo "${ECHO_T}yes" >&6
31005 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31011 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31012 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31014 if test -n "$PKG_CONFIG"; then
31015 if test -n "$PANGOFT2_CFLAGS"; then
31016 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31018 if test -n "$PKG_CONFIG" && \
31019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31020 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; then
31024 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31032 if test -n "$PKG_CONFIG"; then
31033 if test -n "$PANGOFT2_LIBS"; then
31034 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31036 if test -n "$PKG_CONFIG" && \
31037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31038 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; then
31042 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31053 if test $pkg_failed = yes; then
31055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31056 _pkg_short_errors_supported
=yes
31058 _pkg_short_errors_supported
=no
31060 if test $_pkg_short_errors_supported = yes; then
31061 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31063 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31065 # Put the nasty error message in config.log where it belongs
31066 echo "$PANGOFT2_PKG_ERRORS" >&5
31069 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31070 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31071 wxUSE_PRINTING_ARCHITECTURE
="no"
31074 elif test $pkg_failed = untried
; then
31076 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31077 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31078 wxUSE_PRINTING_ARCHITECTURE
="no"
31082 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31083 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31084 echo "$as_me:$LINENO: result: yes" >&5
31085 echo "${ECHO_T}yes" >&6
31087 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31088 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31093 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31094 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOXFT_CFLAGS"; then
31098 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31114 if test -n "$PKG_CONFIG"; then
31115 if test -n "$PANGOXFT_LIBS"; then
31116 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31118 if test -n "$PKG_CONFIG" && \
31119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31120 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 (exit $ac_status); }; then
31124 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31135 if test $pkg_failed = yes; then
31137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31138 _pkg_short_errors_supported
=yes
31140 _pkg_short_errors_supported
=no
31142 if test $_pkg_short_errors_supported = yes; then
31143 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31145 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31147 # Put the nasty error message in config.log where it belongs
31148 echo "$PANGOXFT_PKG_ERRORS" >&5
31151 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31152 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31155 elif test $pkg_failed = untried
; then
31157 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31158 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31162 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31163 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31164 echo "$as_me:$LINENO: result: yes" >&5
31165 echo "${ECHO_T}yes" >&6
31167 cat >>confdefs.h
<<\_ACEOF
31168 #define HAVE_PANGO_XFT 1
31171 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31175 save_CXXFLAGS
="$CXXFLAGS"
31177 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31178 LIBS
="$LIBS $PANGOX_LIBS"
31180 for ac_func
in pango_font_family_is_monospace
31182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31183 echo "$as_me:$LINENO: checking for $ac_func" >&5
31184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31185 if eval "test \"\${$as_ac_var+set}\" = set"; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31188 cat >conftest.
$ac_ext <<_ACEOF
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31196 #define $ac_func innocuous_$ac_func
31198 /* System header to define __stub macros and hopefully few prototypes,
31199 which can conflict with char $ac_func (); below.
31200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31201 <limits.h> exists even on freestanding compilers. */
31204 # include <limits.h>
31206 # include <assert.h>
31211 /* Override any gcc2 internal prototype to avoid an error. */
31216 /* We use char because int might match the return type of a gcc2
31217 builtin and then its argument prototype would still apply. */
31219 /* The GNU C library defines this for functions which it implements
31220 to always fail with ENOSYS. Some functions are actually named
31221 something starting with __ and the normal name is an alias. */
31222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31225 char (*f) () = $ac_func;
31234 return f != $ac_func;
31239 rm -f conftest.
$ac_objext conftest
$ac_exeext
31240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31241 (eval $ac_link) 2>conftest.er1
31243 grep -v '^ *+' conftest.er1
>conftest.err
31245 cat conftest.err
>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } &&
31248 { ac_try
='test -z "$ac_cxx_werror_flag"
31249 || test ! -s conftest.err'
31250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31251 (eval $ac_try) 2>&5
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); }; } &&
31255 { ac_try
='test -s conftest$ac_exeext'
31256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31257 (eval $ac_try) 2>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; }; then
31261 eval "$as_ac_var=yes"
31263 echo "$as_me: failed program was:" >&5
31264 sed 's/^/| /' conftest.
$ac_ext >&5
31266 eval "$as_ac_var=no"
31268 rm -f conftest.err conftest.
$ac_objext \
31269 conftest
$ac_exeext conftest.
$ac_ext
31271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31273 if test `eval echo '${'$as_ac_var'}'` = yes; then
31274 cat >>confdefs.h
<<_ACEOF
31275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31281 CXXFLAGS
="$save_CXXFLAGS"
31285 wxUSE_UNIVERSAL
="yes"
31287 if test "$wxUSE_NANOX" = "yes"; then
31288 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31289 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"
31290 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31292 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31299 if test "$wxUSE_MOTIF" = 1; then
31300 if test "$wxUSE_UNICODE" = "yes"; then
31301 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31302 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31303 { (exit 1); exit 1; }; }
31306 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31307 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31310 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31312 if test -f "$ac_dir/Xm/Xm.h"; then
31313 ac_find_includes
=$ac_dir
31318 if test "$ac_find_includes" != "" ; then
31319 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31320 echo "${ECHO_T}found in $ac_find_includes" >&6
31322 if test "x$ac_find_includes" = "x/usr/include"; then
31323 ac_path_to_include
=""
31325 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31327 if test $result = 0; then
31328 ac_path_to_include
=""
31330 ac_path_to_include
=" -I$ac_find_includes"
31334 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31336 save_CXXFLAGS
=$CXXFLAGS
31337 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31339 cat >conftest.
$ac_ext <<_ACEOF
31342 cat confdefs.h
>>conftest.
$ac_ext
31343 cat >>conftest.
$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31353 version = xmUseVersion;
31359 rm -f conftest.
$ac_objext
31360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31361 (eval $ac_compile) 2>conftest.er1
31363 grep -v '^ *+' conftest.er1
>conftest.err
31365 cat conftest.err
>&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); } &&
31368 { ac_try
='test -z "$ac_cxx_werror_flag"
31369 || test ! -s conftest.err'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; } &&
31375 { ac_try
='test -s conftest.$ac_objext'
31376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31377 (eval $ac_try) 2>&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; }; then
31382 echo "$as_me:$LINENO: result: found in default search path" >&5
31383 echo "${ECHO_T}found in default search path" >&6
31384 COMPILED_X_PROGRAM
=1
31387 echo "$as_me: failed program was:" >&5
31388 sed 's/^/| /' conftest.
$ac_ext >&5
31391 echo "$as_me:$LINENO: result: no" >&5
31392 echo "${ECHO_T}no" >&6
31393 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31394 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31395 { (exit 1); exit 1; }; }
31399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31401 CXXFLAGS
=$save_CXXFLAGS
31405 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31406 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31409 for ac_dir
in $SEARCH_LIB;
31411 for ac_extension
in a so sl dylib dll.a
; do
31412 if test -f "$ac_dir/libXm.$ac_extension"; then
31413 ac_find_libraries
=$ac_dir
31420 if test "x$ac_find_libraries" != "x" ; then
31421 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31422 echo "${ECHO_T}found in $ac_find_libraries" >&6
31425 if test "$ac_find_libraries" = "default location"; then
31428 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31430 if test $result = 0; then
31433 ac_path_to_link
=" -L$ac_find_libraries"
31437 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31439 save_CXXFLAGS
=$CXXFLAGS
31440 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31442 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31444 cat >conftest.
$ac_ext <<_ACEOF
31447 cat confdefs.h
>>conftest.
$ac_ext
31448 cat >>conftest.
$ac_ext <<_ACEOF
31449 /* end confdefs.h. */
31458 version = xmUseVersion;
31464 rm -f conftest.
$ac_objext conftest
$ac_exeext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31466 (eval $ac_link) 2>conftest.er1
31468 grep -v '^ *+' conftest.er1
>conftest.err
31470 cat conftest.err
>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try
='test -z "$ac_cxx_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try
='test -s conftest$ac_exeext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31487 echo "$as_me:$LINENO: result: found in default search path" >&5
31488 echo "${ECHO_T}found in default search path" >&6
31489 COMPILED_X_PROGRAM
=1
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.
$ac_ext >&5
31496 echo "$as_me:$LINENO: result: no" >&5
31497 echo "${ECHO_T}no" >&6
31498 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31499 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31500 { (exit 1); exit 1; }; }
31504 rm -f conftest.err conftest.
$ac_objext \
31505 conftest
$ac_exeext conftest.
$ac_ext
31507 CXXFLAGS
=$save_CXXFLAGS
31511 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31512 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31516 for libp
in "" " -lXp"; do
31517 if test "$libs_found" = "0"; then
31518 for libsm_ice
in "" " -lSM -lICE"; do
31519 if test "$libs_found" = "0"; then
31521 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31522 save_CXXFLAGS
=$CXXFLAGS
31523 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31525 cat >conftest.
$ac_ext <<_ACEOF
31528 cat confdefs.h
>>conftest.
$ac_ext
31529 cat >>conftest.
$ac_ext <<_ACEOF
31530 /* end confdefs.h. */
31533 #include <Xm/List.h>
31539 XmString string = NULL;
31542 XmListAddItem(w, string, position);
31548 rm -f conftest.
$ac_objext conftest
$ac_exeext
31549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31550 (eval $ac_link) 2>conftest.er1
31552 grep -v '^ *+' conftest.er1
>conftest.err
31554 cat conftest.err
>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); } &&
31557 { ac_try
='test -z "$ac_cxx_werror_flag"
31558 || test ! -s conftest.err'
31559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31560 (eval $ac_try) 2>&5
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; } &&
31564 { ac_try
='test -s conftest$ac_exeext'
31565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31566 (eval $ac_try) 2>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; }; then
31572 libsm_ice_link
="$libsm_ice"
31573 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31574 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31578 echo "$as_me: failed program was:" >&5
31579 sed 's/^/| /' conftest.
$ac_ext >&5
31584 rm -f conftest.err conftest.
$ac_objext \
31585 conftest
$ac_exeext conftest.
$ac_ext
31588 CXXFLAGS
=$save_CXXFLAGS
31594 if test "$libs_found" = "0"; then
31595 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31596 echo "${ECHO_T}can't find the right libraries" >&6
31597 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31598 echo "$as_me: error: can't link a simple motif program" >&2;}
31599 { (exit 1); exit 1; }; }
31602 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31603 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31604 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31605 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 ac_check_lib_save_LIBS
=$LIBS
31609 cat >conftest.
$ac_ext <<_ACEOF
31612 cat confdefs.h
>>conftest.
$ac_ext
31613 cat >>conftest.
$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31616 /* Override any gcc2 internal prototype to avoid an error. */
31620 /* We use char because int might match the return type of a gcc2
31621 builtin and then its argument prototype would still apply. */
31622 char SgCreateList ();
31631 rm -f conftest.
$ac_objext conftest
$ac_exeext
31632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31633 (eval $ac_link) 2>conftest.er1
31635 grep -v '^ *+' conftest.er1
>conftest.err
31637 cat conftest.err
>&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } &&
31640 { ac_try
='test -z "$ac_cxx_werror_flag"
31641 || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try
='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 ac_cv_lib_Sgm_SgCreateList
=yes
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.
$ac_ext >&5
31658 ac_cv_lib_Sgm_SgCreateList
=no
31660 rm -f conftest.err conftest.
$ac_objext \
31661 conftest
$ac_exeext conftest.
$ac_ext
31662 LIBS
=$ac_check_lib_save_LIBS
31664 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31665 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31666 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31667 libsgm_link
=" -lSgm"
31671 save_CXXFLAGS
=$CXXFLAGS
31672 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31674 echo "$as_me:$LINENO: checking for Motif 2" >&5
31675 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31676 if test "${wx_cv_lib_motif2+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 cat >conftest.
$ac_ext <<_ACEOF
31682 cat confdefs.h
>>conftest.
$ac_ext
31683 cat >>conftest.
$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31692 #if XmVersion < 2000
31700 rm -f conftest.
$ac_objext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31702 (eval $ac_compile) 2>conftest.er1
31704 grep -v '^ *+' conftest.er1
>conftest.err
31706 cat conftest.err
>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try
='test -z "$ac_cxx_werror_flag"
31710 || test ! -s conftest.err'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; } &&
31716 { ac_try
='test -s conftest.$ac_objext'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; }; then
31722 wx_cv_lib_motif2
="yes"
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.
$ac_ext >&5
31727 wx_cv_lib_motif2
="no"
31729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31731 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31732 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31733 if test "$wx_cv_lib_motif2" = "yes"; then
31734 cat >>confdefs.h
<<\_ACEOF
31735 #define __WXMOTIF20__ 1
31739 cat >>confdefs.h
<<\_ACEOF
31740 #define __WXMOTIF20__ 0
31745 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31746 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31747 if test "${wx_cv_lib_lesstif+set}" = set; then
31748 echo $ECHO_N "(cached) $ECHO_C" >&6
31750 cat >conftest.
$ac_ext <<_ACEOF
31753 cat confdefs.h
>>conftest.
$ac_ext
31754 cat >>conftest.
$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31763 #if !defined(LesstifVersion) || LesstifVersion <= 0
31771 rm -f conftest.
$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>conftest.er1
31775 grep -v '^ *+' conftest.er1
>conftest.err
31777 cat conftest.err
>&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } &&
31780 { ac_try
='test -z "$ac_cxx_werror_flag"
31781 || test ! -s conftest.err'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; } &&
31787 { ac_try
='test -s conftest.$ac_objext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 wx_cv_lib_lesstif
="yes"
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.
$ac_ext >&5
31798 wx_cv_lib_lesstif
="no"
31800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31803 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31804 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31805 if test "$wx_cv_lib_lesstif" = "yes"; then
31806 cat >>confdefs.h
<<\_ACEOF
31807 #define __WXLESSTIF__ 1
31811 cat >>confdefs.h
<<\_ACEOF
31812 #define __WXLESSTIF__ 0
31817 CXXFLAGS
=$save_CXXFLAGS
31819 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31824 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31825 if test "$wxUSE_LIBXPM" = "sys"; then
31826 echo "$as_me:$LINENO: checking for Xpm library" >&5
31827 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31830 for ac_dir
in $SEARCH_LIB;
31832 for ac_extension
in a so sl dylib dll.a
; do
31833 if test -f "$ac_dir/libXpm.$ac_extension"; then
31834 ac_find_libraries
=$ac_dir
31840 if test "$ac_find_libraries" != "" ; then
31842 if test "$ac_find_libraries" = "default location"; then
31845 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31847 if test $result = 0; then
31850 ac_path_to_link
=" -L$ac_find_libraries"
31854 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31855 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31856 echo "${ECHO_T}found in $ac_find_libraries" >&6
31858 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31859 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31860 if test "${wx_cv_x11_xpm_h+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 save_CXXFLAGS
=$CXXFLAGS
31865 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31867 cat >conftest.
$ac_ext <<_ACEOF
31870 cat confdefs.h
>>conftest.
$ac_ext
31871 cat >>conftest.
$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31874 #include <X11/xpm.h>
31881 version = XpmLibraryVersion();
31887 rm -f conftest.
$ac_objext
31888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31889 (eval $ac_compile) 2>conftest.er1
31891 grep -v '^ *+' conftest.er1
>conftest.err
31893 cat conftest.err
>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } &&
31896 { ac_try
='test -z "$ac_cxx_werror_flag"
31897 || test ! -s conftest.err'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; } &&
31903 { ac_try
='test -s conftest.$ac_objext'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; }; then
31909 wx_cv_x11_xpm_h
=yes
31911 echo "$as_me: failed program was:" >&5
31912 sed 's/^/| /' conftest.
$ac_ext >&5
31917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31919 CXXFLAGS
=$save_CXXFLAGS
31923 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31924 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31926 if test $wx_cv_x11_xpm_h = "yes"; then
31927 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31928 cat >>confdefs.h
<<\_ACEOF
31929 #define wxHAVE_LIB_XPM 1
31933 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31934 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31940 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31941 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31942 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 ac_check_lib_save_LIBS
=$LIBS
31946 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31947 cat >conftest.
$ac_ext <<_ACEOF
31950 cat confdefs.h
>>conftest.
$ac_ext
31951 cat >>conftest.
$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31954 /* Override any gcc2 internal prototype to avoid an error. */
31958 /* We use char because int might match the return type of a gcc2
31959 builtin and then its argument prototype would still apply. */
31960 char XShapeQueryExtension ();
31964 XShapeQueryExtension ();
31969 rm -f conftest.
$ac_objext conftest
$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971 (eval $ac_link) 2>conftest.er1
31973 grep -v '^ *+' conftest.er1
>conftest.err
31975 cat conftest.err
>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try
='test -z "$ac_cxx_werror_flag"
31979 || test ! -s conftest.err'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; } &&
31985 { ac_try
='test -s conftest$ac_exeext'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.
$ac_ext >&5
31996 ac_cv_lib_Xext_XShapeQueryExtension
=no
31998 rm -f conftest.err conftest.
$ac_objext \
31999 conftest
$ac_exeext conftest.
$ac_ext
32000 LIBS
=$ac_check_lib_save_LIBS
32002 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32003 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32004 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32012 if test "$wxHAVE_XEXT_LIB" = 1; then
32013 save_CXXFLAGS
="$CXXFLAGS"
32014 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32016 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32017 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32018 cat >conftest.
$ac_ext <<_ACEOF
32021 cat confdefs.h
>>conftest.
$ac_ext
32022 cat >>conftest.
$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32025 #include <X11/Xlib.h>
32026 #include <X11/extensions/shape.h>
32032 int dummy1, dummy2;
32033 XShapeQueryExtension((Display*)NULL,
32034 (int*)NULL, (int*)NULL);
32040 rm -f conftest.
$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>conftest.er1
32044 grep -v '^ *+' conftest.er1
>conftest.err
32046 cat conftest.err
>&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try
='test -z "$ac_cxx_werror_flag"
32050 || test ! -s conftest.err'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; } &&
32056 { ac_try
='test -s conftest.$ac_objext'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; }; then
32063 cat >>confdefs.h
<<\_ACEOF
32064 #define HAVE_XSHAPE 1
32067 echo "$as_me:$LINENO: result: found" >&5
32068 echo "${ECHO_T}found" >&6
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.
$ac_ext >&5
32075 echo "$as_me:$LINENO: result: not found" >&5
32076 echo "${ECHO_T}not found" >&6
32079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32080 CXXFLAGS
="$save_CXXFLAGS"
32085 if test "$wxUSE_MAC" = 1; then
32086 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32087 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32088 if test "$GCC" = yes; then
32089 echo "$as_me:$LINENO: result: gcc" >&5
32090 echo "${ECHO_T}gcc" >&6
32091 CPPFLAGS_PASCAL
="-fpascal-strings"
32092 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32093 echo "$as_me:$LINENO: result: xlc" >&5
32094 echo "${ECHO_T}xlc" >&6
32095 CPPFLAGS_PASCAL
="-qmacpstr"
32097 echo "$as_me:$LINENO: result: none" >&5
32098 echo "${ECHO_T}none" >&6
32101 if test "x$wxUSE_UNIX" = "xyes"; then
32102 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32104 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32109 WXBASEPORT
="_carbon"
32112 if test "$wxUSE_COCOA" = 1; then
32117 if test "$wxUSE_PM" = 1; then
32120 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32121 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32122 if test "${wx_cv_spbcdata+set}" = set; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 cat >conftest.
$ac_ext <<_ACEOF
32129 cat confdefs.h
>>conftest.
$ac_ext
32130 cat >>conftest.
$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32146 rm -f conftest.
$ac_objext
32147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32148 (eval $ac_compile) 2>conftest.er1
32150 grep -v '^ *+' conftest.er1
>conftest.err
32152 cat conftest.err
>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } &&
32155 { ac_try
='test -z "$ac_cxx_werror_flag"
32156 || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try
='test -s conftest.$ac_objext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.
$ac_ext >&5
32176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32180 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32181 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32183 if test $wx_cv_spbcdata = "yes"; then
32184 cat >>confdefs.h
<<\_ACEOF
32185 #define HAVE_SPBCDATA 1
32191 if test "$TOOLKIT" = "PM" ; then
32194 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32197 if test "$wxUSE_UNIVERSAL" = "yes"; then
32198 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32202 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32203 DISTDIR
="wx\$(TOOLKIT)"
32209 if test "$USE_WIN32" = 1 ; then
32213 GUIDIST
="BASE_DIST"
32218 if test "$wxUSE_GUI" = "yes"; then
32219 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32221 for ac_header
in X
11/Xlib.h
32223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32225 echo "$as_me:$LINENO: checking for $ac_header" >&5
32226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32233 # Is the header compilable?
32234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32236 cat >conftest.
$ac_ext <<_ACEOF
32239 cat confdefs.h
>>conftest.
$ac_ext
32240 cat >>conftest.
$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 $ac_includes_default
32243 #include <$ac_header>
32245 rm -f conftest.
$ac_objext
32246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32247 (eval $ac_compile) 2>conftest.er1
32249 grep -v '^ *+' conftest.er1
>conftest.err
32251 cat conftest.err
>&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); } &&
32254 { ac_try
='test -z "$ac_cxx_werror_flag"
32255 || test ! -s conftest.err'
32256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257 (eval $ac_try) 2>&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); }; } &&
32261 { ac_try
='test -s conftest.$ac_objext'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; }; then
32267 ac_header_compiler
=yes
32269 echo "$as_me: failed program was:" >&5
32270 sed 's/^/| /' conftest.
$ac_ext >&5
32272 ac_header_compiler
=no
32274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32276 echo "${ECHO_T}$ac_header_compiler" >&6
32278 # Is the header present?
32279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32281 cat >conftest.
$ac_ext <<_ACEOF
32284 cat confdefs.h
>>conftest.
$ac_ext
32285 cat >>conftest.
$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287 #include <$ac_header>
32289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32292 grep -v '^ *+' conftest.er1
>conftest.err
32294 cat conftest.err
>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } >/dev
/null
; then
32297 if test -s conftest.err
; then
32298 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32299 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32306 if test -z "$ac_cpp_err"; then
32307 ac_header_preproc
=yes
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.
$ac_ext >&5
32312 ac_header_preproc
=no
32314 rm -f conftest.err conftest.
$ac_ext
32315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32316 echo "${ECHO_T}$ac_header_preproc" >&6
32318 # So? What about this header?
32319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32325 ac_header_preproc
=yes
32328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32342 ## ----------------------------------------- ##
32343 ## Report this to wx-dev@lists.wxwidgets.org ##
32344 ## ----------------------------------------- ##
32347 sed "s/^/$as_me: WARNING: /" >&2
32350 echo "$as_me:$LINENO: checking for $ac_header" >&5
32351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32355 eval "$as_ac_Header=\$ac_header_preproc"
32357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32362 cat >>confdefs.h
<<_ACEOF
32363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32371 for ac_header
in X
11/XKBlib.h
32373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32374 echo "$as_me:$LINENO: checking for $ac_header" >&5
32375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 cat >conftest.
$ac_ext <<_ACEOF
32382 cat confdefs.h
>>conftest.
$ac_ext
32383 cat >>conftest.
$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32386 #if HAVE_X11_XLIB_H
32387 #include <X11/Xlib.h>
32391 #include <$ac_header>
32393 rm -f conftest.
$ac_objext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32395 (eval $ac_compile) 2>conftest.er1
32397 grep -v '^ *+' conftest.er1
>conftest.err
32399 cat conftest.err
>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } &&
32402 { ac_try
='test -z "$ac_cxx_werror_flag"
32403 || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try
='test -s conftest.$ac_objext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 eval "$as_ac_Header=yes"
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.
$ac_ext >&5
32420 eval "$as_ac_Header=no"
32422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32427 cat >>confdefs.h
<<_ACEOF
32428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32443 if test "$TOOLKIT" != "MSW" ; then
32445 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32447 if test "${ac_cv_header_sql_h+set}" = set; then
32448 echo "$as_me:$LINENO: checking for sql.h" >&5
32449 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32450 if test "${ac_cv_header_sql_h+set}" = set; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32454 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32456 # Is the header compilable?
32457 echo "$as_me:$LINENO: checking sql.h usability" >&5
32458 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32459 cat >conftest.
$ac_ext <<_ACEOF
32462 cat confdefs.h
>>conftest.
$ac_ext
32463 cat >>conftest.
$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 $ac_includes_default
32468 rm -f conftest.
$ac_objext
32469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32470 (eval $ac_compile) 2>conftest.er1
32472 grep -v '^ *+' conftest.er1
>conftest.err
32474 cat conftest.err
>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } &&
32477 { ac_try
='test -z "$ac_cxx_werror_flag"
32478 || test ! -s conftest.err'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; } &&
32484 { ac_try
='test -s conftest.$ac_objext'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_header_compiler
=yes
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.
$ac_ext >&5
32495 ac_header_compiler
=no
32497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32499 echo "${ECHO_T}$ac_header_compiler" >&6
32501 # Is the header present?
32502 echo "$as_me:$LINENO: checking sql.h presence" >&5
32503 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32504 cat >conftest.
$ac_ext <<_ACEOF
32507 cat confdefs.h
>>conftest.
$ac_ext
32508 cat >>conftest.
$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32513 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32515 grep -v '^ *+' conftest.er1
>conftest.err
32517 cat conftest.err
>&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); } >/dev
/null
; then
32520 if test -s conftest.err
; then
32521 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32522 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32529 if test -z "$ac_cpp_err"; then
32530 ac_header_preproc
=yes
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.
$ac_ext >&5
32535 ac_header_preproc
=no
32537 rm -f conftest.err conftest.
$ac_ext
32538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32539 echo "${ECHO_T}$ac_header_preproc" >&6
32541 # So? What about this header?
32542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32544 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32545 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32546 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32547 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32548 ac_header_preproc
=yes
32551 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32552 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32553 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32554 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32555 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32556 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32557 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32558 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32559 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32560 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32561 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32562 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32565 ## ----------------------------------------- ##
32566 ## Report this to wx-dev@lists.wxwidgets.org ##
32567 ## ----------------------------------------- ##
32570 sed "s/^/$as_me: WARNING: /" >&2
32573 echo "$as_me:$LINENO: checking for sql.h" >&5
32574 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32575 if test "${ac_cv_header_sql_h+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 ac_cv_header_sql_h
=$ac_header_preproc
32580 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32581 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32584 if test $ac_cv_header_sql_h = yes; then
32589 if test "x$found_sql_h" = "x1" ; then
32590 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32591 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32592 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32593 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 ac_check_lib_save_LIBS
=$LIBS
32596 LIBS
="-liodbc $LIBS"
32597 cat >conftest.
$ac_ext <<_ACEOF
32600 cat confdefs.h
>>conftest.
$ac_ext
32601 cat >>conftest.
$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32604 /* Override any gcc2 internal prototype to avoid an error. */
32608 /* We use char because int might match the return type of a gcc2
32609 builtin and then its argument prototype would still apply. */
32610 char SQLAllocEnv ();
32619 rm -f conftest.
$ac_objext conftest
$ac_exeext
32620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32621 (eval $ac_link) 2>conftest.er1
32623 grep -v '^ *+' conftest.er1
>conftest.err
32625 cat conftest.err
>&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); } &&
32628 { ac_try
='test -z "$ac_cxx_werror_flag"
32629 || test ! -s conftest.err'
32630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32631 (eval $ac_try) 2>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; } &&
32635 { ac_try
='test -s conftest$ac_exeext'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; }; then
32641 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.
$ac_ext >&5
32646 ac_cv_lib_iodbc_SQLAllocEnv
=no
32648 rm -f conftest.err conftest.
$ac_objext \
32649 conftest
$ac_exeext conftest.
$ac_ext
32650 LIBS
=$ac_check_lib_save_LIBS
32652 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32653 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32654 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32655 ODBC_LINK
=" -liodbc"
32658 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32659 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32660 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 ac_check_lib_save_LIBS
=$LIBS
32664 LIBS
="-lunixodbc $LIBS"
32665 cat >conftest.
$ac_ext <<_ACEOF
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32672 /* Override any gcc2 internal prototype to avoid an error. */
32676 /* We use char because int might match the return type of a gcc2
32677 builtin and then its argument prototype would still apply. */
32678 char SQLAllocEnv ();
32687 rm -f conftest.
$ac_objext conftest
$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32691 grep -v '^ *+' conftest.er1
>conftest.err
32693 cat conftest.err
>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try
='test -z "$ac_cxx_werror_flag"
32697 || test ! -s conftest.err'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; } &&
32703 { ac_try
='test -s conftest$ac_exeext'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; }; then
32709 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.
$ac_ext >&5
32714 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32716 rm -f conftest.err conftest.
$ac_objext \
32717 conftest
$ac_exeext conftest.
$ac_ext
32718 LIBS
=$ac_check_lib_save_LIBS
32720 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32721 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32722 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32723 ODBC_LINK
=" -lunixodbc"
32726 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32727 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32728 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32729 echo $ECHO_N "(cached) $ECHO_C" >&6
32731 ac_check_lib_save_LIBS
=$LIBS
32732 LIBS
="-lodbc $LIBS"
32733 cat >conftest.
$ac_ext <<_ACEOF
32736 cat confdefs.h
>>conftest.
$ac_ext
32737 cat >>conftest.
$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32740 /* Override any gcc2 internal prototype to avoid an error. */
32744 /* We use char because int might match the return type of a gcc2
32745 builtin and then its argument prototype would still apply. */
32746 char SQLAllocEnv ();
32755 rm -f conftest.
$ac_objext conftest
$ac_exeext
32756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32757 (eval $ac_link) 2>conftest.er1
32759 grep -v '^ *+' conftest.er1
>conftest.err
32761 cat conftest.err
>&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } &&
32764 { ac_try
='test -z "$ac_cxx_werror_flag"
32765 || test ! -s conftest.err'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try
='test -s conftest$ac_exeext'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; }; then
32777 ac_cv_lib_odbc_SQLAllocEnv
=yes
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.
$ac_ext >&5
32782 ac_cv_lib_odbc_SQLAllocEnv
=no
32784 rm -f conftest.err conftest.
$ac_objext \
32785 conftest
$ac_exeext conftest.
$ac_ext
32786 LIBS
=$ac_check_lib_save_LIBS
32788 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32789 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32790 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32791 ODBC_LINK
=" -lodbc"
32801 if test "x$ODBC_LINK" = "x" ; then
32802 if test "$wxUSE_ODBC" = "sys" ; then
32803 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32804 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32805 { (exit 1); exit 1; }; }
32807 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32808 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32816 if test "$wxUSE_ODBC" = "builtin" ; then
32817 cat >>confdefs.h
<<\_ACEOF
32818 #define wxUSE_BUILTIN_IODBC 1
32824 if test "$wxUSE_ODBC" != "no" ; then
32825 cat >>confdefs.h
<<\_ACEOF
32826 #define wxUSE_ODBC 1
32829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32831 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32835 if test "$wxUSE_DISPLAY" = "yes"; then
32836 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32837 echo "$as_me:$LINENO: checking for Xinerama" >&5
32838 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32841 for ac_dir
in $SEARCH_LIB;
32843 for ac_extension
in a so sl dylib dll.a
; do
32844 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32845 ac_find_libraries
=$ac_dir
32851 if test "$ac_find_libraries" != "" ; then
32853 if test "$ac_find_libraries" = "default location"; then
32856 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32858 if test $result = 0; then
32861 ac_path_to_link
=" -L$ac_find_libraries"
32865 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32866 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32868 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32869 echo "$as_me:$LINENO: result: yes" >&5
32870 echo "${ECHO_T}yes" >&6
32872 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32873 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32876 for ac_dir
in $SEARCH_LIB;
32878 for ac_extension
in a so sl dylib dll.a
; do
32879 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32880 ac_find_libraries
=$ac_dir
32886 if test "$ac_find_libraries" != "" ; then
32887 echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6
32890 for ac_header
in X
11/extensions
/xf86vmode.h
32892 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32893 echo "$as_me:$LINENO: checking for $ac_header" >&5
32894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32896 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 cat >conftest.
$ac_ext <<_ACEOF
32901 cat confdefs.h
>>conftest.
$ac_ext
32902 cat >>conftest.
$ac_ext <<_ACEOF
32903 /* end confdefs.h. */
32905 #if HAVE_X11_XLIB_H
32906 #include <X11/Xlib.h>
32910 #include <$ac_header>
32912 rm -f conftest.
$ac_objext
32913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32914 (eval $ac_compile) 2>conftest.er1
32916 grep -v '^ *+' conftest.er1
>conftest.err
32918 cat conftest.err
>&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); } &&
32921 { ac_try
='test -z "$ac_cxx_werror_flag"
32922 || test ! -s conftest.err'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; } &&
32928 { ac_try
='test -s conftest.$ac_objext'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; }; then
32934 eval "$as_ac_Header=yes"
32936 echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.
$ac_ext >&5
32939 eval "$as_ac_Header=no"
32941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32946 cat >>confdefs.h
<<_ACEOF
32947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32957 echo "$as_me:$LINENO: result: no" >&5
32958 echo "${ECHO_T}no" >&6
32962 echo "$as_me:$LINENO: result: no" >&5
32963 echo "${ECHO_T}no" >&6
32964 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32965 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32968 elif test "$wxUSE_MSW" = 1; then
32970 for ac_header
in ddraw.h
32972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32973 echo "$as_me:$LINENO: checking for $ac_header" >&5
32974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32976 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 cat >conftest.
$ac_ext <<_ACEOF
32981 cat confdefs.h
>>conftest.
$ac_ext
32982 cat >>conftest.
$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984 #include <windows.h>
32986 #include <$ac_header>
32988 rm -f conftest.
$ac_objext
32989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32990 (eval $ac_compile) 2>conftest.er1
32992 grep -v '^ *+' conftest.er1
>conftest.err
32994 cat conftest.err
>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); } &&
32997 { ac_try
='test -z "$ac_cxx_werror_flag"
32998 || test ! -s conftest.err'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; } &&
33004 { ac_try
='test -s conftest.$ac_objext'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; }; then
33010 eval "$as_ac_Header=yes"
33012 echo "$as_me: failed program was:" >&5
33013 sed 's/^/| /' conftest.
$ac_ext >&5
33015 eval "$as_ac_Header=no"
33017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33022 cat >>confdefs.h
<<_ACEOF
33023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33035 if test "$wxUSE_OPENGL" = "yes"; then
33036 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33037 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33038 elif test "$wxUSE_MSW" = 1; then
33039 OPENGL_LIBS
="-lopengl32 -lglu32"
33044 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33046 if test -f "$ac_dir/GL/gl.h"; then
33047 ac_find_includes
=$ac_dir
33052 if test "$ac_find_includes" != "" ; then
33053 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33054 echo "${ECHO_T}found in $ac_find_includes" >&6
33056 if test "x$ac_find_includes" = "x/usr/include"; then
33057 ac_path_to_include
=""
33059 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33061 if test $result = 0; then
33062 ac_path_to_include
=""
33064 ac_path_to_include
=" -I$ac_find_includes"
33068 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33071 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33072 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33073 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33074 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33075 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33078 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33080 # Is the header compilable?
33081 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33082 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33083 cat >conftest.
$ac_ext <<_ACEOF
33086 cat confdefs.h
>>conftest.
$ac_ext
33087 cat >>conftest.
$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 $ac_includes_default
33092 rm -f conftest.
$ac_objext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33094 (eval $ac_compile) 2>conftest.er1
33096 grep -v '^ *+' conftest.er1
>conftest.err
33098 cat conftest.err
>&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try
='test -z "$ac_cxx_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try
='test -s conftest.$ac_objext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 ac_header_compiler
=yes
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.
$ac_ext >&5
33119 ac_header_compiler
=no
33121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33123 echo "${ECHO_T}$ac_header_compiler" >&6
33125 # Is the header present?
33126 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33127 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33139 grep -v '^ *+' conftest.er1
>conftest.err
33141 cat conftest.err
>&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } >/dev
/null
; then
33144 if test -s conftest.err
; then
33145 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33146 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33153 if test -z "$ac_cpp_err"; then
33154 ac_header_preproc
=yes
33156 echo "$as_me: failed program was:" >&5
33157 sed 's/^/| /' conftest.
$ac_ext >&5
33159 ac_header_preproc
=no
33161 rm -f conftest.err conftest.
$ac_ext
33162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33163 echo "${ECHO_T}$ac_header_preproc" >&6
33165 # So? What about this header?
33166 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33168 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33169 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33170 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33171 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33172 ac_header_preproc
=yes
33175 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33176 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33177 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33178 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33179 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33180 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33181 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33182 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33183 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33184 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33186 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33189 ## ----------------------------------------- ##
33190 ## Report this to wx-dev@lists.wxwidgets.org ##
33191 ## ----------------------------------------- ##
33194 sed "s/^/$as_me: WARNING: /" >&2
33197 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33198 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33199 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 ac_cv_header_GL_gl_h
=$ac_header_preproc
33204 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33205 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33208 if test $ac_cv_header_GL_gl_h = yes; then
33212 echo "$as_me:$LINENO: checking for -lGL" >&5
33213 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33216 for ac_dir
in $SEARCH_LIB;
33218 for ac_extension
in a so sl dylib dll.a
; do
33219 if test -f "$ac_dir/libGL.$ac_extension"; then
33220 ac_find_libraries
=$ac_dir
33226 if test "$ac_find_libraries" != "" ; then
33227 echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6
33231 if test "$ac_find_libraries" = "default location"; then
33234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33236 if test $result = 0; then
33239 ac_path_to_link
=" -L$ac_find_libraries"
33243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33244 LDFLAGS_GL
="$ac_path_to_link"
33247 echo "$as_me:$LINENO: checking for -lGLU" >&5
33248 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33251 for ac_dir
in $SEARCH_LIB;
33253 for ac_extension
in a so sl dylib dll.a
; do
33254 if test -f "$ac_dir/libGLU.$ac_extension"; then
33255 ac_find_libraries
=$ac_dir
33261 if test "$ac_find_libraries" != "" ; then
33263 if test "$ac_find_libraries" = "default location"; then
33266 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33268 if test $result = 0; then
33271 ac_path_to_link
=" -L$ac_find_libraries"
33275 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33276 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33277 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33281 OPENGL_LIBS
="-lGL -lGLU"
33282 echo "$as_me:$LINENO: result: yes" >&5
33283 echo "${ECHO_T}yes" >&6
33285 echo "$as_me:$LINENO: result: no" >&5
33286 echo "${ECHO_T}no" >&6
33289 echo "$as_me:$LINENO: result: no" >&5
33290 echo "${ECHO_T}no" >&6
33293 if test "$found_gl" != 1; then
33294 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33295 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33298 for ac_dir
in $SEARCH_LIB;
33300 for ac_extension
in a so sl dylib dll.a
; do
33301 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33302 ac_find_libraries
=$ac_dir
33308 if test "$ac_find_libraries" != "" ; then
33310 if test "$ac_find_libraries" = "default location"; then
33313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33315 if test $result = 0; then
33318 ac_path_to_link
=" -L$ac_find_libraries"
33322 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33323 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33324 echo "$as_me:$LINENO: result: yes" >&5
33325 echo "${ECHO_T}yes" >&6
33327 echo "$as_me:$LINENO: result: no" >&5
33328 echo "${ECHO_T}no" >&6
33336 if test "x$OPENGL_LIBS" = "x"; then
33337 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33338 echo "$as_me: error: OpenGL libraries not available" >&2;}
33339 { (exit 1); exit 1; }; }
33343 if test "$wxUSE_OPENGL" = "yes"; then
33345 cat >>confdefs.h
<<\_ACEOF
33346 #define wxUSE_OPENGL 1
33349 cat >>confdefs.h
<<\_ACEOF
33350 #define wxUSE_GLCANVAS 1
33353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33358 if test -n "$TOOLKIT" ; then
33359 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33364 if test "$wxUSE_SHARED" = "yes"; then
33368 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33369 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33374 if test "$wxUSE_SHARED" = "yes"; then
33377 found_versioning
=no
33380 if test $found_versioning = no
; then
33381 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33382 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33383 if test "${wx_cv_version_script+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33387 echo "VER_1 { *; };" >conftest.sym
33388 echo "int main() { return 0; }" >conftest.cpp
33391 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33392 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } ; then
33398 if test -s conftest.stderr
; then
33399 wx_cv_version_script
=no
33401 wx_cv_version_script
=yes
33404 wx_cv_version_script
=no
33407 if test $wx_cv_version_script = yes
33409 echo "struct B { virtual ~B() { } }; \
33410 struct D : public B { }; \
33411 void F() { D d; }" > conftest.cpp
33414 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33415 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33417 (eval $ac_try) 2>&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); }; } &&
33422 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33423 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425 (eval $ac_try) 2>&5
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); }; }
33431 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33432 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }
33439 wx_cv_version_script
=yes
33441 wx_cv_version_script
=no
33446 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33447 rm -f conftest1.output conftest2.output conftest3.output
33450 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33451 echo "${ECHO_T}$wx_cv_version_script" >&6
33452 if test $wx_cv_version_script = yes ; then
33453 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33459 *-*-linux* | *-*-gnu* )
33460 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33461 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33465 if test "$GCC" = yes ; then
33466 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33468 saveLdflags
="$LDFLAGS"
33469 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33470 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33471 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33472 cat >conftest.
$ac_ext <<_ACEOF
33475 cat confdefs.h
>>conftest.
$ac_ext
33476 cat >>conftest.
$ac_ext <<_ACEOF
33477 /* end confdefs.h. */
33487 rm -f conftest.
$ac_objext conftest
$ac_exeext
33488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33489 (eval $ac_link) 2>conftest.er1
33491 grep -v '^ *+' conftest.er1
>conftest.err
33493 cat conftest.err
>&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } &&
33496 { ac_try
='test -z "$ac_cxx_werror_flag"
33497 || test ! -s conftest.err'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; } &&
33503 { ac_try
='test -s conftest$ac_exeext'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }; then
33510 echo "$as_me:$LINENO: result: yes" >&5
33511 echo "${ECHO_T}yes" >&6
33512 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33513 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.
$ac_ext >&5
33520 echo "$as_me:$LINENO: result: no" >&5
33521 echo "${ECHO_T}no" >&6
33522 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33523 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33524 LDFLAGS
="$saveLdflags -Wl,-R,/"
33525 cat >conftest.
$ac_ext <<_ACEOF
33528 cat confdefs.h
>>conftest.
$ac_ext
33529 cat >>conftest.
$ac_ext <<_ACEOF
33530 /* end confdefs.h. */
33540 rm -f conftest.
$ac_objext conftest
$ac_exeext
33541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33542 (eval $ac_link) 2>conftest.er1
33544 grep -v '^ *+' conftest.er1
>conftest.err
33546 cat conftest.err
>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); } &&
33549 { ac_try
='test -z "$ac_cxx_werror_flag"
33550 || 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_exeext'
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
33563 echo "$as_me:$LINENO: result: yes" >&5
33564 echo "${ECHO_T}yes" >&6
33565 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33566 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33569 echo "$as_me: failed program was:" >&5
33570 sed 's/^/| /' conftest.
$ac_ext >&5
33573 echo "$as_me:$LINENO: result: no" >&5
33574 echo "${ECHO_T}no" >&6
33577 rm -f conftest.err conftest.
$ac_objext \
33578 conftest
$ac_exeext conftest.
$ac_ext
33581 rm -f conftest.err conftest.
$ac_objext \
33582 conftest
$ac_exeext conftest.
$ac_ext
33583 LDFLAGS
="$saveLdflags"
33585 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33586 WXCONFIG_RPATH
="-R\$libdir"
33591 install_name_tool
=`which install_name_tool`
33592 if test "$install_name_tool" -a -x "$install_name_tool"; then
33593 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33594 cat <<EOF >change-install-names
33596 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33597 inst_cmd="install_name_tool "
33598 for i in \${libnames} ; do
33599 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33603 chmod +x change
-install-names
33607 *-*-cygwin* | *-*-mingw32* )
33608 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33612 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33613 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33618 if test $wxUSE_RPATH = "no"; then
33619 SAMPLES_RPATH_FLAG
=''
33620 SAMPLES_RPATH_POSTLINK
=''
33628 config_linkage_component
="-static"
33635 lib_unicode_suffix
=
33637 if test "$wxUSE_UNICODE" = "yes"; then
33638 lib_unicode_suffix
=u
33639 WX_CHARTYPE
="unicode"
33644 WX_DEBUGTYPE
="release"
33646 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33648 WX_DEBUGTYPE
="debug"
33652 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33653 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33656 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33660 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33662 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33664 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33666 if test "$cross_compiling" = "yes"; then
33667 HOST_SUFFIX
="-$host_alias"
33668 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33669 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33672 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33673 if test "${TOOLKIT_DIR}" = "os2"; then
33674 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33676 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33681 if test "$wxUSE_COCOA" = 1; then
33685 ac_cpp
='$CPP $CPPFLAGS'
33686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33692 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33693 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33694 cat >conftest.
$ac_ext <<_ACEOF
33697 cat confdefs.h
>>conftest.
$ac_ext
33698 cat >>conftest.
$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 #include <AppKit/NSEvent.h>
33701 #include <CoreFoundation/CoreFoundation.h>
33711 rm -f conftest.
$ac_objext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33713 (eval $ac_compile) 2>conftest.er1
33715 grep -v '^ *+' conftest.er1
>conftest.err
33717 cat conftest.err
>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try
='test -z "$ac_c_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try
='test -s conftest.$ac_objext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.
$ac_ext >&5
33739 echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6
33741 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33742 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33743 cat >conftest.
$ac_ext <<_ACEOF
33746 cat confdefs.h
>>conftest.
$ac_ext
33747 cat >>conftest.
$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #define __Point__ 1
33750 #include <AppKit/NSEvent.h>
33751 #include <CoreFoundation/CoreFoundation.h>
33761 rm -f conftest.
$ac_objext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33763 (eval $ac_compile) 2>conftest.er1
33765 grep -v '^ *+' conftest.er1
>conftest.err
33767 cat conftest.err
>&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try
='test -z "$ac_c_werror_flag"
33771 || test ! -s conftest.err'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; } &&
33777 { ac_try
='test -s conftest.$ac_objext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 echo "$as_me:$LINENO: result: yes" >&5
33784 echo "${ECHO_T}yes" >&6
33785 cat >>confdefs.h
<<\_ACEOF
33786 #define __Point__ 1
33791 echo "$as_me: failed program was:" >&5
33792 sed 's/^/| /' conftest.
$ac_ext >&5
33794 { { echo "$as_me:$LINENO: error: no
33795 See \`config.log' for more details." >&5
33796 echo "$as_me: error: no
33797 See \`config.log' for more details." >&2;}
33798 { (exit 1); exit 1; }; }
33801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33806 ac_cpp
='$CXXCPP $CPPFLAGS'
33807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33813 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33814 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33815 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33817 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33819 # Extract the first word of "Rez", so it can be a program name with args.
33820 set dummy Rez
; ac_word
=$2
33821 echo "$as_me:$LINENO: checking for $ac_word" >&5
33822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33823 if test "${ac_cv_prog_REZ+set}" = set; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 if test -n "$REZ"; then
33827 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33830 for as_dir
in $PATH
33833 test -z "$as_dir" && as_dir
=.
33834 for ac_exec_ext
in '' $ac_executable_extensions; do
33835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33836 ac_cv_prog_REZ
="Rez"
33837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33843 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33846 REZ
=$ac_cv_prog_REZ
33847 if test -n "$REZ"; then
33848 echo "$as_me:$LINENO: result: $REZ" >&5
33849 echo "${ECHO_T}$REZ" >&6
33851 echo "$as_me:$LINENO: result: no" >&5
33852 echo "${ECHO_T}no" >&6
33855 # Extract the first word of "DeRez", so it can be a program name with args.
33856 set dummy DeRez
; ac_word
=$2
33857 echo "$as_me:$LINENO: checking for $ac_word" >&5
33858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33859 if test "${ac_cv_prog_DEREZ+set}" = set; then
33860 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 if test -n "$DEREZ"; then
33863 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33866 for as_dir
in $PATH
33869 test -z "$as_dir" && as_dir
=.
33870 for ac_exec_ext
in '' $ac_executable_extensions; do
33871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33872 ac_cv_prog_DEREZ
="DeRez"
33873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33879 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33882 DEREZ
=$ac_cv_prog_DEREZ
33883 if test -n "$DEREZ"; then
33884 echo "$as_me:$LINENO: result: $DEREZ" >&5
33885 echo "${ECHO_T}$DEREZ" >&6
33887 echo "$as_me:$LINENO: result: no" >&5
33888 echo "${ECHO_T}no" >&6
33891 # Extract the first word of "SetFile", so it can be a program name with args.
33892 set dummy SetFile
; ac_word
=$2
33893 echo "$as_me:$LINENO: checking for $ac_word" >&5
33894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33895 if test "${ac_cv_prog_SETFILE+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 if test -n "$SETFILE"; then
33899 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33902 for as_dir
in $PATH
33905 test -z "$as_dir" && as_dir
=.
33906 for ac_exec_ext
in '' $ac_executable_extensions; do
33907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33908 ac_cv_prog_SETFILE
="SetFile"
33909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33915 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33918 SETFILE
=$ac_cv_prog_SETFILE
33919 if test -n "$SETFILE"; then
33920 echo "$as_me:$LINENO: result: $SETFILE" >&5
33921 echo "${ECHO_T}$SETFILE" >&6
33923 echo "$as_me:$LINENO: result: no" >&5
33924 echo "${ECHO_T}no" >&6
33928 MACSETFILE
="\$(SETFILE)"
33930 if test "$wxUSE_MAC" = 1; then
33931 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33933 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33935 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33936 RESCOMP
="echo -n \| $REZ"
33937 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33943 if test "$wxUSE_PM" = 1; then
33945 WXCONFIG_RESFLAGS
="-ep"
33947 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33949 POSTLINK_COMMAND
="@true"
33956 echo "$as_me:$LINENO: checking for mode_t" >&5
33957 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33958 if test "${ac_cv_type_mode_t+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 cat >conftest.
$ac_ext <<_ACEOF
33964 cat confdefs.h
>>conftest.
$ac_ext
33965 cat >>conftest.
$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33967 $ac_includes_default
33973 if (sizeof (mode_t))
33979 rm -f conftest.
$ac_objext
33980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33981 (eval $ac_compile) 2>conftest.er1
33983 grep -v '^ *+' conftest.er1
>conftest.err
33985 cat conftest.err
>&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); } &&
33988 { ac_try
='test -z "$ac_cxx_werror_flag"
33989 || test ! -s conftest.err'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; } &&
33995 { ac_try
='test -s conftest.$ac_objext'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; }; then
34001 ac_cv_type_mode_t
=yes
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.
$ac_ext >&5
34006 ac_cv_type_mode_t
=no
34008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34010 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34011 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34012 if test $ac_cv_type_mode_t = yes; then
34016 cat >>confdefs.h
<<_ACEOF
34022 echo "$as_me:$LINENO: checking for off_t" >&5
34023 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34024 if test "${ac_cv_type_off_t+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34027 cat >conftest.
$ac_ext <<_ACEOF
34030 cat confdefs.h
>>conftest.
$ac_ext
34031 cat >>conftest.
$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 $ac_includes_default
34039 if (sizeof (off_t))
34045 rm -f conftest.
$ac_objext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34047 (eval $ac_compile) 2>conftest.er1
34049 grep -v '^ *+' conftest.er1
>conftest.err
34051 cat conftest.err
>&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try
='test -z "$ac_cxx_werror_flag"
34055 || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try
='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 ac_cv_type_off_t
=yes
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.
$ac_ext >&5
34072 ac_cv_type_off_t
=no
34074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34076 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34077 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34078 if test $ac_cv_type_off_t = yes; then
34082 cat >>confdefs.h
<<_ACEOF
34088 echo "$as_me:$LINENO: checking for pid_t" >&5
34089 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34090 if test "${ac_cv_type_pid_t+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34093 cat >conftest.
$ac_ext <<_ACEOF
34096 cat confdefs.h
>>conftest.
$ac_ext
34097 cat >>conftest.
$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 $ac_includes_default
34105 if (sizeof (pid_t))
34111 rm -f conftest.
$ac_objext
34112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34113 (eval $ac_compile) 2>conftest.er1
34115 grep -v '^ *+' conftest.er1
>conftest.err
34117 cat conftest.err
>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } &&
34120 { ac_try
='test -z "$ac_cxx_werror_flag"
34121 || test ! -s conftest.err'
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); }; } &&
34127 { ac_try
='test -s conftest.$ac_objext'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; }; then
34133 ac_cv_type_pid_t
=yes
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.
$ac_ext >&5
34138 ac_cv_type_pid_t
=no
34140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34142 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34143 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34144 if test $ac_cv_type_pid_t = yes; then
34148 cat >>confdefs.h
<<_ACEOF
34154 echo "$as_me:$LINENO: checking for size_t" >&5
34155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34156 if test "${ac_cv_type_size_t+set}" = set; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 cat >conftest.
$ac_ext <<_ACEOF
34162 cat confdefs.h
>>conftest.
$ac_ext
34163 cat >>conftest.
$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 $ac_includes_default
34171 if (sizeof (size_t))
34177 rm -f conftest.
$ac_objext
34178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34179 (eval $ac_compile) 2>conftest.er1
34181 grep -v '^ *+' conftest.er1
>conftest.err
34183 cat conftest.err
>&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try
='test -z "$ac_cxx_werror_flag"
34187 || test ! -s conftest.err'
34188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34189 (eval $ac_try) 2>&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; } &&
34193 { ac_try
='test -s conftest.$ac_objext'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; }; then
34199 ac_cv_type_size_t
=yes
34201 echo "$as_me: failed program was:" >&5
34202 sed 's/^/| /' conftest.
$ac_ext >&5
34204 ac_cv_type_size_t
=no
34206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34208 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34209 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34210 if test $ac_cv_type_size_t = yes; then
34214 cat >>confdefs.h
<<_ACEOF
34215 #define size_t unsigned
34220 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34221 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34222 if test "${ac_cv_type_uid_t+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 cat >conftest.
$ac_ext <<_ACEOF
34228 cat confdefs.h
>>conftest.
$ac_ext
34229 cat >>conftest.
$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34231 #include <sys/types.h>
34234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34235 $EGREP "uid_t" >/dev
/null
2>&1; then
34236 ac_cv_type_uid_t
=yes
34238 ac_cv_type_uid_t
=no
34243 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34244 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34245 if test $ac_cv_type_uid_t = no
; then
34247 cat >>confdefs.h
<<\_ACEOF
34252 cat >>confdefs.h
<<\_ACEOF
34259 echo "$as_me:$LINENO: checking for ssize_t" >&5
34260 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34261 if test "${ac_cv_type_ssize_t+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 cat >conftest.
$ac_ext <<_ACEOF
34267 cat confdefs.h
>>conftest.
$ac_ext
34268 cat >>conftest.
$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 $ac_includes_default
34276 if (sizeof (ssize_t))
34282 rm -f conftest.
$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284 (eval $ac_compile) 2>conftest.er1
34286 grep -v '^ *+' conftest.er1
>conftest.err
34288 cat conftest.err
>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try
='test -z "$ac_cxx_werror_flag"
34292 || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try
='test -s conftest.$ac_objext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 ac_cv_type_ssize_t
=yes
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.
$ac_ext >&5
34309 ac_cv_type_ssize_t
=no
34311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34313 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34314 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34315 if test $ac_cv_type_ssize_t = yes; then
34317 cat >>confdefs.h
<<_ACEOF
34318 #define HAVE_SSIZE_T 1
34325 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34326 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34327 if test "${wx_cv_size_t_is_uint+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 cat >conftest.
$ac_ext <<_ACEOF
34334 cat confdefs.h
>>conftest.
$ac_ext
34335 cat >>conftest.
$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 #include <stddef.h>
34344 struct Foo { void foo(size_t); void foo(unsigned int); };
34352 rm -f conftest.
$ac_objext
34353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34354 (eval $ac_compile) 2>conftest.er1
34356 grep -v '^ *+' conftest.er1
>conftest.err
34358 cat conftest.err
>&5
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); } &&
34361 { ac_try
='test -z "$ac_cxx_werror_flag"
34362 || test ! -s conftest.err'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; } &&
34368 { ac_try
='test -s conftest.$ac_objext'
34369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34370 (eval $ac_try) 2>&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); }; }; then
34374 wx_cv_size_t_is_uint
=no
34376 echo "$as_me: failed program was:" >&5
34377 sed 's/^/| /' conftest.
$ac_ext >&5
34379 wx_cv_size_t_is_uint
=yes
34382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34386 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34387 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34389 if test "$wx_cv_size_t_is_uint" = "yes"; then
34390 cat >>confdefs.h
<<\_ACEOF
34391 #define wxSIZE_T_IS_UINT 1
34395 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34396 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34397 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34398 echo $ECHO_N "(cached) $ECHO_C" >&6
34400 cat >conftest.
$ac_ext <<_ACEOF
34403 cat confdefs.h
>>conftest.
$ac_ext
34404 cat >>conftest.
$ac_ext <<_ACEOF
34405 /* end confdefs.h. */
34406 #include <stddef.h>
34413 struct Foo { void foo(size_t); void foo(unsigned long); };
34421 rm -f conftest.
$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423 (eval $ac_compile) 2>conftest.er1
34425 grep -v '^ *+' conftest.er1
>conftest.err
34427 cat conftest.err
>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } &&
34430 { ac_try
='test -z "$ac_cxx_werror_flag"
34431 || test ! -s conftest.err'
34432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34433 (eval $ac_try) 2>&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); }; } &&
34437 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
34443 wx_cv_size_t_is_ulong
=no
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.
$ac_ext >&5
34448 wx_cv_size_t_is_ulong
=yes
34451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34454 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34455 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34457 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34458 cat >>confdefs.h
<<\_ACEOF
34459 #define wxSIZE_T_IS_ULONG 1
34466 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34467 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34468 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 cat >conftest.
$ac_ext <<_ACEOF
34475 cat confdefs.h
>>conftest.
$ac_ext
34476 cat >>conftest.
$ac_ext <<_ACEOF
34477 /* end confdefs.h. */
34491 rm -f conftest.
$ac_objext
34492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34493 (eval $ac_compile) 2>conftest.er1
34495 grep -v '^ *+' conftest.er1
>conftest.err
34497 cat conftest.err
>&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); } &&
34500 { ac_try
='test -z "$ac_cxx_werror_flag"
34501 || test ! -s conftest.err'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; } &&
34507 { ac_try
='test -s conftest.$ac_objext'
34508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34509 (eval $ac_try) 2>&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; }; then
34514 wx_cv_struct_pw_gecos
=yes
34517 echo "$as_me: failed program was:" >&5
34518 sed 's/^/| /' conftest.
$ac_ext >&5
34521 wx_cv_struct_pw_gecos
=no
34525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34529 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34530 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34532 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34533 cat >>confdefs.h
<<\_ACEOF
34534 #define HAVE_PW_GECOS 1
34540 if test "$wxUSE_WCHAR_T" = "yes"; then
34541 cat >>confdefs.h
<<\_ACEOF
34542 #define wxUSE_WCHAR_T 1
34549 for ac_func
in wcslen
34551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34552 echo "$as_me:$LINENO: checking for $ac_func" >&5
34553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34554 if eval "test \"\${$as_ac_var+set}\" = set"; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 cat >conftest.
$ac_ext <<_ACEOF
34560 cat confdefs.h
>>conftest.
$ac_ext
34561 cat >>conftest.
$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34565 #define $ac_func innocuous_$ac_func
34567 /* System header to define __stub macros and hopefully few prototypes,
34568 which can conflict with char $ac_func (); below.
34569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34570 <limits.h> exists even on freestanding compilers. */
34573 # include <limits.h>
34575 # include <assert.h>
34580 /* Override any gcc2 internal prototype to avoid an error. */
34585 /* We use char because int might match the return type of a gcc2
34586 builtin and then its argument prototype would still apply. */
34588 /* The GNU C library defines this for functions which it implements
34589 to always fail with ENOSYS. Some functions are actually named
34590 something starting with __ and the normal name is an alias. */
34591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34594 char (*f) () = $ac_func;
34603 return f != $ac_func;
34608 rm -f conftest.
$ac_objext conftest
$ac_exeext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34610 (eval $ac_link) 2>conftest.er1
34612 grep -v '^ *+' conftest.er1
>conftest.err
34614 cat conftest.err
>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try
='test -z "$ac_cxx_werror_flag"
34618 || test ! -s conftest.err'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34624 { ac_try
='test -s conftest$ac_exeext'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; }; then
34630 eval "$as_ac_var=yes"
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.
$ac_ext >&5
34635 eval "$as_ac_var=no"
34637 rm -f conftest.err conftest.
$ac_objext \
34638 conftest
$ac_exeext conftest.
$ac_ext
34640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34642 if test `eval echo '${'$as_ac_var'}'` = yes; then
34643 cat >>confdefs.h
<<_ACEOF
34644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34651 if test "$WCSLEN_FOUND" = 0; then
34652 if test "$TOOLKIT" = "MSW"; then
34653 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34654 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34655 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 ac_check_lib_save_LIBS
=$LIBS
34659 LIBS
="-lmsvcrt $LIBS"
34660 cat >conftest.
$ac_ext <<_ACEOF
34663 cat confdefs.h
>>conftest.
$ac_ext
34664 cat >>conftest.
$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34667 /* Override any gcc2 internal prototype to avoid an error. */
34671 /* We use char because int might match the return type of a gcc2
34672 builtin and then its argument prototype would still apply. */
34682 rm -f conftest.
$ac_objext conftest
$ac_exeext
34683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34684 (eval $ac_link) 2>conftest.er1
34686 grep -v '^ *+' conftest.er1
>conftest.err
34688 cat conftest.err
>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try
='test -z "$ac_cxx_werror_flag"
34692 || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try
='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 ac_cv_lib_msvcrt_wcslen
=yes
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.
$ac_ext >&5
34709 ac_cv_lib_msvcrt_wcslen
=no
34711 rm -f conftest.err conftest.
$ac_objext \
34712 conftest
$ac_exeext conftest.
$ac_ext
34713 LIBS
=$ac_check_lib_save_LIBS
34715 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34716 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34717 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34722 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34723 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34724 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 ac_check_lib_save_LIBS
=$LIBS
34729 cat >conftest.
$ac_ext <<_ACEOF
34732 cat confdefs.h
>>conftest.
$ac_ext
34733 cat >>conftest.
$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34736 /* Override any gcc2 internal prototype to avoid an error. */
34740 /* We use char because int might match the return type of a gcc2
34741 builtin and then its argument prototype would still apply. */
34751 rm -f conftest.
$ac_objext conftest
$ac_exeext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34753 (eval $ac_link) 2>conftest.er1
34755 grep -v '^ *+' conftest.er1
>conftest.err
34757 cat conftest.err
>&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } &&
34760 { ac_try
='test -z "$ac_cxx_werror_flag"
34761 || test ! -s conftest.err'
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); }; } &&
34767 { ac_try
='test -s conftest$ac_exeext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34773 ac_cv_lib_w_wcslen
=yes
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.
$ac_ext >&5
34778 ac_cv_lib_w_wcslen
=no
34780 rm -f conftest.err conftest.
$ac_objext \
34781 conftest
$ac_exeext conftest.
$ac_ext
34782 LIBS
=$ac_check_lib_save_LIBS
34784 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34785 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34786 if test $ac_cv_lib_w_wcslen = yes; then
34796 if test "$WCSLEN_FOUND" = 1; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define HAVE_WCSLEN 1
34803 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34804 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34807 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34808 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34809 if test "${ac_cv_type_mbstate_t+set}" = set; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 cat >conftest.
$ac_ext <<_ACEOF
34815 cat confdefs.h
>>conftest.
$ac_ext
34816 cat >>conftest.
$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34823 if ((mbstate_t *) 0)
34825 if (sizeof (mbstate_t))
34831 rm -f conftest.
$ac_objext
34832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34833 (eval $ac_compile) 2>conftest.er1
34835 grep -v '^ *+' conftest.er1
>conftest.err
34837 cat conftest.err
>&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } &&
34840 { ac_try
='test -z "$ac_cxx_werror_flag"
34841 || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try
='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 ac_cv_type_mbstate_t
=yes
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.
$ac_ext >&5
34858 ac_cv_type_mbstate_t
=no
34860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34862 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34863 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34864 if test $ac_cv_type_mbstate_t = yes; then
34866 cat >>confdefs.h
<<_ACEOF
34867 #define HAVE_MBSTATE_T 1
34871 for ac_func
in wcsrtombs
34873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34874 echo "$as_me:$LINENO: checking for $ac_func" >&5
34875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34876 if eval "test \"\${$as_ac_var+set}\" = set"; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 cat >conftest.
$ac_ext <<_ACEOF
34882 cat confdefs.h
>>conftest.
$ac_ext
34883 cat >>conftest.
$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34887 #define $ac_func innocuous_$ac_func
34889 /* System header to define __stub macros and hopefully few prototypes,
34890 which can conflict with char $ac_func (); below.
34891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34892 <limits.h> exists even on freestanding compilers. */
34895 # include <limits.h>
34897 # include <assert.h>
34902 /* Override any gcc2 internal prototype to avoid an error. */
34907 /* We use char because int might match the return type of a gcc2
34908 builtin and then its argument prototype would still apply. */
34910 /* The GNU C library defines this for functions which it implements
34911 to always fail with ENOSYS. Some functions are actually named
34912 something starting with __ and the normal name is an alias. */
34913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34916 char (*f) () = $ac_func;
34925 return f != $ac_func;
34930 rm -f conftest.
$ac_objext conftest
$ac_exeext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34932 (eval $ac_link) 2>conftest.er1
34934 grep -v '^ *+' conftest.er1
>conftest.err
34936 cat conftest.err
>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try
='test -z "$ac_cxx_werror_flag"
34940 || test ! -s conftest.err'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; } &&
34946 { ac_try
='test -s conftest$ac_exeext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34952 eval "$as_ac_var=yes"
34954 echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.
$ac_ext >&5
34957 eval "$as_ac_var=no"
34959 rm -f conftest.err conftest.
$ac_objext \
34960 conftest
$ac_exeext conftest.
$ac_ext
34962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34964 if test `eval echo '${'$as_ac_var'}'` = yes; then
34965 cat >>confdefs.h
<<_ACEOF
34966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34975 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34976 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34981 for ac_func
in snprintf vsnprintf
34983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34984 echo "$as_me:$LINENO: checking for $ac_func" >&5
34985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34986 if eval "test \"\${$as_ac_var+set}\" = set"; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34989 cat >conftest.
$ac_ext <<_ACEOF
34992 cat confdefs.h
>>conftest.
$ac_ext
34993 cat >>conftest.
$ac_ext <<_ACEOF
34994 /* end confdefs.h. */
34995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34997 #define $ac_func innocuous_$ac_func
34999 /* System header to define __stub macros and hopefully few prototypes,
35000 which can conflict with char $ac_func (); below.
35001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35002 <limits.h> exists even on freestanding compilers. */
35005 # include <limits.h>
35007 # include <assert.h>
35012 /* Override any gcc2 internal prototype to avoid an error. */
35017 /* We use char because int might match the return type of a gcc2
35018 builtin and then its argument prototype would still apply. */
35020 /* The GNU C library defines this for functions which it implements
35021 to always fail with ENOSYS. Some functions are actually named
35022 something starting with __ and the normal name is an alias. */
35023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35026 char (*f) () = $ac_func;
35035 return f != $ac_func;
35040 rm -f conftest.
$ac_objext conftest
$ac_exeext
35041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35042 (eval $ac_link) 2>conftest.er1
35044 grep -v '^ *+' conftest.er1
>conftest.err
35046 cat conftest.err
>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } &&
35049 { ac_try
='test -z "$ac_cxx_werror_flag"
35050 || test ! -s conftest.err'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; } &&
35056 { ac_try
='test -s conftest$ac_exeext'
35057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35058 (eval $ac_try) 2>&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); }; }; then
35062 eval "$as_ac_var=yes"
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.
$ac_ext >&5
35067 eval "$as_ac_var=no"
35069 rm -f conftest.err conftest.
$ac_objext \
35070 conftest
$ac_exeext conftest.
$ac_ext
35072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35074 if test `eval echo '${'$as_ac_var'}'` = yes; then
35075 cat >>confdefs.h
<<_ACEOF
35076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35083 if test "$ac_cv_func_vsnprintf" = "yes"; then
35084 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35085 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35086 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 cat >conftest.
$ac_ext <<_ACEOF
35093 cat confdefs.h
>>conftest.
$ac_ext
35094 cat >>conftest.
$ac_ext <<_ACEOF
35095 /* end confdefs.h. */
35098 #include <stdarg.h>
35100 #if __MSL__ >= 0x6000
35102 using namespace std;
35112 vsnprintf(buf, 10u, "%s", ap);
35118 rm -f conftest.
$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35122 grep -v '^ *+' conftest.er1
>conftest.err
35124 cat conftest.err
>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try
='test -z "$ac_cxx_werror_flag"
35128 || test ! -s conftest.err'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; } &&
35134 { ac_try
='test -s conftest.$ac_objext'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; }; then
35140 wx_cv_func_vsnprintf_decl
=yes
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.
$ac_ext >&5
35145 wx_cv_func_vsnprintf_decl
=no
35148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35152 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35153 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35155 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35156 cat >>confdefs.h
<<\_ACEOF
35157 #define HAVE_VSNPRINTF_DECL 1
35161 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35162 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35163 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 cat >conftest.
$ac_ext <<_ACEOF
35170 cat confdefs.h
>>conftest.
$ac_ext
35171 cat >>conftest.
$ac_ext <<_ACEOF
35172 /* end confdefs.h. */
35175 #include <stdarg.h>
35177 #if __MSL__ >= 0x6000
35179 using namespace std;
35189 const char *fmt = "%s";
35190 vsnprintf(buf, 10u, fmt, ap);
35196 rm -f conftest.
$ac_objext
35197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35198 (eval $ac_compile) 2>conftest.er1
35200 grep -v '^ *+' conftest.er1
>conftest.err
35202 cat conftest.err
>&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } &&
35205 { ac_try
='test -z "$ac_cxx_werror_flag"
35206 || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try
='test -s conftest.$ac_objext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 wx_cv_func_broken_vsnprintf_decl
=no
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.
$ac_ext >&5
35223 wx_cv_func_broken_vsnprintf_decl
=yes
35226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35230 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35231 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35233 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35234 cat >>confdefs.h
<<\_ACEOF
35235 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35242 if test "$ac_cv_func_snprintf" = "yes"; then
35243 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35244 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35245 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35257 #include <stdarg.h>
35259 #if __MSL__ >= 0x6000
35261 using namespace std;
35270 snprintf(buf, 10u, "%s", "wx");
35276 rm -f conftest.
$ac_objext
35277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35278 (eval $ac_compile) 2>conftest.er1
35280 grep -v '^ *+' conftest.er1
>conftest.err
35282 cat conftest.err
>&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); } &&
35285 { ac_try
='test -z "$ac_cxx_werror_flag"
35286 || test ! -s conftest.err'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; } &&
35292 { ac_try
='test -s conftest.$ac_objext'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; }; then
35298 wx_cv_func_snprintf_decl
=yes
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.
$ac_ext >&5
35303 wx_cv_func_snprintf_decl
=no
35306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35310 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35311 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35313 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35314 cat >>confdefs.h
<<\_ACEOF
35315 #define HAVE_SNPRINTF_DECL 1
35319 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35320 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35321 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 cat >conftest.
$ac_ext <<_ACEOF
35328 cat confdefs.h
>>conftest.
$ac_ext
35329 cat >>conftest.
$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35333 #include <stdarg.h>
35335 #if __MSL__ >= 0x6000
35337 using namespace std;
35346 const char *fmt = "%s";
35347 snprintf(buf, 10u, fmt, "wx");
35353 rm -f conftest.
$ac_objext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35355 (eval $ac_compile) 2>conftest.er1
35357 grep -v '^ *+' conftest.er1
>conftest.err
35359 cat conftest.err
>&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try
='test -z "$ac_cxx_werror_flag"
35363 || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try
='test -s conftest.$ac_objext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 wx_cv_func_broken_snprintf_decl
=no
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.
$ac_ext >&5
35380 wx_cv_func_broken_snprintf_decl
=yes
35383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35387 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35388 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35390 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define HAVE_BROKEN_SNPRINTF_DECL 1
35398 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35400 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35401 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35402 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35403 echo $ECHO_N "(cached) $ECHO_C" >&6
35406 if test "$cross_compiling" = yes; then
35408 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35409 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35410 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35411 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35412 wx_cv_func_snprintf_pos_params
=no
35416 cat >conftest.
$ac_ext <<_ACEOF
35419 cat confdefs.h
>>conftest.
$ac_ext
35420 cat >>conftest.
$ac_ext <<_ACEOF
35421 /* end confdefs.h. */
35428 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35429 if (strcmp ("2 3 1", buffer) == 0)
35435 rm -f conftest
$ac_exeext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35437 (eval $ac_link) 2>&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35446 wx_cv_func_snprintf_pos_params
=no
35448 echo "$as_me: program exited with status $ac_status" >&5
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.
$ac_ext >&5
35452 ( exit $ac_status )
35453 wx_cv_func_snprintf_pos_params
=yes
35455 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35460 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35461 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35463 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35464 cat >>confdefs.h
<<\_ACEOF
35465 #define HAVE_UNIX98_PRINTF 1
35472 if test "$wxUSE_UNICODE" = yes; then
35475 for ac_func
in swprintf
35477 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35478 echo "$as_me:$LINENO: checking for $ac_func" >&5
35479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35480 if eval "test \"\${$as_ac_var+set}\" = set"; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35483 cat >conftest.
$ac_ext <<_ACEOF
35486 cat confdefs.h
>>conftest.
$ac_ext
35487 cat >>conftest.
$ac_ext <<_ACEOF
35488 /* end confdefs.h. */
35489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35491 #define $ac_func innocuous_$ac_func
35493 /* System header to define __stub macros and hopefully few prototypes,
35494 which can conflict with char $ac_func (); below.
35495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35496 <limits.h> exists even on freestanding compilers. */
35499 # include <limits.h>
35501 # include <assert.h>
35506 /* Override any gcc2 internal prototype to avoid an error. */
35511 /* We use char because int might match the return type of a gcc2
35512 builtin and then its argument prototype would still apply. */
35514 /* The GNU C library defines this for functions which it implements
35515 to always fail with ENOSYS. Some functions are actually named
35516 something starting with __ and the normal name is an alias. */
35517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35520 char (*f) () = $ac_func;
35529 return f != $ac_func;
35534 rm -f conftest.
$ac_objext conftest
$ac_exeext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35536 (eval $ac_link) 2>conftest.er1
35538 grep -v '^ *+' conftest.er1
>conftest.err
35540 cat conftest.err
>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try
='test -z "$ac_cxx_werror_flag"
35544 || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try
='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.
$ac_ext >&5
35561 eval "$as_ac_var=no"
35563 rm -f conftest.err conftest.
$ac_objext \
35564 conftest
$ac_exeext conftest.
$ac_ext
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h
<<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35577 if test "$ac_cv_func_swprintf" = "yes"; then
35578 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35579 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35580 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 cat >conftest.
$ac_ext <<_ACEOF
35587 cat confdefs.h
>>conftest.
$ac_ext
35588 cat >>conftest.
$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35592 #include <stdarg.h>
35600 const wchar_t *fmt = L"test";
35601 swprintf(buf, 10u, fmt);
35607 rm -f conftest.
$ac_objext
35608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35609 (eval $ac_compile) 2>conftest.er1
35611 grep -v '^ *+' conftest.er1
>conftest.err
35613 cat conftest.err
>&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } &&
35616 { ac_try
='test -z "$ac_cxx_werror_flag"
35617 || test ! -s conftest.err'
35618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35619 (eval $ac_try) 2>&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); }; } &&
35623 { ac_try
='test -s conftest.$ac_objext'
35624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35625 (eval $ac_try) 2>&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); }; }; then
35629 wx_cv_func_broken_swprintf_decl
=no
35631 echo "$as_me: failed program was:" >&5
35632 sed 's/^/| /' conftest.
$ac_ext >&5
35634 wx_cv_func_broken_swprintf_decl
=yes
35637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35641 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35642 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35644 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define HAVE_BROKEN_SWPRINTF_DECL 1
35658 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35661 echo "$as_me:$LINENO: checking for $ac_func" >&5
35662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35663 if eval "test \"\${$as_ac_var+set}\" = set"; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35666 cat >conftest.
$ac_ext <<_ACEOF
35669 cat confdefs.h
>>conftest.
$ac_ext
35670 cat >>conftest.
$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35674 #define $ac_func innocuous_$ac_func
35676 /* System header to define __stub macros and hopefully few prototypes,
35677 which can conflict with char $ac_func (); below.
35678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35679 <limits.h> exists even on freestanding compilers. */
35682 # include <limits.h>
35684 # include <assert.h>
35689 /* Override any gcc2 internal prototype to avoid an error. */
35694 /* We use char because int might match the return type of a gcc2
35695 builtin and then its argument prototype would still apply. */
35697 /* The GNU C library defines this for functions which it implements
35698 to always fail with ENOSYS. Some functions are actually named
35699 something starting with __ and the normal name is an alias. */
35700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35703 char (*f) () = $ac_func;
35712 return f != $ac_func;
35717 rm -f conftest.
$ac_objext conftest
$ac_exeext
35718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35719 (eval $ac_link) 2>conftest.er1
35721 grep -v '^ *+' conftest.er1
>conftest.err
35723 cat conftest.err
>&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } &&
35726 { ac_try
='test -z "$ac_cxx_werror_flag"
35727 || test ! -s conftest.err'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; } &&
35733 { ac_try
='test -s conftest$ac_exeext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 eval "$as_ac_var=yes"
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.
$ac_ext >&5
35744 eval "$as_ac_var=no"
35746 rm -f conftest.err conftest.
$ac_objext \
35747 conftest
$ac_exeext conftest.
$ac_ext
35749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35751 if test `eval echo '${'$as_ac_var'}'` = yes; then
35752 cat >>confdefs.h
<<_ACEOF
35753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35760 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35761 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35762 cat >conftest.
$ac_ext <<_ACEOF
35765 cat confdefs.h
>>conftest.
$ac_ext
35766 cat >>conftest.
$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35777 rm -f conftest.
$ac_objext
35778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35779 (eval $ac_compile) 2>conftest.er1
35781 grep -v '^ *+' conftest.er1
>conftest.err
35783 cat conftest.err
>&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } &&
35786 { ac_try
='test -z "$ac_cxx_werror_flag"
35787 || test ! -s conftest.err'
35788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35789 (eval $ac_try) 2>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); }; } &&
35793 { ac_try
='test -s conftest.$ac_objext'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; }; then
35799 echo "$as_me:$LINENO: result: yes" >&5
35800 echo "${ECHO_T}yes" >&6
35801 cat >>confdefs.h
<<\_ACEOF
35802 #define HAVE__VSNWPRINTF 1
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.
$ac_ext >&5
35809 echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6
35812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35815 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35817 for ac_func
in fnmatch
35819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35820 echo "$as_me:$LINENO: checking for $ac_func" >&5
35821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35822 if eval "test \"\${$as_ac_var+set}\" = set"; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35825 cat >conftest.
$ac_ext <<_ACEOF
35828 cat confdefs.h
>>conftest.
$ac_ext
35829 cat >>conftest.
$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35833 #define $ac_func innocuous_$ac_func
35835 /* System header to define __stub macros and hopefully few prototypes,
35836 which can conflict with char $ac_func (); below.
35837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35838 <limits.h> exists even on freestanding compilers. */
35841 # include <limits.h>
35843 # include <assert.h>
35848 /* Override any gcc2 internal prototype to avoid an error. */
35853 /* We use char because int might match the return type of a gcc2
35854 builtin and then its argument prototype would still apply. */
35856 /* The GNU C library defines this for functions which it implements
35857 to always fail with ENOSYS. Some functions are actually named
35858 something starting with __ and the normal name is an alias. */
35859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35862 char (*f) () = $ac_func;
35871 return f != $ac_func;
35876 rm -f conftest.
$ac_objext conftest
$ac_exeext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35878 (eval $ac_link) 2>conftest.er1
35880 grep -v '^ *+' conftest.er1
>conftest.err
35882 cat conftest.err
>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try
='test -z "$ac_cxx_werror_flag"
35886 || test ! -s conftest.err'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; } &&
35892 { ac_try
='test -s conftest$ac_exeext'
35893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35894 (eval $ac_try) 2>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); }; }; then
35898 eval "$as_ac_var=yes"
35900 echo "$as_me: failed program was:" >&5
35901 sed 's/^/| /' conftest.
$ac_ext >&5
35903 eval "$as_ac_var=no"
35905 rm -f conftest.err conftest.
$ac_objext \
35906 conftest
$ac_exeext conftest.
$ac_ext
35908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35910 if test `eval echo '${'$as_ac_var'}'` = yes; then
35911 cat >>confdefs.h
<<_ACEOF
35912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35920 if test "$wxUSE_FILE" = "yes"; then
35922 for ac_func
in fsync
35924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35925 echo "$as_me:$LINENO: checking for $ac_func" >&5
35926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35927 if eval "test \"\${$as_ac_var+set}\" = set"; then
35928 echo $ECHO_N "(cached) $ECHO_C" >&6
35930 cat >conftest.
$ac_ext <<_ACEOF
35933 cat confdefs.h
>>conftest.
$ac_ext
35934 cat >>conftest.
$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35938 #define $ac_func innocuous_$ac_func
35940 /* System header to define __stub macros and hopefully few prototypes,
35941 which can conflict with char $ac_func (); below.
35942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35943 <limits.h> exists even on freestanding compilers. */
35946 # include <limits.h>
35948 # include <assert.h>
35953 /* Override any gcc2 internal prototype to avoid an error. */
35958 /* We use char because int might match the return type of a gcc2
35959 builtin and then its argument prototype would still apply. */
35961 /* The GNU C library defines this for functions which it implements
35962 to always fail with ENOSYS. Some functions are actually named
35963 something starting with __ and the normal name is an alias. */
35964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35967 char (*f) () = $ac_func;
35976 return f != $ac_func;
35981 rm -f conftest.
$ac_objext conftest
$ac_exeext
35982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35983 (eval $ac_link) 2>conftest.er1
35985 grep -v '^ *+' conftest.er1
>conftest.err
35987 cat conftest.err
>&5
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); } &&
35990 { ac_try
='test -z "$ac_cxx_werror_flag"
35991 || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try
='test -s conftest$ac_exeext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 eval "$as_ac_var=yes"
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.
$ac_ext >&5
36008 eval "$as_ac_var=no"
36010 rm -f conftest.err conftest.
$ac_objext \
36011 conftest
$ac_exeext conftest.
$ac_ext
36013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36015 if test `eval echo '${'$as_ac_var'}'` = yes; then
36016 cat >>confdefs.h
<<_ACEOF
36017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36026 for ac_func
in round
36028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36029 echo "$as_me:$LINENO: checking for $ac_func" >&5
36030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36031 if eval "test \"\${$as_ac_var+set}\" = set"; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36034 cat >conftest.
$ac_ext <<_ACEOF
36037 cat confdefs.h
>>conftest.
$ac_ext
36038 cat >>conftest.
$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36042 #define $ac_func innocuous_$ac_func
36044 /* System header to define __stub macros and hopefully few prototypes,
36045 which can conflict with char $ac_func (); below.
36046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36047 <limits.h> exists even on freestanding compilers. */
36050 # include <limits.h>
36052 # include <assert.h>
36057 /* Override any gcc2 internal prototype to avoid an error. */
36062 /* We use char because int might match the return type of a gcc2
36063 builtin and then its argument prototype would still apply. */
36065 /* The GNU C library defines this for functions which it implements
36066 to always fail with ENOSYS. Some functions are actually named
36067 something starting with __ and the normal name is an alias. */
36068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36071 char (*f) () = $ac_func;
36080 return f != $ac_func;
36085 rm -f conftest.
$ac_objext conftest
$ac_exeext
36086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36087 (eval $ac_link) 2>conftest.er1
36089 grep -v '^ *+' conftest.er1
>conftest.err
36091 cat conftest.err
>&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); } &&
36094 { ac_try
='test -z "$ac_cxx_werror_flag"
36095 || test ! -s conftest.err'
36096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36097 (eval $ac_try) 2>&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); }; } &&
36101 { ac_try
='test -s conftest$ac_exeext'
36102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103 (eval $ac_try) 2>&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); }; }; then
36107 eval "$as_ac_var=yes"
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 eval "$as_ac_var=no"
36114 rm -f conftest.err conftest.
$ac_objext \
36115 conftest
$ac_exeext conftest.
$ac_ext
36117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36119 if test `eval echo '${'$as_ac_var'}'` = yes; then
36120 cat >>confdefs.h
<<_ACEOF
36121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36127 if test "$ac_cv_func_round" = yes; then
36128 echo "$as_me:$LINENO: checking whether round is declared" >&5
36129 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36130 if test "${ac_cv_have_decl_round+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36133 cat >conftest.
$ac_ext <<_ACEOF
36136 cat confdefs.h
>>conftest.
$ac_ext
36137 cat >>conftest.
$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36145 char *p = (char *) round;
36152 rm -f conftest.
$ac_objext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36154 (eval $ac_compile) 2>conftest.er1
36156 grep -v '^ *+' conftest.er1
>conftest.err
36158 cat conftest.err
>&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try
='test -z "$ac_cxx_werror_flag"
36162 || test ! -s conftest.err'
36163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36164 (eval $ac_try) 2>&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); }; } &&
36168 { ac_try
='test -s conftest.$ac_objext'
36169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36170 (eval $ac_try) 2>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); }; }; then
36174 ac_cv_have_decl_round
=yes
36176 echo "$as_me: failed program was:" >&5
36177 sed 's/^/| /' conftest.
$ac_ext >&5
36179 ac_cv_have_decl_round
=no
36181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36183 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36184 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36185 if test $ac_cv_have_decl_round = yes; then
36187 cat >>confdefs.h
<<_ACEOF
36188 #define HAVE_DECL_ROUND 1
36193 cat >>confdefs.h
<<_ACEOF
36194 #define HAVE_DECL_ROUND 0
36204 if test "$TOOLKIT" != "MSW"; then
36210 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36211 if test "${with_libiconv_prefix+set}" = set; then
36212 withval
="$with_libiconv_prefix"
36214 for dir
in `echo "$withval" | tr : ' '`; do
36215 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36216 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36221 echo "$as_me:$LINENO: checking for iconv" >&5
36222 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36223 if test "${am_cv_func_iconv+set}" = set; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 am_cv_func_iconv
="no, consider installing GNU libiconv"
36229 cat >conftest.
$ac_ext <<_ACEOF
36232 cat confdefs.h
>>conftest.
$ac_ext
36233 cat >>conftest.
$ac_ext <<_ACEOF
36234 /* end confdefs.h. */
36235 #include <stdlib.h>
36240 iconv_t cd = iconv_open("","");
36241 iconv(cd,NULL,NULL,NULL,NULL);
36247 rm -f conftest.
$ac_objext conftest
$ac_exeext
36248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36249 (eval $ac_link) 2>conftest.er1
36251 grep -v '^ *+' conftest.er1
>conftest.err
36253 cat conftest.err
>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } &&
36256 { ac_try
='test -z "$ac_cxx_werror_flag"
36257 || test ! -s conftest.err'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; } &&
36263 { ac_try
='test -s conftest$ac_exeext'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; }; then
36269 am_cv_func_iconv
=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.
$ac_ext >&5
36275 rm -f conftest.err conftest.
$ac_objext \
36276 conftest
$ac_exeext conftest.
$ac_ext
36277 if test "$am_cv_func_iconv" != yes; then
36278 am_save_LIBS
="$LIBS"
36279 LIBS
="$LIBS -liconv"
36280 cat >conftest.
$ac_ext <<_ACEOF
36283 cat confdefs.h
>>conftest.
$ac_ext
36284 cat >>conftest.
$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <stdlib.h>
36291 iconv_t cd = iconv_open("","");
36292 iconv(cd,NULL,NULL,NULL,NULL);
36298 rm -f conftest.
$ac_objext conftest
$ac_exeext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36300 (eval $ac_link) 2>conftest.er1
36302 grep -v '^ *+' conftest.er1
>conftest.err
36304 cat conftest.err
>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try
='test -z "$ac_cxx_werror_flag"
36308 || test ! -s conftest.err'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; } &&
36314 { ac_try
='test -s conftest$ac_exeext'
36315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316 (eval $ac_try) 2>&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); }; }; then
36320 am_cv_lib_iconv
=yes
36321 am_cv_func_iconv
=yes
36323 echo "$as_me: failed program was:" >&5
36324 sed 's/^/| /' conftest.
$ac_ext >&5
36327 rm -f conftest.err conftest.
$ac_objext \
36328 conftest
$ac_exeext conftest.
$ac_ext
36329 LIBS
="$am_save_LIBS"
36333 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36334 echo "${ECHO_T}$am_cv_func_iconv" >&6
36335 if test "$am_cv_func_iconv" = yes; then
36337 cat >>confdefs.h
<<\_ACEOF
36338 #define HAVE_ICONV 1
36341 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36342 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36343 if test "${wx_cv_func_iconv_const+set}" = set; then
36344 echo $ECHO_N "(cached) $ECHO_C" >&6
36346 cat >conftest.
$ac_ext <<_ACEOF
36349 cat confdefs.h
>>conftest.
$ac_ext
36350 cat >>conftest.
$ac_ext <<_ACEOF
36351 /* end confdefs.h. */
36353 #include <stdlib.h>
36359 #if defined(__STDC__) || defined(__cplusplus)
36360 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36373 rm -f conftest.
$ac_objext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36375 (eval $ac_compile) 2>conftest.er1
36377 grep -v '^ *+' conftest.er1
>conftest.err
36379 cat conftest.err
>&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try
='test -z "$ac_cxx_werror_flag"
36383 || test ! -s conftest.err'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; } &&
36389 { ac_try
='test -s conftest.$ac_objext'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; }; then
36395 wx_cv_func_iconv_const
="no"
36397 echo "$as_me: failed program was:" >&5
36398 sed 's/^/| /' conftest.
$ac_ext >&5
36400 wx_cv_func_iconv_const
="yes"
36403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36406 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36407 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36410 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36411 iconv_const
="const"
36415 cat >>confdefs.h
<<_ACEOF
36416 #define ICONV_CONST $iconv_const
36421 if test "$am_cv_lib_iconv" = yes; then
36426 LIBS
="$LIBICONV $LIBS"
36428 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36430 for ac_func
in sigaction
36432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36433 echo "$as_me:$LINENO: checking for $ac_func" >&5
36434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36435 if eval "test \"\${$as_ac_var+set}\" = set"; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 cat >conftest.
$ac_ext <<_ACEOF
36441 cat confdefs.h
>>conftest.
$ac_ext
36442 cat >>conftest.
$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36446 #define $ac_func innocuous_$ac_func
36448 /* System header to define __stub macros and hopefully few prototypes,
36449 which can conflict with char $ac_func (); below.
36450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36451 <limits.h> exists even on freestanding compilers. */
36454 # include <limits.h>
36456 # include <assert.h>
36461 /* Override any gcc2 internal prototype to avoid an error. */
36466 /* We use char because int might match the return type of a gcc2
36467 builtin and then its argument prototype would still apply. */
36469 /* The GNU C library defines this for functions which it implements
36470 to always fail with ENOSYS. Some functions are actually named
36471 something starting with __ and the normal name is an alias. */
36472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36475 char (*f) () = $ac_func;
36484 return f != $ac_func;
36489 rm -f conftest.
$ac_objext conftest
$ac_exeext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36491 (eval $ac_link) 2>conftest.er1
36493 grep -v '^ *+' conftest.er1
>conftest.err
36495 cat conftest.err
>&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } &&
36498 { ac_try
='test -z "$ac_cxx_werror_flag"
36499 || test ! -s conftest.err'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; } &&
36505 { ac_try
='test -s conftest$ac_exeext'
36506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 (eval $ac_try) 2>&5
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); }; }; then
36511 eval "$as_ac_var=yes"
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.
$ac_ext >&5
36516 eval "$as_ac_var=no"
36518 rm -f conftest.err conftest.
$ac_objext \
36519 conftest
$ac_exeext conftest.
$ac_ext
36521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36523 if test `eval echo '${'$as_ac_var'}'` = yes; then
36524 cat >>confdefs.h
<<_ACEOF
36525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 if test "$ac_cv_func_sigaction" = "no"; then
36533 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36534 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36535 wxUSE_ON_FATAL_EXCEPTION
=no
36538 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36539 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36540 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36541 if test "${wx_cv_type_sa_handler+set}" = set; then
36542 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 cat >conftest.
$ac_ext <<_ACEOF
36548 cat confdefs.h
>>conftest.
$ac_ext
36549 cat >>conftest.
$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 #include <signal.h>
36556 extern void testSigHandler(int);
36558 struct sigaction sa;
36559 sa.sa_handler = testSigHandler;
36565 rm -f conftest.
$ac_objext
36566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36567 (eval $ac_compile) 2>conftest.er1
36569 grep -v '^ *+' conftest.er1
>conftest.err
36571 cat conftest.err
>&5
36572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573 (exit $ac_status); } &&
36574 { ac_try
='test -z "$ac_cxx_werror_flag"
36575 || test ! -s conftest.err'
36576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36577 (eval $ac_try) 2>&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); }; } &&
36581 { ac_try
='test -s conftest.$ac_objext'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; }; then
36588 wx_cv_type_sa_handler
=int
36591 echo "$as_me: failed program was:" >&5
36592 sed 's/^/| /' conftest.
$ac_ext >&5
36595 wx_cv_type_sa_handler
=void
36598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36601 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36602 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36604 cat >>confdefs.h
<<_ACEOF
36605 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36611 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36612 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36613 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36614 if test "${wx_cv_func_backtrace+set}" = set; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36618 cat >conftest.
$ac_ext <<_ACEOF
36621 cat confdefs.h
>>conftest.
$ac_ext
36622 cat >>conftest.
$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624 #include <execinfo.h>
36632 backtrace(trace, 1);
36633 messages = backtrace_symbols(trace, 1);
36639 rm -f conftest.
$ac_objext
36640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36641 (eval $ac_compile) 2>conftest.er1
36643 grep -v '^ *+' conftest.er1
>conftest.err
36645 cat conftest.err
>&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } &&
36648 { ac_try
='test -z "$ac_cxx_werror_flag"
36649 || test ! -s conftest.err'
36650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36651 (eval $ac_try) 2>&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); }; } &&
36655 { ac_try
='test -s conftest.$ac_objext'
36656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 (eval $ac_try) 2>&5
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); }; }; then
36661 wx_cv_func_backtrace
=yes
36663 echo "$as_me: failed program was:" >&5
36664 sed 's/^/| /' conftest.
$ac_ext >&5
36666 wx_cv_func_backtrace
=no
36669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36673 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36674 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36677 if test "$wx_cv_func_backtrace" = "no"; then
36678 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36679 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36680 wxUSE_STACKWALKER
=no
36682 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36683 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36684 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36685 echo $ECHO_N "(cached) $ECHO_C" >&6
36688 cat >conftest.
$ac_ext <<_ACEOF
36691 cat confdefs.h
>>conftest.
$ac_ext
36692 cat >>conftest.
$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694 #include <cxxabi.h>
36700 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36706 rm -f conftest.
$ac_objext conftest
$ac_exeext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708 (eval $ac_link) 2>conftest.er1
36710 grep -v '^ *+' conftest.er1
>conftest.err
36712 cat conftest.err
>&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try
='test -z "$ac_cxx_werror_flag"
36716 || test ! -s conftest.err'
36717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718 (eval $ac_try) 2>&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); }; } &&
36722 { ac_try
='test -s conftest$ac_exeext'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; }; then
36728 wx_cv_func_cxa_demangle
=yes
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.
$ac_ext >&5
36733 wx_cv_func_cxa_demangle
=no
36736 rm -f conftest.err conftest.
$ac_objext \
36737 conftest
$ac_exeext conftest.
$ac_ext
36741 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36742 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36744 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36745 cat >>confdefs.h
<<\_ACEOF
36746 #define HAVE_CXA_DEMANGLE 1
36753 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36754 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36755 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36756 wxUSE_STACKWALKER
=no
36762 for ac_func
in mkstemp mktemp
36764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36765 echo "$as_me:$LINENO: checking for $ac_func" >&5
36766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36767 if eval "test \"\${$as_ac_var+set}\" = set"; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 cat >conftest.
$ac_ext <<_ACEOF
36773 cat confdefs.h
>>conftest.
$ac_ext
36774 cat >>conftest.
$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36778 #define $ac_func innocuous_$ac_func
36780 /* System header to define __stub macros and hopefully few prototypes,
36781 which can conflict with char $ac_func (); below.
36782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36783 <limits.h> exists even on freestanding compilers. */
36786 # include <limits.h>
36788 # include <assert.h>
36793 /* Override any gcc2 internal prototype to avoid an error. */
36798 /* We use char because int might match the return type of a gcc2
36799 builtin and then its argument prototype would still apply. */
36801 /* The GNU C library defines this for functions which it implements
36802 to always fail with ENOSYS. Some functions are actually named
36803 something starting with __ and the normal name is an alias. */
36804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36807 char (*f) () = $ac_func;
36816 return f != $ac_func;
36821 rm -f conftest.
$ac_objext conftest
$ac_exeext
36822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36823 (eval $ac_link) 2>conftest.er1
36825 grep -v '^ *+' conftest.er1
>conftest.err
36827 cat conftest.err
>&5
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); } &&
36830 { ac_try
='test -z "$ac_cxx_werror_flag"
36831 || test ! -s conftest.err'
36832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36833 (eval $ac_try) 2>&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); }; } &&
36837 { ac_try
='test -s conftest$ac_exeext'
36838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839 (eval $ac_try) 2>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); }; }; then
36843 eval "$as_ac_var=yes"
36845 echo "$as_me: failed program was:" >&5
36846 sed 's/^/| /' conftest.
$ac_ext >&5
36848 eval "$as_ac_var=no"
36850 rm -f conftest.err conftest.
$ac_objext \
36851 conftest
$ac_exeext conftest.
$ac_ext
36853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36855 if test `eval echo '${'$as_ac_var'}'` = yes; then
36856 cat >>confdefs.h
<<_ACEOF
36857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36864 echo "$as_me:$LINENO: checking for statfs" >&5
36865 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36866 if test "${wx_cv_func_statfs+set}" = set; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36869 cat >conftest.
$ac_ext <<_ACEOF
36872 cat confdefs.h
>>conftest.
$ac_ext
36873 cat >>conftest.
$ac_ext <<_ACEOF
36874 /* end confdefs.h. */
36876 #if defined(__BSD__)
36877 #include <sys/param.h>
36878 #include <sys/mount.h>
36880 #include <sys/vfs.h>
36898 rm -f conftest.
$ac_objext
36899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36900 (eval $ac_compile) 2>conftest.er1
36902 grep -v '^ *+' conftest.er1
>conftest.err
36904 cat conftest.err
>&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } &&
36907 { ac_try
='test -z "$ac_cxx_werror_flag"
36908 || test ! -s conftest.err'
36909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36910 (eval $ac_try) 2>&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); }; } &&
36914 { ac_try
='test -s conftest.$ac_objext'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; }; then
36920 wx_cv_func_statfs
=yes
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.
$ac_ext >&5
36925 wx_cv_func_statfs
=no
36928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36931 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36932 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36934 if test "$wx_cv_func_statfs" = "yes"; then
36935 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36936 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36937 if test "${wx_cv_func_statfs_decl+set}" = set; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36940 cat >conftest.
$ac_ext <<_ACEOF
36943 cat confdefs.h
>>conftest.
$ac_ext
36944 cat >>conftest.
$ac_ext <<_ACEOF
36945 /* end confdefs.h. */
36947 #if defined(__BSD__)
36948 #include <sys/param.h>
36949 #include <sys/mount.h>
36951 #include <sys/vfs.h>
36965 rm -f conftest.
$ac_objext
36966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36967 (eval $ac_compile) 2>conftest.er1
36969 grep -v '^ *+' conftest.er1
>conftest.err
36971 cat conftest.err
>&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); } &&
36974 { ac_try
='test -z "$ac_cxx_werror_flag"
36975 || test ! -s conftest.err'
36976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36977 (eval $ac_try) 2>&5
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); }; } &&
36981 { ac_try
='test -s conftest.$ac_objext'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; }; then
36987 wx_cv_func_statfs_decl
=yes
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.
$ac_ext >&5
36992 wx_cv_func_statfs_decl
=no
36995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36998 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36999 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37001 if test "$wx_cv_func_statfs_decl" = "yes"; then
37002 cat >>confdefs.h
<<\_ACEOF
37003 #define HAVE_STATFS_DECL 1
37008 wx_cv_type_statvfs_t
="struct statfs"
37009 cat >>confdefs.h
<<\_ACEOF
37010 #define HAVE_STATFS 1
37014 echo "$as_me:$LINENO: checking for statvfs" >&5
37015 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37016 if test "${wx_cv_func_statvfs+set}" = set; then
37017 echo $ECHO_N "(cached) $ECHO_C" >&6
37019 cat >conftest.
$ac_ext <<_ACEOF
37022 cat confdefs.h
>>conftest.
$ac_ext
37023 cat >>conftest.
$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37026 #include <stddef.h>
37027 #include <sys/statvfs.h>
37033 statvfs("/", NULL);
37039 rm -f conftest.
$ac_objext
37040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37041 (eval $ac_compile) 2>conftest.er1
37043 grep -v '^ *+' conftest.er1
>conftest.err
37045 cat conftest.err
>&5
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); } &&
37048 { ac_try
='test -z "$ac_cxx_werror_flag"
37049 || test ! -s conftest.err'
37050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051 (eval $ac_try) 2>&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); }; } &&
37055 { ac_try
='test -s conftest.$ac_objext'
37056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37057 (eval $ac_try) 2>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; }; then
37061 wx_cv_func_statvfs
=yes
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.
$ac_ext >&5
37066 wx_cv_func_statvfs
=no
37069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37072 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37073 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37075 if test "$wx_cv_func_statvfs" = "yes"; then
37076 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37077 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37078 if test "${wx_cv_type_statvfs_t+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 cat >conftest.
$ac_ext <<_ACEOF
37084 cat confdefs.h
>>conftest.
$ac_ext
37085 cat >>conftest.
$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37088 #include <sys/statvfs.h>
37105 rm -f conftest.
$ac_objext
37106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37107 (eval $ac_compile) 2>conftest.er1
37109 grep -v '^ *+' conftest.er1
>conftest.err
37111 cat conftest.err
>&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } &&
37114 { ac_try
='test -z "$ac_cxx_werror_flag"
37115 || test ! -s conftest.err'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; } &&
37121 { ac_try
='test -s conftest.$ac_objext'
37122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37123 (eval $ac_try) 2>&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); }; }; then
37127 wx_cv_type_statvfs_t
=statvfs_t
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.
$ac_ext >&5
37133 cat >conftest.
$ac_ext <<_ACEOF
37136 cat confdefs.h
>>conftest.
$ac_ext
37137 cat >>conftest.
$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37140 #include <sys/statvfs.h>
37157 rm -f conftest.
$ac_objext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37159 (eval $ac_compile) 2>conftest.er1
37161 grep -v '^ *+' conftest.er1
>conftest.err
37163 cat conftest.err
>&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } &&
37166 { ac_try
='test -z "$ac_cxx_werror_flag"
37167 || test ! -s conftest.err'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; } &&
37173 { ac_try
='test -s conftest.$ac_objext'
37174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37175 (eval $ac_try) 2>&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); }; }; then
37179 wx_cv_type_statvfs_t
="struct statvfs"
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.
$ac_ext >&5
37184 wx_cv_type_statvfs_t
="unknown"
37187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37194 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37195 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37197 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define HAVE_STATVFS 1
37204 wx_cv_type_statvfs_t
="unknown"
37208 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37209 cat >>confdefs.h
<<_ACEOF
37210 #define WX_STATFS_T $wx_cv_type_statvfs_t
37214 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37215 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37218 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37221 for ac_func
in fcntl flock
37223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37226 if eval "test \"\${$as_ac_var+set}\" = set"; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 cat >conftest.
$ac_ext <<_ACEOF
37232 cat confdefs.h
>>conftest.
$ac_ext
37233 cat >>conftest.
$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37245 # include <limits.h>
37247 # include <assert.h>
37252 /* Override any gcc2 internal prototype to avoid an error. */
37257 /* We use char because int might match the return type of a gcc2
37258 builtin and then its argument prototype would still apply. */
37260 /* The GNU C library defines this for functions which it implements
37261 to always fail with ENOSYS. Some functions are actually named
37262 something starting with __ and the normal name is an alias. */
37263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37266 char (*f) () = $ac_func;
37275 return f != $ac_func;
37280 rm -f conftest.
$ac_objext conftest
$ac_exeext
37281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37282 (eval $ac_link) 2>conftest.er1
37284 grep -v '^ *+' conftest.er1
>conftest.err
37286 cat conftest.err
>&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try
='test -z "$ac_cxx_werror_flag"
37290 || 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 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37324 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37325 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37326 wxUSE_SNGLINST_CHECKER
=no
37331 for ac_func
in timegm
37333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37334 echo "$as_me:$LINENO: checking for $ac_func" >&5
37335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37336 if eval "test \"\${$as_ac_var+set}\" = set"; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.
$ac_ext <<_ACEOF
37342 cat confdefs.h
>>conftest.
$ac_ext
37343 cat >>conftest.
$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define $ac_func innocuous_$ac_func
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char $ac_func (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37355 # include <limits.h>
37357 # include <assert.h>
37362 /* Override any gcc2 internal prototype to avoid an error. */
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37376 char (*f) () = $ac_func;
37385 return f != $ac_func;
37390 rm -f conftest.
$ac_objext conftest
$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37394 grep -v '^ *+' conftest.er1
>conftest.err
37396 cat conftest.err
>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try
='test -z "$ac_cxx_werror_flag"
37400 || test ! -s conftest.err'
37401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37402 (eval $ac_try) 2>&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); }; } &&
37406 { ac_try
='test -s conftest$ac_exeext'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; }; then
37412 eval "$as_ac_var=yes"
37414 echo "$as_me: failed program was:" >&5
37415 sed 's/^/| /' conftest.
$ac_ext >&5
37417 eval "$as_ac_var=no"
37419 rm -f conftest.err conftest.
$ac_objext \
37420 conftest
$ac_exeext conftest.
$ac_ext
37422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37424 if test `eval echo '${'$as_ac_var'}'` = yes; then
37425 cat >>confdefs.h
<<_ACEOF
37426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37435 for ac_func
in putenv setenv
37437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 cat >conftest.
$ac_ext <<_ACEOF
37446 cat confdefs.h
>>conftest.
$ac_ext
37447 cat >>conftest.
$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37459 # include <limits.h>
37461 # include <assert.h>
37466 /* Override any gcc2 internal prototype to avoid an error. */
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37480 char (*f) () = $ac_func;
37489 return f != $ac_func;
37494 rm -f conftest.
$ac_objext conftest
$ac_exeext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37496 (eval $ac_link) 2>conftest.er1
37498 grep -v '^ *+' conftest.er1
>conftest.err
37500 cat conftest.err
>&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } &&
37503 { ac_try
='test -z "$ac_cxx_werror_flag"
37504 || test ! -s conftest.err'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; } &&
37510 { ac_try
='test -s conftest$ac_exeext'
37511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37512 (eval $ac_try) 2>&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); }; }; then
37516 eval "$as_ac_var=yes"
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.
$ac_ext >&5
37521 eval "$as_ac_var=no"
37523 rm -f conftest.err conftest.
$ac_objext \
37524 conftest
$ac_exeext conftest.
$ac_ext
37526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37528 if test `eval echo '${'$as_ac_var'}'` = yes; then
37529 cat >>confdefs.h
<<_ACEOF
37530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37537 HAVE_SOME_SLEEP_FUNC
=0
37538 if test "$USE_BEOS" = 1; then
37539 cat >>confdefs.h
<<\_ACEOF
37540 #define HAVE_SLEEP 1
37543 HAVE_SOME_SLEEP_FUNC
=1
37546 if test "$USE_DARWIN" = 1; then
37547 cat >>confdefs.h
<<\_ACEOF
37548 #define HAVE_USLEEP 1
37551 HAVE_SOME_SLEEP_FUNC
=1
37554 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37557 for ac_func
in nanosleep
37559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37560 echo "$as_me:$LINENO: checking for $ac_func" >&5
37561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37562 if eval "test \"\${$as_ac_var+set}\" = set"; then
37563 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 cat >conftest.
$ac_ext <<_ACEOF
37568 cat confdefs.h
>>conftest.
$ac_ext
37569 cat >>conftest.
$ac_ext <<_ACEOF
37570 /* end confdefs.h. */
37571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37573 #define $ac_func innocuous_$ac_func
37575 /* System header to define __stub macros and hopefully few prototypes,
37576 which can conflict with char $ac_func (); below.
37577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37578 <limits.h> exists even on freestanding compilers. */
37581 # include <limits.h>
37583 # include <assert.h>
37588 /* Override any gcc2 internal prototype to avoid an error. */
37593 /* We use char because int might match the return type of a gcc2
37594 builtin and then its argument prototype would still apply. */
37596 /* The GNU C library defines this for functions which it implements
37597 to always fail with ENOSYS. Some functions are actually named
37598 something starting with __ and the normal name is an alias. */
37599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37602 char (*f) () = $ac_func;
37611 return f != $ac_func;
37616 rm -f conftest.
$ac_objext conftest
$ac_exeext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37618 (eval $ac_link) 2>conftest.er1
37620 grep -v '^ *+' conftest.er1
>conftest.err
37622 cat conftest.err
>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try
='test -z "$ac_cxx_werror_flag"
37626 || test ! -s conftest.err'
37627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628 (eval $ac_try) 2>&5
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); }; } &&
37632 { ac_try
='test -s conftest$ac_exeext'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 eval "$as_ac_var=yes"
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.
$ac_ext >&5
37643 eval "$as_ac_var=no"
37645 rm -f conftest.err conftest.
$ac_objext \
37646 conftest
$ac_exeext conftest.
$ac_ext
37648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37650 if test `eval echo '${'$as_ac_var'}'` = yes; then
37651 cat >>confdefs.h
<<_ACEOF
37652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37654 cat >>confdefs.h
<<\_ACEOF
37655 #define HAVE_NANOSLEEP 1
37660 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37661 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37662 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 ac_check_lib_save_LIBS
=$LIBS
37666 LIBS
="-lposix4 $LIBS"
37667 cat >conftest.
$ac_ext <<_ACEOF
37670 cat confdefs.h
>>conftest.
$ac_ext
37671 cat >>conftest.
$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37674 /* Override any gcc2 internal prototype to avoid an error. */
37678 /* We use char because int might match the return type of a gcc2
37679 builtin and then its argument prototype would still apply. */
37689 rm -f conftest.
$ac_objext conftest
$ac_exeext
37690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37691 (eval $ac_link) 2>conftest.er1
37693 grep -v '^ *+' conftest.er1
>conftest.err
37695 cat conftest.err
>&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } &&
37698 { ac_try
='test -z "$ac_cxx_werror_flag"
37699 || test ! -s conftest.err'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; } &&
37705 { ac_try
='test -s conftest$ac_exeext'
37706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37707 (eval $ac_try) 2>&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); }; }; then
37711 ac_cv_lib_posix4_nanosleep
=yes
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.
$ac_ext >&5
37716 ac_cv_lib_posix4_nanosleep
=no
37718 rm -f conftest.err conftest.
$ac_objext \
37719 conftest
$ac_exeext conftest.
$ac_ext
37720 LIBS
=$ac_check_lib_save_LIBS
37722 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37723 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37724 if test $ac_cv_lib_posix4_nanosleep = yes; then
37726 cat >>confdefs.h
<<\_ACEOF
37727 #define HAVE_NANOSLEEP 1
37730 POSIX4_LINK
=" -lposix4"
37735 for ac_func
in usleep
37737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37738 echo "$as_me:$LINENO: checking for $ac_func" >&5
37739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37740 if eval "test \"\${$as_ac_var+set}\" = set"; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37751 #define $ac_func innocuous_$ac_func
37753 /* System header to define __stub macros and hopefully few prototypes,
37754 which can conflict with char $ac_func (); below.
37755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37756 <limits.h> exists even on freestanding compilers. */
37759 # include <limits.h>
37761 # include <assert.h>
37766 /* Override any gcc2 internal prototype to avoid an error. */
37771 /* We use char because int might match the return type of a gcc2
37772 builtin and then its argument prototype would still apply. */
37774 /* The GNU C library defines this for functions which it implements
37775 to always fail with ENOSYS. Some functions are actually named
37776 something starting with __ and the normal name is an alias. */
37777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37780 char (*f) () = $ac_func;
37789 return f != $ac_func;
37794 rm -f conftest.
$ac_objext conftest
$ac_exeext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37796 (eval $ac_link) 2>conftest.er1
37798 grep -v '^ *+' conftest.er1
>conftest.err
37800 cat conftest.err
>&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try
='test -z "$ac_cxx_werror_flag"
37804 || test ! -s conftest.err'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; } &&
37810 { ac_try
='test -s conftest$ac_exeext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37816 eval "$as_ac_var=yes"
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.
$ac_ext >&5
37821 eval "$as_ac_var=no"
37823 rm -f conftest.err conftest.
$ac_objext \
37824 conftest
$ac_exeext conftest.
$ac_ext
37826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37828 if test `eval echo '${'$as_ac_var'}'` = yes; then
37829 cat >>confdefs.h
<<_ACEOF
37830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37832 cat >>confdefs.h
<<\_ACEOF
37833 #define HAVE_USLEEP 1
37837 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37838 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37856 for ac_func
in uname gethostname
37858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37859 echo "$as_me:$LINENO: checking for $ac_func" >&5
37860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37861 if eval "test \"\${$as_ac_var+set}\" = set"; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37864 cat >conftest.
$ac_ext <<_ACEOF
37867 cat confdefs.h
>>conftest.
$ac_ext
37868 cat >>conftest.
$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37872 #define $ac_func innocuous_$ac_func
37874 /* System header to define __stub macros and hopefully few prototypes,
37875 which can conflict with char $ac_func (); below.
37876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37877 <limits.h> exists even on freestanding compilers. */
37880 # include <limits.h>
37882 # include <assert.h>
37887 /* Override any gcc2 internal prototype to avoid an error. */
37892 /* We use char because int might match the return type of a gcc2
37893 builtin and then its argument prototype would still apply. */
37895 /* The GNU C library defines this for functions which it implements
37896 to always fail with ENOSYS. Some functions are actually named
37897 something starting with __ and the normal name is an alias. */
37898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37901 char (*f) () = $ac_func;
37910 return f != $ac_func;
37915 rm -f conftest.
$ac_objext conftest
$ac_exeext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37917 (eval $ac_link) 2>conftest.er1
37919 grep -v '^ *+' conftest.er1
>conftest.err
37921 cat conftest.err
>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try
='test -z "$ac_cxx_werror_flag"
37925 || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try
='test -s conftest$ac_exeext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 eval "$as_ac_var=yes"
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.
$ac_ext >&5
37942 eval "$as_ac_var=no"
37944 rm -f conftest.err conftest.
$ac_objext \
37945 conftest
$ac_exeext conftest.
$ac_ext
37947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37949 if test `eval echo '${'$as_ac_var'}'` = yes; then
37950 cat >>confdefs.h
<<_ACEOF
37951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37959 for wx_func
in strtok_r
37961 echo "$as_me:$LINENO: checking for $wx_func" >&5
37962 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37963 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37967 cat >conftest.
$ac_ext <<_ACEOF
37971 cat confdefs.h
>>conftest.
$ac_ext
37972 cat >>conftest.
$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37976 $ac_includes_default
37992 rm -f conftest.
$ac_objext conftest
$ac_exeext
37993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37994 (eval $ac_link) 2>conftest.er1
37996 grep -v '^ *+' conftest.er1
>conftest.err
37998 cat conftest.err
>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } &&
38001 { ac_try
='test -z "$ac_cxx_werror_flag"
38002 || test ! -s conftest.err'
38003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004 (eval $ac_try) 2>&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; } &&
38008 { ac_try
='test -s conftest$ac_exeext'
38009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38010 (eval $ac_try) 2>&5
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); }; }; then
38014 eval wx_cv_func_
$wx_func=yes
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.
$ac_ext >&5
38019 eval wx_cv_func_
$wx_func=no
38021 rm -f conftest.err conftest.
$ac_objext \
38022 conftest
$ac_exeext conftest.
$ac_ext
38025 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38026 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38028 if eval test \
$wx_cv_func_$wx_func = yes
38030 cat >>confdefs.h
<<_ACEOF
38031 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38044 for ac_func
in inet_addr
38046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38047 echo "$as_me:$LINENO: checking for $ac_func" >&5
38048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38049 if eval "test \"\${$as_ac_var+set}\" = set"; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 cat >conftest.
$ac_ext <<_ACEOF
38055 cat confdefs.h
>>conftest.
$ac_ext
38056 cat >>conftest.
$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38060 #define $ac_func innocuous_$ac_func
38062 /* System header to define __stub macros and hopefully few prototypes,
38063 which can conflict with char $ac_func (); below.
38064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38065 <limits.h> exists even on freestanding compilers. */
38068 # include <limits.h>
38070 # include <assert.h>
38075 /* Override any gcc2 internal prototype to avoid an error. */
38080 /* We use char because int might match the return type of a gcc2
38081 builtin and then its argument prototype would still apply. */
38083 /* The GNU C library defines this for functions which it implements
38084 to always fail with ENOSYS. Some functions are actually named
38085 something starting with __ and the normal name is an alias. */
38086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38089 char (*f) () = $ac_func;
38098 return f != $ac_func;
38103 rm -f conftest.
$ac_objext conftest
$ac_exeext
38104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38105 (eval $ac_link) 2>conftest.er1
38107 grep -v '^ *+' conftest.er1
>conftest.err
38109 cat conftest.err
>&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } &&
38112 { ac_try
='test -z "$ac_cxx_werror_flag"
38113 || test ! -s conftest.err'
38114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38115 (eval $ac_try) 2>&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); }; } &&
38119 { ac_try
='test -s conftest$ac_exeext'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; }; then
38125 eval "$as_ac_var=yes"
38127 echo "$as_me: failed program was:" >&5
38128 sed 's/^/| /' conftest.
$ac_ext >&5
38130 eval "$as_ac_var=no"
38132 rm -f conftest.err conftest.
$ac_objext \
38133 conftest
$ac_exeext conftest.
$ac_ext
38135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38137 if test `eval echo '${'$as_ac_var'}'` = yes; then
38138 cat >>confdefs.h
<<_ACEOF
38139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38141 cat >>confdefs.h
<<\_ACEOF
38142 #define HAVE_INET_ADDR 1
38147 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38148 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38149 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 ac_check_lib_save_LIBS
=$LIBS
38154 cat >conftest.
$ac_ext <<_ACEOF
38157 cat confdefs.h
>>conftest.
$ac_ext
38158 cat >>conftest.
$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38161 /* Override any gcc2 internal prototype to avoid an error. */
38165 /* We use char because int might match the return type of a gcc2
38166 builtin and then its argument prototype would still apply. */
38176 rm -f conftest.
$ac_objext conftest
$ac_exeext
38177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38178 (eval $ac_link) 2>conftest.er1
38180 grep -v '^ *+' conftest.er1
>conftest.err
38182 cat conftest.err
>&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); } &&
38185 { ac_try
='test -z "$ac_cxx_werror_flag"
38186 || test ! -s conftest.err'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; } &&
38192 { ac_try
='test -s conftest$ac_exeext'
38193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38194 (eval $ac_try) 2>&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); }; }; then
38198 ac_cv_lib_nsl_inet_addr
=yes
38200 echo "$as_me: failed program was:" >&5
38201 sed 's/^/| /' conftest.
$ac_ext >&5
38203 ac_cv_lib_nsl_inet_addr
=no
38205 rm -f conftest.err conftest.
$ac_objext \
38206 conftest
$ac_exeext conftest.
$ac_ext
38207 LIBS
=$ac_check_lib_save_LIBS
38209 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38210 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38211 if test $ac_cv_lib_nsl_inet_addr = yes; then
38215 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38216 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38217 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38220 ac_check_lib_save_LIBS
=$LIBS
38221 LIBS
="-lresolv $LIBS"
38222 cat >conftest.
$ac_ext <<_ACEOF
38225 cat confdefs.h
>>conftest.
$ac_ext
38226 cat >>conftest.
$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38229 /* Override any gcc2 internal prototype to avoid an error. */
38233 /* We use char because int might match the return type of a gcc2
38234 builtin and then its argument prototype would still apply. */
38244 rm -f conftest.
$ac_objext conftest
$ac_exeext
38245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38246 (eval $ac_link) 2>conftest.er1
38248 grep -v '^ *+' conftest.er1
>conftest.err
38250 cat conftest.err
>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } &&
38253 { ac_try
='test -z "$ac_cxx_werror_flag"
38254 || test ! -s conftest.err'
38255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38256 (eval $ac_try) 2>&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); }; } &&
38260 { ac_try
='test -s conftest$ac_exeext'
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; }; then
38266 ac_cv_lib_resolv_inet_addr
=yes
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.
$ac_ext >&5
38271 ac_cv_lib_resolv_inet_addr
=no
38273 rm -f conftest.err conftest.
$ac_objext \
38274 conftest
$ac_exeext conftest.
$ac_ext
38275 LIBS
=$ac_check_lib_save_LIBS
38277 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38278 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38279 if test $ac_cv_lib_resolv_inet_addr = yes; then
38283 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38284 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38285 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 ac_check_lib_save_LIBS
=$LIBS
38289 LIBS
="-lsocket $LIBS"
38290 cat >conftest.
$ac_ext <<_ACEOF
38293 cat confdefs.h
>>conftest.
$ac_ext
38294 cat >>conftest.
$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38297 /* Override any gcc2 internal prototype to avoid an error. */
38301 /* We use char because int might match the return type of a gcc2
38302 builtin and then its argument prototype would still apply. */
38312 rm -f conftest.
$ac_objext conftest
$ac_exeext
38313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38314 (eval $ac_link) 2>conftest.er1
38316 grep -v '^ *+' conftest.er1
>conftest.err
38318 cat conftest.err
>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); } &&
38321 { ac_try
='test -z "$ac_cxx_werror_flag"
38322 || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try
='test -s conftest$ac_exeext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 ac_cv_lib_socket_inet_addr
=yes
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.
$ac_ext >&5
38339 ac_cv_lib_socket_inet_addr
=no
38341 rm -f conftest.err conftest.
$ac_objext \
38342 conftest
$ac_exeext conftest.
$ac_ext
38343 LIBS
=$ac_check_lib_save_LIBS
38345 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38346 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38347 if test $ac_cv_lib_socket_inet_addr = yes; then
38367 for ac_func
in inet_aton
38369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38370 echo "$as_me:$LINENO: checking for $ac_func" >&5
38371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38372 if eval "test \"\${$as_ac_var+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 cat >conftest.
$ac_ext <<_ACEOF
38378 cat confdefs.h
>>conftest.
$ac_ext
38379 cat >>conftest.
$ac_ext <<_ACEOF
38380 /* end confdefs.h. */
38381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38383 #define $ac_func innocuous_$ac_func
38385 /* System header to define __stub macros and hopefully few prototypes,
38386 which can conflict with char $ac_func (); below.
38387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38388 <limits.h> exists even on freestanding compilers. */
38391 # include <limits.h>
38393 # include <assert.h>
38398 /* Override any gcc2 internal prototype to avoid an error. */
38403 /* We use char because int might match the return type of a gcc2
38404 builtin and then its argument prototype would still apply. */
38406 /* The GNU C library defines this for functions which it implements
38407 to always fail with ENOSYS. Some functions are actually named
38408 something starting with __ and the normal name is an alias. */
38409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38412 char (*f) () = $ac_func;
38421 return f != $ac_func;
38426 rm -f conftest.
$ac_objext conftest
$ac_exeext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38428 (eval $ac_link) 2>conftest.er1
38430 grep -v '^ *+' conftest.er1
>conftest.err
38432 cat conftest.err
>&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try
='test -z "$ac_cxx_werror_flag"
38436 || test ! -s conftest.err'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; } &&
38442 { ac_try
='test -s conftest$ac_exeext'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; }; then
38448 eval "$as_ac_var=yes"
38450 echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.
$ac_ext >&5
38453 eval "$as_ac_var=no"
38455 rm -f conftest.err conftest.
$ac_objext \
38456 conftest
$ac_exeext conftest.
$ac_ext
38458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38460 if test `eval echo '${'$as_ac_var'}'` = yes; then
38461 cat >>confdefs.h
<<_ACEOF
38462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38464 cat >>confdefs.h
<<\_ACEOF
38465 #define HAVE_INET_ATON 1
38470 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38471 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38472 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38473 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38474 echo $ECHO_N "(cached) $ECHO_C" >&6
38476 ac_check_lib_save_LIBS
=$LIBS
38477 LIBS
="-l$INET_LINK $LIBS"
38478 cat >conftest.
$ac_ext <<_ACEOF
38481 cat confdefs.h
>>conftest.
$ac_ext
38482 cat >>conftest.
$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38485 /* Override any gcc2 internal prototype to avoid an error. */
38489 /* We use char because int might match the return type of a gcc2
38490 builtin and then its argument prototype would still apply. */
38500 rm -f conftest.
$ac_objext conftest
$ac_exeext
38501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38502 (eval $ac_link) 2>conftest.er1
38504 grep -v '^ *+' conftest.er1
>conftest.err
38506 cat conftest.err
>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } &&
38509 { ac_try
='test -z "$ac_cxx_werror_flag"
38510 || test ! -s conftest.err'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; } &&
38516 { ac_try
='test -s conftest$ac_exeext'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; }; then
38522 eval "$as_ac_Lib=yes"
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.
$ac_ext >&5
38527 eval "$as_ac_Lib=no"
38529 rm -f conftest.err conftest.
$ac_objext \
38530 conftest
$ac_exeext conftest.
$ac_ext
38531 LIBS
=$ac_check_lib_save_LIBS
38533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38534 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38535 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38536 cat >>confdefs.h
<<\_ACEOF
38537 #define HAVE_INET_ATON 1
38547 if test "x$INET_LINK" != "x"; then
38548 cat >>confdefs.h
<<\_ACEOF
38549 #define HAVE_INET_ADDR 1
38552 INET_LINK
=" -l$INET_LINK"
38560 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38561 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38562 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38563 echo $ECHO_N "(cached) $ECHO_C" >&6
38565 ac_check_lib_save_LIBS
=$LIBS
38567 cat >conftest.
$ac_ext <<_ACEOF
38570 cat confdefs.h
>>conftest.
$ac_ext
38571 cat >>conftest.
$ac_ext <<_ACEOF
38572 /* end confdefs.h. */
38574 /* Override any gcc2 internal prototype to avoid an error. */
38578 /* We use char because int might match the return type of a gcc2
38579 builtin and then its argument prototype would still apply. */
38589 rm -f conftest.
$ac_objext conftest
$ac_exeext
38590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38591 (eval $ac_link) 2>conftest.er1
38593 grep -v '^ *+' conftest.er1
>conftest.err
38595 cat conftest.err
>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } &&
38598 { ac_try
='test -z "$ac_cxx_werror_flag"
38599 || test ! -s conftest.err'
38600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38601 (eval $ac_try) 2>&5
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); }; } &&
38605 { ac_try
='test -s conftest$ac_exeext'
38606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38607 (eval $ac_try) 2>&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); }; }; then
38611 ac_cv_lib_esd_esd_close
=yes
38613 echo "$as_me: failed program was:" >&5
38614 sed 's/^/| /' conftest.
$ac_ext >&5
38616 ac_cv_lib_esd_esd_close
=no
38618 rm -f conftest.err conftest.
$ac_objext \
38619 conftest
$ac_exeext conftest.
$ac_ext
38620 LIBS
=$ac_check_lib_save_LIBS
38622 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38623 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38624 if test $ac_cv_lib_esd_esd_close = yes; then
38627 for ac_header
in esd.h
38629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38631 echo "$as_me:$LINENO: checking for $ac_header" >&5
38632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38639 # Is the header compilable?
38640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38642 cat >conftest.
$ac_ext <<_ACEOF
38645 cat confdefs.h
>>conftest.
$ac_ext
38646 cat >>conftest.
$ac_ext <<_ACEOF
38647 /* end confdefs.h. */
38648 $ac_includes_default
38649 #include <$ac_header>
38651 rm -f conftest.
$ac_objext
38652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38653 (eval $ac_compile) 2>conftest.er1
38655 grep -v '^ *+' conftest.er1
>conftest.err
38657 cat conftest.err
>&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } &&
38660 { ac_try
='test -z "$ac_cxx_werror_flag"
38661 || test ! -s conftest.err'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; } &&
38667 { ac_try
='test -s conftest.$ac_objext'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; }; then
38673 ac_header_compiler
=yes
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.
$ac_ext >&5
38678 ac_header_compiler
=no
38680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38682 echo "${ECHO_T}$ac_header_compiler" >&6
38684 # Is the header present?
38685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38687 cat >conftest.
$ac_ext <<_ACEOF
38690 cat confdefs.h
>>conftest.
$ac_ext
38691 cat >>conftest.
$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693 #include <$ac_header>
38695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38696 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38698 grep -v '^ *+' conftest.er1
>conftest.err
38700 cat conftest.err
>&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } >/dev
/null
; then
38703 if test -s conftest.err
; then
38704 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38705 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38712 if test -z "$ac_cpp_err"; then
38713 ac_header_preproc
=yes
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.
$ac_ext >&5
38718 ac_header_preproc
=no
38720 rm -f conftest.err conftest.
$ac_ext
38721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38722 echo "${ECHO_T}$ac_header_preproc" >&6
38724 # So? What about this header?
38725 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38731 ac_header_preproc
=yes
38734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38748 ## ----------------------------------------- ##
38749 ## Report this to wx-dev@lists.wxwidgets.org ##
38750 ## ----------------------------------------- ##
38753 sed "s/^/$as_me: WARNING: /" >&2
38756 echo "$as_me:$LINENO: checking for $ac_header" >&5
38757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38759 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 eval "$as_ac_Header=\$ac_header_preproc"
38763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38768 cat >>confdefs.h
<<_ACEOF
38769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38772 EXTRALIBS_ESD
="-lesd"
38783 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38784 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38785 cat >conftest.
$ac_ext <<_ACEOF
38788 cat confdefs.h
>>conftest.
$ac_ext
38789 cat >>conftest.
$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38792 #include <linux/cdrom.h>
38795 #include <sys/cdio.h>
38801 struct cdrom_tocentry entry, old_entry;
38806 rm -f conftest.
$ac_objext
38807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38808 (eval $ac_compile) 2>conftest.er1
38810 grep -v '^ *+' conftest.er1
>conftest.err
38812 cat conftest.err
>&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } &&
38815 { ac_try
='test -z "$ac_cxx_werror_flag"
38816 || test ! -s conftest.err'
38817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38818 (eval $ac_try) 2>&5
38820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821 (exit $ac_status); }; } &&
38822 { ac_try
='test -s conftest.$ac_objext'
38823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824 (eval $ac_try) 2>&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); }; }; then
38828 echo "$as_me:$LINENO: result: yes" >&5
38829 echo "${ECHO_T}yes" >&6
38830 cat >>confdefs.h
<<\_ACEOF
38831 #define HAVE_KNOWN_CDROM_INTERFACE 1
38835 echo "$as_me: failed program was:" >&5
38836 sed 's/^/| /' conftest.
$ac_ext >&5
38838 echo "$as_me:$LINENO: result: no" >&5
38839 echo "${ECHO_T}no" >&6
38841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38844 cat >confcache
<<\_ACEOF
38845 # This file is a shell script that caches the results of configure
38846 # tests run on this system so they can be shared between configure
38847 # scripts and configure runs, see configure's option --config-cache.
38848 # It is not useful on other systems. If it contains results you don't
38849 # want to keep, you may remove or edit it.
38851 # config.status only pays attention to the cache file if you give it
38852 # the --recheck option to rerun configure.
38854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38856 # following values.
38860 # The following way of writing the cache mishandles newlines in values,
38861 # but we know of no workaround that is simple, portable, and efficient.
38862 # So, don't put newlines in cache variables' values.
38863 # Ultrix sh set writes to stderr and can't be redirected directly,
38864 # and sets the high bit in the cache file unless we assign to the vars.
38867 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38869 # `set' does not quote correctly, so add quotes (double-quote
38870 # substitution turns \\\\ into \\, and sed turns \\ into \).
38873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38876 # `set' quotes correctly as required by POSIX, so do not add quotes.
38878 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38887 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38889 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38890 if test -w $cache_file; then
38891 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38892 cat confcache
>$cache_file
38894 echo "not updating unwritable cache $cache_file"
38900 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38906 if test "$wxUSE_THREADS" = "yes" ; then
38907 if test "$USE_BEOS" = 1; then
38908 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38909 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38914 if test "$wxUSE_THREADS" = "yes" ; then
38917 THREAD_OPTS
="-pthread"
38919 *-*-solaris2* | *-*-sunos4* )
38920 if test "x$GCC" = "xyes"; then
38921 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38923 THREAD_OPTS
="-mt $THREAD_OPTS"
38927 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38929 *-*-darwin* | *-*-cygwin* )
38933 THREAD_OPTS
="pthreads"
38936 if test "x$GCC" = "xyes"; then
38937 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38945 if test "x$GCC" = "xyes"; then
38951 if test "x$GCC" != "xyes"; then
38952 THREAD_OPTS
="-Ethread"
38957 THREAD_OPTS
="$THREAD_OPTS pthread none"
38960 for flag
in $THREAD_OPTS; do
38963 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38964 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38968 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38969 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38970 THREADS_CXXFLAGS
="$flag"
38974 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38975 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38976 THREADS_LINK
="-l$flag"
38981 save_CXXFLAGS
="$CXXFLAGS"
38982 LIBS
="$THREADS_LINK $LIBS"
38983 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38985 cat >conftest.
$ac_ext <<_ACEOF
38988 cat confdefs.h
>>conftest.
$ac_ext
38989 cat >>conftest.
$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #include <pthread.h>
38995 pthread_create(0,0,0,0);
39000 rm -f conftest.
$ac_objext conftest
$ac_exeext
39001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39002 (eval $ac_link) 2>conftest.er1
39004 grep -v '^ *+' conftest.er1
>conftest.err
39006 cat conftest.err
>&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); } &&
39009 { ac_try
='test -z "$ac_cxx_werror_flag"
39010 || test ! -s conftest.err'
39011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39012 (eval $ac_try) 2>&5
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); }; } &&
39016 { ac_try
='test -s conftest$ac_exeext'
39017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39018 (eval $ac_try) 2>&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); }; }; then
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.
$ac_ext >&5
39028 rm -f conftest.err conftest.
$ac_objext \
39029 conftest
$ac_exeext conftest.
$ac_ext
39032 CXXFLAGS
="$save_CXXFLAGS"
39034 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39035 echo "${ECHO_T}$THREADS_OK" >&6
39036 if test "x$THREADS_OK" = "xyes"; then
39041 THREADS_CXXFLAGS
=""
39044 if test "x$THREADS_OK" != "xyes"; then
39046 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39047 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39049 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39050 LIBS
="$THREADS_LINK $LIBS"
39052 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39053 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39057 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39058 flag
="-D_THREAD_SAFE"
39061 flag
="-D_THREAD_SAFE"
39064 flag
="-D_REENTRANT"
39065 if test "x$GCC" != "xyes"; then
39066 flag
="$flag -D_RWSTD_MULTI_THREAD"
39069 *solaris
* | alpha
*-osf*)
39070 flag
="-D_REENTRANT"
39073 echo "$as_me:$LINENO: result: ${flag}" >&5
39074 echo "${ECHO_T}${flag}" >&6
39075 if test "x$flag" != xno
; then
39076 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39079 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39083 if test "$wxUSE_THREADS" = "yes" ; then
39085 for ac_func
in thr_setconcurrency
39087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39088 echo "$as_me:$LINENO: checking for $ac_func" >&5
39089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39090 if eval "test \"\${$as_ac_var+set}\" = set"; then
39091 echo $ECHO_N "(cached) $ECHO_C" >&6
39093 cat >conftest.
$ac_ext <<_ACEOF
39096 cat confdefs.h
>>conftest.
$ac_ext
39097 cat >>conftest.
$ac_ext <<_ACEOF
39098 /* end confdefs.h. */
39099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39101 #define $ac_func innocuous_$ac_func
39103 /* System header to define __stub macros and hopefully few prototypes,
39104 which can conflict with char $ac_func (); below.
39105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39106 <limits.h> exists even on freestanding compilers. */
39109 # include <limits.h>
39111 # include <assert.h>
39116 /* Override any gcc2 internal prototype to avoid an error. */
39121 /* We use char because int might match the return type of a gcc2
39122 builtin and then its argument prototype would still apply. */
39124 /* The GNU C library defines this for functions which it implements
39125 to always fail with ENOSYS. Some functions are actually named
39126 something starting with __ and the normal name is an alias. */
39127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39130 char (*f) () = $ac_func;
39139 return f != $ac_func;
39144 rm -f conftest.
$ac_objext conftest
$ac_exeext
39145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39146 (eval $ac_link) 2>conftest.er1
39148 grep -v '^ *+' conftest.er1
>conftest.err
39150 cat conftest.err
>&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); } &&
39153 { ac_try
='test -z "$ac_cxx_werror_flag"
39154 || test ! -s conftest.err'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; } &&
39160 { ac_try
='test -s conftest$ac_exeext'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; }; then
39166 eval "$as_ac_var=yes"
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.
$ac_ext >&5
39171 eval "$as_ac_var=no"
39173 rm -f conftest.err conftest.
$ac_objext \
39174 conftest
$ac_exeext conftest.
$ac_ext
39176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39178 if test `eval echo '${'$as_ac_var'}'` = yes; then
39179 cat >>confdefs.h
<<_ACEOF
39180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39187 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39188 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39189 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 cat >conftest.
$ac_ext <<_ACEOF
39196 cat confdefs.h
>>conftest.
$ac_ext
39197 cat >>conftest.
$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 #include <pthread.h>
39200 void ThreadCleanupFunc(void *p);
39207 pthread_cleanup_push(ThreadCleanupFunc, p);
39208 pthread_cleanup_pop(0);
39214 rm -f conftest.
$ac_objext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39216 (eval $ac_compile) 2>conftest.er1
39218 grep -v '^ *+' conftest.er1
>conftest.err
39220 cat conftest.err
>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try
='test -z "$ac_cxx_werror_flag"
39224 || test ! -s conftest.err'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; } &&
39230 { ac_try
='test -s conftest.$ac_objext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39237 wx_cv_func_pthread_cleanup
=yes
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.
$ac_ext >&5
39244 wx_cv_func_pthread_cleanup
=no
39248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39251 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39252 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39253 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39254 cat >>confdefs.h
<<\_ACEOF
39255 #define wxHAVE_PTHREAD_CLEANUP 1
39261 for ac_header
in sched.h
39263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39265 echo "$as_me:$LINENO: checking for $ac_header" >&5
39266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39273 # Is the header compilable?
39274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39276 cat >conftest.
$ac_ext <<_ACEOF
39279 cat confdefs.h
>>conftest.
$ac_ext
39280 cat >>conftest.
$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 $ac_includes_default
39283 #include <$ac_header>
39285 rm -f conftest.
$ac_objext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39287 (eval $ac_compile) 2>conftest.er1
39289 grep -v '^ *+' conftest.er1
>conftest.err
39291 cat conftest.err
>&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } &&
39294 { ac_try
='test -z "$ac_cxx_werror_flag"
39295 || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try
='test -s conftest.$ac_objext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_header_compiler
=yes
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.
$ac_ext >&5
39312 ac_header_compiler
=no
39314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39316 echo "${ECHO_T}$ac_header_compiler" >&6
39318 # Is the header present?
39319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39321 cat >conftest.
$ac_ext <<_ACEOF
39324 cat confdefs.h
>>conftest.
$ac_ext
39325 cat >>conftest.
$ac_ext <<_ACEOF
39326 /* end confdefs.h. */
39327 #include <$ac_header>
39329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39332 grep -v '^ *+' conftest.er1
>conftest.err
39334 cat conftest.err
>&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } >/dev
/null
; then
39337 if test -s conftest.err
; then
39338 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39339 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39346 if test -z "$ac_cpp_err"; then
39347 ac_header_preproc
=yes
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.
$ac_ext >&5
39352 ac_header_preproc
=no
39354 rm -f conftest.err conftest.
$ac_ext
39355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39356 echo "${ECHO_T}$ac_header_preproc" >&6
39358 # So? What about this header?
39359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39365 ac_header_preproc
=yes
39368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39382 ## ----------------------------------------- ##
39383 ## Report this to wx-dev@lists.wxwidgets.org ##
39384 ## ----------------------------------------- ##
39387 sed "s/^/$as_me: WARNING: /" >&2
39390 echo "$as_me:$LINENO: checking for $ac_header" >&5
39391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39395 eval "$as_ac_Header=\$ac_header_preproc"
39397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39402 cat >>confdefs.h
<<_ACEOF
39403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39410 if test "$ac_cv_header_sched_h" = "yes"; then
39411 echo "$as_me:$LINENO: checking for sched_yield" >&5
39412 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39413 if test "${ac_cv_func_sched_yield+set}" = set; then
39414 echo $ECHO_N "(cached) $ECHO_C" >&6
39416 cat >conftest.
$ac_ext <<_ACEOF
39419 cat confdefs.h
>>conftest.
$ac_ext
39420 cat >>conftest.
$ac_ext <<_ACEOF
39421 /* end confdefs.h. */
39422 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39424 #define sched_yield innocuous_sched_yield
39426 /* System header to define __stub macros and hopefully few prototypes,
39427 which can conflict with char sched_yield (); below.
39428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39429 <limits.h> exists even on freestanding compilers. */
39432 # include <limits.h>
39434 # include <assert.h>
39439 /* Override any gcc2 internal prototype to avoid an error. */
39444 /* We use char because int might match the return type of a gcc2
39445 builtin and then its argument prototype would still apply. */
39446 char sched_yield ();
39447 /* The GNU C library defines this for functions which it implements
39448 to always fail with ENOSYS. Some functions are actually named
39449 something starting with __ and the normal name is an alias. */
39450 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39453 char (*f) () = sched_yield;
39462 return f != sched_yield;
39467 rm -f conftest.
$ac_objext conftest
$ac_exeext
39468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39469 (eval $ac_link) 2>conftest.er1
39471 grep -v '^ *+' conftest.er1
>conftest.err
39473 cat conftest.err
>&5
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); } &&
39476 { ac_try
='test -z "$ac_cxx_werror_flag"
39477 || test ! -s conftest.err'
39478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479 (eval $ac_try) 2>&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); }; } &&
39483 { ac_try
='test -s conftest$ac_exeext'
39484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39485 (eval $ac_try) 2>&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); }; }; then
39489 ac_cv_func_sched_yield
=yes
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.
$ac_ext >&5
39494 ac_cv_func_sched_yield
=no
39496 rm -f conftest.err conftest.
$ac_objext \
39497 conftest
$ac_exeext conftest.
$ac_ext
39499 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39500 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39501 if test $ac_cv_func_sched_yield = yes; then
39502 cat >>confdefs.h
<<\_ACEOF
39503 #define HAVE_SCHED_YIELD 1
39508 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39509 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39510 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39511 echo $ECHO_N "(cached) $ECHO_C" >&6
39513 ac_check_lib_save_LIBS
=$LIBS
39514 LIBS
="-lposix4 $LIBS"
39515 cat >conftest.
$ac_ext <<_ACEOF
39518 cat confdefs.h
>>conftest.
$ac_ext
39519 cat >>conftest.
$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39522 /* Override any gcc2 internal prototype to avoid an error. */
39526 /* We use char because int might match the return type of a gcc2
39527 builtin and then its argument prototype would still apply. */
39528 char sched_yield ();
39537 rm -f conftest.
$ac_objext conftest
$ac_exeext
39538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39539 (eval $ac_link) 2>conftest.er1
39541 grep -v '^ *+' conftest.er1
>conftest.err
39543 cat conftest.err
>&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } &&
39546 { ac_try
='test -z "$ac_cxx_werror_flag"
39547 || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try
='test -s conftest$ac_exeext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_cv_lib_posix4_sched_yield
=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.
$ac_ext >&5
39564 ac_cv_lib_posix4_sched_yield
=no
39566 rm -f conftest.err conftest.
$ac_objext \
39567 conftest
$ac_exeext conftest.
$ac_ext
39568 LIBS
=$ac_check_lib_save_LIBS
39570 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39571 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39572 if test $ac_cv_lib_posix4_sched_yield = yes; then
39573 cat >>confdefs.h
<<\_ACEOF
39574 #define HAVE_SCHED_YIELD 1
39576 POSIX4_LINK
=" -lposix4"
39578 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39579 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39590 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39591 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39592 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39595 cat >conftest.
$ac_ext <<_ACEOF
39598 cat confdefs.h
>>conftest.
$ac_ext
39599 cat >>conftest.
$ac_ext <<_ACEOF
39600 /* end confdefs.h. */
39601 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39603 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39605 /* System header to define __stub macros and hopefully few prototypes,
39606 which can conflict with char pthread_attr_getschedpolicy (); below.
39607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39608 <limits.h> exists even on freestanding compilers. */
39611 # include <limits.h>
39613 # include <assert.h>
39616 #undef pthread_attr_getschedpolicy
39618 /* Override any gcc2 internal prototype to avoid an error. */
39623 /* We use char because int might match the return type of a gcc2
39624 builtin and then its argument prototype would still apply. */
39625 char pthread_attr_getschedpolicy ();
39626 /* The GNU C library defines this for functions which it implements
39627 to always fail with ENOSYS. Some functions are actually named
39628 something starting with __ and the normal name is an alias. */
39629 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39632 char (*f) () = pthread_attr_getschedpolicy;
39641 return f != pthread_attr_getschedpolicy;
39646 rm -f conftest.
$ac_objext conftest
$ac_exeext
39647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39648 (eval $ac_link) 2>conftest.er1
39650 grep -v '^ *+' conftest.er1
>conftest.err
39652 cat conftest.err
>&5
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); } &&
39655 { ac_try
='test -z "$ac_cxx_werror_flag"
39656 || test ! -s conftest.err'
39657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39658 (eval $ac_try) 2>&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); }; } &&
39662 { ac_try
='test -s conftest$ac_exeext'
39663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39664 (eval $ac_try) 2>&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); }; }; then
39668 ac_cv_func_pthread_attr_getschedpolicy
=yes
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.
$ac_ext >&5
39673 ac_cv_func_pthread_attr_getschedpolicy
=no
39675 rm -f conftest.err conftest.
$ac_objext \
39676 conftest
$ac_exeext conftest.
$ac_ext
39678 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39679 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39680 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39681 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39682 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39683 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39684 echo $ECHO_N "(cached) $ECHO_C" >&6
39686 cat >conftest.
$ac_ext <<_ACEOF
39689 cat confdefs.h
>>conftest.
$ac_ext
39690 cat >>conftest.
$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39694 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39696 /* System header to define __stub macros and hopefully few prototypes,
39697 which can conflict with char pthread_attr_setschedparam (); below.
39698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39699 <limits.h> exists even on freestanding compilers. */
39702 # include <limits.h>
39704 # include <assert.h>
39707 #undef pthread_attr_setschedparam
39709 /* Override any gcc2 internal prototype to avoid an error. */
39714 /* We use char because int might match the return type of a gcc2
39715 builtin and then its argument prototype would still apply. */
39716 char pthread_attr_setschedparam ();
39717 /* The GNU C library defines this for functions which it implements
39718 to always fail with ENOSYS. Some functions are actually named
39719 something starting with __ and the normal name is an alias. */
39720 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39723 char (*f) () = pthread_attr_setschedparam;
39732 return f != pthread_attr_setschedparam;
39737 rm -f conftest.
$ac_objext conftest
$ac_exeext
39738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39739 (eval $ac_link) 2>conftest.er1
39741 grep -v '^ *+' conftest.er1
>conftest.err
39743 cat conftest.err
>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } &&
39746 { ac_try
='test -z "$ac_cxx_werror_flag"
39747 || test ! -s conftest.err'
39748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749 (eval $ac_try) 2>&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); }; } &&
39753 { ac_try
='test -s conftest$ac_exeext'
39754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39755 (eval $ac_try) 2>&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); }; }; then
39759 ac_cv_func_pthread_attr_setschedparam
=yes
39761 echo "$as_me: failed program was:" >&5
39762 sed 's/^/| /' conftest.
$ac_ext >&5
39764 ac_cv_func_pthread_attr_setschedparam
=no
39766 rm -f conftest.err conftest.
$ac_objext \
39767 conftest
$ac_exeext conftest.
$ac_ext
39769 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39770 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39771 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39772 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39773 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39774 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 cat >conftest.
$ac_ext <<_ACEOF
39780 cat confdefs.h
>>conftest.
$ac_ext
39781 cat >>conftest.
$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define sched_get_priority_max innocuous_sched_get_priority_max
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char sched_get_priority_max (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39793 # include <limits.h>
39795 # include <assert.h>
39798 #undef sched_get_priority_max
39800 /* Override any gcc2 internal prototype to avoid an error. */
39805 /* We use char because int might match the return type of a gcc2
39806 builtin and then its argument prototype would still apply. */
39807 char sched_get_priority_max ();
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39814 char (*f) () = sched_get_priority_max;
39823 return f != sched_get_priority_max;
39828 rm -f conftest.
$ac_objext conftest
$ac_exeext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39830 (eval $ac_link) 2>conftest.er1
39832 grep -v '^ *+' conftest.er1
>conftest.err
39834 cat conftest.err
>&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try
='test -z "$ac_cxx_werror_flag"
39838 || test ! -s conftest.err'
39839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39840 (eval $ac_try) 2>&5
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); }; } &&
39844 { ac_try
='test -s conftest$ac_exeext'
39845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39846 (eval $ac_try) 2>&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); }; }; then
39850 ac_cv_func_sched_get_priority_max
=yes
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.
$ac_ext >&5
39855 ac_cv_func_sched_get_priority_max
=no
39857 rm -f conftest.err conftest.
$ac_objext \
39858 conftest
$ac_exeext conftest.
$ac_ext
39860 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39861 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39862 if test $ac_cv_func_sched_get_priority_max = yes; then
39865 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39866 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39867 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39870 ac_check_lib_save_LIBS
=$LIBS
39871 LIBS
="-lposix4 $LIBS"
39872 cat >conftest.
$ac_ext <<_ACEOF
39875 cat confdefs.h
>>conftest.
$ac_ext
39876 cat >>conftest.
$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39879 /* Override any gcc2 internal prototype to avoid an error. */
39883 /* We use char because int might match the return type of a gcc2
39884 builtin and then its argument prototype would still apply. */
39885 char sched_get_priority_max ();
39889 sched_get_priority_max ();
39894 rm -f conftest.
$ac_objext conftest
$ac_exeext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39896 (eval $ac_link) 2>conftest.er1
39898 grep -v '^ *+' conftest.er1
>conftest.err
39900 cat conftest.err
>&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try
='test -z "$ac_cxx_werror_flag"
39904 || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try
='test -s conftest$ac_exeext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 ac_cv_lib_posix4_sched_get_priority_max
=yes
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.
$ac_ext >&5
39921 ac_cv_lib_posix4_sched_get_priority_max
=no
39923 rm -f conftest.err conftest.
$ac_objext \
39924 conftest
$ac_exeext conftest.
$ac_ext
39925 LIBS
=$ac_check_lib_save_LIBS
39927 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39928 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39929 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39932 POSIX4_LINK
=" -lposix4"
39946 if test "$HAVE_PRIOR_FUNCS" = 1; then
39947 cat >>confdefs.h
<<\_ACEOF
39948 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39952 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39953 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39956 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39957 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39958 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39961 cat >conftest.
$ac_ext <<_ACEOF
39964 cat confdefs.h
>>conftest.
$ac_ext
39965 cat >>conftest.
$ac_ext <<_ACEOF
39966 /* end confdefs.h. */
39967 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39969 #define pthread_cancel innocuous_pthread_cancel
39971 /* System header to define __stub macros and hopefully few prototypes,
39972 which can conflict with char pthread_cancel (); below.
39973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39974 <limits.h> exists even on freestanding compilers. */
39977 # include <limits.h>
39979 # include <assert.h>
39982 #undef pthread_cancel
39984 /* Override any gcc2 internal prototype to avoid an error. */
39989 /* We use char because int might match the return type of a gcc2
39990 builtin and then its argument prototype would still apply. */
39991 char pthread_cancel ();
39992 /* The GNU C library defines this for functions which it implements
39993 to always fail with ENOSYS. Some functions are actually named
39994 something starting with __ and the normal name is an alias. */
39995 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39998 char (*f) () = pthread_cancel;
40007 return f != pthread_cancel;
40012 rm -f conftest.
$ac_objext conftest
$ac_exeext
40013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40014 (eval $ac_link) 2>conftest.er1
40016 grep -v '^ *+' conftest.er1
>conftest.err
40018 cat conftest.err
>&5
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); } &&
40021 { ac_try
='test -z "$ac_cxx_werror_flag"
40022 || test ! -s conftest.err'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try
='test -s conftest$ac_exeext'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40034 ac_cv_func_pthread_cancel
=yes
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.
$ac_ext >&5
40039 ac_cv_func_pthread_cancel
=no
40041 rm -f conftest.err conftest.
$ac_objext \
40042 conftest
$ac_exeext conftest.
$ac_ext
40044 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40045 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40046 if test $ac_cv_func_pthread_cancel = yes; then
40047 cat >>confdefs.h
<<\_ACEOF
40048 #define HAVE_PTHREAD_CANCEL 1
40052 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40053 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40057 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40058 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40059 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char pthread_attr_setstacksize (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40078 # include <limits.h>
40080 # include <assert.h>
40083 #undef pthread_attr_setstacksize
40085 /* Override any gcc2 internal prototype to avoid an error. */
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40092 char pthread_attr_setstacksize ();
40093 /* The GNU C library defines this for functions which it implements
40094 to always fail with ENOSYS. Some functions are actually named
40095 something starting with __ and the normal name is an alias. */
40096 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40099 char (*f) () = pthread_attr_setstacksize;
40108 return f != pthread_attr_setstacksize;
40113 rm -f conftest.
$ac_objext conftest
$ac_exeext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40115 (eval $ac_link) 2>conftest.er1
40117 grep -v '^ *+' conftest.er1
>conftest.err
40119 cat conftest.err
>&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); } &&
40122 { ac_try
='test -z "$ac_cxx_werror_flag"
40123 || test ! -s conftest.err'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; } &&
40129 { ac_try
='test -s conftest$ac_exeext'
40130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131 (eval $ac_try) 2>&5
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); }; }; then
40135 ac_cv_func_pthread_attr_setstacksize
=yes
40137 echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.
$ac_ext >&5
40140 ac_cv_func_pthread_attr_setstacksize
=no
40142 rm -f conftest.err conftest.
$ac_objext \
40143 conftest
$ac_exeext conftest.
$ac_ext
40145 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40146 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40147 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40148 cat >>confdefs.h
<<\_ACEOF
40149 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40156 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40157 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40158 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40162 cat >conftest.
$ac_ext <<_ACEOF
40165 cat confdefs.h
>>conftest.
$ac_ext
40166 cat >>conftest.
$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 #include <pthread.h>
40173 pthread_mutexattr_t attr;
40174 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40180 rm -f conftest.
$ac_objext
40181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40182 (eval $ac_compile) 2>conftest.er1
40184 grep -v '^ *+' conftest.er1
>conftest.err
40186 cat conftest.err
>&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } &&
40189 { ac_try
='test -z "$ac_cxx_werror_flag"
40190 || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try
='test -s conftest.$ac_objext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 wx_cv_type_pthread_mutexattr_t
=yes
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.
$ac_ext >&5
40207 wx_cv_type_pthread_mutexattr_t
=no
40210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40213 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40214 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40216 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40217 cat >>confdefs.h
<<\_ACEOF
40218 #define HAVE_PTHREAD_MUTEXATTR_T 1
40222 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40223 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40224 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 cat >conftest.
$ac_ext <<_ACEOF
40231 cat confdefs.h
>>conftest.
$ac_ext
40232 cat >>conftest.
$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 #include <pthread.h>
40239 pthread_mutexattr_t attr;
40240 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40246 rm -f conftest.
$ac_objext
40247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40248 (eval $ac_compile) 2>conftest.er1
40250 grep -v '^ *+' conftest.er1
>conftest.err
40252 cat conftest.err
>&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } &&
40255 { ac_try
='test -z "$ac_cxx_werror_flag"
40256 || test ! -s conftest.err'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; } &&
40262 { ac_try
='test -s conftest.$ac_objext'
40263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40264 (eval $ac_try) 2>&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); }; }; then
40268 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.
$ac_ext >&5
40273 wx_cv_func_pthread_mutexattr_settype_decl
=no
40276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40279 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40280 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40281 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40282 cat >>confdefs.h
<<\_ACEOF
40283 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40288 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40289 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40290 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40291 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 cat >conftest.
$ac_ext <<_ACEOF
40297 cat confdefs.h
>>conftest.
$ac_ext
40298 cat >>conftest.
$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40300 #include <pthread.h>
40305 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40311 rm -f conftest.
$ac_objext
40312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40313 (eval $ac_compile) 2>conftest.er1
40315 grep -v '^ *+' conftest.er1
>conftest.err
40317 cat conftest.err
>&5
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); } &&
40320 { ac_try
='test -z "$ac_cxx_werror_flag"
40321 || test ! -s conftest.err'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; } &&
40327 { ac_try
='test -s conftest.$ac_objext'
40328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40329 (eval $ac_try) 2>&5
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); }; }; then
40334 wx_cv_type_pthread_rec_mutex_init
=yes
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.
$ac_ext >&5
40341 wx_cv_type_pthread_rec_mutex_init
=no
40345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40348 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40349 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40350 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40351 cat >>confdefs.h
<<\_ACEOF
40352 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40356 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40357 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40363 if test "$wxUSE_THREADS" = "yes" ; then
40366 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40367 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40368 if test "${wx_cv_cflags_mthread+set}" = set; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40372 CXXFLAGS_OLD
="$CXXFLAGS"
40373 CXXFLAGS
="-mthreads $CXXFLAGS"
40374 cat >conftest.
$ac_ext <<_ACEOF
40377 cat confdefs.h
>>conftest.
$ac_ext
40378 cat >>conftest.
$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40389 rm -f conftest.
$ac_objext
40390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40391 (eval $ac_compile) 2>conftest.er1
40393 grep -v '^ *+' conftest.er1
>conftest.err
40395 cat conftest.err
>&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } &&
40398 { ac_try
='test -z "$ac_cxx_werror_flag"
40399 || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try
='test -s conftest.$ac_objext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 wx_cv_cflags_mthread
=yes
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.
$ac_ext >&5
40416 wx_cv_cflags_mthread
=no
40419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40423 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40424 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40426 if test "$wx_cv_cflags_mthread" = "yes"; then
40427 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40428 LDFLAGS
="$LDFLAGS -mthreads"
40430 CXXFLAGS
="$CXXFLAGS_OLD"
40434 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40435 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40436 LDFLAGS
="$LDFLAGS -Zmt"
40442 echo "$as_me:$LINENO: checking for localtime_r" >&5
40443 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40444 if test "${ac_cv_func_localtime_r+set}" = set; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40447 cat >conftest.
$ac_ext <<_ACEOF
40450 cat confdefs.h
>>conftest.
$ac_ext
40451 cat >>conftest.
$ac_ext <<_ACEOF
40452 /* end confdefs.h. */
40453 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40455 #define localtime_r innocuous_localtime_r
40457 /* System header to define __stub macros and hopefully few prototypes,
40458 which can conflict with char localtime_r (); below.
40459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40460 <limits.h> exists even on freestanding compilers. */
40463 # include <limits.h>
40465 # include <assert.h>
40470 /* Override any gcc2 internal prototype to avoid an error. */
40475 /* We use char because int might match the return type of a gcc2
40476 builtin and then its argument prototype would still apply. */
40477 char localtime_r ();
40478 /* The GNU C library defines this for functions which it implements
40479 to always fail with ENOSYS. Some functions are actually named
40480 something starting with __ and the normal name is an alias. */
40481 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40484 char (*f) () = localtime_r;
40493 return f != localtime_r;
40498 rm -f conftest.
$ac_objext conftest
$ac_exeext
40499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40500 (eval $ac_link) 2>conftest.er1
40502 grep -v '^ *+' conftest.er1
>conftest.err
40504 cat conftest.err
>&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); } &&
40507 { ac_try
='test -z "$ac_cxx_werror_flag"
40508 || test ! -s conftest.err'
40509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40510 (eval $ac_try) 2>&5
40512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40513 (exit $ac_status); }; } &&
40514 { ac_try
='test -s conftest$ac_exeext'
40515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40516 (eval $ac_try) 2>&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); }; }; then
40520 ac_cv_func_localtime_r
=yes
40522 echo "$as_me: failed program was:" >&5
40523 sed 's/^/| /' conftest.
$ac_ext >&5
40525 ac_cv_func_localtime_r
=no
40527 rm -f conftest.err conftest.
$ac_objext \
40528 conftest
$ac_exeext conftest.
$ac_ext
40530 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40531 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40532 if test $ac_cv_func_localtime_r = yes; then
40533 cat >>confdefs.h
<<\_ACEOF
40534 #define HAVE_LOCALTIME_R 1
40539 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40540 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40541 if test "${ac_cv_func_gmtime_r+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40544 cat >conftest.
$ac_ext <<_ACEOF
40547 cat confdefs.h
>>conftest.
$ac_ext
40548 cat >>conftest.
$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40550 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40552 #define gmtime_r innocuous_gmtime_r
40554 /* System header to define __stub macros and hopefully few prototypes,
40555 which can conflict with char gmtime_r (); below.
40556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40557 <limits.h> exists even on freestanding compilers. */
40560 # include <limits.h>
40562 # include <assert.h>
40567 /* Override any gcc2 internal prototype to avoid an error. */
40572 /* We use char because int might match the return type of a gcc2
40573 builtin and then its argument prototype would still apply. */
40575 /* The GNU C library defines this for functions which it implements
40576 to always fail with ENOSYS. Some functions are actually named
40577 something starting with __ and the normal name is an alias. */
40578 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40581 char (*f) () = gmtime_r;
40590 return f != gmtime_r;
40595 rm -f conftest.
$ac_objext conftest
$ac_exeext
40596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40597 (eval $ac_link) 2>conftest.er1
40599 grep -v '^ *+' conftest.er1
>conftest.err
40601 cat conftest.err
>&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } &&
40604 { ac_try
='test -z "$ac_cxx_werror_flag"
40605 || test ! -s conftest.err'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; } &&
40611 { ac_try
='test -s conftest$ac_exeext'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; }; then
40617 ac_cv_func_gmtime_r
=yes
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.
$ac_ext >&5
40622 ac_cv_func_gmtime_r
=no
40624 rm -f conftest.err conftest.
$ac_objext \
40625 conftest
$ac_exeext conftest.
$ac_ext
40627 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40628 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40629 if test $ac_cv_func_gmtime_r = yes; then
40630 cat >>confdefs.h
<<\_ACEOF
40631 #define HAVE_GMTIME_R 1
40636 echo "$as_me:$LINENO: checking for readdir_r" >&5
40637 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40638 if test "${ac_cv_func_readdir_r+set}" = set; then
40639 echo $ECHO_N "(cached) $ECHO_C" >&6
40641 cat >conftest.
$ac_ext <<_ACEOF
40644 cat confdefs.h
>>conftest.
$ac_ext
40645 cat >>conftest.
$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40649 #define readdir_r innocuous_readdir_r
40651 /* System header to define __stub macros and hopefully few prototypes,
40652 which can conflict with char readdir_r (); below.
40653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40654 <limits.h> exists even on freestanding compilers. */
40657 # include <limits.h>
40659 # include <assert.h>
40664 /* Override any gcc2 internal prototype to avoid an error. */
40669 /* We use char because int might match the return type of a gcc2
40670 builtin and then its argument prototype would still apply. */
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40678 char (*f) () = readdir_r;
40687 return f != readdir_r;
40692 rm -f conftest.
$ac_objext conftest
$ac_exeext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40694 (eval $ac_link) 2>conftest.er1
40696 grep -v '^ *+' conftest.er1
>conftest.err
40698 cat conftest.err
>&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try
='test -z "$ac_cxx_werror_flag"
40702 || test ! -s conftest.err'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; } &&
40708 { ac_try
='test -s conftest$ac_exeext'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; }; then
40714 ac_cv_func_readdir_r
=yes
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.
$ac_ext >&5
40719 ac_cv_func_readdir_r
=no
40721 rm -f conftest.err conftest.
$ac_objext \
40722 conftest
$ac_exeext conftest.
$ac_ext
40724 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40725 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40726 if test $ac_cv_func_readdir_r = yes; then
40727 cat >>confdefs.h
<<\_ACEOF
40728 #define HAVE_READDIR_R 1
40737 ac_cpp
='$CPP $CPPFLAGS'
40738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40742 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40743 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40745 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40746 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 ################################################################
40752 ac_cv_func_which_gethostbyname_r
=unknown
40755 # ONE ARGUMENT (sanity check)
40758 # This should fail, as there is no variant of gethostbyname_r() that takes
40759 # a single argument. If it actually compiles, then we can assume that
40760 # netdb.h is not declaring the function, and the compiler is thereby
40761 # assuming an implicit prototype. In which case, we're out of luck.
40763 cat >conftest.
$ac_ext <<_ACEOF
40766 cat confdefs.h
>>conftest.
$ac_ext
40767 cat >>conftest.
$ac_ext <<_ACEOF
40768 /* end confdefs.h. */
40774 char *name = "www.gnu.org";
40775 (void)gethostbyname_r(name) /* ; */
40781 rm -f conftest.
$ac_objext
40782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40783 (eval $ac_compile) 2>conftest.er1
40785 grep -v '^ *+' conftest.er1
>conftest.err
40787 cat conftest.err
>&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); } &&
40790 { ac_try
='test -z "$ac_c_werror_flag"
40791 || test ! -s conftest.err'
40792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40793 (eval $ac_try) 2>&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); }; } &&
40797 { ac_try
='test -s conftest.$ac_objext'
40798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40799 (eval $ac_try) 2>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); }; }; then
40803 ac_cv_func_which_gethostbyname_r
=no
40805 echo "$as_me: failed program was:" >&5
40806 sed 's/^/| /' conftest.
$ac_ext >&5
40809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40816 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40818 cat >conftest.
$ac_ext <<_ACEOF
40821 cat confdefs.h
>>conftest.
$ac_ext
40822 cat >>conftest.
$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40829 char *name = "www.gnu.org";
40830 struct hostent ret, *retp;
40834 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40840 rm -f conftest.
$ac_objext
40841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40842 (eval $ac_compile) 2>conftest.er1
40844 grep -v '^ *+' conftest.er1
>conftest.err
40846 cat conftest.err
>&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } &&
40849 { ac_try
='test -z "$ac_c_werror_flag"
40850 || test ! -s conftest.err'
40851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40852 (eval $ac_try) 2>&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); }; } &&
40856 { ac_try
='test -s conftest.$ac_objext'
40857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40858 (eval $ac_try) 2>&5
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); }; }; then
40862 ac_cv_func_which_gethostbyname_r
=six
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.
$ac_ext >&5
40868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40877 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40879 cat >conftest.
$ac_ext <<_ACEOF
40882 cat confdefs.h
>>conftest.
$ac_ext
40883 cat >>conftest.
$ac_ext <<_ACEOF
40884 /* end confdefs.h. */
40890 char *name = "www.gnu.org";
40891 struct hostent ret;
40895 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40901 rm -f conftest.
$ac_objext
40902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40903 (eval $ac_compile) 2>conftest.er1
40905 grep -v '^ *+' conftest.er1
>conftest.err
40907 cat conftest.err
>&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } &&
40910 { ac_try
='test -z "$ac_c_werror_flag"
40911 || test ! -s conftest.err'
40912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40913 (eval $ac_try) 2>&5
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); }; } &&
40917 { ac_try
='test -s conftest.$ac_objext'
40918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40919 (eval $ac_try) 2>&5
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; }; then
40923 ac_cv_func_which_gethostbyname_r
=five
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.
$ac_ext >&5
40929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40935 # (e.g. AIX, HP-UX, Tru64)
40938 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40940 cat >conftest.
$ac_ext <<_ACEOF
40943 cat confdefs.h
>>conftest.
$ac_ext
40944 cat >>conftest.
$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40951 char *name = "www.gnu.org";
40952 struct hostent ret;
40953 struct hostent_data data;
40954 (void)gethostbyname_r(name, &ret, &data) /* ; */
40960 rm -f conftest.
$ac_objext
40961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40962 (eval $ac_compile) 2>conftest.er1
40964 grep -v '^ *+' conftest.er1
>conftest.err
40966 cat conftest.err
>&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); } &&
40969 { ac_try
='test -z "$ac_c_werror_flag"
40970 || test ! -s conftest.err'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; } &&
40976 { ac_try
='test -s conftest.$ac_objext'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; }; then
40982 ac_cv_func_which_gethostbyname_r
=three
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.
$ac_ext >&5
40988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40992 ################################################################
40997 case "$ac_cv_func_which_gethostbyname_r" in
40999 echo "$as_me:$LINENO: result: three" >&5
41000 echo "${ECHO_T}three" >&6
41001 cat >>confdefs.h
<<\_ACEOF
41002 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41008 echo "$as_me:$LINENO: result: five" >&5
41009 echo "${ECHO_T}five" >&6
41010 cat >>confdefs.h
<<\_ACEOF
41011 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41017 echo "$as_me:$LINENO: result: six" >&5
41018 echo "${ECHO_T}six" >&6
41019 cat >>confdefs.h
<<\_ACEOF
41020 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41026 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41027 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41031 echo "$as_me:$LINENO: result: can't tell" >&5
41032 echo "${ECHO_T}can't tell" >&6
41036 { { echo "$as_me:$LINENO: error: internal error" >&5
41037 echo "$as_me: error: internal error" >&2;}
41038 { (exit 1); exit 1; }; }
41043 ac_cpp
='$CXXCPP $CPPFLAGS'
41044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41050 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41051 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41052 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41053 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41054 if test "${ac_cv_func_gethostbyname+set}" = set; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41057 cat >conftest.
$ac_ext <<_ACEOF
41060 cat confdefs.h
>>conftest.
$ac_ext
41061 cat >>conftest.
$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define gethostbyname innocuous_gethostbyname
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char gethostbyname (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41073 # include <limits.h>
41075 # include <assert.h>
41078 #undef gethostbyname
41080 /* Override any gcc2 internal prototype to avoid an error. */
41085 /* We use char because int might match the return type of a gcc2
41086 builtin and then its argument prototype would still apply. */
41087 char gethostbyname ();
41088 /* The GNU C library defines this for functions which it implements
41089 to always fail with ENOSYS. Some functions are actually named
41090 something starting with __ and the normal name is an alias. */
41091 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41094 char (*f) () = gethostbyname;
41103 return f != gethostbyname;
41108 rm -f conftest.
$ac_objext conftest
$ac_exeext
41109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41110 (eval $ac_link) 2>conftest.er1
41112 grep -v '^ *+' conftest.er1
>conftest.err
41114 cat conftest.err
>&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); } &&
41117 { ac_try
='test -z "$ac_cxx_werror_flag"
41118 || test ! -s conftest.err'
41119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41120 (eval $ac_try) 2>&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); }; } &&
41124 { ac_try
='test -s conftest$ac_exeext'
41125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41126 (eval $ac_try) 2>&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); }; }; then
41130 ac_cv_func_gethostbyname
=yes
41132 echo "$as_me: failed program was:" >&5
41133 sed 's/^/| /' conftest.
$ac_ext >&5
41135 ac_cv_func_gethostbyname
=no
41137 rm -f conftest.err conftest.
$ac_objext \
41138 conftest
$ac_exeext conftest.
$ac_ext
41140 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41141 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41142 if test $ac_cv_func_gethostbyname = yes; then
41143 cat >>confdefs.h
<<\_ACEOF
41144 #define HAVE_GETHOSTBYNAME 1
41151 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41152 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41153 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41157 cat >conftest.
$ac_ext <<_ACEOF
41160 cat confdefs.h
>>conftest.
$ac_ext
41161 cat >>conftest.
$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41170 struct servent *se, *res;
41173 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41179 rm -f conftest.
$ac_objext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41181 (eval $ac_compile) 2>conftest.er1
41183 grep -v '^ *+' conftest.er1
>conftest.err
41185 cat conftest.err
>&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } &&
41188 { ac_try
='test -z "$ac_cxx_werror_flag"
41189 || test ! -s conftest.err'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; } &&
41195 { ac_try
='test -s conftest.$ac_objext'
41196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41197 (eval $ac_try) 2>&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); }; }; then
41201 ac_cv_func_which_getservbyname_r
=six
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.
$ac_ext >&5
41207 cat >conftest.
$ac_ext <<_ACEOF
41210 cat confdefs.h
>>conftest.
$ac_ext
41211 cat >>conftest.
$ac_ext <<_ACEOF
41212 /* end confdefs.h. */
41220 struct servent *se;
41223 (void) getservbyname_r(name, proto, se, buffer, buflen)
41229 rm -f conftest.
$ac_objext
41230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41231 (eval $ac_compile) 2>conftest.er1
41233 grep -v '^ *+' conftest.er1
>conftest.err
41235 cat conftest.err
>&5
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); } &&
41238 { ac_try
='test -z "$ac_cxx_werror_flag"
41239 || test ! -s conftest.err'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; } &&
41245 { ac_try
='test -s conftest.$ac_objext'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; }; then
41251 ac_cv_func_which_getservbyname_r
=five
41253 echo "$as_me: failed program was:" >&5
41254 sed 's/^/| /' conftest.
$ac_ext >&5
41257 cat >conftest.
$ac_ext <<_ACEOF
41260 cat confdefs.h
>>conftest.
$ac_ext
41261 cat >>conftest.
$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41270 struct servent *se;
41271 struct servent_data data;
41272 (void) getservbyname_r(name, proto, se, &data);
41278 rm -f conftest.
$ac_objext
41279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41280 (eval $ac_compile) 2>conftest.er1
41282 grep -v '^ *+' conftest.er1
>conftest.err
41284 cat conftest.err
>&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } &&
41287 { ac_try
='test -z "$ac_cxx_werror_flag"
41288 || test ! -s conftest.err'
41289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41290 (eval $ac_try) 2>&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); }; } &&
41294 { ac_try
='test -s conftest.$ac_objext'
41295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296 (eval $ac_try) 2>&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; }; then
41300 ac_cv_func_which_getservbyname_r
=four
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.
$ac_ext >&5
41305 ac_cv_func_which_getservbyname_r
=no
41308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41320 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41321 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41323 if test $ac_cv_func_which_getservbyname_r = six
; then
41324 cat >>confdefs.h
<<\_ACEOF
41325 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41328 elif test $ac_cv_func_which_getservbyname_r = five
; then
41329 cat >>confdefs.h
<<\_ACEOF
41330 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41333 elif test $ac_cv_func_which_getservbyname_r = four
; then
41334 cat >>confdefs.h
<<\_ACEOF
41335 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41341 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41342 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41344 for ac_func
in getservbyname
41346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 cat >conftest.
$ac_ext <<_ACEOF
41355 cat confdefs.h
>>conftest.
$ac_ext
41356 cat >>conftest.
$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41360 #define $ac_func innocuous_$ac_func
41362 /* System header to define __stub macros and hopefully few prototypes,
41363 which can conflict with char $ac_func (); below.
41364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41365 <limits.h> exists even on freestanding compilers. */
41368 # include <limits.h>
41370 # include <assert.h>
41375 /* Override any gcc2 internal prototype to avoid an error. */
41380 /* We use char because int might match the return type of a gcc2
41381 builtin and then its argument prototype would still apply. */
41383 /* The GNU C library defines this for functions which it implements
41384 to always fail with ENOSYS. Some functions are actually named
41385 something starting with __ and the normal name is an alias. */
41386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41389 char (*f) () = $ac_func;
41398 return f != $ac_func;
41403 rm -f conftest.
$ac_objext conftest
$ac_exeext
41404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41405 (eval $ac_link) 2>conftest.er1
41407 grep -v '^ *+' conftest.er1
>conftest.err
41409 cat conftest.err
>&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } &&
41412 { ac_try
='test -z "$ac_cxx_werror_flag"
41413 || test ! -s conftest.err'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; } &&
41419 { ac_try
='test -s conftest$ac_exeext'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; }; then
41425 eval "$as_ac_var=yes"
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.
$ac_ext >&5
41430 eval "$as_ac_var=no"
41432 rm -f conftest.err conftest.
$ac_objext \
41433 conftest
$ac_exeext conftest.
$ac_ext
41435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41437 if test `eval echo '${'$as_ac_var'}'` = yes; then
41438 cat >>confdefs.h
<<_ACEOF
41439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41441 cat >>confdefs.h
<<\_ACEOF
41442 #define HAVE_GETSERVBYNAME 1
41450 if test "$wxUSE_THREADS" = "yes"; then
41451 cat >>confdefs.h
<<\_ACEOF
41452 #define wxUSE_THREADS 1
41456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41458 if test "$wx_cv_func_strtok_r" = "yes"; then
41459 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41460 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41461 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41462 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41463 echo "$as_me:$LINENO: result: yes" >&5
41464 echo "${ECHO_T}yes" >&6
41466 echo "$as_me:$LINENO: result: no" >&5
41467 echo "${ECHO_T}no" >&6
41472 if test "$WXGTK20" = 1 ; then
41473 cat >>confdefs.h
<<_ACEOF
41474 #define __WXGTK20__ $WXGTK20
41480 if test "$WXGTK12" = 1 ; then
41481 cat >>confdefs.h
<<_ACEOF
41482 #define __WXGTK12__ $WXGTK12
41487 if test "$WXGTK127" = 1 ; then
41488 cat >>confdefs.h
<<_ACEOF
41489 #define __WXGTK127__ $WXGTK127
41494 if test "$WXGPE" = 1 ; then
41495 cat >>confdefs.h
<<_ACEOF
41496 #define __WXGPE__ $WXGPE
41502 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41507 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41508 wxUSE_DEBUG_INFO
=yes
41509 if test "$GCC" = yes; then
41510 DEBUG_CFLAGS
="-ggdb"
41514 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41515 cat >>confdefs.h
<<\_ACEOF
41519 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41521 if test "$wxUSE_GTK" = 1 ; then
41522 if test "x$wxGTK_VERSION" = "x1" ; then
41523 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41528 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41529 cat >>confdefs.h
<<\_ACEOF
41530 #define wxUSE_MEMORY_TRACING 1
41533 cat >>confdefs.h
<<\_ACEOF
41534 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41537 cat >>confdefs.h
<<\_ACEOF
41538 #define wxUSE_DEBUG_NEW_ALWAYS 1
41541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41544 if test "$wxUSE_DMALLOC" = "yes" ; then
41545 DMALLOC_LIBS
="-ldmallocthcxx"
41549 if test "$wxUSE_PROFILE" = "yes" ; then
41550 PROFILE_FLAGS
=" -pg"
41553 if test "$GCC" = "yes" ; then
41554 if test "$wxUSE_NO_RTTI" = "yes" ; then
41555 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41557 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41558 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41560 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41561 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41566 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41569 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41575 if test "$wxUSE_OPTIMISE" = "no" ; then
41576 if test "$GCC" = yes ; then
41577 OPTIMISE_CFLAGS
="-O0"
41580 if test "$GCC" = yes ; then
41582 *-pc-os2_emx | *-pc-os2-emx )
41583 OPTIMISE_CFLAGS
="-O2"
41586 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41590 OPTIMISE_CFLAGS
="-O"
41595 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41596 cat >>confdefs.h
<<\_ACEOF
41597 #define WXWIN_COMPATIBILITY_2_4 1
41601 WXWIN_COMPATIBILITY_2_6
="yes"
41604 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41605 cat >>confdefs.h
<<\_ACEOF
41606 #define WXWIN_COMPATIBILITY_2_6 1
41612 if test "$wxUSE_GUI" = "yes"; then
41613 cat >>confdefs.h
<<\_ACEOF
41614 #define wxUSE_GUI 1
41621 if test "$wxUSE_UNIX" = "yes"; then
41622 cat >>confdefs.h
<<\_ACEOF
41623 #define wxUSE_UNIX 1
41629 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41633 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41634 if test "$USE_DARWIN" = 1; then
41636 elif test "$USE_DOS" = 1; then
41640 for ac_func
in dlopen
41642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41643 echo "$as_me:$LINENO: checking for $ac_func" >&5
41644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41645 if eval "test \"\${$as_ac_var+set}\" = set"; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41648 cat >conftest.
$ac_ext <<_ACEOF
41651 cat confdefs.h
>>conftest.
$ac_ext
41652 cat >>conftest.
$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41656 #define $ac_func innocuous_$ac_func
41658 /* System header to define __stub macros and hopefully few prototypes,
41659 which can conflict with char $ac_func (); below.
41660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41661 <limits.h> exists even on freestanding compilers. */
41664 # include <limits.h>
41666 # include <assert.h>
41671 /* Override any gcc2 internal prototype to avoid an error. */
41676 /* We use char because int might match the return type of a gcc2
41677 builtin and then its argument prototype would still apply. */
41679 /* The GNU C library defines this for functions which it implements
41680 to always fail with ENOSYS. Some functions are actually named
41681 something starting with __ and the normal name is an alias. */
41682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41685 char (*f) () = $ac_func;
41694 return f != $ac_func;
41699 rm -f conftest.
$ac_objext conftest
$ac_exeext
41700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41701 (eval $ac_link) 2>conftest.er1
41703 grep -v '^ *+' conftest.er1
>conftest.err
41705 cat conftest.err
>&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } &&
41708 { ac_try
='test -z "$ac_cxx_werror_flag"
41709 || test ! -s conftest.err'
41710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711 (eval $ac_try) 2>&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; } &&
41715 { ac_try
='test -s conftest$ac_exeext'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; }; then
41721 eval "$as_ac_var=yes"
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.
$ac_ext >&5
41726 eval "$as_ac_var=no"
41728 rm -f conftest.err conftest.
$ac_objext \
41729 conftest
$ac_exeext conftest.
$ac_ext
41731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41733 if test `eval echo '${'$as_ac_var'}'` = yes; then
41734 cat >>confdefs.h
<<_ACEOF
41735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41738 cat >>confdefs.h
<<\_ACEOF
41739 #define HAVE_DLOPEN 1
41746 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41747 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41748 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41749 echo $ECHO_N "(cached) $ECHO_C" >&6
41751 ac_check_lib_save_LIBS
=$LIBS
41753 cat >conftest.
$ac_ext <<_ACEOF
41756 cat confdefs.h
>>conftest.
$ac_ext
41757 cat >>conftest.
$ac_ext <<_ACEOF
41758 /* end confdefs.h. */
41760 /* Override any gcc2 internal prototype to avoid an error. */
41764 /* We use char because int might match the return type of a gcc2
41765 builtin and then its argument prototype would still apply. */
41775 rm -f conftest.
$ac_objext conftest
$ac_exeext
41776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41777 (eval $ac_link) 2>conftest.er1
41779 grep -v '^ *+' conftest.er1
>conftest.err
41781 cat conftest.err
>&5
41782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41783 (exit $ac_status); } &&
41784 { ac_try
='test -z "$ac_cxx_werror_flag"
41785 || test ! -s conftest.err'
41786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41787 (eval $ac_try) 2>&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); }; } &&
41791 { ac_try
='test -s conftest$ac_exeext'
41792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41793 (eval $ac_try) 2>&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); }; }; then
41797 ac_cv_lib_dl_dlopen
=yes
41799 echo "$as_me: failed program was:" >&5
41800 sed 's/^/| /' conftest.
$ac_ext >&5
41802 ac_cv_lib_dl_dlopen
=no
41804 rm -f conftest.err conftest.
$ac_objext \
41805 conftest
$ac_exeext conftest.
$ac_ext
41806 LIBS
=$ac_check_lib_save_LIBS
41808 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41809 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41810 if test $ac_cv_lib_dl_dlopen = yes; then
41812 cat >>confdefs.h
<<\_ACEOF
41813 #define HAVE_DLOPEN 1
41817 DL_LINK
=" -ldl$DL_LINK"
41822 for ac_func
in shl_load
41824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41825 echo "$as_me:$LINENO: checking for $ac_func" >&5
41826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41827 if eval "test \"\${$as_ac_var+set}\" = set"; then
41828 echo $ECHO_N "(cached) $ECHO_C" >&6
41830 cat >conftest.
$ac_ext <<_ACEOF
41833 cat confdefs.h
>>conftest.
$ac_ext
41834 cat >>conftest.
$ac_ext <<_ACEOF
41835 /* end confdefs.h. */
41836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41838 #define $ac_func innocuous_$ac_func
41840 /* System header to define __stub macros and hopefully few prototypes,
41841 which can conflict with char $ac_func (); below.
41842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41843 <limits.h> exists even on freestanding compilers. */
41846 # include <limits.h>
41848 # include <assert.h>
41853 /* Override any gcc2 internal prototype to avoid an error. */
41858 /* We use char because int might match the return type of a gcc2
41859 builtin and then its argument prototype would still apply. */
41861 /* The GNU C library defines this for functions which it implements
41862 to always fail with ENOSYS. Some functions are actually named
41863 something starting with __ and the normal name is an alias. */
41864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41867 char (*f) () = $ac_func;
41876 return f != $ac_func;
41881 rm -f conftest.
$ac_objext conftest
$ac_exeext
41882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41883 (eval $ac_link) 2>conftest.er1
41885 grep -v '^ *+' conftest.er1
>conftest.err
41887 cat conftest.err
>&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } &&
41890 { ac_try
='test -z "$ac_cxx_werror_flag"
41891 || test ! -s conftest.err'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; } &&
41897 { ac_try
='test -s conftest$ac_exeext'
41898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41899 (eval $ac_try) 2>&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); }; }; then
41903 eval "$as_ac_var=yes"
41905 echo "$as_me: failed program was:" >&5
41906 sed 's/^/| /' conftest.
$ac_ext >&5
41908 eval "$as_ac_var=no"
41910 rm -f conftest.err conftest.
$ac_objext \
41911 conftest
$ac_exeext conftest.
$ac_ext
41913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41915 if test `eval echo '${'$as_ac_var'}'` = yes; then
41916 cat >>confdefs.h
<<_ACEOF
41917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41920 cat >>confdefs.h
<<\_ACEOF
41921 #define HAVE_SHL_LOAD 1
41928 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41929 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41930 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41931 echo $ECHO_N "(cached) $ECHO_C" >&6
41933 ac_check_lib_save_LIBS
=$LIBS
41934 LIBS
="-lshl_load $LIBS"
41935 cat >conftest.
$ac_ext <<_ACEOF
41938 cat confdefs.h
>>conftest.
$ac_ext
41939 cat >>conftest.
$ac_ext <<_ACEOF
41940 /* end confdefs.h. */
41942 /* Override any gcc2 internal prototype to avoid an error. */
41946 /* We use char because int might match the return type of a gcc2
41947 builtin and then its argument prototype would still apply. */
41957 rm -f conftest.
$ac_objext conftest
$ac_exeext
41958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41959 (eval $ac_link) 2>conftest.er1
41961 grep -v '^ *+' conftest.er1
>conftest.err
41963 cat conftest.err
>&5
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); } &&
41966 { ac_try
='test -z "$ac_cxx_werror_flag"
41967 || test ! -s conftest.err'
41968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41969 (eval $ac_try) 2>&5
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); }; } &&
41973 { ac_try
='test -s conftest$ac_exeext'
41974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41975 (eval $ac_try) 2>&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); }; }; then
41979 ac_cv_lib_shl_load_dld
=yes
41981 echo "$as_me: failed program was:" >&5
41982 sed 's/^/| /' conftest.
$ac_ext >&5
41984 ac_cv_lib_shl_load_dld
=no
41986 rm -f conftest.err conftest.
$ac_objext \
41987 conftest
$ac_exeext conftest.
$ac_ext
41988 LIBS
=$ac_check_lib_save_LIBS
41990 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41991 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41992 if test $ac_cv_lib_shl_load_dld = yes; then
41995 DL_LINK
=" -ldld$DL_LINK"
42011 if test "$HAVE_DL_FUNCS" = 1; then
42013 for ac_func
in dlerror
42015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42016 echo "$as_me:$LINENO: checking for $ac_func" >&5
42017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42018 if eval "test \"\${$as_ac_var+set}\" = set"; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 cat >conftest.
$ac_ext <<_ACEOF
42024 cat confdefs.h
>>conftest.
$ac_ext
42025 cat >>conftest.
$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42029 #define $ac_func innocuous_$ac_func
42031 /* System header to define __stub macros and hopefully few prototypes,
42032 which can conflict with char $ac_func (); below.
42033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42034 <limits.h> exists even on freestanding compilers. */
42037 # include <limits.h>
42039 # include <assert.h>
42044 /* Override any gcc2 internal prototype to avoid an error. */
42049 /* We use char because int might match the return type of a gcc2
42050 builtin and then its argument prototype would still apply. */
42052 /* The GNU C library defines this for functions which it implements
42053 to always fail with ENOSYS. Some functions are actually named
42054 something starting with __ and the normal name is an alias. */
42055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42058 char (*f) () = $ac_func;
42067 return f != $ac_func;
42072 rm -f conftest.
$ac_objext conftest
$ac_exeext
42073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42074 (eval $ac_link) 2>conftest.er1
42076 grep -v '^ *+' conftest.er1
>conftest.err
42078 cat conftest.err
>&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } &&
42081 { ac_try
='test -z "$ac_cxx_werror_flag"
42082 || test ! -s conftest.err'
42083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42084 (eval $ac_try) 2>&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; } &&
42088 { ac_try
='test -s conftest$ac_exeext'
42089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42090 (eval $ac_try) 2>&5
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); }; }; then
42094 eval "$as_ac_var=yes"
42096 echo "$as_me: failed program was:" >&5
42097 sed 's/^/| /' conftest.
$ac_ext >&5
42099 eval "$as_ac_var=no"
42101 rm -f conftest.err conftest.
$ac_objext \
42102 conftest
$ac_exeext conftest.
$ac_ext
42104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42106 if test `eval echo '${'$as_ac_var'}'` = yes; then
42107 cat >>confdefs.h
<<_ACEOF
42108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42110 cat >>confdefs.h
<<\_ACEOF
42111 #define HAVE_DLERROR 1
42116 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42117 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42118 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 ac_check_lib_save_LIBS
=$LIBS
42123 cat >conftest.
$ac_ext <<_ACEOF
42126 cat confdefs.h
>>conftest.
$ac_ext
42127 cat >>conftest.
$ac_ext <<_ACEOF
42128 /* end confdefs.h. */
42130 /* Override any gcc2 internal prototype to avoid an error. */
42134 /* We use char because int might match the return type of a gcc2
42135 builtin and then its argument prototype would still apply. */
42145 rm -f conftest.
$ac_objext conftest
$ac_exeext
42146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42147 (eval $ac_link) 2>conftest.er1
42149 grep -v '^ *+' conftest.er1
>conftest.err
42151 cat conftest.err
>&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); } &&
42154 { ac_try
='test -z "$ac_cxx_werror_flag"
42155 || test ! -s conftest.err'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; } &&
42161 { ac_try
='test -s conftest$ac_exeext'
42162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163 (eval $ac_try) 2>&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); }; }; then
42167 ac_cv_lib_dl_dlerror
=yes
42169 echo "$as_me: failed program was:" >&5
42170 sed 's/^/| /' conftest.
$ac_ext >&5
42172 ac_cv_lib_dl_dlerror
=no
42174 rm -f conftest.err conftest.
$ac_objext \
42175 conftest
$ac_exeext conftest.
$ac_ext
42176 LIBS
=$ac_check_lib_save_LIBS
42178 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42179 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42180 if test $ac_cv_lib_dl_dlerror = yes; then
42181 cat >>confdefs.h
<<\_ACEOF
42182 #define HAVE_DLERROR 1
42195 if test "$HAVE_DL_FUNCS" = 0; then
42196 if test "$HAVE_SHL_FUNCS" = 0; then
42197 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42198 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42199 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42200 wxUSE_DYNAMIC_LOADER
=no
42201 wxUSE_DYNLIB_CLASS
=no
42203 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42204 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42211 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42212 cat >>confdefs.h
<<\_ACEOF
42213 #define wxUSE_DYNAMIC_LOADER 1
42217 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42218 cat >>confdefs.h
<<\_ACEOF
42219 #define wxUSE_DYNLIB_CLASS 1
42226 if test "$wxUSE_PLUGINS" = "yes" ; then
42227 if test "$wxUSE_SHARED" = "no" ; then
42228 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42229 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42232 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42233 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42234 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42237 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42238 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42239 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42242 if test "$wxUSE_PLUGINS" = "yes" ; then
42243 cat >>confdefs.h
<<\_ACEOF
42244 #define wxUSE_PLUGINS 1
42251 if test "$wxUSE_STL" = "yes"; then
42252 cat >>confdefs.h
<<\_ACEOF
42253 #define wxUSE_STL 1
42258 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42259 cat >>confdefs.h
<<\_ACEOF
42260 #define wxUSE_APPLE_IEEE 1
42265 if test "$wxUSE_TIMER" = "yes"; then
42266 cat >>confdefs.h
<<\_ACEOF
42267 #define wxUSE_TIMER 1
42272 if test "$USE_UNIX" = "1" ; then
42273 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42274 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42275 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42276 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 cat >conftest.
$ac_ext <<_ACEOF
42282 cat confdefs.h
>>conftest.
$ac_ext
42283 cat >>conftest.
$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42286 #include <sys/ioctl.h>
42287 #include <sys/soundcard.h>
42293 ioctl(0, SNDCTL_DSP_SPEED, 0);
42299 rm -f conftest.
$ac_objext conftest
$ac_exeext
42300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42301 (eval $ac_link) 2>conftest.er1
42303 grep -v '^ *+' conftest.er1
>conftest.err
42305 cat conftest.err
>&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); } &&
42308 { ac_try
='test -z "$ac_cxx_werror_flag"
42309 || test ! -s conftest.err'
42310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311 (eval $ac_try) 2>&5
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; } &&
42315 { ac_try
='test -s conftest$ac_exeext'
42316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42317 (eval $ac_try) 2>&5
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); }; }; then
42321 ac_cv_header_sys_soundcard
=yes
42323 echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.
$ac_ext >&5
42328 LIBS
="$saveLibs -lossaudio"
42329 cat >conftest.
$ac_ext <<_ACEOF
42332 cat confdefs.h
>>conftest.
$ac_ext
42333 cat >>conftest.
$ac_ext <<_ACEOF
42334 /* end confdefs.h. */
42336 #include <sys/ioctl.h>
42337 #include <sys/soundcard.h>
42343 ioctl(0, SNDCTL_DSP_SPEED, 0);
42349 rm -f conftest.
$ac_objext conftest
$ac_exeext
42350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42351 (eval $ac_link) 2>conftest.er1
42353 grep -v '^ *+' conftest.er1
>conftest.err
42355 cat conftest.err
>&5
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); } &&
42358 { ac_try
='test -z "$ac_cxx_werror_flag"
42359 || test ! -s conftest.err'
42360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42361 (eval $ac_try) 2>&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); }; } &&
42365 { ac_try
='test -s conftest$ac_exeext'
42366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42367 (eval $ac_try) 2>&5
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); }; }; then
42371 ac_cv_header_sys_soundcard
=yes
42373 echo "$as_me: failed program was:" >&5
42374 sed 's/^/| /' conftest.
$ac_ext >&5
42378 ac_cv_header_sys_soundcard
=no
42382 rm -f conftest.err conftest.
$ac_objext \
42383 conftest
$ac_exeext conftest.
$ac_ext
42387 rm -f conftest.err conftest.
$ac_objext \
42388 conftest
$ac_exeext conftest.
$ac_ext
42391 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42392 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42394 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42395 cat >>confdefs.h
<<\_ACEOF
42396 #define HAVE_SYS_SOUNDCARD_H 1
42400 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42404 if test "$wxUSE_SOUND" = "yes"; then
42405 if test "$USE_UNIX" = "1" ; then
42406 if test "$wxUSE_LIBSDL" != "no"; then
42408 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42409 if test "${with_sdl_prefix+set}" = set; then
42410 withval
="$with_sdl_prefix"
42411 sdl_prefix
="$withval"
42416 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42417 if test "${with_sdl_exec_prefix+set}" = set; then
42418 withval
="$with_sdl_exec_prefix"
42419 sdl_exec_prefix
="$withval"
42423 # Check whether --enable-sdltest or --disable-sdltest was given.
42424 if test "${enable_sdltest+set}" = set; then
42425 enableval
="$enable_sdltest"
42431 if test x
$sdl_exec_prefix != x
; then
42432 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42433 if test x
${SDL_CONFIG+set} != xset
; then
42434 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42437 if test x
$sdl_prefix != x
; then
42438 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42439 if test x
${SDL_CONFIG+set} != xset
; then
42440 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42444 if test "x$prefix" != xNONE
; then
42445 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42447 # Extract the first word of "sdl-config", so it can be a program name with args.
42448 set dummy sdl
-config; ac_word
=$2
42449 echo "$as_me:$LINENO: checking for $ac_word" >&5
42450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42451 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42454 case $SDL_CONFIG in
42456 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42460 for as_dir
in $PATH
42463 test -z "$as_dir" && as_dir
=.
42464 for ac_exec_ext
in '' $ac_executable_extensions; do
42465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42466 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42473 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42477 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42479 if test -n "$SDL_CONFIG"; then
42480 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42481 echo "${ECHO_T}$SDL_CONFIG" >&6
42483 echo "$as_me:$LINENO: result: no" >&5
42484 echo "${ECHO_T}no" >&6
42487 min_sdl_version
=1.2.0
42488 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42489 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42491 if test "$SDL_CONFIG" = "no" ; then
42494 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42495 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42497 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42499 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42501 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42503 if test "x$enable_sdltest" = "xyes" ; then
42504 ac_save_CFLAGS
="$CFLAGS"
42505 ac_save_CXXFLAGS
="$CXXFLAGS"
42506 ac_save_LIBS
="$LIBS"
42507 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42508 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42509 LIBS
="$LIBS $SDL_LIBS"
42511 if test "$cross_compiling" = yes; then
42512 echo $ac_n "cross compiling; assumed OK... $ac_c"
42514 cat >conftest.
$ac_ext <<_ACEOF
42517 cat confdefs.h
>>conftest.
$ac_ext
42518 cat >>conftest.
$ac_ext <<_ACEOF
42519 /* end confdefs.h. */
42522 #include <stdlib.h>
42523 #include <string.h>
42527 my_strdup (char *str)
42533 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42534 strcpy (new_str, str);
42542 int main (int argc, char *argv[])
42544 int major, minor, micro;
42547 /* This hangs on some systems (?)
42548 system ("touch conf.sdltest");
42550 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42552 /* HP/UX 9 (%@#!) writes to sscanf strings */
42553 tmp_version = my_strdup("$min_sdl_version");
42554 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42555 printf("%s, bad version string\n", "$min_sdl_version");
42559 if (($sdl_major_version > major) ||
42560 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42561 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42567 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42568 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42569 printf("*** best to upgrade to the required version.\n");
42570 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42571 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42572 printf("*** config.cache before re-running configure\n");
42579 rm -f conftest
$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581 (eval $ac_link) 2>&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; }; then
42592 echo "$as_me: program exited with status $ac_status" >&5
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.
$ac_ext >&5
42596 ( exit $ac_status )
42599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42601 CFLAGS
="$ac_save_CFLAGS"
42602 CXXFLAGS
="$ac_save_CXXFLAGS"
42603 LIBS
="$ac_save_LIBS"
42606 if test "x$no_sdl" = x
; then
42607 echo "$as_me:$LINENO: result: yes" >&5
42608 echo "${ECHO_T}yes" >&6
42610 EXTRALIBS_SDL
="$SDL_LIBS"
42611 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42612 cat >>confdefs.h
<<\_ACEOF
42613 #define wxUSE_LIBSDL 1
42618 echo "$as_me:$LINENO: result: no" >&5
42619 echo "${ECHO_T}no" >&6
42620 if test "$SDL_CONFIG" = "no" ; then
42621 echo "*** The sdl-config script installed by SDL could not be found"
42622 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42623 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42624 echo "*** full path to sdl-config."
42626 if test -f conf.sdltest
; then
42629 echo "*** Could not run SDL test program, checking why..."
42630 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42631 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42632 LIBS
="$LIBS $SDL_LIBS"
42633 cat >conftest.
$ac_ext <<_ACEOF
42636 cat confdefs.h
>>conftest.
$ac_ext
42637 cat >>conftest.
$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42643 int main(int argc, char *argv[])
42646 #define main K_and_R_C_main
42656 rm -f conftest.
$ac_objext conftest
$ac_exeext
42657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42658 (eval $ac_link) 2>conftest.er1
42660 grep -v '^ *+' conftest.er1
>conftest.err
42662 cat conftest.err
>&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); } &&
42665 { ac_try
='test -z "$ac_cxx_werror_flag"
42666 || test ! -s conftest.err'
42667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42668 (eval $ac_try) 2>&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; } &&
42672 { ac_try
='test -s conftest$ac_exeext'
42673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42674 (eval $ac_try) 2>&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); }; }; then
42678 echo "*** The test program compiled, but did not run. This usually means"
42679 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42680 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42681 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42682 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42683 echo "*** is required on your system"
42685 echo "*** If you have an old version installed, it is best to remove it, although"
42686 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42688 echo "$as_me: failed program was:" >&5
42689 sed 's/^/| /' conftest.
$ac_ext >&5
42691 echo "*** The test program failed to compile or link. See the file config.log for the"
42692 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42693 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42694 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42696 rm -f conftest.err conftest.
$ac_objext \
42697 conftest
$ac_exeext conftest.
$ac_ext
42698 CFLAGS
="$ac_save_CFLAGS"
42699 CXXFLAGS
="$ac_save_CXXFLAGS"
42700 LIBS
="$ac_save_LIBS"
42711 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42717 cat >>confdefs.h
<<\_ACEOF
42718 #define wxUSE_SOUND 1
42721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42724 if test "$WXGTK20" = 1; then
42725 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42726 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42730 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42731 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42733 if test -n "$PKG_CONFIG"; then
42734 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42735 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42737 if test -n "$PKG_CONFIG" && \
42738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42739 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; then
42743 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42751 if test -n "$PKG_CONFIG"; then
42752 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42753 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42755 if test -n "$PKG_CONFIG" && \
42756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42757 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; then
42761 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42772 if test $pkg_failed = yes; then
42774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42775 _pkg_short_errors_supported
=yes
42777 _pkg_short_errors_supported
=no
42779 if test $_pkg_short_errors_supported = yes; then
42780 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42782 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42784 # Put the nasty error message in config.log where it belongs
42785 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42788 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42789 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42790 wxUSE_LIBGNOMEPRINT
="no"
42793 elif test $pkg_failed = untried
; then
42795 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42796 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42797 wxUSE_LIBGNOMEPRINT
="no"
42801 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42802 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42803 echo "$as_me:$LINENO: result: yes" >&5
42804 echo "${ECHO_T}yes" >&6
42806 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42807 cat >>confdefs.h
<<\_ACEOF
42808 #define wxUSE_LIBGNOMEPRINT 1
42817 if test "$WXGTK20" = 1; then
42818 if test "$wxUSE_MIMETYPE" = "yes" ; then
42819 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42823 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42824 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42826 if test -n "$PKG_CONFIG"; then
42827 if test -n "$GNOMEVFS_CFLAGS"; then
42828 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42830 if test -n "$PKG_CONFIG" && \
42831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42832 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; then
42836 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42844 if test -n "$PKG_CONFIG"; then
42845 if test -n "$GNOMEVFS_LIBS"; then
42846 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42848 if test -n "$PKG_CONFIG" && \
42849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42850 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853 (exit $ac_status); }; then
42854 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42865 if test $pkg_failed = yes; then
42867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42868 _pkg_short_errors_supported
=yes
42870 _pkg_short_errors_supported
=no
42872 if test $_pkg_short_errors_supported = yes; then
42873 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42875 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42877 # Put the nasty error message in config.log where it belongs
42878 echo "$GNOMEVFS_PKG_ERRORS" >&5
42881 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42882 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42883 wxUSE_LIBGNOMEVFS
="no"
42886 elif test $pkg_failed = untried
; then
42888 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42889 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42890 wxUSE_LIBGNOMEVFS
="no"
42894 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42895 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42896 echo "$as_me:$LINENO: result: yes" >&5
42897 echo "${ECHO_T}yes" >&6
42899 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42900 cat >>confdefs.h
<<\_ACEOF
42901 #define wxUSE_LIBGNOMEVFS 1
42910 if test "$WXGTK20" = 1; then
42911 if test "$wxUSE_LIBHILDON" = "yes" ; then
42914 echo "$as_me:$LINENO: checking for HILDON" >&5
42915 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42917 if test -n "$PKG_CONFIG"; then
42918 if test -n "$HILDON_CFLAGS"; then
42919 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42921 if test -n "$PKG_CONFIG" && \
42922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42923 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); }; then
42927 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42935 if test -n "$PKG_CONFIG"; then
42936 if test -n "$HILDON_LIBS"; then
42937 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42939 if test -n "$PKG_CONFIG" && \
42940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42941 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; then
42945 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42956 if test $pkg_failed = yes; then
42958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42959 _pkg_short_errors_supported
=yes
42961 _pkg_short_errors_supported
=no
42963 if test $_pkg_short_errors_supported = yes; then
42964 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42966 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42968 # Put the nasty error message in config.log where it belongs
42969 echo "$HILDON_PKG_ERRORS" >&5
42972 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42973 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42974 wxUSE_LIBHILDON
="no"
42977 elif test $pkg_failed = untried
; then
42979 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42980 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42981 wxUSE_LIBHILDON
="no"
42985 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42986 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42987 echo "$as_me:$LINENO: result: yes" >&5
42988 echo "${ECHO_T}yes" >&6
42990 EXTRALIBS_HILDON
="$HILDON_LIBS"
42991 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42992 cat >>confdefs.h
<<\_ACEOF
42993 #define wxUSE_LIBHILDON 1
43001 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43002 cat >>confdefs.h
<<\_ACEOF
43003 #define wxUSE_CMDLINE_PARSER 1
43008 if test "$wxUSE_STOPWATCH" = "yes"; then
43009 cat >>confdefs.h
<<\_ACEOF
43010 #define wxUSE_STOPWATCH 1
43015 if test "$wxUSE_DATETIME" = "yes"; then
43016 cat >>confdefs.h
<<\_ACEOF
43017 #define wxUSE_DATETIME 1
43022 if test "$wxUSE_FILE" = "yes"; then
43023 cat >>confdefs.h
<<\_ACEOF
43024 #define wxUSE_FILE 1
43029 if test "$wxUSE_FFILE" = "yes"; then
43030 cat >>confdefs.h
<<\_ACEOF
43031 #define wxUSE_FFILE 1
43036 if test "$wxUSE_FILESYSTEM" = "yes"; then
43037 cat >>confdefs.h
<<\_ACEOF
43038 #define wxUSE_FILESYSTEM 1
43043 if test "$wxUSE_FS_ZIP" = "yes"; then
43044 cat >>confdefs.h
<<\_ACEOF
43045 #define wxUSE_FS_ZIP 1
43050 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43051 cat >>confdefs.h
<<\_ACEOF
43052 #define wxUSE_ARCHIVE_STREAMS 1
43057 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43058 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43059 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43060 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43061 elif test "$wxUSE_ZLIB" = "no"; then
43062 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43063 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43065 cat >>confdefs.h
<<\_ACEOF
43066 #define wxUSE_ZIPSTREAM 1
43072 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43073 if test "$USE_UNIX" != 1; then
43074 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43075 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43076 wxUSE_ON_FATAL_EXCEPTION
=no
43078 cat >>confdefs.h
<<\_ACEOF
43079 #define wxUSE_ON_FATAL_EXCEPTION 1
43085 if test "$wxUSE_STACKWALKER" = "yes"; then
43086 cat >>confdefs.h
<<\_ACEOF
43087 #define wxUSE_STACKWALKER 1
43092 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43093 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43094 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43095 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43096 wxUSE_DEBUGREPORT
=no
43098 cat >>confdefs.h
<<\_ACEOF
43099 #define wxUSE_DEBUGREPORT 1
43102 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43108 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43109 cat >>confdefs.h
<<\_ACEOF
43110 #define wxUSE_SNGLINST_CHECKER 1
43115 if test "$wxUSE_BUSYINFO" = "yes"; then
43116 cat >>confdefs.h
<<\_ACEOF
43117 #define wxUSE_BUSYINFO 1
43122 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43123 cat >>confdefs.h
<<\_ACEOF
43124 #define wxUSE_STD_IOSTREAM 1
43129 if test "$wxUSE_STD_STRING" = "yes"; then
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_STD_STRING 1
43136 if test "$wxUSE_STDPATHS" = "yes"; then
43137 cat >>confdefs.h
<<\_ACEOF
43138 #define wxUSE_STDPATHS 1
43143 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43144 cat >>confdefs.h
<<\_ACEOF
43145 #define wxUSE_TEXTBUFFER 1
43150 if test "$wxUSE_TEXTFILE" = "yes"; then
43151 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43152 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43153 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43155 cat >>confdefs.h
<<\_ACEOF
43156 #define wxUSE_TEXTFILE 1
43162 if test "$wxUSE_CONFIG" = "yes" ; then
43163 if test "$wxUSE_TEXTFILE" != "yes"; then
43164 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43165 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43167 cat >>confdefs.h
<<\_ACEOF
43168 #define wxUSE_CONFIG 1
43171 cat >>confdefs.h
<<\_ACEOF
43172 #define wxUSE_CONFIG_NATIVE 1
43175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43179 if test "$wxUSE_INTL" = "yes" ; then
43180 if test "$wxUSE_FILE" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43182 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43184 cat >>confdefs.h
<<\_ACEOF
43185 #define wxUSE_INTL 1
43188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43189 GUIDIST
="$GUIDIST INTL_DIST"
43193 if test "$wxUSE_LOG" = "yes"; then
43194 cat >>confdefs.h
<<\_ACEOF
43195 #define wxUSE_LOG 1
43199 if test "$wxUSE_LOGGUI" = "yes"; then
43200 cat >>confdefs.h
<<\_ACEOF
43201 #define wxUSE_LOGGUI 1
43206 if test "$wxUSE_LOGWINDOW" = "yes"; then
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define wxUSE_LOGWINDOW 1
43213 if test "$wxUSE_LOGDIALOG" = "yes"; then
43214 cat >>confdefs.h
<<\_ACEOF
43215 #define wxUSE_LOG_DIALOG 1
43220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43223 if test "$wxUSE_LONGLONG" = "yes"; then
43224 cat >>confdefs.h
<<\_ACEOF
43225 #define wxUSE_LONGLONG 1
43230 if test "$wxUSE_GEOMETRY" = "yes"; then
43231 cat >>confdefs.h
<<\_ACEOF
43232 #define wxUSE_GEOMETRY 1
43237 if test "$wxUSE_STREAMS" = "yes" ; then
43238 cat >>confdefs.h
<<\_ACEOF
43239 #define wxUSE_STREAMS 1
43244 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43245 cat >>confdefs.h
<<\_ACEOF
43246 #define wxUSE_PRINTF_POS_PARAMS 1
43253 if test "$wxUSE_DATETIME" = "yes"; then
43255 for ac_func
in strptime
43257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43258 echo "$as_me:$LINENO: checking for $ac_func" >&5
43259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43260 if eval "test \"\${$as_ac_var+set}\" = set"; then
43261 echo $ECHO_N "(cached) $ECHO_C" >&6
43263 cat >conftest.
$ac_ext <<_ACEOF
43266 cat confdefs.h
>>conftest.
$ac_ext
43267 cat >>conftest.
$ac_ext <<_ACEOF
43268 /* end confdefs.h. */
43269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43271 #define $ac_func innocuous_$ac_func
43273 /* System header to define __stub macros and hopefully few prototypes,
43274 which can conflict with char $ac_func (); below.
43275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43276 <limits.h> exists even on freestanding compilers. */
43279 # include <limits.h>
43281 # include <assert.h>
43286 /* Override any gcc2 internal prototype to avoid an error. */
43291 /* We use char because int might match the return type of a gcc2
43292 builtin and then its argument prototype would still apply. */
43294 /* The GNU C library defines this for functions which it implements
43295 to always fail with ENOSYS. Some functions are actually named
43296 something starting with __ and the normal name is an alias. */
43297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43300 char (*f) () = $ac_func;
43309 return f != $ac_func;
43314 rm -f conftest.
$ac_objext conftest
$ac_exeext
43315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43316 (eval $ac_link) 2>conftest.er1
43318 grep -v '^ *+' conftest.er1
>conftest.err
43320 cat conftest.err
>&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } &&
43323 { ac_try
='test -z "$ac_cxx_werror_flag"
43324 || test ! -s conftest.err'
43325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43326 (eval $ac_try) 2>&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); }; } &&
43330 { ac_try
='test -s conftest$ac_exeext'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; }; then
43336 eval "$as_ac_var=yes"
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.
$ac_ext >&5
43341 eval "$as_ac_var=no"
43343 rm -f conftest.err conftest.
$ac_objext \
43344 conftest
$ac_exeext conftest.
$ac_ext
43346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43348 if test `eval echo '${'$as_ac_var'}'` = yes; then
43349 cat >>confdefs.h
<<_ACEOF
43350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43356 if test "$ac_cv_func_strptime" = "yes"; then
43357 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43358 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43359 if test "${wx_cv_func_strptime_decl+set}" = set; then
43360 echo $ECHO_N "(cached) $ECHO_C" >&6
43363 cat >conftest.
$ac_ext <<_ACEOF
43366 cat confdefs.h
>>conftest.
$ac_ext
43367 cat >>conftest.
$ac_ext <<_ACEOF
43368 /* end confdefs.h. */
43377 strptime("foo", "bar", &t);
43383 rm -f conftest.
$ac_objext
43384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43385 (eval $ac_compile) 2>conftest.er1
43387 grep -v '^ *+' conftest.er1
>conftest.err
43389 cat conftest.err
>&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); } &&
43392 { ac_try
='test -z "$ac_cxx_werror_flag"
43393 || test ! -s conftest.err'
43394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43395 (eval $ac_try) 2>&5
43397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398 (exit $ac_status); }; } &&
43399 { ac_try
='test -s conftest.$ac_objext'
43400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43401 (eval $ac_try) 2>&5
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); }; }; then
43405 wx_cv_func_strptime_decl
=yes
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.
$ac_ext >&5
43410 wx_cv_func_strptime_decl
=no
43413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43417 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43418 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43420 if test "$wx_cv_func_strptime_decl" = "yes"; then
43421 cat >>confdefs.h
<<\_ACEOF
43422 #define HAVE_STRPTIME_DECL 1
43427 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43428 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43429 if test "${wx_cv_var_timezone+set}" = set; then
43430 echo $ECHO_N "(cached) $ECHO_C" >&6
43433 cat >conftest.
$ac_ext <<_ACEOF
43436 cat confdefs.h
>>conftest.
$ac_ext
43437 cat >>conftest.
$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43453 rm -f conftest.
$ac_objext
43454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43455 (eval $ac_compile) 2>conftest.er1
43457 grep -v '^ *+' conftest.er1
>conftest.err
43459 cat conftest.err
>&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); } &&
43462 { ac_try
='test -z "$ac_cxx_werror_flag"
43463 || test ! -s conftest.err'
43464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43465 (eval $ac_try) 2>&5
43467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468 (exit $ac_status); }; } &&
43469 { ac_try
='test -s conftest.$ac_objext'
43470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43471 (eval $ac_try) 2>&5
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); }; }; then
43476 wx_cv_var_timezone
=timezone
43479 echo "$as_me: failed program was:" >&5
43480 sed 's/^/| /' conftest.
$ac_ext >&5
43483 cat >conftest.
$ac_ext <<_ACEOF
43486 cat confdefs.h
>>conftest.
$ac_ext
43487 cat >>conftest.
$ac_ext <<_ACEOF
43488 /* end confdefs.h. */
43503 rm -f conftest.
$ac_objext
43504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43505 (eval $ac_compile) 2>conftest.er1
43507 grep -v '^ *+' conftest.er1
>conftest.err
43509 cat conftest.err
>&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); } &&
43512 { ac_try
='test -z "$ac_cxx_werror_flag"
43513 || test ! -s conftest.err'
43514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43515 (eval $ac_try) 2>&5
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); }; } &&
43519 { ac_try
='test -s conftest.$ac_objext'
43520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43521 (eval $ac_try) 2>&5
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); }; }; then
43526 wx_cv_var_timezone
=_timezone
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.
$ac_ext >&5
43533 cat >conftest.
$ac_ext <<_ACEOF
43536 cat confdefs.h
>>conftest.
$ac_ext
43537 cat >>conftest.
$ac_ext <<_ACEOF
43538 /* end confdefs.h. */
43553 rm -f conftest.
$ac_objext
43554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43555 (eval $ac_compile) 2>conftest.er1
43557 grep -v '^ *+' conftest.er1
>conftest.err
43559 cat conftest.err
>&5
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } &&
43562 { ac_try
='test -z "$ac_cxx_werror_flag"
43563 || test ! -s conftest.err'
43564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43565 (eval $ac_try) 2>&5
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); }; } &&
43569 { ac_try
='test -s conftest.$ac_objext'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; }; then
43576 wx_cv_var_timezone
=__timezone
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.
$ac_ext >&5
43583 if test "$USE_DOS" = 0 ; then
43584 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43585 echo "$as_me: WARNING: no timezone variable" >&2;}
43590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43602 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43603 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43605 if test "x$wx_cv_var_timezone" != x
; then
43606 cat >>confdefs.h
<<_ACEOF
43607 #define WX_TIMEZONE $wx_cv_var_timezone
43613 for ac_func
in localtime
43615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43616 echo "$as_me:$LINENO: checking for $ac_func" >&5
43617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43618 if eval "test \"\${$as_ac_var+set}\" = set"; then
43619 echo $ECHO_N "(cached) $ECHO_C" >&6
43621 cat >conftest.
$ac_ext <<_ACEOF
43624 cat confdefs.h
>>conftest.
$ac_ext
43625 cat >>conftest.
$ac_ext <<_ACEOF
43626 /* end confdefs.h. */
43627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43629 #define $ac_func innocuous_$ac_func
43631 /* System header to define __stub macros and hopefully few prototypes,
43632 which can conflict with char $ac_func (); below.
43633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43634 <limits.h> exists even on freestanding compilers. */
43637 # include <limits.h>
43639 # include <assert.h>
43644 /* Override any gcc2 internal prototype to avoid an error. */
43649 /* We use char because int might match the return type of a gcc2
43650 builtin and then its argument prototype would still apply. */
43652 /* The GNU C library defines this for functions which it implements
43653 to always fail with ENOSYS. Some functions are actually named
43654 something starting with __ and the normal name is an alias. */
43655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43658 char (*f) () = $ac_func;
43667 return f != $ac_func;
43672 rm -f conftest.
$ac_objext conftest
$ac_exeext
43673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43674 (eval $ac_link) 2>conftest.er1
43676 grep -v '^ *+' conftest.er1
>conftest.err
43678 cat conftest.err
>&5
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); } &&
43681 { ac_try
='test -z "$ac_cxx_werror_flag"
43682 || test ! -s conftest.err'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; } &&
43688 { ac_try
='test -s conftest$ac_exeext'
43689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43690 (eval $ac_try) 2>&5
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; }; then
43694 eval "$as_ac_var=yes"
43696 echo "$as_me: failed program was:" >&5
43697 sed 's/^/| /' conftest.
$ac_ext >&5
43699 eval "$as_ac_var=no"
43701 rm -f conftest.err conftest.
$ac_objext \
43702 conftest
$ac_exeext conftest.
$ac_ext
43704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43706 if test `eval echo '${'$as_ac_var'}'` = yes; then
43707 cat >>confdefs.h
<<_ACEOF
43708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43715 if test "$ac_cv_func_localtime" = "yes"; then
43716 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43717 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43718 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43719 echo $ECHO_N "(cached) $ECHO_C" >&6
43722 cat >conftest.
$ac_ext <<_ACEOF
43725 cat confdefs.h
>>conftest.
$ac_ext
43726 cat >>conftest.
$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43742 rm -f conftest.
$ac_objext
43743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43744 (eval $ac_compile) 2>conftest.er1
43746 grep -v '^ *+' conftest.er1
>conftest.err
43748 cat conftest.err
>&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try
='test -z "$ac_cxx_werror_flag"
43752 || test ! -s conftest.err'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; } &&
43758 { ac_try
='test -s conftest.$ac_objext'
43759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43760 (eval $ac_try) 2>&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); }; }; then
43765 wx_cv_struct_tm_has_gmtoff
=yes
43768 echo "$as_me: failed program was:" >&5
43769 sed 's/^/| /' conftest.
$ac_ext >&5
43771 wx_cv_struct_tm_has_gmtoff
=no
43774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43777 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43778 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43781 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43782 cat >>confdefs.h
<<\_ACEOF
43783 #define WX_GMTOFF_IN_TM 1
43790 for ac_func
in gettimeofday ftime
43792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43793 echo "$as_me:$LINENO: checking for $ac_func" >&5
43794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43795 if eval "test \"\${$as_ac_var+set}\" = set"; then
43796 echo $ECHO_N "(cached) $ECHO_C" >&6
43798 cat >conftest.
$ac_ext <<_ACEOF
43801 cat confdefs.h
>>conftest.
$ac_ext
43802 cat >>conftest.
$ac_ext <<_ACEOF
43803 /* end confdefs.h. */
43804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43806 #define $ac_func innocuous_$ac_func
43808 /* System header to define __stub macros and hopefully few prototypes,
43809 which can conflict with char $ac_func (); below.
43810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43811 <limits.h> exists even on freestanding compilers. */
43814 # include <limits.h>
43816 # include <assert.h>
43821 /* Override any gcc2 internal prototype to avoid an error. */
43826 /* We use char because int might match the return type of a gcc2
43827 builtin and then its argument prototype would still apply. */
43829 /* The GNU C library defines this for functions which it implements
43830 to always fail with ENOSYS. Some functions are actually named
43831 something starting with __ and the normal name is an alias. */
43832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43835 char (*f) () = $ac_func;
43844 return f != $ac_func;
43849 rm -f conftest.
$ac_objext conftest
$ac_exeext
43850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43851 (eval $ac_link) 2>conftest.er1
43853 grep -v '^ *+' conftest.er1
>conftest.err
43855 cat conftest.err
>&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } &&
43858 { ac_try
='test -z "$ac_cxx_werror_flag"
43859 || test ! -s conftest.err'
43860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43861 (eval $ac_try) 2>&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); }; } &&
43865 { ac_try
='test -s conftest$ac_exeext'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43871 eval "$as_ac_var=yes"
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.
$ac_ext >&5
43876 eval "$as_ac_var=no"
43878 rm -f conftest.err conftest.
$ac_objext \
43879 conftest
$ac_exeext conftest.
$ac_ext
43881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43883 if test `eval echo '${'$as_ac_var'}'` = yes; then
43884 cat >>confdefs.h
<<_ACEOF
43885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43892 if test "$ac_cv_func_gettimeofday" = "yes"; then
43893 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43894 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43895 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43896 echo $ECHO_N "(cached) $ECHO_C" >&6
43899 cat >conftest.
$ac_ext <<_ACEOF
43902 cat confdefs.h
>>conftest.
$ac_ext
43903 cat >>conftest.
$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43906 #include <sys/time.h>
43907 #include <unistd.h>
43914 gettimeofday(&tv, NULL);
43920 rm -f conftest.
$ac_objext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43922 (eval $ac_compile) 2>conftest.er1
43924 grep -v '^ *+' conftest.er1
>conftest.err
43926 cat conftest.err
>&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } &&
43929 { ac_try
='test -z "$ac_cxx_werror_flag"
43930 || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try
='test -s conftest.$ac_objext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 wx_cv_func_gettimeofday_has_2_args
=yes
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.
$ac_ext >&5
43947 cat >conftest.
$ac_ext <<_ACEOF
43950 cat confdefs.h
>>conftest.
$ac_ext
43951 cat >>conftest.
$ac_ext <<_ACEOF
43952 /* end confdefs.h. */
43954 #include <sys/time.h>
43955 #include <unistd.h>
43968 rm -f conftest.
$ac_objext
43969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43970 (eval $ac_compile) 2>conftest.er1
43972 grep -v '^ *+' conftest.er1
>conftest.err
43974 cat conftest.err
>&5
43975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43976 (exit $ac_status); } &&
43977 { ac_try
='test -z "$ac_cxx_werror_flag"
43978 || test ! -s conftest.err'
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); }; } &&
43984 { ac_try
='test -s conftest.$ac_objext'
43985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43986 (eval $ac_try) 2>&5
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; }; then
43990 wx_cv_func_gettimeofday_has_2_args
=no
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.
$ac_ext >&5
43996 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43997 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43998 wx_cv_func_gettimeofday_has_2_args
=unknown
44002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44008 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44009 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44011 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44012 cat >>confdefs.h
<<\_ACEOF
44013 #define WX_GETTIMEOFDAY_NO_TZ 1
44019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44023 if test "$wxUSE_SOCKETS" = "yes"; then
44024 if test "$wxUSE_MGL" = "1"; then
44025 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44026 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44031 if test "$wxUSE_SOCKETS" = "yes"; then
44032 if test "$TOOLKIT" != "MSW"; then
44033 echo "$as_me:$LINENO: checking for socket" >&5
44034 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44035 if test "${ac_cv_func_socket+set}" = set; then
44036 echo $ECHO_N "(cached) $ECHO_C" >&6
44038 cat >conftest.
$ac_ext <<_ACEOF
44041 cat confdefs.h
>>conftest.
$ac_ext
44042 cat >>conftest.
$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44044 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44046 #define socket innocuous_socket
44048 /* System header to define __stub macros and hopefully few prototypes,
44049 which can conflict with char socket (); below.
44050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44051 <limits.h> exists even on freestanding compilers. */
44054 # include <limits.h>
44056 # include <assert.h>
44061 /* Override any gcc2 internal prototype to avoid an error. */
44066 /* We use char because int might match the return type of a gcc2
44067 builtin and then its argument prototype would still apply. */
44069 /* The GNU C library defines this for functions which it implements
44070 to always fail with ENOSYS. Some functions are actually named
44071 something starting with __ and the normal name is an alias. */
44072 #if defined (__stub_socket) || defined (__stub___socket)
44075 char (*f) () = socket;
44084 return f != socket;
44089 rm -f conftest.
$ac_objext conftest
$ac_exeext
44090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44091 (eval $ac_link) 2>conftest.er1
44093 grep -v '^ *+' conftest.er1
>conftest.err
44095 cat conftest.err
>&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } &&
44098 { ac_try
='test -z "$ac_cxx_werror_flag"
44099 || test ! -s conftest.err'
44100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44101 (eval $ac_try) 2>&5
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); }; } &&
44105 { ac_try
='test -s conftest$ac_exeext'
44106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107 (eval $ac_try) 2>&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); }; }; then
44111 ac_cv_func_socket
=yes
44113 echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.
$ac_ext >&5
44116 ac_cv_func_socket
=no
44118 rm -f conftest.err conftest.
$ac_objext \
44119 conftest
$ac_exeext conftest.
$ac_ext
44121 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44122 echo "${ECHO_T}$ac_cv_func_socket" >&6
44123 if test $ac_cv_func_socket = yes; then
44127 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44128 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44129 if test "${ac_cv_lib_socket_socket+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44132 ac_check_lib_save_LIBS
=$LIBS
44133 LIBS
="-lsocket $LIBS"
44134 cat >conftest.
$ac_ext <<_ACEOF
44137 cat confdefs.h
>>conftest.
$ac_ext
44138 cat >>conftest.
$ac_ext <<_ACEOF
44139 /* end confdefs.h. */
44141 /* Override any gcc2 internal prototype to avoid an error. */
44145 /* We use char because int might match the return type of a gcc2
44146 builtin and then its argument prototype would still apply. */
44156 rm -f conftest.
$ac_objext conftest
$ac_exeext
44157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44158 (eval $ac_link) 2>conftest.er1
44160 grep -v '^ *+' conftest.er1
>conftest.err
44162 cat conftest.err
>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } &&
44165 { ac_try
='test -z "$ac_cxx_werror_flag"
44166 || test ! -s conftest.err'
44167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44168 (eval $ac_try) 2>&5
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; } &&
44172 { ac_try
='test -s conftest$ac_exeext'
44173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44174 (eval $ac_try) 2>&5
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); }; }; then
44178 ac_cv_lib_socket_socket
=yes
44180 echo "$as_me: failed program was:" >&5
44181 sed 's/^/| /' conftest.
$ac_ext >&5
44183 ac_cv_lib_socket_socket
=no
44185 rm -f conftest.err conftest.
$ac_objext \
44186 conftest
$ac_exeext conftest.
$ac_ext
44187 LIBS
=$ac_check_lib_save_LIBS
44189 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44190 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44191 if test $ac_cv_lib_socket_socket = yes; then
44192 if test "$INET_LINK" != " -lsocket"; then
44193 INET_LINK
="$INET_LINK -lsocket"
44197 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44198 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44211 if test "$wxUSE_SOCKETS" = "yes" ; then
44212 if test "$TOOLKIT" != "MSW"; then
44213 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44214 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44215 if test "${wx_cv_type_getsockname3+set}" = set; then
44216 echo $ECHO_N "(cached) $ECHO_C" >&6
44219 cat >conftest.
$ac_ext <<_ACEOF
44222 cat confdefs.h
>>conftest.
$ac_ext
44223 cat >>conftest.
$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44226 #include <sys/types.h>
44227 #include <sys/socket.h>
44234 getsockname(0, 0, &len);
44240 rm -f conftest.
$ac_objext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44242 (eval $ac_compile) 2>conftest.er1
44244 grep -v '^ *+' conftest.er1
>conftest.err
44246 cat conftest.err
>&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); } &&
44249 { ac_try
='test -z "$ac_cxx_werror_flag"
44250 || test ! -s conftest.err'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; } &&
44256 { ac_try
='test -s conftest.$ac_objext'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; }; then
44262 wx_cv_type_getsockname3
=socklen_t
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.
$ac_ext >&5
44268 CXXFLAGS_OLD
="$CXXFLAGS"
44269 if test "$GCC" = yes ; then
44270 CXXFLAGS
="-Werror $CXXFLAGS"
44273 cat >conftest.
$ac_ext <<_ACEOF
44276 cat confdefs.h
>>conftest.
$ac_ext
44277 cat >>conftest.
$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44280 #include <sys/types.h>
44281 #include <sys/socket.h>
44288 getsockname(0, 0, &len);
44294 rm -f conftest.
$ac_objext
44295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44296 (eval $ac_compile) 2>conftest.er1
44298 grep -v '^ *+' conftest.er1
>conftest.err
44300 cat conftest.err
>&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } &&
44303 { ac_try
='test -z "$ac_cxx_werror_flag"
44304 || test ! -s conftest.err'
44305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44306 (eval $ac_try) 2>&5
44308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44309 (exit $ac_status); }; } &&
44310 { ac_try
='test -s conftest.$ac_objext'
44311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44312 (eval $ac_try) 2>&5
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); }; }; then
44316 wx_cv_type_getsockname3
=size_t
44318 echo "$as_me: failed program was:" >&5
44319 sed 's/^/| /' conftest.
$ac_ext >&5
44321 cat >conftest.
$ac_ext <<_ACEOF
44324 cat confdefs.h
>>conftest.
$ac_ext
44325 cat >>conftest.
$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44328 #include <sys/types.h>
44329 #include <sys/socket.h>
44336 getsockname(0, 0, &len);
44342 rm -f conftest.
$ac_objext
44343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44344 (eval $ac_compile) 2>conftest.er1
44346 grep -v '^ *+' conftest.er1
>conftest.err
44348 cat conftest.err
>&5
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); } &&
44351 { ac_try
='test -z "$ac_cxx_werror_flag"
44352 || test ! -s conftest.err'
44353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44354 (eval $ac_try) 2>&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); }; } &&
44358 { ac_try
='test -s conftest.$ac_objext'
44359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44360 (eval $ac_try) 2>&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); }; }; then
44364 wx_cv_type_getsockname3
=int
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.
$ac_ext >&5
44369 wx_cv_type_getsockname3
=unknown
44372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44377 CXXFLAGS
="$CXXFLAGS_OLD"
44381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44384 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44385 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44387 if test "$wx_cv_type_getsockname3" = "unknown"; then
44389 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44390 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44392 cat >>confdefs.h
<<_ACEOF
44393 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44397 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44398 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44399 if test "${wx_cv_type_getsockopt5+set}" = set; then
44400 echo $ECHO_N "(cached) $ECHO_C" >&6
44403 cat >conftest.
$ac_ext <<_ACEOF
44406 cat confdefs.h
>>conftest.
$ac_ext
44407 cat >>conftest.
$ac_ext <<_ACEOF
44408 /* end confdefs.h. */
44410 #include <sys/types.h>
44411 #include <sys/socket.h>
44418 getsockopt(0, 0, 0, 0, &len);
44424 rm -f conftest.
$ac_objext
44425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44426 (eval $ac_compile) 2>conftest.er1
44428 grep -v '^ *+' conftest.er1
>conftest.err
44430 cat conftest.err
>&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } &&
44433 { ac_try
='test -z "$ac_cxx_werror_flag"
44434 || test ! -s conftest.err'
44435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44436 (eval $ac_try) 2>&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); }; } &&
44440 { ac_try
='test -s conftest.$ac_objext'
44441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442 (eval $ac_try) 2>&5
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); }; }; then
44446 wx_cv_type_getsockopt5
=socklen_t
44448 echo "$as_me: failed program was:" >&5
44449 sed 's/^/| /' conftest.
$ac_ext >&5
44452 CXXFLAGS_OLD
="$CXXFLAGS"
44453 if test "$GCC" = yes ; then
44454 CXXFLAGS
="-Werror $CXXFLAGS"
44457 cat >conftest.
$ac_ext <<_ACEOF
44460 cat confdefs.h
>>conftest.
$ac_ext
44461 cat >>conftest.
$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44464 #include <sys/types.h>
44465 #include <sys/socket.h>
44472 getsockopt(0, 0, 0, 0, &len);
44478 rm -f conftest.
$ac_objext
44479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44480 (eval $ac_compile) 2>conftest.er1
44482 grep -v '^ *+' conftest.er1
>conftest.err
44484 cat conftest.err
>&5
44485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44486 (exit $ac_status); } &&
44487 { ac_try
='test -z "$ac_cxx_werror_flag"
44488 || test ! -s conftest.err'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; } &&
44494 { ac_try
='test -s conftest.$ac_objext'
44495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44496 (eval $ac_try) 2>&5
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; }; then
44500 wx_cv_type_getsockopt5
=size_t
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.
$ac_ext >&5
44505 cat >conftest.
$ac_ext <<_ACEOF
44508 cat confdefs.h
>>conftest.
$ac_ext
44509 cat >>conftest.
$ac_ext <<_ACEOF
44510 /* end confdefs.h. */
44512 #include <sys/types.h>
44513 #include <sys/socket.h>
44520 getsockopt(0, 0, 0, 0, &len);
44526 rm -f conftest.
$ac_objext
44527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44528 (eval $ac_compile) 2>conftest.er1
44530 grep -v '^ *+' conftest.er1
>conftest.err
44532 cat conftest.err
>&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); } &&
44535 { ac_try
='test -z "$ac_cxx_werror_flag"
44536 || test ! -s conftest.err'
44537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44538 (eval $ac_try) 2>&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); }; } &&
44542 { ac_try
='test -s conftest.$ac_objext'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; }; then
44548 wx_cv_type_getsockopt5
=int
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.
$ac_ext >&5
44553 wx_cv_type_getsockopt5
=unknown
44556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44561 CXXFLAGS
="$CXXFLAGS_OLD"
44565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44568 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44569 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44571 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44573 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44574 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44576 cat >>confdefs.h
<<_ACEOF
44577 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44584 if test "$wxUSE_SOCKETS" = "yes" ; then
44585 cat >>confdefs.h
<<\_ACEOF
44586 #define wxUSE_SOCKETS 1
44589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44592 if test "$wxUSE_PROTOCOL" = "yes"; then
44593 if test "$wxUSE_SOCKETS" != "yes"; then
44594 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44595 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44600 if test "$wxUSE_PROTOCOL" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_PROTOCOL 1
44606 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44607 cat >>confdefs.h
<<\_ACEOF
44608 #define wxUSE_PROTOCOL_HTTP 1
44612 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44613 cat >>confdefs.h
<<\_ACEOF
44614 #define wxUSE_PROTOCOL_FTP 1
44618 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44619 cat >>confdefs.h
<<\_ACEOF
44620 #define wxUSE_PROTOCOL_FILE 1
44625 if test "$wxUSE_FS_INET" = "yes"; then
44626 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44627 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44632 if test "$wxUSE_URL" = "yes"; then
44633 if test "$wxUSE_PROTOCOL" != "yes"; then
44634 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44635 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44638 if test "$wxUSE_URL" = "yes"; then
44639 cat >>confdefs.h
<<\_ACEOF
44640 #define wxUSE_URL 1
44646 if test "$wxUSE_VARIANT" = "yes"; then
44647 cat >>confdefs.h
<<\_ACEOF
44648 #define wxUSE_VARIANT 1
44653 if test "$wxUSE_FS_INET" = "yes"; then
44654 cat >>confdefs.h
<<\_ACEOF
44655 #define wxUSE_FS_INET 1
44661 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44664 if test "$TOOLKIT" = "MSW"; then
44667 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44668 if test "$USE_DARWIN" = 1; then
44669 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44670 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44671 cat >conftest.
$ac_ext <<_ACEOF
44674 cat confdefs.h
>>conftest.
$ac_ext
44675 cat >>conftest.
$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677 #include <IOKit/hid/IOHIDLib.h>
44681 IOHIDQueueInterface *qi = NULL;
44682 IOHIDCallbackFunction cb = NULL;
44683 qi->setEventCallout(NULL, cb, NULL, NULL);
44688 rm -f conftest.
$ac_objext
44689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44690 (eval $ac_compile) 2>conftest.er1
44692 grep -v '^ *+' conftest.er1
>conftest.err
44694 cat conftest.err
>&5
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); } &&
44697 { ac_try
='test -z "$ac_cxx_werror_flag"
44698 || test ! -s conftest.err'
44699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44700 (eval $ac_try) 2>&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); }; } &&
44704 { ac_try
='test -s conftest.$ac_objext'
44705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44706 (eval $ac_try) 2>&5
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); }; }; then
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.
$ac_ext >&5
44717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44718 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44719 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44724 for ac_header
in linux
/joystick.h
44726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44728 echo "$as_me:$LINENO: checking for $ac_header" >&5
44729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44731 echo $ECHO_N "(cached) $ECHO_C" >&6
44733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44736 # Is the header compilable?
44737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44739 cat >conftest.
$ac_ext <<_ACEOF
44742 cat confdefs.h
>>conftest.
$ac_ext
44743 cat >>conftest.
$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 $ac_includes_default
44746 #include <$ac_header>
44748 rm -f conftest.
$ac_objext
44749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44750 (eval $ac_compile) 2>conftest.er1
44752 grep -v '^ *+' conftest.er1
>conftest.err
44754 cat conftest.err
>&5
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); } &&
44757 { ac_try
='test -z "$ac_cxx_werror_flag"
44758 || test ! -s conftest.err'
44759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760 (eval $ac_try) 2>&5
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; } &&
44764 { ac_try
='test -s conftest.$ac_objext'
44765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44766 (eval $ac_try) 2>&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); }; }; then
44770 ac_header_compiler
=yes
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.
$ac_ext >&5
44775 ac_header_compiler
=no
44777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44779 echo "${ECHO_T}$ac_header_compiler" >&6
44781 # Is the header present?
44782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44784 cat >conftest.
$ac_ext <<_ACEOF
44787 cat confdefs.h
>>conftest.
$ac_ext
44788 cat >>conftest.
$ac_ext <<_ACEOF
44789 /* end confdefs.h. */
44790 #include <$ac_header>
44792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44795 grep -v '^ *+' conftest.er1
>conftest.err
44797 cat conftest.err
>&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } >/dev
/null
; then
44800 if test -s conftest.err
; then
44801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44809 if test -z "$ac_cpp_err"; then
44810 ac_header_preproc
=yes
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.
$ac_ext >&5
44815 ac_header_preproc
=no
44817 rm -f conftest.err conftest.
$ac_ext
44818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44819 echo "${ECHO_T}$ac_header_preproc" >&6
44821 # So? What about this header?
44822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44828 ac_header_preproc
=yes
44831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44845 ## ----------------------------------------- ##
44846 ## Report this to wx-dev@lists.wxwidgets.org ##
44847 ## ----------------------------------------- ##
44850 sed "s/^/$as_me: WARNING: /" >&2
44853 echo "$as_me:$LINENO: checking for $ac_header" >&5
44854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44856 echo $ECHO_N "(cached) $ECHO_C" >&6
44858 eval "$as_ac_Header=\$ac_header_preproc"
44860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44865 cat >>confdefs.h
<<_ACEOF
44866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44875 if test "$wxUSE_JOYSTICK" = "yes"; then
44876 cat >>confdefs.h
<<\_ACEOF
44877 #define wxUSE_JOYSTICK 1
44880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44882 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44883 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44889 if test "$wxUSE_FONTMAP" = "yes" ; then
44890 cat >>confdefs.h
<<\_ACEOF
44891 #define wxUSE_FONTMAP 1
44896 if test "$wxUSE_UNICODE" = "yes" ; then
44897 cat >>confdefs.h
<<\_ACEOF
44898 #define wxUSE_UNICODE 1
44902 if test "$USE_WIN32" != 1; then
44903 wxUSE_UNICODE_MSLU
=no
44906 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44907 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44908 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44909 if test "${ac_cv_lib_unicows_main+set}" = set; then
44910 echo $ECHO_N "(cached) $ECHO_C" >&6
44912 ac_check_lib_save_LIBS
=$LIBS
44913 LIBS
="-lunicows $LIBS"
44914 cat >conftest.
$ac_ext <<_ACEOF
44917 cat confdefs.h
>>conftest.
$ac_ext
44918 cat >>conftest.
$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44930 rm -f conftest.
$ac_objext conftest
$ac_exeext
44931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44932 (eval $ac_link) 2>conftest.er1
44934 grep -v '^ *+' conftest.er1
>conftest.err
44936 cat conftest.err
>&5
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); } &&
44939 { ac_try
='test -z "$ac_cxx_werror_flag"
44940 || test ! -s conftest.err'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; } &&
44946 { ac_try
='test -s conftest$ac_exeext'
44947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44948 (eval $ac_try) 2>&5
44950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951 (exit $ac_status); }; }; then
44952 ac_cv_lib_unicows_main
=yes
44954 echo "$as_me: failed program was:" >&5
44955 sed 's/^/| /' conftest.
$ac_ext >&5
44957 ac_cv_lib_unicows_main
=no
44959 rm -f conftest.err conftest.
$ac_objext \
44960 conftest
$ac_exeext conftest.
$ac_ext
44961 LIBS
=$ac_check_lib_save_LIBS
44963 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44964 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44965 if test $ac_cv_lib_unicows_main = yes; then
44967 cat >>confdefs.h
<<\_ACEOF
44968 #define wxUSE_UNICODE_MSLU 1
44974 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44975 Applications will only run on Windows NT/2000/XP!" >&5
44976 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44977 Applications will only run on Windows NT/2000/XP!" >&2;}
44978 wxUSE_UNICODE_MSLU
=no
44985 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44986 cat >>confdefs.h
<<\_ACEOF
44987 #define wxUSE_EXPERIMENTAL_PRINTF 1
44993 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_POSTSCRIPT 1
45000 cat >>confdefs.h
<<\_ACEOF
45001 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45005 cat >>confdefs.h
<<\_ACEOF
45006 #define wxUSE_NORMALIZED_PS_FONTS 1
45011 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45012 cat >>confdefs.h
<<\_ACEOF
45013 #define wxUSE_CONSTRAINTS 1
45016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45019 if test "$wxUSE_MDI" = "yes"; then
45020 cat >>confdefs.h
<<\_ACEOF
45021 #define wxUSE_MDI 1
45025 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45026 cat >>confdefs.h
<<\_ACEOF
45027 #define wxUSE_MDI_ARCHITECTURE 1
45030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45035 cat >>confdefs.h
<<\_ACEOF
45036 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45040 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45045 if test "$wxUSE_HELP" = "yes"; then
45046 cat >>confdefs.h
<<\_ACEOF
45047 #define wxUSE_HELP 1
45050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45052 if test "$wxUSE_MSW" = 1; then
45053 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45054 cat >>confdefs.h
<<\_ACEOF
45055 #define wxUSE_MS_HTML_HELP 1
45061 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45062 if test "$wxUSE_HTML" = "yes"; then
45063 cat >>confdefs.h
<<\_ACEOF
45064 #define wxUSE_WXHTML_HELP 1
45068 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45069 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45070 wxUSE_WXHTML_HELP
=no
45075 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45076 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45077 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45078 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45080 cat >>confdefs.h
<<\_ACEOF
45081 #define wxUSE_PRINTING_ARCHITECTURE 1
45085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45088 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45089 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45090 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45091 { (exit 1); exit 1; }; }
45095 if test "$wxUSE_METAFILE" = "yes"; then
45096 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45097 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45098 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45104 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45105 -o "$wxUSE_CLIPBOARD" = "yes" \
45106 -o "$wxUSE_OLE" = "yes" \
45107 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45109 for ac_header
in ole2.h
45111 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45113 echo "$as_me:$LINENO: checking for $ac_header" >&5
45114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45116 echo $ECHO_N "(cached) $ECHO_C" >&6
45118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45121 # Is the header compilable?
45122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45124 cat >conftest.
$ac_ext <<_ACEOF
45127 cat confdefs.h
>>conftest.
$ac_ext
45128 cat >>conftest.
$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 $ac_includes_default
45131 #include <$ac_header>
45133 rm -f conftest.
$ac_objext
45134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45135 (eval $ac_compile) 2>conftest.er1
45137 grep -v '^ *+' conftest.er1
>conftest.err
45139 cat conftest.err
>&5
45140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45141 (exit $ac_status); } &&
45142 { ac_try
='test -z "$ac_cxx_werror_flag"
45143 || test ! -s conftest.err'
45144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45145 (eval $ac_try) 2>&5
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); }; } &&
45149 { ac_try
='test -s conftest.$ac_objext'
45150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45151 (eval $ac_try) 2>&5
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); }; }; then
45155 ac_header_compiler
=yes
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.
$ac_ext >&5
45160 ac_header_compiler
=no
45162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45164 echo "${ECHO_T}$ac_header_compiler" >&6
45166 # Is the header present?
45167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45169 cat >conftest.
$ac_ext <<_ACEOF
45172 cat confdefs.h
>>conftest.
$ac_ext
45173 cat >>conftest.
$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175 #include <$ac_header>
45177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45180 grep -v '^ *+' conftest.er1
>conftest.err
45182 cat conftest.err
>&5
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); } >/dev
/null
; then
45185 if test -s conftest.err
; then
45186 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45187 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45194 if test -z "$ac_cpp_err"; then
45195 ac_header_preproc
=yes
45197 echo "$as_me: failed program was:" >&5
45198 sed 's/^/| /' conftest.
$ac_ext >&5
45200 ac_header_preproc
=no
45202 rm -f conftest.err conftest.
$ac_ext
45203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45204 echo "${ECHO_T}$ac_header_preproc" >&6
45206 # So? What about this header?
45207 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45213 ac_header_preproc
=yes
45216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45230 ## ----------------------------------------- ##
45231 ## Report this to wx-dev@lists.wxwidgets.org ##
45232 ## ----------------------------------------- ##
45235 sed "s/^/$as_me: WARNING: /" >&2
45238 echo "$as_me:$LINENO: checking for $ac_header" >&5
45239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45241 echo $ECHO_N "(cached) $ECHO_C" >&6
45243 eval "$as_ac_Header=\$ac_header_preproc"
45245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45250 cat >>confdefs.h
<<_ACEOF
45251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45259 if test "$ac_cv_header_ole2_h" = "yes" ; then
45260 if test "$GCC" = yes ; then
45261 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45262 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45263 cat >conftest.
$ac_ext <<_ACEOF
45266 cat confdefs.h
>>conftest.
$ac_ext
45267 cat >>conftest.
$ac_ext <<_ACEOF
45268 /* end confdefs.h. */
45269 #include <windows.h>
45279 rm -f conftest.
$ac_objext
45280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45281 (eval $ac_compile) 2>conftest.er1
45283 grep -v '^ *+' conftest.er1
>conftest.err
45285 cat conftest.err
>&5
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); } &&
45288 { ac_try
='test -z "$ac_cxx_werror_flag"
45289 || test ! -s conftest.err'
45290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45291 (eval $ac_try) 2>&5
45293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45294 (exit $ac_status); }; } &&
45295 { ac_try
='test -s conftest.$ac_objext'
45296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45297 (eval $ac_try) 2>&5
45299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45300 (exit $ac_status); }; }; then
45301 echo "$as_me:$LINENO: result: no" >&5
45302 echo "${ECHO_T}no" >&6
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.
$ac_ext >&5
45307 echo "$as_me:$LINENO: result: yes" >&5
45308 echo "${ECHO_T}yes" >&6
45309 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45312 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45313 if test "$wxUSE_OLE" = "yes" ; then
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_OLE 1
45318 cat >>confdefs.h
<<\_ACEOF
45319 #define wxUSE_OLE_AUTOMATION 1
45322 cat >>confdefs.h
<<\_ACEOF
45323 #define wxUSE_OLE_ACTIVEX 1
45326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45330 if test "$wxUSE_DATAOBJ" = "yes" ; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_DATAOBJ 1
45337 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45338 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45341 wxUSE_DRAG_AND_DROP
=no
45346 if test "$wxUSE_METAFILE" = "yes"; then
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_METAFILE 1
45352 cat >>confdefs.h
<<\_ACEOF
45353 #define wxUSE_ENH_METAFILE 1
45359 if test "$wxUSE_IPC" = "yes"; then
45360 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45362 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45366 if test "$wxUSE_IPC" = "yes"; then
45367 cat >>confdefs.h
<<\_ACEOF
45368 #define wxUSE_IPC 1
45371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45375 if test "$wxUSE_DATAOBJ" = "yes"; then
45376 if test "$wxUSE_MGL" = 1; then
45377 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45378 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_DATAOBJ 1
45387 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45388 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45390 wxUSE_DRAG_AND_DROP
=no
45393 if test "$wxUSE_CLIPBOARD" = "yes"; then
45394 if test "$wxUSE_MGL" = 1; then
45395 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45396 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45400 if test "$wxUSE_CLIPBOARD" = "yes"; then
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_CLIPBOARD 1
45408 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45409 if test "$wxUSE_GTK" = 1; then
45410 if test "$WXGTK12" != 1; then
45411 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45412 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45413 wxUSE_DRAG_AND_DROP
=no
45417 if test "$wxUSE_MOTIF" = 1; then
45418 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45419 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45420 wxUSE_DRAG_AND_DROP
=no
45423 if test "$wxUSE_X11" = 1; then
45424 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45425 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45426 wxUSE_DRAG_AND_DROP
=no
45429 if test "$wxUSE_MGL" = 1; then
45430 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45431 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45432 wxUSE_DRAG_AND_DROP
=no
45435 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45436 cat >>confdefs.h
<<\_ACEOF
45437 #define wxUSE_DRAG_AND_DROP 1
45444 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45448 if test "$wxUSE_SPLINES" = "yes" ; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_SPLINES 1
45455 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45456 cat >>confdefs.h
<<\_ACEOF
45457 #define wxUSE_MOUSEWHEEL 1
45464 if test "$wxUSE_CONTROLS" = "yes"; then
45468 if test "$wxUSE_ACCEL" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_ACCEL 1
45476 if test "$wxUSE_BUTTON" = "yes"; then
45477 cat >>confdefs.h
<<\_ACEOF
45478 #define wxUSE_BUTTON 1
45484 if test "$wxUSE_BMPBUTTON" = "yes"; then
45485 cat >>confdefs.h
<<\_ACEOF
45486 #define wxUSE_BMPBUTTON 1
45492 if test "$wxUSE_CALCTRL" = "yes"; then
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_CALENDARCTRL 1
45498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45501 if test "$wxUSE_CARET" = "yes"; then
45502 cat >>confdefs.h
<<\_ACEOF
45503 #define wxUSE_CARET 1
45507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45510 if test "$wxUSE_COMBOBOX" = "yes"; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_COMBOBOX 1
45518 if test "$wxUSE_COMBOCTRL" = "yes"; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_COMBOCTRL 1
45526 if test "$wxUSE_CHOICE" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_CHOICE 1
45534 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_CHOICEBOOK 1
45542 if test "$wxUSE_CHECKBOX" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_CHECKBOX 1
45550 if test "$wxUSE_CHECKLST" = "yes"; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_CHECKLISTBOX 1
45556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45559 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45560 cat >>confdefs.h
<<\_ACEOF
45561 #define wxUSE_COLOURPICKERCTRL 1
45567 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_DATEPICKCTRL 1
45575 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_DIRPICKERCTRL 1
45583 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_FILEPICKERCTRL 1
45591 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45592 cat >>confdefs.h
<<\_ACEOF
45593 #define wxUSE_FONTPICKERCTRL 1
45599 if test "$wxUSE_DISPLAY" = "yes"; then
45600 cat >>confdefs.h
<<\_ACEOF
45601 #define wxUSE_DISPLAY 1
45604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45607 if test "$wxUSE_GAUGE" = "yes"; then
45608 cat >>confdefs.h
<<\_ACEOF
45609 #define wxUSE_GAUGE 1
45615 if test "$wxUSE_GRID" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_GRID 1
45621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45624 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_HYPERLINKCTRL 1
45632 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_BITMAPCOMBOBOX 1
45640 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_DATAVIEWCTRL 1
45646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45649 if test "$wxUSE_IMAGLIST" = "yes"; then
45650 cat >>confdefs.h
<<\_ACEOF
45651 #define wxUSE_IMAGLIST 1
45656 if test "$wxUSE_LISTBOOK" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_LISTBOOK 1
45664 if test "$wxUSE_LISTBOX" = "yes"; then
45665 cat >>confdefs.h
<<\_ACEOF
45666 #define wxUSE_LISTBOX 1
45670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45673 if test "$wxUSE_LISTCTRL" = "yes"; then
45674 if test "$wxUSE_IMAGLIST" = "yes"; then
45675 cat >>confdefs.h
<<\_ACEOF
45676 #define wxUSE_LISTCTRL 1
45680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45682 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45683 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45687 if test "$wxUSE_NOTEBOOK" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_NOTEBOOK 1
45693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45696 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45697 cat >>confdefs.h
<<\_ACEOF
45698 #define wxUSE_ODCOMBOBOX 1
45702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45706 if test "$wxUSE_RADIOBOX" = "yes"; then
45707 cat >>confdefs.h
<<\_ACEOF
45708 #define wxUSE_RADIOBOX 1
45714 if test "$wxUSE_RADIOBTN" = "yes"; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_RADIOBTN 1
45722 if test "$wxUSE_SASH" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_SASH 1
45727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45730 if test "$wxUSE_SCROLLBAR" = "yes"; then
45731 cat >>confdefs.h
<<\_ACEOF
45732 #define wxUSE_SCROLLBAR 1
45736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45739 if test "$wxUSE_SLIDER" = "yes"; then
45740 cat >>confdefs.h
<<\_ACEOF
45741 #define wxUSE_SLIDER 1
45747 if test "$wxUSE_SPINBTN" = "yes"; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_SPINBTN 1
45755 if test "$wxUSE_SPINCTRL" = "yes"; then
45756 cat >>confdefs.h
<<\_ACEOF
45757 #define wxUSE_SPINCTRL 1
45763 if test "$wxUSE_SPLITTER" = "yes"; then
45764 cat >>confdefs.h
<<\_ACEOF
45765 #define wxUSE_SPLITTER 1
45768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45771 if test "$wxUSE_STATBMP" = "yes"; then
45772 cat >>confdefs.h
<<\_ACEOF
45773 #define wxUSE_STATBMP 1
45779 if test "$wxUSE_STATBOX" = "yes"; then
45780 cat >>confdefs.h
<<\_ACEOF
45781 #define wxUSE_STATBOX 1
45787 if test "$wxUSE_STATTEXT" = "yes"; then
45788 cat >>confdefs.h
<<\_ACEOF
45789 #define wxUSE_STATTEXT 1
45795 if test "$wxUSE_STATLINE" = "yes"; then
45796 cat >>confdefs.h
<<\_ACEOF
45797 #define wxUSE_STATLINE 1
45803 if test "$wxUSE_STATUSBAR" = "yes"; then
45804 cat >>confdefs.h
<<\_ACEOF
45805 #define wxUSE_NATIVE_STATUSBAR 1
45808 cat >>confdefs.h
<<\_ACEOF
45809 #define wxUSE_STATUSBAR 1
45814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45817 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45818 cat >>confdefs.h
<<\_ACEOF
45819 #define wxUSE_TAB_DIALOG 1
45824 if test "$wxUSE_TEXTCTRL" = "yes"; then
45825 cat >>confdefs.h
<<\_ACEOF
45826 #define wxUSE_TEXTCTRL 1
45830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45833 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45834 if test "$wxUSE_COCOA" = 1 ; then
45835 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45836 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45840 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45841 cat >>confdefs.h
<<\_ACEOF
45842 #define wxUSE_TOGGLEBTN 1
45849 if test "$wxUSE_TOOLBAR" = "yes"; then
45850 cat >>confdefs.h
<<\_ACEOF
45851 #define wxUSE_TOOLBAR 1
45856 if test "$wxUSE_UNIVERSAL" = "yes"; then
45857 wxUSE_TOOLBAR_NATIVE
="no"
45859 wxUSE_TOOLBAR_NATIVE
="yes"
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_TOOLBAR_NATIVE 1
45866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45869 if test "$wxUSE_TOOLTIPS" = "yes"; then
45870 if test "$wxUSE_MOTIF" = 1; then
45871 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45872 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45874 if test "$wxUSE_UNIVERSAL" = "yes"; then
45875 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45876 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_TOOLTIPS 1
45886 if test "$wxUSE_TREEBOOK" = "yes"; then
45887 cat >>confdefs.h
<<\_ACEOF
45888 #define wxUSE_TREEBOOK 1
45894 if test "$wxUSE_TOOLBOOK" = "yes"; then
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_TOOLBOOK 1
45902 if test "$wxUSE_TREECTRL" = "yes"; then
45903 if test "$wxUSE_IMAGLIST" = "yes"; then
45904 cat >>confdefs.h
<<\_ACEOF
45905 #define wxUSE_TREECTRL 1
45909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45911 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45912 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45916 if test "$wxUSE_POPUPWIN" = "yes"; then
45917 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45918 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45919 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45921 if test "$wxUSE_PM" = 1; then
45922 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45923 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_POPUPWIN 1
45929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45936 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45937 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45938 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45939 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45941 cat >>confdefs.h
<<\_ACEOF
45942 #define wxUSE_DIALUP_MANAGER 1
45945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45949 if test "$wxUSE_TIPWINDOW" = "yes"; then
45950 if test "$wxUSE_PM" = 1; then
45951 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45952 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45954 cat >>confdefs.h
<<\_ACEOF
45955 #define wxUSE_TIPWINDOW 1
45961 if test "$USES_CONTROLS" = 1; then
45962 cat >>confdefs.h
<<\_ACEOF
45963 #define wxUSE_CONTROLS 1
45969 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45970 cat >>confdefs.h
<<\_ACEOF
45971 #define wxUSE_ACCESSIBILITY 1
45974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45977 if test "$wxUSE_DC_CACHEING" = "yes"; then
45978 cat >>confdefs.h
<<\_ACEOF
45979 #define wxUSE_DC_CACHEING 1
45984 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45985 cat >>confdefs.h
<<\_ACEOF
45986 #define wxUSE_DRAGIMAGE 1
45989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45992 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45993 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45994 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45995 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_EXCEPTIONS 1
46001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46006 if test "$wxUSE_HTML" = "yes"; then
46007 cat >>confdefs.h
<<\_ACEOF
46008 #define wxUSE_HTML 1
46012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46013 if test "$wxUSE_MAC" = 1; then
46014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46017 if test "$wxUSE_WEBKIT" = "yes"; then
46018 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46019 old_CPPFLAGS
="$CPPFLAGS"
46020 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46021 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46022 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46023 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46024 echo $ECHO_N "(cached) $ECHO_C" >&6
46026 cat >conftest.
$ac_ext <<_ACEOF
46029 cat confdefs.h
>>conftest.
$ac_ext
46030 cat >>conftest.
$ac_ext <<_ACEOF
46031 /* end confdefs.h. */
46032 #include <Carbon/Carbon.h>
46034 #include <WebKit/HIWebView.h>
46036 rm -f conftest.
$ac_objext
46037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46038 (eval $ac_compile) 2>conftest.er1
46040 grep -v '^ *+' conftest.er1
>conftest.err
46042 cat conftest.err
>&5
46043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46044 (exit $ac_status); } &&
46045 { ac_try
='test -z "$ac_cxx_werror_flag"
46046 || test ! -s conftest.err'
46047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46048 (eval $ac_try) 2>&5
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); }; } &&
46052 { ac_try
='test -s conftest.$ac_objext'
46053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46054 (eval $ac_try) 2>&5
46056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46057 (exit $ac_status); }; }; then
46058 ac_cv_header_WebKit_HIWebView_h
=yes
46060 echo "$as_me: failed program was:" >&5
46061 sed 's/^/| /' conftest.
$ac_ext >&5
46063 ac_cv_header_WebKit_HIWebView_h
=no
46065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46067 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46068 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46069 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46071 cat >>confdefs.h
<<\_ACEOF
46072 #define wxUSE_WEBKIT 1
46075 WEBKIT_LINK
="-framework WebKit"
46079 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46080 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46086 CPPFLAGS
="$old_CPPFLAGS"
46087 elif test "$wxUSE_COCOA" = 1; then
46088 cat >>confdefs.h
<<\_ACEOF
46089 #define wxUSE_WEBKIT 1
46098 if test "$wxUSE_XRC" = "yes"; then
46099 if test "$wxUSE_XML" != "yes"; then
46100 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46101 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46104 cat >>confdefs.h
<<\_ACEOF
46105 #define wxUSE_XRC 1
46109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46114 if test "$wxUSE_AUI" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_AUI 1
46120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46123 if test "$wxUSE_MENUS" = "yes"; then
46124 cat >>confdefs.h
<<\_ACEOF
46125 #define wxUSE_MENUS 1
46128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46131 if test "$wxUSE_METAFILE" = "yes"; then
46132 cat >>confdefs.h
<<\_ACEOF
46133 #define wxUSE_METAFILE 1
46138 if test "$wxUSE_MIMETYPE" = "yes"; then
46139 cat >>confdefs.h
<<\_ACEOF
46140 #define wxUSE_MIMETYPE 1
46145 if test "$wxUSE_MINIFRAME" = "yes"; then
46146 cat >>confdefs.h
<<\_ACEOF
46147 #define wxUSE_MINIFRAME 1
46150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46153 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46154 cat >>confdefs.h
<<\_ACEOF
46155 #define wxUSE_SYSTEM_OPTIONS 1
46158 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46159 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46165 if test "$wxUSE_VALIDATORS" = "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_VALIDATORS 1
46170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46173 if test "$wxUSE_PALETTE" = "yes" ; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_PALETTE 1
46180 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46181 LIBS
=" -lunicows $LIBS"
46185 if test "$wxUSE_RICHTEXT" = "yes"; then
46186 cat >>confdefs.h
<<\_ACEOF
46187 #define wxUSE_RICHTEXT 1
46191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46194 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_GRAPHICS_CONTEXT 1
46202 if test "$wxUSE_IMAGE" = "yes" ; then
46203 cat >>confdefs.h
<<\_ACEOF
46204 #define wxUSE_IMAGE 1
46208 if test "$wxUSE_GIF" = "yes" ; then
46209 cat >>confdefs.h
<<\_ACEOF
46210 #define wxUSE_GIF 1
46215 if test "$wxUSE_PCX" = "yes" ; then
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_PCX 1
46222 if test "$wxUSE_IFF" = "yes" ; then
46223 cat >>confdefs.h
<<\_ACEOF
46224 #define wxUSE_IFF 1
46229 if test "$wxUSE_PNM" = "yes" ; then
46230 cat >>confdefs.h
<<\_ACEOF
46231 #define wxUSE_PNM 1
46236 if test "$wxUSE_XPM" = "yes" ; then
46237 cat >>confdefs.h
<<\_ACEOF
46238 #define wxUSE_XPM 1
46243 if test "$wxUSE_ICO_CUR" = "yes" ; then
46244 cat >>confdefs.h
<<\_ACEOF
46245 #define wxUSE_ICO_CUR 1
46252 if test "$wxUSE_ABOUTDLG" = "yes"; then
46253 cat >>confdefs.h
<<\_ACEOF
46254 #define wxUSE_ABOUTDLG 1
46259 if test "$wxUSE_CHOICEDLG" = "yes"; then
46260 cat >>confdefs.h
<<\_ACEOF
46261 #define wxUSE_CHOICEDLG 1
46266 if test "$wxUSE_COLOURDLG" = "yes"; then
46267 cat >>confdefs.h
<<\_ACEOF
46268 #define wxUSE_COLOURDLG 1
46273 if test "$wxUSE_FILEDLG" = "yes"; then
46274 cat >>confdefs.h
<<\_ACEOF
46275 #define wxUSE_FILEDLG 1
46280 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_FINDREPLDLG 1
46287 if test "$wxUSE_FONTDLG" = "yes"; then
46288 cat >>confdefs.h
<<\_ACEOF
46289 #define wxUSE_FONTDLG 1
46294 if test "$wxUSE_DIRDLG" = "yes"; then
46295 if test "$wxUSE_TREECTRL" != "yes"; then
46296 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46297 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_DIRDLG 1
46306 if test "$wxUSE_MSGDLG" = "yes"; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_MSGDLG 1
46313 if test "$wxUSE_NUMBERDLG" = "yes"; then
46314 cat >>confdefs.h
<<\_ACEOF
46315 #define wxUSE_NUMBERDLG 1
46320 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46321 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46322 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46323 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46325 cat >>confdefs.h
<<\_ACEOF
46326 #define wxUSE_PROGRESSDLG 1
46332 if test "$wxUSE_SPLASH" = "yes"; then
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define wxUSE_SPLASH 1
46337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46340 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46341 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46342 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46343 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46345 cat >>confdefs.h
<<\_ACEOF
46346 #define wxUSE_STARTUP_TIPS 1
46352 if test "$wxUSE_TEXTDLG" = "yes"; then
46353 cat >>confdefs.h
<<\_ACEOF
46354 #define wxUSE_TEXTDLG 1
46359 if test "$wxUSE_WIZARDDLG" = "yes"; then
46360 cat >>confdefs.h
<<\_ACEOF
46361 #define wxUSE_WIZARDDLG 1
46364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46370 if test "$wxUSE_MEDIACTRL" = "yes"; then
46373 if test "$wxUSE_GTK" = 1; then
46374 wxUSE_GSTREAMER
="no"
46376 GST_VERSION_MAJOR
=0
46377 GST_VERSION_MINOR
=10
46378 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46380 if test "$wxUSE_GSTREAMER8" = "no"; then
46383 echo "$as_me:$LINENO: checking for GST" >&5
46384 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46386 if test -n "$PKG_CONFIG"; then
46387 if test -n "$GST_CFLAGS"; then
46388 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46390 if test -n "$PKG_CONFIG" && \
46391 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46392 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); }; then
46396 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46404 if test -n "$PKG_CONFIG"; then
46405 if test -n "$GST_LIBS"; then
46406 pkg_cv_GST_LIBS
="$GST_LIBS"
46408 if test -n "$PKG_CONFIG" && \
46409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46410 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); }; then
46414 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46425 if test $pkg_failed = yes; then
46427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46428 _pkg_short_errors_supported
=yes
46430 _pkg_short_errors_supported
=no
46432 if test $_pkg_short_errors_supported = yes; then
46433 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46435 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46437 # Put the nasty error message in config.log where it belongs
46438 echo "$GST_PKG_ERRORS" >&5
46441 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46442 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46443 GST_VERSION_MINOR
=8
46446 elif test $pkg_failed = untried
; then
46448 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46449 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46450 GST_VERSION_MINOR
=8
46454 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46455 GST_LIBS
=$pkg_cv_GST_LIBS
46456 echo "$as_me:$LINENO: result: yes" >&5
46457 echo "${ECHO_T}yes" >&6
46459 wxUSE_GSTREAMER
="yes"
46460 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46464 GST_VERSION_MINOR
=8
46467 if test $GST_VERSION_MINOR = "8"; then
46468 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46471 echo "$as_me:$LINENO: checking for GST" >&5
46472 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46474 if test -n "$PKG_CONFIG"; then
46475 if test -n "$GST_CFLAGS"; then
46476 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46478 if test -n "$PKG_CONFIG" && \
46479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46480 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; then
46484 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46492 if test -n "$PKG_CONFIG"; then
46493 if test -n "$GST_LIBS"; then
46494 pkg_cv_GST_LIBS
="$GST_LIBS"
46496 if test -n "$PKG_CONFIG" && \
46497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46498 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); }; then
46502 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46513 if test $pkg_failed = yes; then
46515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46516 _pkg_short_errors_supported
=yes
46518 _pkg_short_errors_supported
=no
46520 if test $_pkg_short_errors_supported = yes; then
46521 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46523 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46525 # Put the nasty error message in config.log where it belongs
46526 echo "$GST_PKG_ERRORS" >&5
46529 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46530 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46532 elif test $pkg_failed = untried
; then
46534 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46535 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46538 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46539 GST_LIBS
=$pkg_cv_GST_LIBS
46540 echo "$as_me:$LINENO: result: yes" >&5
46541 echo "${ECHO_T}yes" >&6
46542 wxUSE_GSTREAMER
="yes"
46547 if test "$wxUSE_GSTREAMER" = "yes"; then
46550 if "$GCC" = yes; then
46551 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46552 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46556 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46557 LIBS
="$GST_LIBS $LIBS"
46559 cat >>confdefs.h
<<\_ACEOF
46560 #define wxUSE_GSTREAMER 1
46568 if test $USE_MEDIA = 1; then
46569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46570 cat >>confdefs.h
<<\_ACEOF
46571 #define wxUSE_MEDIACTRL 1
46578 if test "$cross_compiling" = "yes"; then
46581 OSINFO
=`uname -s -r -m`
46582 OSINFO
="\"$OSINFO\""
46585 cat >>confdefs.h
<<_ACEOF
46586 #define WXWIN_OS_DESCRIPTION $OSINFO
46591 if test "x$prefix" != "xNONE"; then
46594 wxPREFIX
=$ac_default_prefix
46597 cat >>confdefs.h
<<_ACEOF
46598 #define wxINSTALL_PREFIX "$wxPREFIX"
46604 CORE_BASE_LIBS
="net base"
46605 CORE_GUI_LIBS
="adv core"
46607 if test "$wxUSE_XML" = "yes" ; then
46608 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46610 if test "$wxUSE_ODBC" != "no" ; then
46611 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46612 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46614 if test "$wxUSE_HTML" = "yes" ; then
46615 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46617 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46618 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46620 if test "$wxUSE_XRC" = "yes" ; then
46621 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46623 if test "$wxUSE_AUI" = "yes" ; then
46624 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46627 if test "$wxUSE_GUI" != "yes"; then
46636 ac_cpp
='$CPP $CPPFLAGS'
46637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46643 if test "$wxUSE_MAC" = 1 ; then
46644 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46645 if test "$USE_DARWIN" = 1; then
46646 LDFLAGS
="$LDFLAGS -framework QuickTime"
46648 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46651 if test "$USE_DARWIN" = 1; then
46652 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46654 LDFLAGS
="$LDFLAGS -lCarbonLib"
46657 if test "$wxUSE_COCOA" = 1 ; then
46658 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46659 if test "$wxUSE_MEDIACTRL" = "yes"; then
46660 LDFLAGS
="$LDFLAGS -framework QuickTime"
46663 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46664 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46667 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46669 if test "$wxUSE_GUI" = "yes"; then
46672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46673 dynamic erase event exec font image minimal mobile \
46674 mobile/wxedit mobile/styles propsize render \
46675 rotate shaped vscroll widgets"
46677 if test "$wxUSE_MONOLITHIC" != "yes"; then
46678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46680 if test "$TOOLKIT" = "MSW"; then
46681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46682 if test "$wxUSE_UNIVERSAL" != "yes"; then
46683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46686 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46690 SAMPLES_SUBDIRS
="console"
46694 if test "x$INTELCC" = "xyes" ; then
46695 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46696 elif test "$GCC" = yes ; then
46697 CWARNINGS
="-Wall -Wundef"
46700 if test "x$INTELCXX" = "xyes" ; then
46701 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46702 elif test "$GXX" = yes ; then
46703 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46707 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46708 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46711 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46712 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46713 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46716 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46717 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46718 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46720 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46723 if test "x$MWCC" = "xyes"; then
46725 CC
="$CC -cwd source -I-"
46726 CXX
="$CXX -cwd source -I-"
46731 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46732 EXTRALIBS_XML
="$EXPAT_LINK"
46733 EXTRALIBS_HTML
="$MSPACK_LINK"
46734 EXTRALIBS_ODBC
="$ODBC_LINK"
46735 if test "$wxUSE_GUI" = "yes"; then
46736 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46738 if test "$wxUSE_OPENGL" = "yes"; then
46739 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46742 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46744 WXCONFIG_LIBS
="$LIBS"
46746 if test "$wxUSE_REGEX" = "builtin" ; then
46747 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46749 if test "$wxUSE_EXPAT" = "builtin" ; then
46750 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46752 if test "$wxUSE_ODBC" = "builtin" ; then
46753 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46755 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46756 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46758 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46759 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46761 if test "$wxUSE_LIBPNG" = "builtin" ; then
46762 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46764 if test "$wxUSE_ZLIB" = "builtin" ; then
46765 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46768 for i
in $wxconfig_3rdparty ; do
46769 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46773 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46776 case "$wxUNIV_THEMES" in
46778 cat >>confdefs.h
<<\_ACEOF
46779 #define wxUSE_ALL_THEMES 1
46785 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46786 cat >>confdefs.h
<<_ACEOF
46787 #define wxUSE_THEME_$t 1
46804 if test $wxUSE_MONOLITHIC = "yes" ; then
46810 if test $wxUSE_PLUGINS = "yes" ; then
46816 if test $wxUSE_ODBC != "no" ; then
46822 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46828 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46858 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46869 TOOLKIT_DESC
="GTK+"
46870 if test "$WXGTK20" = 1; then
46871 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46872 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46873 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46875 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46876 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46878 if test "$wxUSE_LIBHILDON" = "yes"; then
46879 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46882 if test "$TOOLKIT_EXTRA" != ""; then
46883 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46889 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46893 TOOLKIT_DESC
="base only"
46897 if test "$wxUSE_WINE" = "yes"; then
46898 BAKEFILE_FORCE_PLATFORM
=win32
46901 if test "$wxUSE_MAC" = 1 ; then
46902 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46903 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46904 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46906 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46908 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46909 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46910 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46911 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46914 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46915 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46921 if test "x$BAKEFILE_HOST" = "x"; then
46922 if test "x${host}" = "x" ; then
46923 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46924 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46925 { (exit 1); exit 1; }; }
46928 BAKEFILE_HOST
="${host}"
46931 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46933 if test -n "$ac_tool_prefix"; then
46934 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46935 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46936 echo "$as_me:$LINENO: checking for $ac_word" >&5
46937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46938 if test "${ac_cv_prog_RANLIB+set}" = set; then
46939 echo $ECHO_N "(cached) $ECHO_C" >&6
46941 if test -n "$RANLIB"; then
46942 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46945 for as_dir
in $PATH
46948 test -z "$as_dir" && as_dir
=.
46949 for ac_exec_ext
in '' $ac_executable_extensions; do
46950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46951 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46960 RANLIB
=$ac_cv_prog_RANLIB
46961 if test -n "$RANLIB"; then
46962 echo "$as_me:$LINENO: result: $RANLIB" >&5
46963 echo "${ECHO_T}$RANLIB" >&6
46965 echo "$as_me:$LINENO: result: no" >&5
46966 echo "${ECHO_T}no" >&6
46970 if test -z "$ac_cv_prog_RANLIB"; then
46971 ac_ct_RANLIB
=$RANLIB
46972 # Extract the first word of "ranlib", so it can be a program name with args.
46973 set dummy ranlib
; ac_word
=$2
46974 echo "$as_me:$LINENO: checking for $ac_word" >&5
46975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46976 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46977 echo $ECHO_N "(cached) $ECHO_C" >&6
46979 if test -n "$ac_ct_RANLIB"; then
46980 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46983 for as_dir
in $PATH
46986 test -z "$as_dir" && as_dir
=.
46987 for ac_exec_ext
in '' $ac_executable_extensions; do
46988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46989 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46996 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46999 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47000 if test -n "$ac_ct_RANLIB"; then
47001 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47002 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47004 echo "$as_me:$LINENO: result: no" >&5
47005 echo "${ECHO_T}no" >&6
47008 RANLIB
=$ac_ct_RANLIB
47010 RANLIB
="$ac_cv_prog_RANLIB"
47013 # Find a good install program. We prefer a C program (faster),
47014 # so one script is as good as another. But avoid the broken or
47015 # incompatible versions:
47016 # SysV /etc/install, /usr/sbin/install
47017 # SunOS /usr/etc/install
47018 # IRIX /sbin/install
47020 # AmigaOS /C/install, which installs bootblocks on floppy discs
47021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47024 # OS/2's system install, which has a completely different semantic
47025 # ./install, which can be erroneously created by make from ./install.sh.
47026 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47028 if test -z "$INSTALL"; then
47029 if test "${ac_cv_path_install+set}" = set; then
47030 echo $ECHO_N "(cached) $ECHO_C" >&6
47032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47033 for as_dir
in $PATH
47036 test -z "$as_dir" && as_dir
=.
47037 # Account for people who put trailing slashes in PATH elements.
47039 .
/ | .
// | /cC
/* | \
47040 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47041 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47044 # OSF1 and SCO ODT 3.0 have their own names for install.
47045 # Don't use installbsd from OSF since it installs stuff as root
47047 for ac_prog
in ginstall scoinst
install; do
47048 for ac_exec_ext
in '' $ac_executable_extensions; do
47049 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47050 if test $ac_prog = install &&
47051 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47052 # AIX install. It has an incompatible calling convention.
47054 elif test $ac_prog = install &&
47055 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47056 # program-specific install script used by HP pwplus--don't use.
47059 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47071 if test "${ac_cv_path_install+set}" = set; then
47072 INSTALL
=$ac_cv_path_install
47074 # As a last resort, use the slow shell script. We don't cache a
47075 # path for INSTALL within a source directory, because that will
47076 # break other packages using the cache if that directory is
47077 # removed, or if the path is relative.
47078 INSTALL
=$ac_install_sh
47081 echo "$as_me:$LINENO: result: $INSTALL" >&5
47082 echo "${ECHO_T}$INSTALL" >&6
47084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47085 # It thinks the first close brace ends the variable substitution.
47086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47090 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47092 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47093 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47095 if test "$LN_S" = "ln -s"; then
47096 echo "$as_me:$LINENO: result: yes" >&5
47097 echo "${ECHO_T}yes" >&6
47099 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47100 echo "${ECHO_T}no, using $LN_S" >&6
47104 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47105 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47106 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47107 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47108 echo $ECHO_N "(cached) $ECHO_C" >&6
47110 cat >conftest.
make <<\_ACEOF
47112 @
echo 'ac_maketemp="$(MAKE)"'
47114 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47115 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47116 if test -n "$ac_maketemp"; then
47117 eval ac_cv_prog_make_
${ac_make}_set
=yes
47119 eval ac_cv_prog_make_
${ac_make}_set
=no
47121 rm -f conftest.
make
47123 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47124 echo "$as_me:$LINENO: result: yes" >&5
47125 echo "${ECHO_T}yes" >&6
47128 echo "$as_me:$LINENO: result: no" >&5
47129 echo "${ECHO_T}no" >&6
47130 SET_MAKE
="MAKE=${MAKE-make}"
47135 if test -n "$ac_tool_prefix"; then
47136 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47137 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47138 echo "$as_me:$LINENO: checking for $ac_word" >&5
47139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47140 if test "${ac_cv_prog_AR+set}" = set; then
47141 echo $ECHO_N "(cached) $ECHO_C" >&6
47143 if test -n "$AR"; then
47144 ac_cv_prog_AR
="$AR" # Let the user override the test.
47146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47147 for as_dir
in $PATH
47150 test -z "$as_dir" && as_dir
=.
47151 for ac_exec_ext
in '' $ac_executable_extensions; do
47152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47153 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47163 if test -n "$AR"; then
47164 echo "$as_me:$LINENO: result: $AR" >&5
47165 echo "${ECHO_T}$AR" >&6
47167 echo "$as_me:$LINENO: result: no" >&5
47168 echo "${ECHO_T}no" >&6
47172 if test -z "$ac_cv_prog_AR"; then
47174 # Extract the first word of "ar", so it can be a program name with args.
47175 set dummy
ar; ac_word
=$2
47176 echo "$as_me:$LINENO: checking for $ac_word" >&5
47177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47178 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47179 echo $ECHO_N "(cached) $ECHO_C" >&6
47181 if test -n "$ac_ct_AR"; then
47182 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47185 for as_dir
in $PATH
47188 test -z "$as_dir" && as_dir
=.
47189 for ac_exec_ext
in '' $ac_executable_extensions; do
47190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47191 ac_cv_prog_ac_ct_AR
="ar"
47192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47198 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47201 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47202 if test -n "$ac_ct_AR"; then
47203 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47204 echo "${ECHO_T}$ac_ct_AR" >&6
47206 echo "$as_me:$LINENO: result: no" >&5
47207 echo "${ECHO_T}no" >&6
47212 AR
="$ac_cv_prog_AR"
47215 if test -n "$ac_tool_prefix"; then
47216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47217 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47218 echo "$as_me:$LINENO: checking for $ac_word" >&5
47219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47220 if test "${ac_cv_prog_STRIP+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47223 if test -n "$STRIP"; then
47224 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47227 for as_dir
in $PATH
47230 test -z "$as_dir" && as_dir
=.
47231 for ac_exec_ext
in '' $ac_executable_extensions; do
47232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47233 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47242 STRIP
=$ac_cv_prog_STRIP
47243 if test -n "$STRIP"; then
47244 echo "$as_me:$LINENO: result: $STRIP" >&5
47245 echo "${ECHO_T}$STRIP" >&6
47247 echo "$as_me:$LINENO: result: no" >&5
47248 echo "${ECHO_T}no" >&6
47252 if test -z "$ac_cv_prog_STRIP"; then
47254 # Extract the first word of "strip", so it can be a program name with args.
47255 set dummy strip
; ac_word
=$2
47256 echo "$as_me:$LINENO: checking for $ac_word" >&5
47257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47259 echo $ECHO_N "(cached) $ECHO_C" >&6
47261 if test -n "$ac_ct_STRIP"; then
47262 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47265 for as_dir
in $PATH
47268 test -z "$as_dir" && as_dir
=.
47269 for ac_exec_ext
in '' $ac_executable_extensions; do
47270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47271 ac_cv_prog_ac_ct_STRIP
="strip"
47272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47278 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47281 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47282 if test -n "$ac_ct_STRIP"; then
47283 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47284 echo "${ECHO_T}$ac_ct_STRIP" >&6
47286 echo "$as_me:$LINENO: result: no" >&5
47287 echo "${ECHO_T}no" >&6
47292 STRIP
="$ac_cv_prog_STRIP"
47295 if test -n "$ac_tool_prefix"; then
47296 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47297 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47298 echo "$as_me:$LINENO: checking for $ac_word" >&5
47299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47300 if test "${ac_cv_prog_NM+set}" = set; then
47301 echo $ECHO_N "(cached) $ECHO_C" >&6
47303 if test -n "$NM"; then
47304 ac_cv_prog_NM
="$NM" # Let the user override the test.
47306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47307 for as_dir
in $PATH
47310 test -z "$as_dir" && as_dir
=.
47311 for ac_exec_ext
in '' $ac_executable_extensions; do
47312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47313 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47323 if test -n "$NM"; then
47324 echo "$as_me:$LINENO: result: $NM" >&5
47325 echo "${ECHO_T}$NM" >&6
47327 echo "$as_me:$LINENO: result: no" >&5
47328 echo "${ECHO_T}no" >&6
47332 if test -z "$ac_cv_prog_NM"; then
47334 # Extract the first word of "nm", so it can be a program name with args.
47335 set dummy nm
; ac_word
=$2
47336 echo "$as_me:$LINENO: checking for $ac_word" >&5
47337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47338 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47341 if test -n "$ac_ct_NM"; then
47342 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47345 for as_dir
in $PATH
47348 test -z "$as_dir" && as_dir
=.
47349 for ac_exec_ext
in '' $ac_executable_extensions; do
47350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47351 ac_cv_prog_ac_ct_NM
="nm"
47352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47358 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47361 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47362 if test -n "$ac_ct_NM"; then
47363 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47364 echo "${ECHO_T}$ac_ct_NM" >&6
47366 echo "$as_me:$LINENO: result: no" >&5
47367 echo "${ECHO_T}no" >&6
47372 NM
="$ac_cv_prog_NM"
47376 case ${BAKEFILE_HOST} in
47378 INSTALL_DIR
="mkdir -p"
47380 *) INSTALL_DIR
="$INSTALL -d"
47386 case ${BAKEFILE_HOST} in
47387 *-*-cygwin* | *-*-mingw32* )
47388 LDFLAGS_GUI
="-mwindows"
47394 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47395 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47396 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47397 echo $ECHO_N "(cached) $ECHO_C" >&6
47400 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47401 egrep -s GNU
> /dev
/null
); then
47402 bakefile_cv_prog_makeisgnu
="yes"
47404 bakefile_cv_prog_makeisgnu
="no"
47408 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47409 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47411 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47428 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47429 case "${BAKEFILE_HOST}" in
47436 *-pc-os2_emx | *-pc-os2-emx )
47446 powerpc
-apple-macos* )
47455 case "$BAKEFILE_FORCE_PLATFORM" in
47476 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47477 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47478 { (exit 1); exit 1; }; }
47493 # Check whether --enable-omf or --disable-omf was given.
47494 if test "${enable_omf+set}" = set; then
47495 enableval
="$enable_omf"
47496 bk_os2_use_omf
="$enableval"
47499 case "${BAKEFILE_HOST}" in
47501 if test "x$GCC" = "xyes"; then
47502 CFLAGS
="$CFLAGS -fno-common"
47503 CXXFLAGS
="$CXXFLAGS -fno-common"
47505 if test "x$XLCC" = "xyes"; then
47506 CFLAGS
="$CFLAGS -qnocommon"
47507 CXXFLAGS
="$CXXFLAGS -qnocommon"
47511 *-pc-os2_emx | *-pc-os2-emx )
47512 if test "x$bk_os2_use_omf" = "xyes" ; then
47515 LDFLAGS
="-Zomf $LDFLAGS"
47516 CFLAGS
="-Zomf $CFLAGS"
47517 CXXFLAGS
="-Zomf $CXXFLAGS"
47525 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47531 SO_SUFFIX_MODULE
="so"
47536 DLLPREFIX_MODULE
=""
47540 case "${BAKEFILE_HOST}" in
47543 SO_SUFFIX_MODULE
="sl"
47547 SO_SUFFIX_MODULE
="a"
47551 SO_SUFFIX_MODULE
="dll"
47552 DLLIMP_SUFFIX
="dll.a"
47559 SO_SUFFIX_MODULE
="dll"
47560 DLLIMP_SUFFIX
="dll.a"
47570 *-pc-os2_emx | *-pc-os2-emx )
47572 SO_SUFFIX_MODULE
="dll"
47573 DLLIMP_SUFFIX
=$OS2_LIBEXT
47577 LIBEXT
=".$OS2_LIBEXT"
47582 SO_SUFFIX_MODULE
="bundle"
47586 if test "x$DLLIMP_SUFFIX" = "x" ; then
47587 DLLIMP_SUFFIX
="$SO_SUFFIX"
47602 if test "x$GCC" = "xyes"; then
47606 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47607 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47610 case "${BAKEFILE_HOST}" in
47612 if test "x$GCC" != "xyes"; then
47613 LDFLAGS
="$LDFLAGS -L/usr/lib"
47615 SHARED_LD_CC
="${CC} -b -o"
47616 SHARED_LD_CXX
="${CXX} -b -o"
47622 if test "x$GCC" != "xyes"; then
47623 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47624 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47625 if test "${bakefile_cv_prog_icc+set}" = set; then
47626 echo $ECHO_N "(cached) $ECHO_C" >&6
47629 cat >conftest.
$ac_ext <<_ACEOF
47632 cat confdefs.h
>>conftest.
$ac_ext
47633 cat >>conftest.
$ac_ext <<_ACEOF
47634 /* end confdefs.h. */
47640 #ifndef __INTEL_COMPILER
47648 rm -f conftest.
$ac_objext
47649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47650 (eval $ac_compile) 2>conftest.er1
47652 grep -v '^ *+' conftest.er1
>conftest.err
47654 cat conftest.err
>&5
47655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47656 (exit $ac_status); } &&
47657 { ac_try
='test -z "$ac_c_werror_flag"
47658 || test ! -s conftest.err'
47659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47660 (eval $ac_try) 2>&5
47662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47663 (exit $ac_status); }; } &&
47664 { ac_try
='test -s conftest.$ac_objext'
47665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47666 (eval $ac_try) 2>&5
47668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47669 (exit $ac_status); }; }; then
47670 bakefile_cv_prog_icc
=yes
47672 echo "$as_me: failed program was:" >&5
47673 sed 's/^/| /' conftest.
$ac_ext >&5
47675 bakefile_cv_prog_icc
=no
47678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47681 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47682 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47683 if test "$bakefile_cv_prog_icc" = "yes"; then
47690 if test "x$GCC" != xyes
; then
47691 SHARED_LD_CC
="${CC} -G -o"
47692 SHARED_LD_CXX
="${CXX} -G -o"
47700 cat <<EOF >shared-ld-sh
47702 #-----------------------------------------------------------------------------
47703 #-- Name: distrib/mac/shared-ld-sh
47704 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47705 #-- Author: Gilles Depeyrot
47706 #-- Copyright: (c) 2002 Gilles Depeyrot
47707 #-- Licence: any use permitted
47708 #-----------------------------------------------------------------------------
47713 linking_flag="-dynamiclib"
47714 ldargs="-r -keep_private_externs -nostdlib"
47716 while test ${D}# -gt 0; do
47723 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47724 # collect these options and values
47725 args="${D}{args} ${D}1 ${D}2"
47730 # collect these load args
47731 ldargs="${D}{ldargs} ${D}1"
47734 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47735 # collect these options
47736 args="${D}{args} ${D}1"
47739 -dynamiclib|-bundle)
47740 linking_flag="${D}1"
47744 echo "shared-ld: unhandled option '${D}1'"
47748 *.o | *.a | *.dylib)
47749 # collect object files
47750 objects="${D}{objects} ${D}1"
47754 echo "shared-ld: unhandled argument '${D}1'"
47765 # Link one module containing all the others
47767 if test ${D}{verbose} = 1; then
47768 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47770 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47774 # Link the shared library from the single module created, but only if the
47775 # previous command didn't fail:
47777 if test ${D}{status} = 0; then
47778 if test ${D}{verbose} = 1; then
47779 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47781 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47786 # Remove intermediate module
47788 rm -f master.${D}${D}.o
47793 chmod +x shared
-ld-sh
47795 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47796 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47799 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47800 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47801 if test "${bakefile_cv_gcc31+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47805 cat >conftest.
$ac_ext <<_ACEOF
47808 cat confdefs.h
>>conftest.
$ac_ext
47809 cat >>conftest.
$ac_ext <<_ACEOF
47810 /* end confdefs.h. */
47816 #if (__GNUC__ < 3) || \
47817 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47825 rm -f conftest.
$ac_objext
47826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47827 (eval $ac_compile) 2>conftest.er1
47829 grep -v '^ *+' conftest.er1
>conftest.err
47831 cat conftest.err
>&5
47832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833 (exit $ac_status); } &&
47834 { ac_try
='test -z "$ac_c_werror_flag"
47835 || test ! -s conftest.err'
47836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47837 (eval $ac_try) 2>&5
47839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47840 (exit $ac_status); }; } &&
47841 { ac_try
='test -s conftest.$ac_objext'
47842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47843 (eval $ac_try) 2>&5
47845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47846 (exit $ac_status); }; }; then
47848 bakefile_cv_gcc31
=yes
47851 echo "$as_me: failed program was:" >&5
47852 sed 's/^/| /' conftest.
$ac_ext >&5
47855 bakefile_cv_gcc31
=no
47859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47862 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47863 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47864 if test "$bakefile_cv_gcc31" = "no"; then
47865 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47866 SHARED_LD_CXX
="$SHARED_LD_CC"
47868 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47869 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47872 if test "x$GCC" == "xyes"; then
47873 PIC_FLAG
="-dynamic -fPIC"
47875 if test "x$XLCC" = "xyes"; then
47876 PIC_FLAG
="-dynamic -DPIC"
47881 if test "x$GCC" = "xyes"; then
47884 case "${BAKEFILE_HOST}" in
47886 LD_EXPFULL
="-Wl,-bexpfull"
47890 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47891 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47893 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47894 set dummy makeC
++SharedLib
; ac_word
=$2
47895 echo "$as_me:$LINENO: checking for $ac_word" >&5
47896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47897 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47898 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 if test -n "$AIX_CXX_LD"; then
47901 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47904 for as_dir
in $PATH
47907 test -z "$as_dir" && as_dir
=.
47908 for ac_exec_ext
in '' $ac_executable_extensions; do
47909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47910 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47917 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47920 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47921 if test -n "$AIX_CXX_LD"; then
47922 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47923 echo "${ECHO_T}$AIX_CXX_LD" >&6
47925 echo "$as_me:$LINENO: result: no" >&5
47926 echo "${ECHO_T}no" >&6
47929 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47930 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47935 SHARED_LD_CC
="${LD} -nostart -o"
47936 SHARED_LD_CXX
="${LD} -nostart -o"
47940 if test "x$GCC" != "xyes"; then
47945 *-*-cygwin* | *-*-mingw32* )
47947 SHARED_LD_CC
="\$(CC) -shared -o"
47948 SHARED_LD_CXX
="\$(CXX) -shared -o"
47952 *-pc-os2_emx | *-pc-os2-emx )
47953 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47954 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47958 cat <<EOF >dllar.sh
47961 # dllar - a tool to build both a .dll and an .a file
47962 # from a set of object (.o) files for EMX/OS2.
47964 # Written by Andrew Zabolotny, bit@freya.etu.ru
47965 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47967 # This script will accept a set of files on the command line.
47968 # All the public symbols from the .o files will be exported into
47969 # a .DEF file, then linker will be run (through gcc) against them to
47970 # build a shared library consisting of all given .o files. All libraries
47971 # (.a) will be first decompressed into component .o files then act as
47972 # described above. You can optionally give a description (-d "description")
47973 # which will be put into .DLL. To see the list of accepted options (as well
47974 # as command-line format) simply run this program without options. The .DLL
47975 # is built to be imported by name (there is no guarantee that new versions
47976 # of the library you build will have same ordinals for same symbols).
47978 # dllar is free software; you can redistribute it and/or modify
47979 # it under the terms of the GNU General Public License as published by
47980 # the Free Software Foundation; either version 2, or (at your option)
47981 # any later version.
47983 # dllar is distributed in the hope that it will be useful,
47984 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47985 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47986 # GNU General Public License for more details.
47988 # You should have received a copy of the GNU General Public License
47989 # along with dllar; see the file COPYING. If not, write to the Free
47990 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47993 # To successfuly run this program you will need:
47994 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47995 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47997 # (used to build the .dll)
47999 # (used to create .def file from .o files)
48001 # (used to create .a file from .def file)
48002 # - GNU text utilites (cat, sort, uniq)
48003 # used to process emxexp output
48004 # - GNU file utilities (mv, rm)
48006 # - lxlite (optional, see flag below)
48007 # (used for general .dll cleanup)
48014 # basnam, variant of basename, which does _not_ remove the path, _iff_
48015 # second argument (suffix to remove) is given
48019 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48022 echo ${D}1 | sed 's/'${D}2'${D}//'
48025 echo "error in basnam ${D}*"
48031 # Cleanup temporary files and output
48034 for i in ${D}inputFiles ; do
48037 rm -rf \`basnam ${D}i !\`
48044 # Kill result in case of failure as there is just to many stupid make/nmake
48045 # things out there which doesn't do this.
48046 if [ ${D}# -eq 0 ]; then
48047 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48051 # Print usage and exit script with rc=1.
48053 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48054 echo ' [-name-mangler-script script.sh]'
48055 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48056 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48057 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48058 echo ' [*.o] [*.a]'
48059 echo '*> "output_file" should have no extension.'
48060 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48061 echo ' The import library name is derived from this and is set to "name".a,'
48062 echo ' unless overridden by -import'
48063 echo '*> "importlib_name" should have no extension.'
48064 echo ' If it has the .o, or .a extension, it is automatically removed.'
48065 echo ' This name is used as the import library name and may be longer and'
48066 echo ' more descriptive than the DLL name which has to follow the old '
48067 echo ' 8.3 convention of FAT.'
48068 echo '*> "script.sh may be given to override the output_file name by a'
48069 echo ' different name. It is mainly useful if the regular make process'
48070 echo ' of some package does not take into account OS/2 restriction of'
48071 echo ' DLL name lengths. It takes the importlib name as input and is'
48072 echo ' supposed to procude a shorter name as output. The script should'
48073 echo ' expect to get importlib_name without extension and should produce'
48074 echo ' a (max.) 8 letter name without extension.'
48075 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48076 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48077 echo ' These flags will be put at the start of GCC command line.'
48078 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48079 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48080 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48081 echo ' If the last character of a symbol is "*", all symbols beginning'
48082 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48083 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48084 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48085 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48086 echo ' C runtime DLLs.'
48087 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48088 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48089 echo ' unchanged to GCC at the end of command line.'
48090 echo '*> If you create a DLL from a library and you do not specify -o,'
48091 echo ' the basename for DLL and import library will be set to library name,'
48092 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48093 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48094 echo ' library will be renamed into gcc_s.a.'
48097 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48098 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48103 # Execute a command.
48104 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48105 # @Uses Whatever CleanUp() uses.
48111 if [ ${D}rcCmd -ne 0 ]; then
48112 echo "command failed, exit code="${D}rcCmd
48127 CFLAGS="-s -Zcrtdll"
48129 EXPORT_BY_ORDINALS=0
48134 case ${D}curDirS in
48138 curDirS=${D}{curDirS}"/"
48141 # Parse commandline
48144 while [ ${D}1 ]; do
48147 EXPORT_BY_ORDINALS=1;
48157 -name-mangler-script)
48178 exclude_symbols=${D}{exclude_symbols}${D}1" "
48182 library_flags=${D}{library_flags}${D}1" "
48201 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48204 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48205 if [ ${D}omfLinking -eq 1 ]; then
48206 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48208 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48213 if [ ${D}libsToLink -ne 0 ]; then
48214 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48216 for file in ${D}1 ; do
48217 if [ -f ${D}file ]; then
48218 inputFiles="${D}{inputFiles} ${D}file"
48222 if [ ${D}found -eq 0 ]; then
48223 echo "ERROR: No file(s) found: "${D}1
48230 done # iterate cmdline words
48233 if [ -z "${D}inputFiles" ]; then
48234 echo "dllar: no input files"
48238 # Now extract all .o files from .a files
48240 for file in ${D}inputFiles ; do
48251 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48256 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48258 if [ ${D}? -ne 0 ]; then
48259 echo "Failed to create subdirectory ./${D}dirname"
48263 # Append '!' to indicate archive
48264 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48265 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48268 for subfile in ${D}dirname/*.o* ; do
48269 if [ -f ${D}subfile ]; then
48271 if [ -s ${D}subfile ]; then
48272 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48273 newInputFiles="${D}newInputFiles ${D}subfile"
48277 if [ ${D}found -eq 0 ]; then
48278 echo "WARNING: there are no files in archive \\'${D}file\\'"
48282 newInputFiles="${D}{newInputFiles} ${D}file"
48286 inputFiles="${D}newInputFiles"
48288 # Output filename(s).
48290 if [ -z ${D}outFile ]; then
48292 set outFile ${D}inputFiles; outFile=${D}2
48295 # If it is an archive, remove the '!' and the '_%' suffixes
48296 case ${D}outFile in
48298 outFile=\`basnam ${D}outFile _%!\`
48303 case ${D}outFile in
48305 outFile=\`basnam ${D}outFile .dll\`
48308 outFile=\`basnam ${D}outFile .DLL\`
48311 outFile=\`basnam ${D}outFile .o\`
48314 outFile=\`basnam ${D}outFile .obj\`
48317 outFile=\`basnam ${D}outFile .a\`
48320 outFile=\`basnam ${D}outFile .lib\`
48325 case ${D}outimpFile in
48327 outimpFile=\`basnam ${D}outimpFile .a\`
48330 outimpFile=\`basnam ${D}outimpFile .lib\`
48335 if [ -z ${D}outimpFile ]; then
48336 outimpFile=${D}outFile
48338 defFile="${D}{outFile}.def"
48339 arcFile="${D}{outimpFile}.a"
48340 arcFile2="${D}{outimpFile}.lib"
48342 #create ${D}dllFile as something matching 8.3 restrictions,
48343 if [ -z ${D}renameScript ] ; then
48344 dllFile="${D}outFile"
48346 dllFile=\`${D}renameScript ${D}outimpFile\`
48349 if [ ${D}do_backup -ne 0 ] ; then
48350 if [ -f ${D}arcFile ] ; then
48351 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48353 if [ -f ${D}arcFile2 ] ; then
48354 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48358 # Extract public symbols from all the object files.
48359 tmpdefFile=${D}{defFile}_%
48360 rm -f ${D}tmpdefFile
48361 for file in ${D}inputFiles ; do
48366 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48371 # Create the def file.
48373 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48374 dllFile="${D}{dllFile}.dll"
48375 if [ ! -z ${D}description ]; then
48376 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48378 echo "EXPORTS" >> ${D}defFile
48380 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48381 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48383 # Checks if the export is ok or not.
48384 for word in ${D}exclude_symbols; do
48385 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48386 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48390 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48391 sed "=" < ${D}tmpdefFile | \\
48395 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48397 ' > ${D}{tmpdefFile}%
48398 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48400 rm -f ${D}{tmpdefFile}%
48402 cat ${D}tmpdefFile >> ${D}defFile
48403 rm -f ${D}tmpdefFile
48405 # Do linking, create implib, and apply lxlite.
48407 for file in ${D}inputFiles ; do
48412 gccCmdl="${D}gccCmdl ${D}file"
48416 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48417 touch "${D}{outFile}.dll"
48419 doCommand "emximp -o ${D}arcFile ${D}defFile"
48420 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48422 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48425 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48427 doCommand "emxomf -s -l ${D}arcFile"
48437 powerpc
-apple-macos* | \
48438 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48449 if test "x$PIC_FLAG" != "x" ; then
48450 PIC_FLAG
="$PIC_FLAG -DPIC"
48453 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48454 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48456 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48457 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48476 case "${BAKEFILE_HOST}" in
48477 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48478 SONAME_FLAG
="-Wl,-soname,"
48512 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48513 if test "${enable_dependency_tracking+set}" = set; then
48514 enableval
="$enable_dependency_tracking"
48515 bk_use_trackdeps
="$enableval"
48518 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48519 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48521 if test "x$bk_use_trackdeps" = "xno" ; then
48523 echo "$as_me:$LINENO: result: disabled" >&5
48524 echo "${ECHO_T}disabled" >&6
48528 if test "x$GCC" = "xyes"; then
48530 case "${BAKEFILE_HOST}" in
48532 DEPSFLAG
="-no-cpp-precomp -MMD"
48538 echo "$as_me:$LINENO: result: gcc" >&5
48539 echo "${ECHO_T}gcc" >&6
48540 elif test "x$MWCC" = "xyes"; then
48543 echo "$as_me:$LINENO: result: mwcc" >&5
48544 echo "${ECHO_T}mwcc" >&6
48545 elif test "x$SUNCC" = "xyes"; then
48548 echo "$as_me:$LINENO: result: Sun cc" >&5
48549 echo "${ECHO_T}Sun cc" >&6
48550 elif test "x$SGICC" = "xyes"; then
48553 echo "$as_me:$LINENO: result: SGI cc" >&5
48554 echo "${ECHO_T}SGI cc" >&6
48555 elif test "x$HPCC" = "xyes"; then
48558 echo "$as_me:$LINENO: result: HP cc" >&5
48559 echo "${ECHO_T}HP cc" >&6
48560 elif test "x$COMPAQCC" = "xyes"; then
48563 echo "$as_me:$LINENO: result: Compaq cc" >&5
48564 echo "${ECHO_T}Compaq cc" >&6
48567 echo "$as_me:$LINENO: result: none" >&5
48568 echo "${ECHO_T}none" >&6
48571 if test $DEPS_TRACKING = 1 ; then
48577 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48578 # script. It is used to track C/C++ files dependencies in portable way.
48580 # Permission is given to use this file in any way.
48582 DEPSMODE=${DEPSMODE}
48584 DEPSFLAG="${DEPSFLAG}"
48586 mkdir -p ${D}DEPSDIR
48588 if test ${D}DEPSMODE = gcc ; then
48589 ${D}* ${D}{DEPSFLAG}
48591 if test ${D}{status} != 0 ; then
48594 # move created file to the location we want it in:
48595 while test ${D}# -gt 0; do
48609 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48610 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48611 if test -f ${D}depfile ; then
48612 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48615 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48616 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48617 if test ! -f ${D}depfile ; then
48618 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48619 depfile="${D}objfile.d"
48621 if test -f ${D}depfile ; then
48622 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48627 elif test ${D}DEPSMODE = mwcc ; then
48628 ${D}* || exit ${D}?
48629 # Run mwcc again with -MM and redirect into the dep file we want
48630 # NOTE: We can't use shift here because we need ${D}* to be valid
48632 for arg in ${D}* ; do
48633 if test "${D}prevarg" = "-o"; then
48646 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48648 elif test ${D}DEPSMODE = unixcc; then
48649 ${D}* || exit ${D}?
48650 # Run compiler again with deps flag and redirect into the dep file.
48651 # It doesn't work if the '-o FILE' option is used, but without it the
48652 # dependency file will contain the wrong name for the object. So it is
48653 # removed from the command line, and the dep file is fixed with sed.
48655 while test ${D}# -gt 0; do
48662 eval arg${D}#=\\${D}1
48663 cmd="${D}cmd \\${D}arg${D}#"
48668 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48683 case ${BAKEFILE_HOST} in
48684 *-*-cygwin* | *-*-mingw32* )
48685 if test -n "$ac_tool_prefix"; then
48686 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48687 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48688 echo "$as_me:$LINENO: checking for $ac_word" >&5
48689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48690 if test "${ac_cv_prog_WINDRES+set}" = set; then
48691 echo $ECHO_N "(cached) $ECHO_C" >&6
48693 if test -n "$WINDRES"; then
48694 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48697 for as_dir
in $PATH
48700 test -z "$as_dir" && as_dir
=.
48701 for ac_exec_ext
in '' $ac_executable_extensions; do
48702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48703 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48712 WINDRES
=$ac_cv_prog_WINDRES
48713 if test -n "$WINDRES"; then
48714 echo "$as_me:$LINENO: result: $WINDRES" >&5
48715 echo "${ECHO_T}$WINDRES" >&6
48717 echo "$as_me:$LINENO: result: no" >&5
48718 echo "${ECHO_T}no" >&6
48722 if test -z "$ac_cv_prog_WINDRES"; then
48723 ac_ct_WINDRES
=$WINDRES
48724 # Extract the first word of "windres", so it can be a program name with args.
48725 set dummy windres
; ac_word
=$2
48726 echo "$as_me:$LINENO: checking for $ac_word" >&5
48727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48728 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48729 echo $ECHO_N "(cached) $ECHO_C" >&6
48731 if test -n "$ac_ct_WINDRES"; then
48732 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48735 for as_dir
in $PATH
48738 test -z "$as_dir" && as_dir
=.
48739 for ac_exec_ext
in '' $ac_executable_extensions; do
48740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48741 ac_cv_prog_ac_ct_WINDRES
="windres"
48742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48750 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48751 if test -n "$ac_ct_WINDRES"; then
48752 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48753 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48755 echo "$as_me:$LINENO: result: no" >&5
48756 echo "${ECHO_T}no" >&6
48759 WINDRES
=$ac_ct_WINDRES
48761 WINDRES
="$ac_cv_prog_WINDRES"
48766 *-*-darwin* | powerpc
-apple-macos* )
48767 # Extract the first word of "Rez", so it can be a program name with args.
48768 set dummy Rez
; ac_word
=$2
48769 echo "$as_me:$LINENO: checking for $ac_word" >&5
48770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48771 if test "${ac_cv_prog_REZ+set}" = set; then
48772 echo $ECHO_N "(cached) $ECHO_C" >&6
48774 if test -n "$REZ"; then
48775 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48778 for as_dir
in $PATH
48781 test -z "$as_dir" && as_dir
=.
48782 for ac_exec_ext
in '' $ac_executable_extensions; do
48783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48784 ac_cv_prog_REZ
="Rez"
48785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48791 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48794 REZ
=$ac_cv_prog_REZ
48795 if test -n "$REZ"; then
48796 echo "$as_me:$LINENO: result: $REZ" >&5
48797 echo "${ECHO_T}$REZ" >&6
48799 echo "$as_me:$LINENO: result: no" >&5
48800 echo "${ECHO_T}no" >&6
48803 # Extract the first word of "SetFile", so it can be a program name with args.
48804 set dummy SetFile
; ac_word
=$2
48805 echo "$as_me:$LINENO: checking for $ac_word" >&5
48806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48807 if test "${ac_cv_prog_SETFILE+set}" = set; then
48808 echo $ECHO_N "(cached) $ECHO_C" >&6
48810 if test -n "$SETFILE"; then
48811 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48814 for as_dir
in $PATH
48817 test -z "$as_dir" && as_dir
=.
48818 for ac_exec_ext
in '' $ac_executable_extensions; do
48819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48820 ac_cv_prog_SETFILE
="SetFile"
48821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48827 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48830 SETFILE
=$ac_cv_prog_SETFILE
48831 if test -n "$SETFILE"; then
48832 echo "$as_me:$LINENO: result: $SETFILE" >&5
48833 echo "${ECHO_T}$SETFILE" >&6
48835 echo "$as_me:$LINENO: result: no" >&5
48836 echo "${ECHO_T}no" >&6
48847 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48850 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48854 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48855 if test "${enable_precomp_headers+set}" = set; then
48856 enableval
="$enable_precomp_headers"
48857 bk_use_pch
="$enableval"
48864 case ${BAKEFILE_HOST} in
48870 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48871 if test "x$GCC" = "xyes"; then
48872 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48873 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48874 cat >conftest.
$ac_ext <<_ACEOF
48877 cat confdefs.h
>>conftest.
$ac_ext
48878 cat >>conftest.
$ac_ext <<_ACEOF
48879 /* end confdefs.h. */
48885 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48886 There is no PCH support
48889 There is no PCH support
48891 #if (__GNUC__ == 3) && \
48892 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48893 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48894 ( defined(__INTEL_COMPILER) )
48895 There is no PCH support
48902 rm -f conftest.
$ac_objext
48903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48904 (eval $ac_compile) 2>conftest.er1
48906 grep -v '^ *+' conftest.er1
>conftest.err
48908 cat conftest.err
>&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); } &&
48911 { ac_try
='test -z "$ac_c_werror_flag"
48912 || test ! -s conftest.err'
48913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48914 (eval $ac_try) 2>&5
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; } &&
48918 { ac_try
='test -s conftest.$ac_objext'
48919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48920 (eval $ac_try) 2>&5
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; }; then
48925 echo "$as_me:$LINENO: result: yes" >&5
48926 echo "${ECHO_T}yes" >&6
48930 echo "$as_me: failed program was:" >&5
48931 sed 's/^/| /' conftest.
$ac_ext >&5
48934 cat >conftest.
$ac_ext <<_ACEOF
48937 cat confdefs.h
>>conftest.
$ac_ext
48938 cat >>conftest.
$ac_ext <<_ACEOF
48939 /* end confdefs.h. */
48945 #if !defined(__INTEL_COMPILER) || \
48946 (__INTEL_COMPILER < 800)
48947 There is no PCH support
48954 rm -f conftest.
$ac_objext
48955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48956 (eval $ac_compile) 2>conftest.er1
48958 grep -v '^ *+' conftest.er1
>conftest.err
48960 cat conftest.err
>&5
48961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48962 (exit $ac_status); } &&
48963 { ac_try
='test -z "$ac_c_werror_flag"
48964 || test ! -s conftest.err'
48965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48966 (eval $ac_try) 2>&5
48968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969 (exit $ac_status); }; } &&
48970 { ac_try
='test -s conftest.$ac_objext'
48971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48972 (eval $ac_try) 2>&5
48974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48975 (exit $ac_status); }; }; then
48977 echo "$as_me:$LINENO: result: yes" >&5
48978 echo "${ECHO_T}yes" >&6
48982 echo "$as_me: failed program was:" >&5
48983 sed 's/^/| /' conftest.
$ac_ext >&5
48986 echo "$as_me:$LINENO: result: no" >&5
48987 echo "${ECHO_T}no" >&6
48990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48994 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48998 cat <<EOF >bk-make-pch
49001 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49002 # script. It is used to generated precompiled headers.
49004 # Permission is given to use this file in any way.
49014 while test ${D}{#} -gt 0; do
49018 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49019 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49020 headerfile="${D}{incdir}/${D}{header}"
49023 -use-pch|-use_pch )
49028 if test ${D}add_to_cmdline = 1 ; then
49029 compiler="${D}{compiler} ${D}{1}"
49034 if test "x${D}{headerfile}" = "x" ; then
49035 echo "error: can't find header ${D}{header} in include paths" >&2
49037 if test -f ${D}{outfile} ; then
49038 rm -f ${D}{outfile}
49040 mkdir -p \`dirname ${D}{outfile}\`
49042 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49044 if test "x${GCC_PCH}" = "x1" ; then
49045 # can do this because gcc is >= 3.4:
49046 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49047 elif test "x${ICC_PCH}" = "x1" ; then
49048 filename=pch_gen-${D}${D}
49049 file=${D}{filename}.c
49050 dfile=${D}{filename}.d
49051 cat > ${D}file <<EOT
49052 #include "${D}header"
49054 # using -MF icc complains about differing command lines in creation/use
49055 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49056 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49057 rm -f ${D}file ${D}dfile ${D}{filename}.o
49063 chmod +x bk
-make-pch
49071 COND_BUILD_DEBUG
="#"
49072 if test "x$BUILD" = "xdebug" ; then
49073 COND_BUILD_DEBUG
=""
49076 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49077 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49078 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49081 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49082 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49083 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49086 COND_BUILD_DEBUG_UNICODE_0
="#"
49087 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49088 COND_BUILD_DEBUG_UNICODE_0
=""
49091 COND_BUILD_DEBUG_UNICODE_1
="#"
49092 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49093 COND_BUILD_DEBUG_UNICODE_1
=""
49096 COND_BUILD_RELEASE
="#"
49097 if test "x$BUILD" = "xrelease" ; then
49098 COND_BUILD_RELEASE
=""
49101 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49102 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49106 COND_BUILD_RELEASE_UNICODE_0
="#"
49107 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49108 COND_BUILD_RELEASE_UNICODE_0
=""
49111 COND_BUILD_RELEASE_UNICODE_1
="#"
49112 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49113 COND_BUILD_RELEASE_UNICODE_1
=""
49116 COND_DEBUG_FLAG_1
="#"
49117 if test "x$DEBUG_FLAG" = "x1" ; then
49118 COND_DEBUG_FLAG_1
=""
49121 COND_DEBUG_INFO_0
="#"
49122 if test "x$DEBUG_INFO" = "x0" ; then
49123 COND_DEBUG_INFO_0
=""
49126 COND_DEBUG_INFO_1
="#"
49127 if test "x$DEBUG_INFO" = "x1" ; then
49128 COND_DEBUG_INFO_1
=""
49131 COND_DEPS_TRACKING_0
="#"
49132 if test "x$DEPS_TRACKING" = "x0" ; then
49133 COND_DEPS_TRACKING_0
=""
49136 COND_DEPS_TRACKING_1
="#"
49137 if test "x$DEPS_TRACKING" = "x1" ; then
49138 COND_DEPS_TRACKING_1
=""
49142 if test "x$GCC_PCH" = "x1" ; then
49147 if test "x$ICC_PCH" = "x1" ; then
49151 COND_MONOLITHIC_0
="#"
49152 if test "x$MONOLITHIC" = "x0" ; then
49153 COND_MONOLITHIC_0
=""
49156 COND_MONOLITHIC_0_SHARED_0
="#"
49157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49158 COND_MONOLITHIC_0_SHARED_0
=""
49161 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49163 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49166 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49168 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49171 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49173 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49176 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49178 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49181 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49183 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49188 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49191 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49193 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49196 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49198 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49201 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49203 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49206 COND_MONOLITHIC_0_SHARED_1
="#"
49207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49208 COND_MONOLITHIC_0_SHARED_1
=""
49211 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49213 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49218 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49221 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49223 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49226 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49228 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49231 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49233 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49236 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49238 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49241 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49243 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49246 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49248 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49251 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49253 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49256 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49257 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49258 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49261 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49262 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49263 COND_MONOLITHIC_0_USE_ODBC_1
=""
49266 COND_MONOLITHIC_1
="#"
49267 if test "x$MONOLITHIC" = "x1" ; then
49268 COND_MONOLITHIC_1
=""
49271 COND_MONOLITHIC_1_SHARED_0
="#"
49272 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49273 COND_MONOLITHIC_1_SHARED_0
=""
49276 COND_MONOLITHIC_1_SHARED_1
="#"
49277 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49278 COND_MONOLITHIC_1_SHARED_1
=""
49281 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49282 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49283 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49286 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49287 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49288 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49291 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49292 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49293 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49296 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49297 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49298 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49301 COND_PLATFORM_MACOSX_1
="#"
49302 if test "x$PLATFORM_MACOSX" = "x1" ; then
49303 COND_PLATFORM_MACOSX_1
=""
49306 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49307 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49308 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49311 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49312 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49313 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49316 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49317 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49318 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49321 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49323 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49326 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49327 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49328 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49331 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49333 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49336 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49338 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49341 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49343 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49346 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49348 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49351 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49352 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49353 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49356 COND_PLATFORM_MACOS_1
="#"
49357 if test "x$PLATFORM_MACOS" = "x1" ; then
49358 COND_PLATFORM_MACOS_1
=""
49361 COND_PLATFORM_MAC_1
="#"
49362 if test "x$PLATFORM_MAC" = "x1" ; then
49363 COND_PLATFORM_MAC_1
=""
49366 COND_PLATFORM_MSDOS_0
="#"
49367 if test "x$PLATFORM_MSDOS" = "x0" ; then
49368 COND_PLATFORM_MSDOS_0
=""
49371 COND_PLATFORM_MSDOS_1
="#"
49372 if test "x$PLATFORM_MSDOS" = "x1" ; then
49373 COND_PLATFORM_MSDOS_1
=""
49376 COND_PLATFORM_OS2_1
="#"
49377 if test "x$PLATFORM_OS2" = "x1" ; then
49378 COND_PLATFORM_OS2_1
=""
49381 COND_PLATFORM_UNIX_0
="#"
49382 if test "x$PLATFORM_UNIX" = "x0" ; then
49383 COND_PLATFORM_UNIX_0
=""
49386 COND_PLATFORM_UNIX_1
="#"
49387 if test "x$PLATFORM_UNIX" = "x1" ; then
49388 COND_PLATFORM_UNIX_1
=""
49391 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49392 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49393 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49396 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49397 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49398 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49401 COND_PLATFORM_WIN32_0
="#"
49402 if test "x$PLATFORM_WIN32" = "x0" ; then
49403 COND_PLATFORM_WIN32_0
=""
49406 COND_PLATFORM_WIN32_1
="#"
49407 if test "x$PLATFORM_WIN32" = "x1" ; then
49408 COND_PLATFORM_WIN32_1
=""
49412 if test "x$SHARED" = "x0" ; then
49416 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49417 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49418 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49421 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49422 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49423 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49426 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49427 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49428 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49431 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49432 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49433 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49436 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49437 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49438 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49441 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49442 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49443 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49446 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49447 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49448 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49451 COND_SHARED_0_USE_XRC_1
="#"
49452 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49453 COND_SHARED_0_USE_XRC_1
=""
49456 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49457 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49458 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49461 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49462 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49463 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49466 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49467 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49468 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49471 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49472 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49473 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49477 if test "x$SHARED" = "x1" ; then
49481 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49482 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49483 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49486 COND_SHARED_1_USE_XRC_1
="#"
49487 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49488 COND_SHARED_1_USE_XRC_1
=""
49492 if test "x$TOOLKIT" = "x" ; then
49496 COND_TOOLKIT_COCOA
="#"
49497 if test "x$TOOLKIT" = "xCOCOA" ; then
49498 COND_TOOLKIT_COCOA
=""
49501 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49502 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49503 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49506 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49507 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49508 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49511 COND_TOOLKIT_DFB
="#"
49512 if test "x$TOOLKIT" = "xDFB" ; then
49513 COND_TOOLKIT_DFB
=""
49516 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49517 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49518 COND_TOOLKIT_DFB_USE_GUI_1
=""
49521 COND_TOOLKIT_GTK
="#"
49522 if test "x$TOOLKIT" = "xGTK" ; then
49523 COND_TOOLKIT_GTK
=""
49526 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49527 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49531 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49532 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49533 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49536 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49537 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49538 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49541 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49542 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49543 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49546 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49547 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49548 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49551 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49552 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49553 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49556 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49557 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49558 COND_TOOLKIT_GTK_USE_GUI_1
=""
49561 COND_TOOLKIT_MAC
="#"
49562 if test "x$TOOLKIT" = "xMAC" ; then
49563 COND_TOOLKIT_MAC
=""
49566 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49567 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49568 COND_TOOLKIT_MAC_USE_GUI_1
=""
49571 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49572 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49573 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49576 COND_TOOLKIT_MGL
="#"
49577 if test "x$TOOLKIT" = "xMGL" ; then
49578 COND_TOOLKIT_MGL
=""
49581 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49582 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49583 COND_TOOLKIT_MGL_USE_GUI_1
=""
49586 COND_TOOLKIT_MOTIF
="#"
49587 if test "x$TOOLKIT" = "xMOTIF" ; then
49588 COND_TOOLKIT_MOTIF
=""
49591 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49592 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49593 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49596 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49597 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49598 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49601 COND_TOOLKIT_MSW
="#"
49602 if test "x$TOOLKIT" = "xMSW" ; then
49603 COND_TOOLKIT_MSW
=""
49606 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49607 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49608 COND_TOOLKIT_MSW_USE_GUI_1
=""
49611 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49612 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49613 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49616 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49617 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49618 COND_TOOLKIT_MSW_WXUNIV_0
=""
49621 COND_TOOLKIT_PM
="#"
49622 if test "x$TOOLKIT" = "xPM" ; then
49626 COND_TOOLKIT_PM_USE_GUI_1
="#"
49627 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49628 COND_TOOLKIT_PM_USE_GUI_1
=""
49631 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49632 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49633 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49636 COND_TOOLKIT_WINCE
="#"
49637 if test "x$TOOLKIT" = "xWINCE" ; then
49638 COND_TOOLKIT_WINCE
=""
49641 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49642 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49643 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49646 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49647 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49648 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49651 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49652 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49653 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49656 COND_TOOLKIT_X11
="#"
49657 if test "x$TOOLKIT" = "xX11" ; then
49658 COND_TOOLKIT_X11
=""
49661 COND_TOOLKIT_X11_USE_GUI_1
="#"
49662 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49663 COND_TOOLKIT_X11_USE_GUI_1
=""
49667 if test "x$UNICODE" = "x1" ; then
49671 COND_USE_EXCEPTIONS_0
="#"
49672 if test "x$USE_EXCEPTIONS" = "x0" ; then
49673 COND_USE_EXCEPTIONS_0
=""
49676 COND_USE_EXCEPTIONS_1
="#"
49677 if test "x$USE_EXCEPTIONS" = "x1" ; then
49678 COND_USE_EXCEPTIONS_1
=""
49682 if test "x$USE_GUI" = "x0" ; then
49687 if test "x$USE_GUI" = "x1" ; then
49691 COND_USE_GUI_1_WXUNIV_0
="#"
49692 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49693 COND_USE_GUI_1_WXUNIV_0
=""
49696 COND_USE_GUI_1_WXUNIV_1
="#"
49697 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49698 COND_USE_GUI_1_WXUNIV_1
=""
49701 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49702 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49703 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49706 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49707 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49708 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49711 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49712 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49713 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49716 COND_USE_ODBC_1
="#"
49717 if test "x$USE_ODBC" = "x1" ; then
49721 COND_USE_OPENGL_1
="#"
49722 if test "x$USE_OPENGL" = "x1" ; then
49723 COND_USE_OPENGL_1
=""
49727 if test "x$USE_PCH" = "x1" ; then
49731 COND_USE_PLUGINS_0
="#"
49732 if test "x$USE_PLUGINS" = "x0" ; then
49733 COND_USE_PLUGINS_0
=""
49736 COND_USE_RTTI_0
="#"
49737 if test "x$USE_RTTI" = "x0" ; then
49741 COND_USE_RTTI_1
="#"
49742 if test "x$USE_RTTI" = "x1" ; then
49746 COND_USE_SOSYMLINKS_1
="#"
49747 if test "x$USE_SOSYMLINKS" = "x1" ; then
49748 COND_USE_SOSYMLINKS_1
=""
49751 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49752 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49753 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49756 COND_USE_SOVERLINUX_1
="#"
49757 if test "x$USE_SOVERLINUX" = "x1" ; then
49758 COND_USE_SOVERLINUX_1
=""
49761 COND_USE_SOVERSION_0
="#"
49762 if test "x$USE_SOVERSION" = "x0" ; then
49763 COND_USE_SOVERSION_0
=""
49766 COND_USE_SOVERSOLARIS_1
="#"
49767 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49768 COND_USE_SOVERSOLARIS_1
=""
49771 COND_USE_THREADS_0
="#"
49772 if test "x$USE_THREADS" = "x0" ; then
49773 COND_USE_THREADS_0
=""
49776 COND_USE_THREADS_1
="#"
49777 if test "x$USE_THREADS" = "x1" ; then
49778 COND_USE_THREADS_1
=""
49782 if test "x$USE_XRC" = "x1" ; then
49786 COND_WINDOWS_IMPLIB_1
="#"
49787 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49788 COND_WINDOWS_IMPLIB_1
=""
49791 COND_WITH_PLUGIN_SDL_1
="#"
49792 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49793 COND_WITH_PLUGIN_SDL_1
=""
49797 if test "x$WXUNIV" = "x0" ; then
49802 if test "x$WXUNIV" = "x1" ; then
49806 COND_WXUSE_EXPAT_BUILTIN
="#"
49807 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49808 COND_WXUSE_EXPAT_BUILTIN
=""
49811 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49812 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49813 COND_WXUSE_LIBJPEG_BUILTIN
=""
49816 COND_WXUSE_LIBPNG_BUILTIN
="#"
49817 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49818 COND_WXUSE_LIBPNG_BUILTIN
=""
49821 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49822 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49823 COND_WXUSE_LIBTIFF_BUILTIN
=""
49826 COND_WXUSE_ODBC_BUILTIN
="#"
49827 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49828 COND_WXUSE_ODBC_BUILTIN
=""
49831 COND_WXUSE_REGEX_BUILTIN
="#"
49832 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49833 COND_WXUSE_REGEX_BUILTIN
=""
49836 COND_WXUSE_ZLIB_BUILTIN
="#"
49837 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49838 COND_WXUSE_ZLIB_BUILTIN
=""
49843 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49844 { { 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
49845 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;}
49846 { (exit 1); exit 1; }; }
49849 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49850 { { 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
49851 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;}
49852 { (exit 1); exit 1; }; }
49857 if test "$wxUSE_MAC" = 1 ; then
49858 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49859 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49865 if test "$wxUSE_SHARED" = "yes"; then
49867 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49868 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49871 *-pc-os2_emx | *-pc-os2-emx )
49872 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49873 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49874 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49875 cp -p ${srcdir}/src
/os
2/dllar.sh .
49880 EXE_LINKER
="$CXX -o"
49883 if test "$wxUSE_OMF" = "yes"; then
49885 *-pc-os2_emx | *-pc-os2-emx )
49886 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49887 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49888 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49893 if test $GCC_PCH = 1 ; then
49894 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49897 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49899 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49961 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49962 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49963 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49964 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49965 echo $ECHO_N "(cached) $ECHO_C" >&6
49967 cat >conftest.
make <<\_ACEOF
49969 @
echo 'ac_maketemp="$(MAKE)"'
49971 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49972 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49973 if test -n "$ac_maketemp"; then
49974 eval ac_cv_prog_make_
${ac_make}_set
=yes
49976 eval ac_cv_prog_make_
${ac_make}_set
=no
49978 rm -f conftest.
make
49980 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49981 echo "$as_me:$LINENO: result: yes" >&5
49982 echo "${ECHO_T}yes" >&6
49985 echo "$as_me:$LINENO: result: no" >&5
49986 echo "${ECHO_T}no" >&6
49987 SET_MAKE
="MAKE=${MAKE-make}"
49992 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49995 if test "$USE_WIN32" = 1; then
49996 ac_config_commands
="$ac_config_commands
50002 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50005 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50008 ac_config_files
="$ac_config_files version-script Makefile"
50011 ac_config_commands
="$ac_config_commands wx-config"
50015 if test "$wxWITH_SUBDIRS" != "no"; then
50016 if test "$wxUSE_GUI" = "yes"; then
50017 SUBDIRS
="samples demos utils contrib"
50018 else SUBDIRS
="samples utils"
50023 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50024 if test "${with_cppunit_prefix+set}" = set; then
50025 withval
="$with_cppunit_prefix"
50026 cppunit_config_prefix
="$withval"
50028 cppunit_config_prefix
=""
50031 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50032 if test "${with_cppunit_exec_prefix+set}" = set; then
50033 withval
="$with_cppunit_exec_prefix"
50034 cppunit_config_exec_prefix
="$withval"
50036 cppunit_config_exec_prefix
=""
50039 if test x
$cppunit_config_exec_prefix != x
; then
50040 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50041 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50042 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50045 if test x
$cppunit_config_prefix != x
; then
50046 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50047 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50048 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50052 # Extract the first word of "cppunit-config", so it can be a program name with args.
50053 set dummy cppunit
-config; ac_word
=$2
50054 echo "$as_me:$LINENO: checking for $ac_word" >&5
50055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50056 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50059 case $CPPUNIT_CONFIG in
50061 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50065 for as_dir
in $PATH
50068 test -z "$as_dir" && as_dir
=.
50069 for ac_exec_ext
in '' $ac_executable_extensions; do
50070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50071 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50078 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50082 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50084 if test -n "$CPPUNIT_CONFIG"; then
50085 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50086 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50088 echo "$as_me:$LINENO: result: no" >&5
50089 echo "${ECHO_T}no" >&6
50092 cppunit_version_min
=1.8.0
50094 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50095 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50097 if test "$CPPUNIT_CONFIG" = "no" ; then
50098 echo "$as_me:$LINENO: result: no" >&5
50099 echo "${ECHO_T}no" >&6
50102 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50103 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50104 cppunit_version
=`$CPPUNIT_CONFIG --version`
50106 cppunit_major_version
=`echo $cppunit_version | \
50107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50108 cppunit_minor_version
=`echo $cppunit_version | \
50109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50110 cppunit_micro_version
=`echo $cppunit_version | \
50111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50113 cppunit_major_min
=`echo $cppunit_version_min | \
50114 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50115 cppunit_minor_min
=`echo $cppunit_version_min | \
50116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50117 cppunit_micro_min
=`echo $cppunit_version_min | \
50118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50120 cppunit_version_proper
=`expr \
50121 $cppunit_major_version \> $cppunit_major_min \| \
50122 $cppunit_major_version \= $cppunit_major_min \& \
50123 $cppunit_minor_version \> $cppunit_minor_min \| \
50124 $cppunit_major_version \= $cppunit_major_min \& \
50125 $cppunit_minor_version \= $cppunit_minor_min \& \
50126 $cppunit_micro_version \>= $cppunit_micro_min `
50128 if test "$cppunit_version_proper" = "1" ; then
50129 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50130 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50132 echo "$as_me:$LINENO: result: no" >&5
50133 echo "${ECHO_T}no" >&6
50138 if test "x$no_cppunit" = x
; then
50139 SUBDIRS
="$SUBDIRS tests"
50150 for subdir
in `echo $SUBDIRS`; do
50151 if test -d ${srcdir}/${subdir} ; then
50152 if test "$wxUSE_GUI" = "yes"; then
50153 if test ${subdir} = "samples"; then
50154 makefiles
="samples/Makefile.in $makefiles"
50155 for sample
in `echo $SAMPLES_SUBDIRS`; do
50156 if test -d $srcdir/samples
/$sample; then
50157 makefiles
="samples/$sample/Makefile.in $makefiles"
50161 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50162 eval "disabled=\$$disabled_var"
50163 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50164 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50166 else if test ${subdir} = "samples"; then
50167 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50168 elif test ${subdir} = "utils"; then
50170 for util
in HelpGen tex2rtf
; do
50171 if test -d $srcdir/utils
/$util ; then
50172 makefiles
="utils/$util/Makefile.in \
50173 utils/$util/src/Makefile.in \
50177 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50181 for mkin
in $makefiles ; do
50182 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50183 ac_config_files
="$ac_config_files $mk"
50189 cat >confcache
<<\_ACEOF
50190 # This file is a shell script that caches the results of configure
50191 # tests run on this system so they can be shared between configure
50192 # scripts and configure runs, see configure's option --config-cache.
50193 # It is not useful on other systems. If it contains results you don't
50194 # want to keep, you may remove or edit it.
50196 # config.status only pays attention to the cache file if you give it
50197 # the --recheck option to rerun configure.
50199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50201 # following values.
50205 # The following way of writing the cache mishandles newlines in values,
50206 # but we know of no workaround that is simple, portable, and efficient.
50207 # So, don't put newlines in cache variables' values.
50208 # Ultrix sh set writes to stderr and can't be redirected directly,
50209 # and sets the high bit in the cache file unless we assign to the vars.
50212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50214 # `set' does not quote correctly, so add quotes (double-quote
50215 # substitution turns \\\\ into \\, and sed turns \\ into \).
50218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50221 # `set' quotes correctly as required by POSIX, so do not add quotes.
50223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50234 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50235 if test -w $cache_file; then
50236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50237 cat confcache
>$cache_file
50239 echo "not updating unwritable cache $cache_file"
50244 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50245 # Let make expand exec_prefix.
50246 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50250 # trailing colons and then remove the whole line if VPATH becomes empty
50251 # (actually we leave an empty line to preserve line numbers).
50252 if test "x$srcdir" = x.
; then
50253 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50254 s/:*\$(srcdir):*/:/;
50255 s/:*\${srcdir}:*/:/;
50257 s/^\([^=]*=[ ]*\):*/\1/;
50263 DEFS
=-DHAVE_CONFIG_H
50267 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50268 # 1. Remove the extension, and $U if already installed.
50269 ac_i
=`echo "$ac_i" |
50270 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50272 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50273 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50275 LIBOBJS
=$ac_libobjs
50277 LTLIBOBJS
=$ac_ltlibobjs
50281 : ${CONFIG_STATUS=./config.status}
50282 ac_clean_files_save
=$ac_clean_files
50283 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50284 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50285 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50286 cat >$CONFIG_STATUS <<_ACEOF
50288 # Generated by $as_me.
50289 # Run this file to recreate the current configuration.
50290 # Compiler output produced by configure, useful for debugging
50291 # configure, is in config.log if it exists.
50294 ac_cs_recheck=false
50296 SHELL=\${CONFIG_SHELL-$SHELL}
50299 cat >>$CONFIG_STATUS <<\_ACEOF
50300 ## --------------------- ##
50301 ## M4sh Initialization. ##
50302 ## --------------------- ##
50304 # Be Bourne compatible
50305 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50308 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50309 # is contrary to our usage. Disable this feature.
50310 alias -g '${1+"$@"}'='"$@"'
50311 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50314 DUALCASE
=1; export DUALCASE
# for MKS sh
50316 # Support unset when possible.
50317 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50324 # Work around bugs in pre-3.0 UWIN ksh.
50325 $as_unset ENV MAIL MAILPATH
50332 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50333 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50334 LC_TELEPHONE LC_TIME
50336 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50337 eval $as_var=C
; export $as_var
50343 # Required to use basename.
50344 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50350 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50351 as_basename
=basename
50357 # Name of the executable.
50358 as_me
=`$as_basename "$0" ||
50359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50360 X"$0" : 'X\(//\)$' \| \
50361 X"$0" : 'X\(/\)$' \| \
50362 . : '\(.\)' 2>/dev/null ||
50364 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50365 /^X\/\(\/\/\)$/{ s//\1/; q; }
50366 /^X\/\(\/\).*/{ s//\1/; q; }
50370 # PATH needs CR, and LINENO needs CR and PATH.
50371 # Avoid depending upon Character Ranges.
50372 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50373 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50374 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50375 as_cr_digits
='0123456789'
50376 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50378 # The user is always right.
50379 if test "${PATH_SEPARATOR+set}" != set; then
50380 echo "#! /bin/sh" >conf$$.sh
50381 echo "exit 0" >>conf$$.sh
50383 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50392 as_lineno_1
=$LINENO
50393 as_lineno_2
=$LINENO
50394 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50395 test "x$as_lineno_1" != "x$as_lineno_2" &&
50396 test "x$as_lineno_3" = "x$as_lineno_2" || {
50397 # Find who we are. Look in the path if we contain no path at all
50400 *[\\/]* ) as_myself
=$0 ;;
50401 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50402 for as_dir
in $PATH
50405 test -z "$as_dir" && as_dir
=.
50406 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50411 # We did not find ourselves, most probably we were run as `sh COMMAND'
50412 # in which case we are not to be found in the path.
50413 if test "x$as_myself" = x
; then
50416 if test ! -f "$as_myself"; then
50417 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50418 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50419 { (exit 1); exit 1; }; }
50421 case $CONFIG_SHELL in
50423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50424 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50427 test -z "$as_dir" && as_dir
=.
50428 for as_base
in sh bash ksh sh5
; do
50431 if ("$as_dir/$as_base" -c '
50432 as_lineno_1=$LINENO
50433 as_lineno_2=$LINENO
50434 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50435 test "x$as_lineno_1" != "x$as_lineno_2" &&
50436 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50437 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50438 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50439 CONFIG_SHELL
=$as_dir/$as_base
50440 export CONFIG_SHELL
50441 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50450 # uniformly replaced by the line number. The first 'sed' inserts a
50451 # line-number line before each line; the second 'sed' does the real
50452 # work. The second script uses 'N' to pair each line-number line
50453 # with the numbered line, and appends trailing '-' during
50454 # substitution so that $LINENO is not a special case at line end.
50455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50456 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50457 sed '=' <$as_myself |
50462 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50465 s,^['$as_cr_digits']*\n,,
50466 ' >$as_me.lineno
&&
50467 chmod +x
$as_me.lineno
||
50468 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50469 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50470 { (exit 1); exit 1; }; }
50472 # Don't try to exec as it changes $[0], causing all sort of problems
50473 # (the dirname of $[0] is not the place where we might find the
50474 # original and so on. Autoconf is especially sensible to this).
50476 # Exit status is that of the last command.
50481 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50482 *c
*,-n*) ECHO_N
= ECHO_C
='
50484 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50485 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50488 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50494 rm -f conf$$ conf$$.exe conf$$.
file
50496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50497 # We could just check for DJGPP; but this test a) works b) is more generic
50498 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50499 if test -f conf$$.exe
; then
50500 # Don't use ln at all; we don't have any links
50505 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50510 rm -f conf$$ conf$$.exe conf$$.
file
50512 if mkdir -p .
2>/dev
/null
; then
50515 test -d .
/-p && rmdir .
/-p
50519 as_executable_p
="test -f"
50521 # Sed expression to map a string onto a valid CPP name.
50522 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50524 # Sed expression to map a string onto a valid variable name.
50525 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50529 # We need space, tab and new line, in precisely that order.
50539 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50540 # report actual input values of CONFIG_FILES etc. instead of their
50541 # values after options handling. Logging --version etc. is OK.
50545 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50546 ## Running $as_me. ##
50551 This file was extended by wxWidgets $as_me 2.7.1, which was
50552 generated by GNU Autoconf 2.59. Invocation command line was
50554 CONFIG_FILES = $CONFIG_FILES
50555 CONFIG_HEADERS = $CONFIG_HEADERS
50556 CONFIG_LINKS = $CONFIG_LINKS
50557 CONFIG_COMMANDS = $CONFIG_COMMANDS
50561 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50565 # Files that config.status was made for.
50566 if test -n "$ac_config_files"; then
50567 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50570 if test -n "$ac_config_headers"; then
50571 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50574 if test -n "$ac_config_links"; then
50575 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50578 if test -n "$ac_config_commands"; then
50579 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50582 cat >>$CONFIG_STATUS <<\_ACEOF
50585 \`$as_me' instantiates files from templates according to the
50586 current configuration.
50588 Usage: $0 [OPTIONS] [FILE]...
50590 -h, --help print this help, then exit
50591 -V, --version print version number, then exit
50592 -q, --quiet do not print progress messages
50593 -d, --debug don't remove temporary files
50594 --recheck update $as_me by reconfiguring in the same conditions
50595 --file=FILE[:TEMPLATE]
50596 instantiate the configuration file FILE
50597 --header=FILE[:TEMPLATE]
50598 instantiate the configuration header FILE
50600 Configuration files:
50603 Configuration headers:
50606 Configuration commands:
50609 Report bugs to <bug-autoconf@gnu.org>."
50612 cat >>$CONFIG_STATUS <<_ACEOF
50614 wxWidgets config.status 2.7.1
50615 configured by $0, generated by GNU Autoconf 2.59,
50616 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50618 Copyright (C) 2003 Free Software Foundation, Inc.
50619 This config.status script is free software; the Free Software Foundation
50620 gives unlimited permission to copy, distribute and modify it."
50625 cat >>$CONFIG_STATUS <<\_ACEOF
50626 # If no file are specified by the user, then we need to provide default
50627 # value. By we need to know if files were specified by the user.
50633 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50634 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50642 *) # This is not an option, so the user has probably given explicit
50645 ac_need_defaults
=false
;;
50649 # Handling of the options.
50651 cat >>$CONFIG_STATUS <<\_ACEOF
50652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50654 --version | --vers* | -V )
50655 echo "$ac_cs_version"; exit 0 ;;
50657 # Conflict between --help and --header
50658 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50659 Try \`$0 --help' for more information." >&5
50660 echo "$as_me: error: ambiguous option: $1
50661 Try \`$0 --help' for more information." >&2;}
50662 { (exit 1); exit 1; }; };;
50663 --help | --hel | -h )
50664 echo "$ac_cs_usage"; exit 0 ;;
50665 --debug | --d* | -d )
50667 --file | --fil | --fi | --f )
50669 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50670 ac_need_defaults
=false
;;
50671 --header | --heade | --head | --hea )
50673 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50674 ac_need_defaults
=false
;;
50675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50679 # This is an error.
50680 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50681 Try \`$0 --help' for more information." >&5
50682 echo "$as_me: error: unrecognized option: $1
50683 Try \`$0 --help' for more information." >&2;}
50684 { (exit 1); exit 1; }; } ;;
50686 *) ac_config_targets
="$ac_config_targets $1" ;;
50692 ac_configure_extra_args
=
50694 if $ac_cs_silent; then
50696 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50700 cat >>$CONFIG_STATUS <<_ACEOF
50701 if \$ac_cs_recheck; then
50702 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50703 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50708 cat >>$CONFIG_STATUS <<_ACEOF
50710 # INIT-COMMANDS section.
50715 infile="$srcdir/include/wx/msw/genrcdefs.h"
50716 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50719 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50720 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50721 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50729 cat >>$CONFIG_STATUS <<\_ACEOF
50730 for ac_config_target
in $ac_config_targets
50732 case "$ac_config_target" in
50733 # Handling of arguments.
50734 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50735 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50736 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50737 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50738 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50739 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50740 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50741 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50742 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50743 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50744 { (exit 1); exit 1; }; };;
50748 # If the user did not use the arguments to specify the items to instantiate,
50749 # then the envvar interface is used. Set only those that are not.
50750 # We use the long form for the default assignment because of an extremely
50751 # bizarre bug on SunOS 4.1.3.
50752 if $ac_need_defaults; then
50753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50758 # Have a temporary directory for convenience. Make it in the build tree
50759 # simply because there is no reason to put it here, and in addition,
50760 # creating and moving files from /tmp can sometimes cause problems.
50761 # Create a temporary directory, and hook for its removal unless debugging.
50764 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50765 trap '{ (exit 1); exit 1; }' 1 2 13 15
50768 # Create a (secure) tmp directory for tmp files.
50771 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50772 test -n "$tmp" && test -d "$tmp"
50775 tmp
=.
/confstat$$
-$RANDOM
50776 (umask 077 && mkdir $tmp)
50779 echo "$me: cannot create a temporary directory in ." >&2
50780 { (exit 1); exit 1; }
50785 cat >>$CONFIG_STATUS <<_ACEOF
50788 # CONFIG_FILES section.
50791 # No need to generate the scripts if there are no CONFIG_FILES.
50792 # This happens for instance when ./config.status config.h
50793 if test -n "\$CONFIG_FILES"; then
50794 # Protect against being on the right side of a sed subst in config.status.
50795 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50796 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50797 s,@SHELL@,$SHELL,;t t
50798 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50799 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50800 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50801 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50802 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50803 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50804 s,@exec_prefix@,$exec_prefix,;t t
50805 s,@prefix@,$prefix,;t t
50806 s,@program_transform_name@,$program_transform_name,;t t
50807 s,@bindir@,$bindir,;t t
50808 s,@sbindir@,$sbindir,;t t
50809 s,@libexecdir@,$libexecdir,;t t
50810 s,@datadir@,$datadir,;t t
50811 s,@sysconfdir@,$sysconfdir,;t t
50812 s,@sharedstatedir@,$sharedstatedir,;t t
50813 s,@localstatedir@,$localstatedir,;t t
50814 s,@libdir@,$libdir,;t t
50815 s,@includedir@,$includedir,;t t
50816 s,@oldincludedir@,$oldincludedir,;t t
50817 s,@infodir@,$infodir,;t t
50818 s,@mandir@,$mandir,;t t
50819 s,@build_alias@,$build_alias,;t t
50820 s,@host_alias@,$host_alias,;t t
50821 s,@target_alias@,$target_alias,;t t
50822 s,@DEFS@,$DEFS,;t t
50823 s,@ECHO_C@,$ECHO_C,;t t
50824 s,@ECHO_N@,$ECHO_N,;t t
50825 s,@ECHO_T@,$ECHO_T,;t t
50826 s,@LIBS@,$LIBS,;t t
50827 s,@build@,$build,;t t
50828 s,@build_cpu@,$build_cpu,;t t
50829 s,@build_vendor@,$build_vendor,;t t
50830 s,@build_os@,$build_os,;t t
50831 s,@host@,$host,;t t
50832 s,@host_cpu@,$host_cpu,;t t
50833 s,@host_vendor@,$host_vendor,;t t
50834 s,@host_os@,$host_os,;t t
50835 s,@target@,$target,;t t
50836 s,@target_cpu@,$target_cpu,;t t
50837 s,@target_vendor@,$target_vendor,;t t
50838 s,@target_os@,$target_os,;t t
50840 s,@CFLAGS@,$CFLAGS,;t t
50841 s,@LDFLAGS@,$LDFLAGS,;t t
50842 s,@CPPFLAGS@,$CPPFLAGS,;t t
50843 s,@ac_ct_CC@,$ac_ct_CC,;t t
50844 s,@EXEEXT@,$EXEEXT,;t t
50845 s,@OBJEXT@,$OBJEXT,;t t
50847 s,@EGREP@,$EGREP,;t t
50849 s,@CXXFLAGS@,$CXXFLAGS,;t t
50850 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50851 s,@RANLIB@,$RANLIB,;t t
50852 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50854 s,@ac_ct_AR@,$ac_ct_AR,;t t
50855 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50856 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50857 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50858 s,@STRIP@,$STRIP,;t t
50859 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50860 s,@WINDRES@,$WINDRES,;t t
50861 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50862 s,@DLLTOOL@,$DLLTOOL,;t t
50863 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50864 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50865 s,@LN_S@,$LN_S,;t t
50866 s,@CXXCPP@,$CXXCPP,;t t
50867 s,@subdirs@,$subdirs,;t t
50868 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50869 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50870 s,@GTK_LIBS@,$GTK_LIBS,;t t
50871 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50872 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50873 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50874 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50875 s,@X_CFLAGS@,$X_CFLAGS,;t t
50876 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50877 s,@X_LIBS@,$X_LIBS,;t t
50878 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50879 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50880 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50881 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50882 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50883 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50884 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50886 s,@DEREZ@,$DEREZ,;t t
50887 s,@SETFILE@,$SETFILE,;t t
50888 s,@LIBICONV@,$LIBICONV,;t t
50889 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50890 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50891 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50892 s,@SDL_LIBS@,$SDL_LIBS,;t t
50893 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50894 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50895 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50896 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50897 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50898 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50899 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50900 s,@GST_LIBS@,$GST_LIBS,;t t
50901 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50902 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50903 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50904 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50905 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50906 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50907 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50908 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50909 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50910 s,@VENDOR@,$VENDOR,;t t
50911 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50912 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50913 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50914 s,@WXUNIV@,$WXUNIV,;t t
50915 s,@MONOLITHIC@,$MONOLITHIC,;t t
50916 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50917 s,@EXTRALIBS@,$EXTRALIBS,;t t
50918 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50919 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50920 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50921 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50922 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50923 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50924 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50925 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50926 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50927 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50928 s,@UNICODE@,$UNICODE,;t t
50929 s,@BUILD@,$BUILD,;t t
50930 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50931 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50932 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50933 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50934 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50935 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50936 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50937 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50938 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50939 s,@SET_MAKE@,$SET_MAKE,;t t
50940 s,@MAKE_SET@,$MAKE_SET,;t t
50942 s,@ac_ct_NM@,$ac_ct_NM,;t t
50943 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50944 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50945 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50946 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50947 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50948 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50949 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50950 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50951 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50952 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50953 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50954 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50955 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50956 s,@LIBPREFIX@,$LIBPREFIX,;t t
50957 s,@LIBEXT@,$LIBEXT,;t t
50958 s,@DLLPREFIX@,$DLLPREFIX,;t t
50959 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50960 s,@dlldir@,$dlldir,;t t
50961 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50962 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50963 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50964 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50965 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50966 s,@PIC_FLAG@,$PIC_FLAG,;t t
50967 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50968 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50969 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50970 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50971 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50972 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50973 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50974 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50975 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50976 s,@GCC_PCH@,$GCC_PCH,;t t
50977 s,@ICC_PCH@,$ICC_PCH,;t t
50978 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50979 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50980 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50981 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50982 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50983 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50984 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50985 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50986 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50987 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50988 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50989 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50990 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50991 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50992 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50993 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50994 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50995 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50996 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50997 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50998 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
50999 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
51000 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
51001 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
51002 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51003 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51004 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51005 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51006 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51007 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51008 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
51009 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
51010 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
51011 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
51012 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51013 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51014 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51015 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51016 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51017 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51018 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51019 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51020 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51021 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51022 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51023 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51024 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51025 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51026 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51027 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51028 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51029 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51030 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
51031 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51032 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51033 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51034 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51035 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51036 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51037 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51038 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51039 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51040 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51041 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51042 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51043 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51044 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51045 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51046 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51047 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51048 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51049 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51050 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51051 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51052 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51053 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51054 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51055 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51056 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51057 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51058 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51059 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51060 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51061 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51062 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51063 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51064 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51065 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51066 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51067 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51068 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51069 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51070 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51071 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51072 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
51073 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51074 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51075 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51076 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51077 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51078 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51079 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51080 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51081 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51082 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51083 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51084 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51085 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51086 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51087 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51088 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51089 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51090 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51091 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51092 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51093 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51094 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51095 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51096 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51097 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51098 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51099 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51100 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51101 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51102 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51103 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51104 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51105 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51106 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51107 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51108 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51109 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51110 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51111 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51112 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51113 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51114 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51115 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51116 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51117 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51118 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51119 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51120 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51121 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51122 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51123 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51124 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51125 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51126 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51127 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51128 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51129 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51130 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51131 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51132 s,@SHARED@,$SHARED,;t t
51133 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51134 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51135 s,@USE_GUI@,$USE_GUI,;t t
51136 s,@AFMINSTALL@,$AFMINSTALL,;t t
51137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51138 s,@TOOLKIT@,$TOOLKIT,;t t
51139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51140 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51141 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51142 s,@cross_compiling@,$cross_compiling,;t t
51143 s,@WIDGET_SET@,$WIDGET_SET,;t t
51144 s,@WX_RELEASE@,$WX_RELEASE,;t t
51145 s,@WX_VERSION@,$WX_VERSION,;t t
51146 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51147 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51148 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51149 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51150 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51151 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51152 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51153 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51154 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51155 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51156 s,@EXE_LINKER@,$EXE_LINKER,;t t
51157 s,@GUIDIST@,$GUIDIST,;t t
51158 s,@DISTDIR@,$DISTDIR,;t t
51159 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51160 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51161 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51162 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51163 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51164 s,@RESCOMP@,$RESCOMP,;t t
51165 s,@RESFLAGS@,$RESFLAGS,;t t
51166 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51167 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51168 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51169 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51170 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51171 s,@MACSETFILE@,$MACSETFILE,;t t
51173 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51174 s,@LIBOBJS@,$LIBOBJS,;t t
51175 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51180 cat >>$CONFIG_STATUS <<\_ACEOF
51181 # Split the substitutions into bite-sized pieces for seds with
51182 # small command number limits, like on Digital OSF/1 and HP-UX.
51183 ac_max_sed_lines
=48
51184 ac_sed_frag
=1 # Number of current file.
51185 ac_beg
=1 # First line for current file.
51186 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51189 while $ac_more_lines; do
51190 if test $ac_beg -gt 1; then
51191 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51193 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51195 if test ! -s $tmp/subs.frag
; then
51196 ac_more_lines
=false
51198 # The purpose of the label and of the branching condition is to
51199 # speed up the sed processing (if there are no `@' at all, there
51200 # is no need to browse any of the substitutions).
51201 # These are the two extra sed commands mentioned above.
51203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51204 if test -z "$ac_sed_cmds"; then
51205 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51207 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51209 ac_sed_frag
=`expr $ac_sed_frag + 1`
51211 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51214 if test -z "$ac_sed_cmds"; then
51217 fi # test -n "$CONFIG_FILES"
51220 cat >>$CONFIG_STATUS <<\_ACEOF
51221 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51222 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51224 - | *:- | *:-:* ) # input from stdin
51226 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51227 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51228 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51229 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51230 * ) ac_file_in
=$ac_file.
in ;;
51233 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51234 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51235 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51236 X"$ac_file" : 'X\(//\)[^/]' \| \
51237 X"$ac_file" : 'X\(//\)$' \| \
51238 X"$ac_file" : 'X\(/\)' \| \
51239 . : '\(.\)' 2>/dev/null ||
51241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51243 /^X\(\/\/\)$/{ s//\1/; q; }
51244 /^X\(\/\).*/{ s//\1/; q; }
51246 { if $as_mkdir_p; then
51251 while test ! -d "$as_dir"; do
51252 as_dirs
="$as_dir $as_dirs"
51253 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51255 X"$as_dir" : 'X\(//\)[^/]' \| \
51256 X"$as_dir" : 'X\(//\)$' \| \
51257 X"$as_dir" : 'X\(/\)' \| \
51258 . : '\(.\)' 2>/dev/null ||
51260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51262 /^X\(\/\/\)$/{ s//\1/; q; }
51263 /^X\(\/\).*/{ s//\1/; q; }
51266 test ! -n "$as_dirs" || mkdir $as_dirs
51267 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51268 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51269 { (exit 1); exit 1; }; }; }
51273 if test "$ac_dir" != .
; then
51274 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51275 # A "../" for each directory in $ac_dir_suffix.
51276 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51278 ac_dir_suffix
= ac_top_builddir
=
51282 .
) # No --srcdir option. We are building in place.
51284 if test -z "$ac_top_builddir"; then
51287 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51289 [\\/]* | ?
:[\\/]* ) # Absolute path.
51290 ac_srcdir
=$srcdir$ac_dir_suffix;
51291 ac_top_srcdir
=$srcdir ;;
51292 *) # Relative path.
51293 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51294 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51297 # Do not use `cd foo && pwd` to compute absolute paths, because
51298 # the directories may not exist.
51300 .
) ac_abs_builddir
="$ac_dir";;
51303 .
) ac_abs_builddir
=`pwd`;;
51304 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51305 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51308 case $ac_abs_builddir in
51309 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51311 case ${ac_top_builddir}.
in
51312 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51313 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51314 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51317 case $ac_abs_builddir in
51318 .
) ac_abs_srcdir
=$ac_srcdir;;
51321 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51322 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51323 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51326 case $ac_abs_builddir in
51327 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51329 case $ac_top_srcdir in
51330 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51331 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51332 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51338 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51339 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51342 if test x
"$ac_file" != x
-; then
51343 { echo "$as_me:$LINENO: creating $ac_file" >&5
51344 echo "$as_me: creating $ac_file" >&6;}
51347 # Let's still pretend it is `configure' which instantiates (i.e., don't
51348 # use $as_me), people would be surprised to read:
51349 # /* config.h. Generated by config.status. */
51350 if test x
"$ac_file" = x
-; then
51353 configure_input
="$ac_file. "
51355 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51356 sed 's,.*/,,'` by configure."
51358 # First look for the input files in the build tree, otherwise in the
51360 ac_file_inputs
=`IFS=:
51361 for f in $ac_file_in; do
51363 -) echo $tmp/stdin ;;
51365 # Absolute (can't be DOS-style, as IFS=:)
51366 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51367 echo "$as_me: error: cannot find input file: $f" >&2;}
51368 { (exit 1); exit 1; }; }
51371 if test -f "$f"; then
51374 elif test -f "$srcdir/$f"; then
51379 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51380 echo "$as_me: error: cannot find input file: $f" >&2;}
51381 { (exit 1); exit 1; }; }
51384 done` || { (exit 1); exit 1; }
51386 cat >>$CONFIG_STATUS <<_ACEOF
51390 cat >>$CONFIG_STATUS <<\_ACEOF
51392 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51393 s
,@configure_input@
,$configure_input,;t t
51394 s
,@srcdir@
,$ac_srcdir,;t t
51395 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51396 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51397 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51398 s
,@builddir@
,$ac_builddir,;t t
51399 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51400 s
,@top_builddir@
,$ac_top_builddir,;t t
51401 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51402 s
,@INSTALL@
,$ac_INSTALL,;t t
51403 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51405 if test x"$ac_file" != x-; then
51406 mv $tmp/out $ac_file
51412 # Run the commands associated with the file.
51414 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51415 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51419 cat >>$CONFIG_STATUS <<\_ACEOF
51422 # CONFIG_HEADER section.
51425 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51426 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51428 # ac_d sets the value in "#define NAME VALUE" lines.
51429 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51430 ac_dB
='[ ].*$,\1#\2'
51433 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51434 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51435 ac_uB
='$,\1#\2define\3'
51439 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51442 - | *:- | *:-:* ) # input from stdin
51444 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51445 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51446 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51447 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51448 * ) ac_file_in
=$ac_file.
in ;;
51451 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51452 echo "$as_me: creating $ac_file" >&6;}
51454 # First look for the input files in the build tree, otherwise in the
51456 ac_file_inputs
=`IFS=:
51457 for f in $ac_file_in; do
51459 -) echo $tmp/stdin ;;
51461 # Absolute (can't be DOS-style, as IFS=:)
51462 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51463 echo "$as_me: error: cannot find input file: $f" >&2;}
51464 { (exit 1); exit 1; }; }
51465 # Do quote $f, to prevent DOS paths from being IFS'd.
51468 if test -f "$f"; then
51471 elif test -f "$srcdir/$f"; then
51476 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51477 echo "$as_me: error: cannot find input file: $f" >&2;}
51478 { (exit 1); exit 1; }; }
51481 done` || { (exit 1); exit 1; }
51482 # Remove the trailing spaces.
51483 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51487 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51488 # `conftest.undefs', that substitutes the proper values into
51489 # config.h.in to produce config.h. The first handles `#define'
51490 # templates, and the second `#undef' templates.
51491 # And first: Protect against being on the right side of a sed subst in
51492 # config.status. Protect against being in an unquoted here document
51493 # in config.status.
51494 rm -f conftest.defines conftest.undefs
51495 # Using a here document instead of a string reduces the quoting nightmare.
51496 # Putting comments in sed scripts is not portable.
51498 # `end' is used to avoid that the second main sed command (meant for
51499 # 0-ary CPP macros) applies to n-ary macro definitions.
51500 # See the Autoconf documentation for `clear'.
51501 cat >confdef2sed.
sed <<\_ACEOF
51506 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51508 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51511 # If some macros were called several times there might be several times
51512 # the same #defines, which is useless. Nevertheless, we may not want to
51513 # sort them, since we want the *last* AC-DEFINE to be honored.
51514 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51515 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51516 rm -f confdef2sed.sed
51518 # This sed command replaces #undef with comments. This is necessary, for
51519 # example, in the case of _POSIX_SOURCE, which is predefined and required
51520 # on some systems where configure will not decide to define it.
51521 cat >>conftest.undefs <<\_ACEOF
51522 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51525 # Break up conftest.defines because some shells have a limit on the size
51526 # of here documents, and old seds have small limits too (100 cmds).
51527 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51528 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51529 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51530 echo ' :' >>$CONFIG_STATUS
51531 rm -f conftest.tail
51532 while grep . conftest.defines >/dev/null
51534 # Write a limited-size here document to $tmp/defines.sed.
51535 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51536 # Speed up: don't consider the non `#define' lines.
51537 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51538 # Work around the forget-to-reset-the-flag bug.
51539 echo 't clr' >>$CONFIG_STATUS
51540 echo ': clr' >>$CONFIG_STATUS
51541 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51543 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51545 mv $tmp/out $tmp/in
51547 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51548 rm -f conftest.defines
51549 mv conftest.
tail conftest.defines
51551 rm -f conftest.defines
51552 echo ' fi # grep' >>$CONFIG_STATUS
51553 echo >>$CONFIG_STATUS
51555 # Break up conftest.undefs because some shells have a limit on the size
51556 # of here documents, and old seds have small limits too (100 cmds).
51557 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51558 rm -f conftest.
tail
51559 while grep . conftest.undefs
>/dev
/null
51561 # Write a limited-size here document to $tmp/undefs.sed.
51562 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51563 # Speed up: don't consider the non
`#undef'
51564 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51565 # Work around the forget-to-reset-the-flag bug.
51566 echo 't clr' >>$CONFIG_STATUS
51567 echo ': clr' >>$CONFIG_STATUS
51568 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51570 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51572 mv $tmp/out $tmp/in
51574 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51575 rm -f conftest.undefs
51576 mv conftest.tail conftest.undefs
51578 rm -f conftest.undefs
51580 cat >>$CONFIG_STATUS <<\_ACEOF
51581 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51582 # use $as_me), people would be surprised to read:
51583 # /* config.h. Generated by config.status. */
51584 if test x
"$ac_file" = x
-; then
51585 echo "/* Generated by configure. */" >$tmp/config.h
51587 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51589 cat $tmp/in >>$tmp/config.h
51591 if test x
"$ac_file" != x
-; then
51592 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51593 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51594 echo "$as_me: $ac_file is unchanged" >&6;}
51596 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51598 X"$ac_file" : 'X\(//\)[^/]' \| \
51599 X"$ac_file" : 'X\(//\)$' \| \
51600 X"$ac_file" : 'X\(/\)' \| \
51601 . : '\(.\)' 2>/dev/null ||
51603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51605 /^X\(\/\/\)$/{ s//\1/; q; }
51606 /^X\(\/\).*/{ s//\1/; q; }
51608 { if $as_mkdir_p; then
51613 while test ! -d "$as_dir"; do
51614 as_dirs
="$as_dir $as_dirs"
51615 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51617 X"$as_dir" : 'X\(//\)[^/]' \| \
51618 X"$as_dir" : 'X\(//\)$' \| \
51619 X"$as_dir" : 'X\(/\)' \| \
51620 . : '\(.\)' 2>/dev/null ||
51622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51623 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51624 /^X\(\/\/\)$/{ s//\1/; q; }
51625 /^X\(\/\).*/{ s//\1/; q; }
51628 test ! -n "$as_dirs" || mkdir $as_dirs
51629 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51630 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51631 { (exit 1); exit 1; }; }; }
51634 mv $tmp/config.h
$ac_file
51638 rm -f $tmp/config.h
51642 cat >>$CONFIG_STATUS <<\_ACEOF
51645 # CONFIG_COMMANDS section.
51647 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51648 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51649 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51650 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51651 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51652 X"$ac_dest" : 'X\(//\)[^/]' \| \
51653 X"$ac_dest" : 'X\(//\)$' \| \
51654 X"$ac_dest" : 'X\(/\)' \| \
51655 . : '\(.\)' 2>/dev/null ||
51657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51659 /^X\(\/\/\)$/{ s//\1/; q; }
51660 /^X\(\/\).*/{ s//\1/; q; }
51662 { if $as_mkdir_p; then
51667 while test ! -d "$as_dir"; do
51668 as_dirs
="$as_dir $as_dirs"
51669 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51671 X"$as_dir" : 'X\(//\)[^/]' \| \
51672 X"$as_dir" : 'X\(//\)$' \| \
51673 X"$as_dir" : 'X\(/\)' \| \
51674 . : '\(.\)' 2>/dev/null ||
51676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51678 /^X\(\/\/\)$/{ s//\1/; q; }
51679 /^X\(\/\).*/{ s//\1/; q; }
51682 test ! -n "$as_dirs" || mkdir $as_dirs
51683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51685 { (exit 1); exit 1; }; }; }
51689 if test "$ac_dir" != .
; then
51690 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51691 # A "../" for each directory in $ac_dir_suffix.
51692 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51694 ac_dir_suffix
= ac_top_builddir
=
51698 .
) # No --srcdir option. We are building in place.
51700 if test -z "$ac_top_builddir"; then
51703 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51705 [\\/]* | ?
:[\\/]* ) # Absolute path.
51706 ac_srcdir
=$srcdir$ac_dir_suffix;
51707 ac_top_srcdir
=$srcdir ;;
51708 *) # Relative path.
51709 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51710 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51713 # Do not use `cd foo && pwd` to compute absolute paths, because
51714 # the directories may not exist.
51716 .
) ac_abs_builddir
="$ac_dir";;
51719 .
) ac_abs_builddir
=`pwd`;;
51720 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51721 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51724 case $ac_abs_builddir in
51725 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51727 case ${ac_top_builddir}.
in
51728 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51729 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51730 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51733 case $ac_abs_builddir in
51734 .
) ac_abs_srcdir
=$ac_srcdir;;
51737 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51738 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51739 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51742 case $ac_abs_builddir in
51743 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51745 case $ac_top_srcdir in
51746 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51747 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51748 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51753 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51754 echo "$as_me: executing $ac_dest commands" >&6;}
51757 mkdir -p $outdir &&
51758 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51760 wx
-config ) rm -f wx
-config
51761 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51767 cat >>$CONFIG_STATUS <<\_ACEOF
51769 { (exit 0); exit 0; }
51771 chmod +x
$CONFIG_STATUS
51772 ac_clean_files
=$ac_clean_files_save
51775 # configure is writing to config.log, and then calls config.status.
51776 # config.status does its own redirection, appending to config.log.
51777 # Unfortunately, on DOS this fails, as config.log is still kept open
51778 # by configure, so config.status won't be able to write to it; its
51779 # output is simply discarded. So we exec the FD to /dev/null,
51780 # effectively closing config.log, so it can be properly (re)opened and
51781 # appended to by config.status. When coming back to configure, we
51782 # need to make the FD available again.
51783 if test "$no_create" != yes; then
51785 ac_config_status_args
=
51786 test "$silent" = yes &&
51787 ac_config_status_args
="$ac_config_status_args --quiet"
51789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51792 # would make configure fail if this is the last instruction.
51793 $ac_cs_success || { (exit 1); exit 1; }
51797 # CONFIG_SUBDIRS section.
51799 if test "$no_recursion" != yes; then
51801 # Remove --cache-file and --srcdir arguments so they do not pile up.
51802 ac_sub_configure_args
=
51804 for ac_arg
in $ac_configure_args; do
51805 if test -n "$ac_prev"; then
51810 -cache-file | --cache-file | --cache-fil | --cache-fi \
51811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51812 ac_prev
=cache_file
;;
51813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51817 --config-cache | -C)
51819 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51821 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51823 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51825 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51827 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51831 # Always prepend --prefix to ensure using the same prefix
51832 # in subdir configurations.
51833 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51836 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51838 # Do not complain, so a configure script can configure whichever
51839 # parts of a large source tree are present.
51840 test -d $srcdir/$ac_dir || continue
51842 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51843 echo "$as_me: configuring in $ac_dir" >&6;}
51844 { if $as_mkdir_p; then
51849 while test ! -d "$as_dir"; do
51850 as_dirs
="$as_dir $as_dirs"
51851 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51853 X"$as_dir" : 'X\(//\)[^/]' \| \
51854 X"$as_dir" : 'X\(//\)$' \| \
51855 X"$as_dir" : 'X\(/\)' \| \
51856 . : '\(.\)' 2>/dev/null ||
51858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51860 /^X\(\/\/\)$/{ s//\1/; q; }
51861 /^X\(\/\).*/{ s//\1/; q; }
51864 test ! -n "$as_dirs" || mkdir $as_dirs
51865 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51866 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51867 { (exit 1); exit 1; }; }; }
51871 if test "$ac_dir" != .
; then
51872 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51873 # A "../" for each directory in $ac_dir_suffix.
51874 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51876 ac_dir_suffix
= ac_top_builddir
=
51880 .
) # No --srcdir option. We are building in place.
51882 if test -z "$ac_top_builddir"; then
51885 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51887 [\\/]* | ?
:[\\/]* ) # Absolute path.
51888 ac_srcdir
=$srcdir$ac_dir_suffix;
51889 ac_top_srcdir
=$srcdir ;;
51890 *) # Relative path.
51891 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51892 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51895 # Do not use `cd foo && pwd` to compute absolute paths, because
51896 # the directories may not exist.
51898 .
) ac_abs_builddir
="$ac_dir";;
51901 .
) ac_abs_builddir
=`pwd`;;
51902 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51903 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51906 case $ac_abs_builddir in
51907 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51909 case ${ac_top_builddir}.
in
51910 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51911 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51912 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51915 case $ac_abs_builddir in
51916 .
) ac_abs_srcdir
=$ac_srcdir;;
51919 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51920 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51921 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51924 case $ac_abs_builddir in
51925 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51927 case $ac_top_srcdir in
51928 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51929 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51930 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51937 # Check for guested configure; otherwise get Cygnus style configure.
51938 if test -f $ac_srcdir/configure.gnu
; then
51939 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51940 elif test -f $ac_srcdir/configure
; then
51941 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51942 elif test -f $ac_srcdir/configure.
in; then
51943 ac_sub_configure
=$ac_configure
51945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51950 # The recursion is here.
51951 if test -n "$ac_sub_configure"; then
51952 # Make the cache file name correct relative to the subdirectory.
51953 case $cache_file in
51954 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51955 *) # Relative path.
51956 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51961 # The eval makes quoting arguments work.
51962 eval $ac_sub_configure $ac_sub_configure_args \
51963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51966 { (exit 1); exit 1; }; }
51975 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51977 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51978 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51980 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51981 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51982 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51984 echo " What level of wxWidgets compatibility should be enabled?"
51985 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51986 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51988 echo " Which libraries should wxWidgets use?"
51989 echo " jpeg ${wxUSE_LIBJPEG-none}"
51990 echo " png ${wxUSE_LIBPNG-none}"
51991 echo " regex ${wxUSE_REGEX}"
51992 echo " tiff ${wxUSE_LIBTIFF-none}"
51993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51994 echo " xpm ${wxUSE_LIBXPM-none}"
51996 echo " zlib ${wxUSE_ZLIB}"
51997 echo " odbc ${wxUSE_ODBC}"
51998 echo " expat ${wxUSE_EXPAT}"
51999 echo " libmspack ${wxUSE_LIBMSPACK}"
52000 echo " sdl ${wxUSE_LIBSDL}"