2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support
in wxProtocol
1016 --enable-protocol-ftp FTP support
in wxProtocol
1017 --enable-protocol-file FILE support
in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use
help subsystem
1021 --enable-mshtmlhelp use MS HTML Help
(win32
)
1022 --enable-html use wxHTML sub
-library
1023 --enable-htmlhelp use wxHTML
-based help
1024 --enable-xrc use XRC resources sub
-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout
-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl
(Mac
)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context
2D drawing API
1036 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1037 --enable-prologio not available
; see contrib
1038 --enable-resources not available
; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag
'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-animatectrl use wxAnimationCtrl class
1045 --enable-button use wxButton class
1046 --enable-bmpbutton use wxBitmapButton class
1047 --enable-bmpcombobox use wxBitmapComboBox class
1048 --enable-calendar use wxCalendarCtrl class
1049 --enable-caret use wxCaret class
1050 --enable-checkbox use wxCheckBox class
1051 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1052 --enable-choice use wxChoice class
1053 --enable-choicebook use wxChoicebook class
1054 --enable-colourpicker use wxColourPickerCtrl class
1055 --enable-combobox use wxComboBox class
1056 --enable-comboctrl use wxComboCtrl class
1057 --enable-datepick use wxDatePickerCtrl class
1058 --enable-dirpicker use wxDirPickerCtrl class
1059 --enable-display use wxDisplay class
1060 --enable-filepicker use wxFilePickerCtrl class
1061 --enable-fontpicker use wxFontPickerCtrl class
1062 --enable-gauge use wxGauge class
1063 --enable-grid use wxGrid class
1064 --enable-dataviewctrl, use wxDataViewCtrl class
1065 --enable-hyperlink use wxHyperlinkCtrl class
1066 --enable-imaglist use wxImageList class
1067 --enable-listbook use wxListbook class
1068 --enable-listbox use wxListBox class
1069 --enable-listctrl use wxListCtrl class
1070 --enable-notebook use wxNotebook class
1071 --enable-odcombobox use wxOwnerDrawnComboBox class
1072 --enable-radiobox use wxRadioBox class
1073 --enable-radiobtn use wxRadioButton class
1074 --enable-sash use wxSashWindow class
1075 --enable-scrollbar use wxScrollBar class and scrollable windows
1076 --enable-slider use wxSlider class
1077 --enable-spinbtn use wxSpinButton class
1078 --enable-spinctrl use wxSpinCtrl class
1079 --enable-splitter use wxSplitterWindow class
1080 --enable-statbmp use wxStaticBitmap class
1081 --enable-statbox use wxStaticBox class
1082 --enable-statline use wxStaticLine class
1083 --enable-stattext use wxStaticText class
1084 --enable-statusbar use wxStatusBar class
1085 --enable-tabdialog use wxTabControl class
1086 --enable-textctrl use wxTextCtrl class
1087 --enable-togglebtn use wxToggleButton class
1088 --enable-toolbar use wxToolBar class
1089 --enable-tbarnative use native wxToolBar class
1090 --enable-treebook use wxTreebook class
1091 --enable-toolbook use wxToolbook class
1092 --enable-treectrl use wxTreeCtrl class
1093 --enable-tipwindow use wxTipWindow class
1094 --enable-popupwin use wxPopUpWindow class
1095 --enable-commondlg use all common dialogs
1096 --enable-aboutdlg use wxAboutBox
1097 --enable-choicedlg use wxChoiceDialog
1098 --enable-coldlg use wxColourDialog
1099 --enable-filedlg use wxFileDialog
1100 --enable-finddlg use wxFindReplaceDialog
1101 --enable-fontdlg use wxFontDialog
1102 --enable-dirdlg use wxDirDialog
1103 --enable-msgdlg use wxMessageDialog
1104 --enable-numberdlg use wxNumberEntryDialog
1105 --enable-splash use wxSplashScreen
1106 --enable-textdlg use wxTextDialog
1107 --enable-tipdlg use startup tips
1108 --enable-progressdlg use wxProgressDialog
1109 --enable-wizarddlg use wxWizard
1110 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1111 --enable-miniframe use wxMiniFrame class
1112 --enable-tooltips use wxToolTip class
1113 --enable-splines use spline drawing code
1114 --enable-mousewheel use mousewheel
1115 --enable-validators use wxValidator and derived classes
1116 --enable-busyinfo use wxBusyInfo
1117 --enable-joystick use wxJoystick
1118 --enable-metafiles use wxMetaFile
(Win32 only
)
1119 --enable-dragimage use wxDragImage
1120 --enable-accessibility enable accessibility support
1121 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1122 --enable-palette use wxPalette class
1123 --enable-image use wxImage class
1124 --enable-gif use gif images
(GIF
file format
)
1125 --enable-pcx use pcx images
(PCX
file format
)
1126 --enable-iff use iff images
(IFF
file format
)
1127 --enable-pnm use pnm images
(PNM
file format
)
1128 --enable-xpm use xpm images
(XPM
file format
)
1129 --enable-icocur use Windows ICO and CUR formats
1130 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1131 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1132 --disable-largefile omit support
for large files
1133 --disable-gtktest do not try to compile and run a
test GTK
+ program
1134 --disable-gtktest Do not try to compile and run a
test GTK program
1135 --disable-sdltest Do not try to compile and run a
test SDL program
1136 --enable-omf use OMF object format
(OS
/2)
1137 --disable-dependency-tracking
1138 don
't use dependency tracking even if the compiler
1140 --disable-precomp-headers
1141 don't use precompiled headers even
if compiler can
1144 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1145 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1146 --without-subdirs don
't generate makefiles for samples/demos/...
1147 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1148 --with-motif use Motif/Lesstif
1149 --with-mac use Mac OS X
1150 --with-cocoa use Cocoa
1151 --with-wine use Wine
1152 --with-msw use MS-Windows
1153 --with-pm use OS/2 Presentation Manager
1154 --with-mgl use SciTech MGL
1155 --with-directfb use DirectFB
1156 --with-microwin use MicroWindows
1158 --with-libpng use libpng (PNG image format)
1159 --with-libjpeg use libjpeg (JPEG file format)
1160 --with-libtiff use libtiff (TIFF file format)
1161 --with-libxpm use libxpm (XPM file format)
1162 --with-libmspack use libmspack (CHM help files loading)
1163 --with-sdl use SDL for audio on Unix
1164 --with-gnomeprint use GNOME print for printing under GNOME
1165 --with-gnomevfs use GNOME VFS for associating MIME types
1166 --with-hildon use Hildon framework for Nokia 770
1167 --with-opengl use OpenGL (or Mesa)
1168 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1169 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1170 --with-regex enable support for wxRegEx class
1171 --with-zlib use zlib for LZW compression
1172 --with-odbc use the IODBC and wxODBC classes
1173 --with-expat enable XML support using expat parser
1174 --with-flavour=NAME specify a name to identify this build
1175 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1176 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1177 --with-x use the X Window System
1178 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1179 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1180 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1181 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1182 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1184 Some influential environment variables:
1185 CC C compiler command
1186 CFLAGS C compiler flags
1187 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1188 nonstandard directory <lib dir>
1189 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1190 headers in a nonstandard directory <include dir>
1192 CXX C++ compiler command
1193 CXXFLAGS C++ compiler flags
1194 CXXCPP C++ preprocessor
1195 PKG_CONFIG path to pkg-config utility
1197 C compiler flags for DIRECTFB, overriding pkg-config
1199 linker flags for DIRECTFB, overriding pkg-config
1201 C compiler flags for PANGOX, overriding pkg-config
1202 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1204 C compiler flags for PANGOFT2, overriding pkg-config
1206 linker flags for PANGOFT2, overriding pkg-config
1208 C compiler flags for PANGOXFT, overriding pkg-config
1210 linker flags for PANGOXFT, overriding pkg-config
1211 LIBGNOMEPRINTUI_CFLAGS
1212 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1213 LIBGNOMEPRINTUI_LIBS
1214 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1216 C compiler flags for GNOMEVFS, overriding pkg-config
1218 linker flags for GNOMEVFS, overriding pkg-config
1220 C compiler flags for HILDON, overriding pkg-config
1221 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1222 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1223 GST_LIBS linker flags for GST, overriding pkg-config
1225 Use these variables to override the choices made by `configure' or to
help
1226 it to
find libraries and programs with nonstandard names
/locations.
1228 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1232 if test "$ac_init_help" = "recursive"; then
1233 # If there are subdirs, report their specific --help.
1235 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1236 test -d $ac_dir || continue
1239 if test "$ac_dir" != .
; then
1240 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1241 # A "../" for each directory in $ac_dir_suffix.
1242 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1244 ac_dir_suffix
= ac_top_builddir
=
1248 .
) # No --srcdir option. We are building in place.
1250 if test -z "$ac_top_builddir"; then
1253 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1255 [\\/]* | ?
:[\\/]* ) # Absolute path.
1256 ac_srcdir
=$srcdir$ac_dir_suffix;
1257 ac_top_srcdir
=$srcdir ;;
1259 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1260 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1263 # Do not use `cd foo && pwd` to compute absolute paths, because
1264 # the directories may not exist.
1266 .
) ac_abs_builddir
="$ac_dir";;
1269 .
) ac_abs_builddir
=`pwd`;;
1270 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1271 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1274 case $ac_abs_builddir in
1275 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1277 case ${ac_top_builddir}.
in
1278 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1279 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1280 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1283 case $ac_abs_builddir in
1284 .
) ac_abs_srcdir
=$ac_srcdir;;
1287 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1288 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1289 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1292 case $ac_abs_builddir in
1293 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1295 case $ac_top_srcdir in
1296 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1297 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1298 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1303 # Check for guested configure; otherwise get Cygnus style configure.
1304 if test -f $ac_srcdir/configure.gnu
; then
1306 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1307 elif test -f $ac_srcdir/configure
; then
1309 $SHELL $ac_srcdir/configure
--help=recursive
1310 elif test -f $ac_srcdir/configure.ac
||
1311 test -f $ac_srcdir/configure.
in; then
1313 $ac_configure --help
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1321 test -n "$ac_init_help" && exit 0
1322 if $ac_init_version; then
1324 wxWidgets configure
2.7.1
1325 generated by GNU Autoconf
2.59
1327 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1328 This configure
script is free software
; the Free Software Foundation
1329 gives unlimited permission to copy
, distribute and modify it.
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1338 It was created by wxWidgets $as_me 2.7.1, which was
1339 generated by GNU Autoconf 2.59. Invocation command line was
1350 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1351 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1352 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1353 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1354 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1356 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1357 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1359 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1360 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1361 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1362 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1363 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1364 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1365 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir
=.
1374 echo "PATH: $as_dir"
1389 # Keep a trace of the command line.
1390 # Strip out --no-create and --no-recursion so they do not pile up.
1391 # Strip out --silent because we don't want to record it for future runs.
1392 # Also quote any args containing shell meta-characters.
1393 # Make two passes to allow for proper duplicate-argument suppression.
1398 ac_must_keep_next
=false
1404 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1406 | -silent | --silent | --silen | --sile | --sil)
1408 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1409 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1412 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1414 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1415 if test $ac_must_keep_next = true
; then
1416 ac_must_keep_next
=false
# Got value, back to normal.
1419 *=* | --config-cache | -C | -disable-* | --disable-* \
1420 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1421 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1422 | -with-* | --with-* | -without-* | --without-* | --x)
1423 case "$ac_configure_args0 " in
1424 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1427 -* ) ac_must_keep_next
=true
;;
1430 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1431 # Get rid of the leading space.
1437 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1438 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1440 # When interrupted or exit'd, cleanup temporary files, and complete
1441 # config.log. We remove comments because anyway the quotes in there
1442 # would cause problems or look ugly.
1443 # WARNING: Be sure not to use single quotes in there, as some shells,
1444 # such as our DU 5.0 friend, will then `close' the trap.
1445 trap 'exit_status=$?
1446 # Save into config.log some information that might help in debugging.
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1456 # The following way of writing the cache mishandles newlines in values,
1459 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1462 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1467 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1474 ## ----------------- ##
1475 ## Output variables. ##
1476 ## ----------------- ##
1479 for ac_var in $ac_subst_vars
1481 eval ac_val=$`echo $ac_var`
1482 echo "$ac_var='"'"'$ac_val'"'"'"
1486 if test -n "$ac_subst_files"; then
1493 for ac_var in $ac_subst_files
1495 eval ac_val=$`echo $ac_var`
1496 echo "$ac_var='"'"'$ac_val'"'"'"
1501 if test -s confdefs.h; then
1508 sed "/^$/d" confdefs.h | sort
1511 test "$ac_signal" != 0 &&
1512 echo "$as_me: caught signal $ac_signal"
1513 echo "$as_me: exit $exit_status"
1515 rm -f core *.core &&
1516 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1519 for ac_signal
in 1 2 13 15; do
1520 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1525 rm -rf conftest
* confdefs.h
1526 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1529 # Predefined preprocessor variables.
1531 cat >>confdefs.h
<<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1536 cat >>confdefs.h
<<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1541 cat >>confdefs.h
<<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1551 cat >>confdefs.h
<<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -z "$CONFIG_SITE"; then
1559 if test "x$prefix" != xNONE
; then
1560 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1562 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1565 for ac_site_file
in $CONFIG_SITE; do
1566 if test -r "$ac_site_file"; then
1567 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1568 echo "$as_me: loading site script $ac_site_file" >&6;}
1569 sed 's/^/| /' "$ac_site_file" >&5
1574 if test -r "$cache_file"; then
1575 # Some versions of bash will fail to source /dev/null (special
1576 # files actually), so we avoid doing that.
1577 if test -f "$cache_file"; then
1578 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1579 echo "$as_me: loading cache $cache_file" >&6;}
1581 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1582 *) . .
/$cache_file;;
1586 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1587 echo "$as_me: creating cache $cache_file" >&6;}
1591 # Check that the precious variables saved in the cache have kept the same
1593 ac_cache_corrupted
=false
1594 for ac_var
in `(set) 2>&1 |
1595 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1596 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1597 eval ac_new_set
=\
$ac_env_${ac_var}_set
1598 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1599 eval ac_new_val
="\$ac_env_${ac_var}_value"
1600 case $ac_old_set,$ac_new_set in
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1604 ac_cache_corrupted
=: ;;
1606 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1607 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1608 ac_cache_corrupted
=: ;;
1611 if test "x$ac_old_val" != "x$ac_new_val"; then
1612 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1613 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1614 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1615 echo "$as_me: former value: $ac_old_val" >&2;}
1616 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1617 echo "$as_me: current value: $ac_new_val" >&2;}
1618 ac_cache_corrupted
=:
1621 # Pass precious variables to config.status.
1622 if test "$ac_new_set" = set; then
1624 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1625 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1626 *) ac_arg
=$ac_var=$ac_new_val ;;
1628 case " $ac_configure_args " in
1629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1630 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1634 if $ac_cache_corrupted; then
1635 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1636 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1638 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1639 { (exit 1); exit 1; }; }
1643 ac_cpp
='$CPP $CPPFLAGS'
1644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1678 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1679 if test -f $ac_dir/install-sh; then
1681 ac_install_sh
="$ac_aux_dir/install-sh -c"
1683 elif test -f $ac_dir/install.sh
; then
1685 ac_install_sh
="$ac_aux_dir/install.sh -c"
1687 elif test -f $ac_dir/shtool
; then
1689 ac_install_sh
="$ac_aux_dir/shtool install -c"
1693 if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1695 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1696 { (exit 1); exit 1; }; }
1698 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1699 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1700 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1702 # Make sure we can run config.sub.
1703 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1704 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1705 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1706 { (exit 1); exit 1; }; }
1708 echo "$as_me:$LINENO: checking build system type" >&5
1709 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1710 if test "${ac_cv_build+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 ac_cv_build_alias
=$build_alias
1714 test -z "$ac_cv_build_alias" &&
1715 ac_cv_build_alias
=`$ac_config_guess`
1716 test -z "$ac_cv_build_alias" &&
1717 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1718 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1719 { (exit 1); exit 1; }; }
1720 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1721 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1722 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1723 { (exit 1); exit 1; }; }
1726 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1727 echo "${ECHO_T}$ac_cv_build" >&6
1729 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1730 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1731 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1734 echo "$as_me:$LINENO: checking host system type" >&5
1735 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1736 if test "${ac_cv_host+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 ac_cv_host_alias
=$host_alias
1740 test -z "$ac_cv_host_alias" &&
1741 ac_cv_host_alias
=$ac_cv_build_alias
1742 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1743 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1744 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1745 { (exit 1); exit 1; }; }
1748 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1749 echo "${ECHO_T}$ac_cv_host" >&6
1751 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1752 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1753 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1756 echo "$as_me:$LINENO: checking target system type" >&5
1757 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1758 if test "${ac_cv_target+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 ac_cv_target_alias
=$target_alias
1762 test "x$ac_cv_target_alias" = "x" &&
1763 ac_cv_target_alias
=$ac_cv_host_alias
1764 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1765 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1766 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1767 { (exit 1); exit 1; }; }
1770 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1771 echo "${ECHO_T}$ac_cv_target" >&6
1772 target
=$ac_cv_target
1773 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1774 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1775 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1778 # The aliases save the names the user supplied, while $host etc.
1779 # will get canonicalized.
1780 test -n "$target_alias" &&
1781 test "$program_prefix$program_suffix$program_transform_name" = \
1783 program_prefix
=${target_alias}-
1787 wx_major_version_number
=2
1788 wx_minor_version_number
=7
1790 wx_subrelease_number
=1
1792 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1793 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1794 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1796 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1809 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1815 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1821 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1823 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1825 DEFAULT_wxUSE_COCOA
=0
1829 DEFAULT_wxUSE_MICROWIN
=0
1830 DEFAULT_wxUSE_MOTIF
=0
1836 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1837 DEFAULT_DEFAULT_wxUSE_GTK
=0
1838 DEFAULT_DEFAULT_wxUSE_MAC
=0
1839 DEFAULT_DEFAULT_wxUSE_MGL
=0
1840 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1841 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1842 DEFAULT_DEFAULT_wxUSE_MSW
=0
1843 DEFAULT_DEFAULT_wxUSE_PM
=0
1844 DEFAULT_DEFAULT_wxUSE_X11
=0
1845 DEFAULT_DEFAULT_wxUSE_DFB
=0
1850 SAMPLES_RPATH_POSTLINK
=
1852 DEFAULT_STD_FLAG
=yes
1857 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1858 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1860 cat >>confdefs.h
<<\_ACEOF
1865 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1869 cat >>confdefs.h
<<\_ACEOF
1874 if test "x$TMP" = "xalpha"; then
1876 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_GTK
=1
1883 *-*-gnu* | *-*-k*bsd
*-gnu )
1886 if test "x$TMP" = "xalpha"; then
1888 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_GTK
=1
1895 *-*-irix5* | *-*-irix6* )
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1917 #define __SOLARIS__ 1
1920 cat >>confdefs.h
<<\_ACEOF
1924 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1925 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1948 cat >>confdefs.h
<<\_ACEOF
1949 #define __FREEBSD__ 1
1952 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_GTK
=1
1958 *-*-openbsd*|*-*-mirbsd*)
1961 cat >>confdefs.h
<<\_ACEOF
1962 #define __OPENBSD__ 1
1965 cat >>confdefs.h
<<\_ACEOF
1969 DEFAULT_DEFAULT_wxUSE_GTK
=1
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __NETBSD__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1982 DEFAULT_DEFAULT_wxUSE_GTK
=1
1983 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1985 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1990 cat >>confdefs.h
<<\_ACEOF
1994 cat >>confdefs.h
<<\_ACEOF
1998 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2004 cat >>confdefs.h
<<\_ACEOF
2008 cat >>confdefs.h
<<\_ACEOF
2012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2017 cat >>confdefs.h
<<\_ACEOF
2021 cat >>confdefs.h
<<\_ACEOF
2025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2032 cat >>confdefs.h
<<\_ACEOF
2036 cat >>confdefs.h
<<\_ACEOF
2040 cat >>confdefs.h
<<\_ACEOF
2044 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2051 cat >>confdefs.h
<<\_ACEOF
2052 #define __UNIXWARE__ 1
2057 *-*-cygwin* | *-*-mingw32* )
2060 DEFAULT_DEFAULT_wxUSE_MSW
=1
2067 cat >>confdefs.h
<<\_ACEOF
2072 DEFAULT_DEFAULT_wxUSE_MGL
=1
2075 *-pc-os2_emx | *-pc-os2-emx )
2076 cat >>confdefs.h
<<\_ACEOF
2081 cat >>confdefs.h
<<\_ACEOF
2086 DEFAULT_DEFAULT_wxUSE_PM
=1
2088 LDFLAGS
="$LDFLAGS -Zcrtdll"
2089 ac_executable_extensions
=".exe"
2090 export ac_executable_extensions
2094 for ac_dir
in $PATH; do
2096 if test -z "$ac_TEMP_PATH"; then
2097 ac_TEMP_PATH
="$ac_dir"
2099 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2102 export PATH
="$ac_TEMP_PATH"
2111 cat >>confdefs.h
<<\_ACEOF
2115 cat >>confdefs.h
<<\_ACEOF
2116 #define __DARWIN__ 1
2119 cat >>confdefs.h
<<\_ACEOF
2120 #define TARGET_CARBON 1
2123 DEFAULT_DEFAULT_wxUSE_MAC
=1
2126 powerpc
-apple-macos* )
2128 ac_cv_c_bigendian
=yes
2130 DEFAULT_DEFAULT_wxUSE_MAC
=1
2136 cat >>confdefs.h
<<\_ACEOF
2143 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2144 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2145 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2146 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2148 DEFAULT_DEFAULT_wxUSE_X11
=1
2149 DEFAULT_wxUSE_SHARED
=no
2155 wx_arg_cache_file
="configarg.cache"
2156 echo "loading argument cache $wx_arg_cache_file"
2157 rm -f ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}.tmp
2159 touch ${wx_arg_cache_file}
2163 if test $DEBUG_CONFIGURE = 1; then
2164 DEFAULT_wxUSE_UNIVERSAL
=no
2165 DEFAULT_wxUSE_STL
=no
2167 DEFAULT_wxUSE_NANOX
=no
2169 DEFAULT_wxUSE_THREADS
=yes
2171 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2172 DEFAULT_wxUSE_OPTIMISE
=no
2173 DEFAULT_wxUSE_PROFILE
=no
2174 DEFAULT_wxUSE_NO_DEPS
=no
2175 DEFAULT_wxUSE_NO_RTTI
=no
2176 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2177 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2178 DEFAULT_wxUSE_RPATH
=yes
2179 DEFAULT_wxUSE_PERMISSIVE
=no
2180 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2181 DEFAULT_wxUSE_DEBUG_INFO
=yes
2182 DEFAULT_wxUSE_DEBUG_GDB
=yes
2183 DEFAULT_wxUSE_MEM_TRACING
=no
2184 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2185 DEFAULT_wxUSE_DMALLOC
=no
2186 DEFAULT_wxUSE_APPLE_IEEE
=no
2188 DEFAULT_wxUSE_EXCEPTIONS
=no
2189 DEFAULT_wxUSE_LOG
=yes
2190 DEFAULT_wxUSE_LOGWINDOW
=no
2191 DEFAULT_wxUSE_LOGGUI
=no
2192 DEFAULT_wxUSE_LOGDIALOG
=no
2194 DEFAULT_wxUSE_GUI
=yes
2195 DEFAULT_wxUSE_CONTROLS
=no
2197 DEFAULT_wxUSE_REGEX
=no
2198 DEFAULT_wxUSE_XML
=no
2199 DEFAULT_wxUSE_EXPAT
=no
2200 DEFAULT_wxUSE_ZLIB
=no
2201 DEFAULT_wxUSE_LIBPNG
=no
2202 DEFAULT_wxUSE_LIBJPEG
=no
2203 DEFAULT_wxUSE_LIBTIFF
=no
2204 DEFAULT_wxUSE_LIBXPM
=no
2205 DEFAULT_wxUSE_LIBMSPACK
=no
2206 DEFAULT_wxUSE_LIBSDL
=no
2207 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2208 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2209 DEFAULT_wxUSE_LIBHILDON
=no
2210 DEFAULT_wxUSE_ODBC
=no
2211 DEFAULT_wxUSE_OPENGL
=no
2213 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2214 DEFAULT_wxUSE_STACKWALKER
=no
2215 DEFAULT_wxUSE_DEBUGREPORT
=no
2216 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2217 DEFAULT_wxUSE_STD_IOSTREAM
=no
2218 DEFAULT_wxUSE_STD_STRING
=no
2219 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2220 DEFAULT_wxUSE_DATETIME
=no
2221 DEFAULT_wxUSE_TIMER
=no
2222 DEFAULT_wxUSE_STOPWATCH
=no
2223 DEFAULT_wxUSE_FILE
=no
2224 DEFAULT_wxUSE_FFILE
=no
2225 DEFAULT_wxUSE_STDPATHS
=no
2226 DEFAULT_wxUSE_TEXTBUFFER
=no
2227 DEFAULT_wxUSE_TEXTFILE
=no
2228 DEFAULT_wxUSE_SOUND
=no
2229 DEFAULT_wxUSE_MEDIACTRL
=no
2230 DEFAULT_wxUSE_GSTREAMER8
=no
2231 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2232 DEFAULT_wxUSE_INTL
=no
2233 DEFAULT_wxUSE_CONFIG
=no
2234 DEFAULT_wxUSE_FONTMAP
=no
2235 DEFAULT_wxUSE_STREAMS
=no
2236 DEFAULT_wxUSE_SOCKETS
=no
2237 DEFAULT_wxUSE_OLE
=no
2238 DEFAULT_wxUSE_DATAOBJ
=no
2239 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2240 DEFAULT_wxUSE_JOYSTICK
=no
2241 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2242 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2243 DEFAULT_wxUSE_LONGLONG
=no
2244 DEFAULT_wxUSE_GEOMETRY
=no
2246 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2247 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2248 DEFAULT_wxUSE_POSTSCRIPT
=no
2250 DEFAULT_wxUSE_CLIPBOARD
=no
2251 DEFAULT_wxUSE_TOOLTIPS
=no
2252 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2253 DEFAULT_wxUSE_DRAGIMAGE
=no
2254 DEFAULT_wxUSE_SPLINES
=no
2255 DEFAULT_wxUSE_MOUSEWHEEL
=no
2257 DEFAULT_wxUSE_MDI
=no
2258 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2259 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2260 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2262 DEFAULT_wxUSE_RESOURCES
=no
2263 DEFAULT_wxUSE_CONSTRAINTS
=no
2264 DEFAULT_wxUSE_IPC
=no
2265 DEFAULT_wxUSE_HELP
=no
2266 DEFAULT_wxUSE_MS_HTML_HELP
=no
2267 DEFAULT_wxUSE_WXHTML_HELP
=no
2268 DEFAULT_wxUSE_TREELAYOUT
=no
2269 DEFAULT_wxUSE_METAFILE
=no
2270 DEFAULT_wxUSE_MIMETYPE
=no
2271 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2272 DEFAULT_wxUSE_PROTOCOL
=no
2273 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2274 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2275 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2276 DEFAULT_wxUSE_URL
=no
2277 DEFAULT_wxUSE_VARIANT
=no
2279 DEFAULT_wxUSE_ABOUTDLG
=no
2280 DEFAULT_wxUSE_COMMONDLGS
=no
2281 DEFAULT_wxUSE_CHOICEDLG
=no
2282 DEFAULT_wxUSE_COLOURDLG
=no
2283 DEFAULT_wxUSE_DIRDLG
=no
2284 DEFAULT_wxUSE_FILEDLG
=no
2285 DEFAULT_wxUSE_FINDREPLDLG
=no
2286 DEFAULT_wxUSE_FONTDLG
=no
2287 DEFAULT_wxUSE_MSGDLG
=no
2288 DEFAULT_wxUSE_NUMBERDLG
=no
2289 DEFAULT_wxUSE_TEXTDLG
=no
2290 DEFAULT_wxUSE_SPLASH
=no
2291 DEFAULT_wxUSE_STARTUP_TIPS
=no
2292 DEFAULT_wxUSE_PROGRESSDLG
=no
2293 DEFAULT_wxUSE_WIZARDDLG
=no
2295 DEFAULT_wxUSE_MENUS
=no
2296 DEFAULT_wxUSE_MINIFRAME
=no
2297 DEFAULT_wxUSE_HTML
=no
2298 DEFAULT_wxUSE_RICHTEXT
=no
2299 DEFAULT_wxUSE_XRC
=no
2300 DEFAULT_wxUSE_AUI
=no
2301 DEFAULT_wxUSE_WEBKIT
=no
2302 DEFAULT_wxUSE_FILESYSTEM
=no
2303 DEFAULT_wxUSE_FS_INET
=no
2304 DEFAULT_wxUSE_FS_ZIP
=no
2305 DEFAULT_wxUSE_BUSYINFO
=no
2306 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2307 DEFAULT_wxUSE_ZIPSTREAM
=no
2308 DEFAULT_wxUSE_VALIDATORS
=no
2310 DEFAULT_wxUSE_ACCEL
=no
2311 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2312 DEFAULT_wxUSE_BUTTON
=no
2313 DEFAULT_wxUSE_BMPBUTTON
=no
2314 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2315 DEFAULT_wxUSE_CALCTRL
=no
2316 DEFAULT_wxUSE_CARET
=no
2317 DEFAULT_wxUSE_CHECKBOX
=no
2318 DEFAULT_wxUSE_CHECKLST
=no
2319 DEFAULT_wxUSE_CHOICE
=no
2320 DEFAULT_wxUSE_CHOICEBOOK
=no
2321 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2322 DEFAULT_wxUSE_COMBOBOX
=no
2323 DEFAULT_wxUSE_COMBOCTRL
=no
2324 DEFAULT_wxUSE_DATEPICKCTRL
=no
2325 DEFAULT_wxUSE_DISPLAY
=no
2326 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2327 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2328 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2329 DEFAULT_wxUSE_GAUGE
=no
2330 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2331 DEFAULT_wxUSE_GRID
=no
2332 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2333 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2334 DEFAULT_wxUSE_IMAGLIST
=no
2335 DEFAULT_wxUSE_LISTBOOK
=no
2336 DEFAULT_wxUSE_LISTBOX
=no
2337 DEFAULT_wxUSE_LISTCTRL
=no
2338 DEFAULT_wxUSE_NOTEBOOK
=no
2339 DEFAULT_wxUSE_ODCOMBOBOX
=no
2340 DEFAULT_wxUSE_RADIOBOX
=no
2341 DEFAULT_wxUSE_RADIOBTN
=no
2342 DEFAULT_wxUSE_SASH
=no
2343 DEFAULT_wxUSE_SCROLLBAR
=no
2344 DEFAULT_wxUSE_SLIDER
=no
2345 DEFAULT_wxUSE_SPINBTN
=no
2346 DEFAULT_wxUSE_SPINCTRL
=no
2347 DEFAULT_wxUSE_SPLITTER
=no
2348 DEFAULT_wxUSE_STATBMP
=no
2349 DEFAULT_wxUSE_STATBOX
=no
2350 DEFAULT_wxUSE_STATLINE
=no
2351 DEFAULT_wxUSE_STATTEXT
=no
2352 DEFAULT_wxUSE_STATUSBAR
=yes
2353 DEFAULT_wxUSE_TAB_DIALOG
=no
2354 DEFAULT_wxUSE_TEXTCTRL
=no
2355 DEFAULT_wxUSE_TOGGLEBTN
=no
2356 DEFAULT_wxUSE_TOOLBAR
=no
2357 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2358 DEFAULT_wxUSE_TREEBOOK
=no
2359 DEFAULT_wxUSE_TOOLBOOK
=no
2360 DEFAULT_wxUSE_TREECTRL
=no
2361 DEFAULT_wxUSE_POPUPWIN
=no
2362 DEFAULT_wxUSE_TIPWINDOW
=no
2364 DEFAULT_wxUSE_UNICODE
=no
2365 DEFAULT_wxUSE_UNICODE_MSLU
=no
2366 DEFAULT_wxUSE_WCSRTOMBS
=no
2368 DEFAULT_wxUSE_PALETTE
=no
2369 DEFAULT_wxUSE_IMAGE
=no
2370 DEFAULT_wxUSE_GIF
=no
2371 DEFAULT_wxUSE_PCX
=no
2372 DEFAULT_wxUSE_PNM
=no
2373 DEFAULT_wxUSE_IFF
=no
2374 DEFAULT_wxUSE_XPM
=no
2375 DEFAULT_wxUSE_ICO_CUR
=no
2376 DEFAULT_wxUSE_ACCESSIBILITY
=no
2378 DEFAULT_wxUSE_MONOLITHIC
=no
2379 DEFAULT_wxUSE_PLUGINS
=no
2380 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2382 DEFAULT_wxUSE_UNIVERSAL
=no
2383 DEFAULT_wxUSE_STL
=no
2385 DEFAULT_wxUSE_NANOX
=no
2387 DEFAULT_wxUSE_THREADS
=yes
2389 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2390 DEFAULT_wxUSE_OPTIMISE
=yes
2391 DEFAULT_wxUSE_PROFILE
=no
2392 DEFAULT_wxUSE_NO_DEPS
=no
2393 DEFAULT_wxUSE_NO_RTTI
=no
2394 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2395 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2396 DEFAULT_wxUSE_RPATH
=yes
2397 DEFAULT_wxUSE_PERMISSIVE
=no
2398 DEFAULT_wxUSE_DEBUG_FLAG
=no
2399 DEFAULT_wxUSE_DEBUG_INFO
=no
2400 DEFAULT_wxUSE_DEBUG_GDB
=no
2401 DEFAULT_wxUSE_MEM_TRACING
=no
2402 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2403 DEFAULT_wxUSE_DMALLOC
=no
2404 DEFAULT_wxUSE_APPLE_IEEE
=yes
2406 DEFAULT_wxUSE_EXCEPTIONS
=yes
2407 DEFAULT_wxUSE_LOG
=yes
2408 DEFAULT_wxUSE_LOGWINDOW
=yes
2409 DEFAULT_wxUSE_LOGGUI
=yes
2410 DEFAULT_wxUSE_LOGDIALOG
=yes
2412 DEFAULT_wxUSE_GUI
=yes
2414 DEFAULT_wxUSE_REGEX
=yes
2415 DEFAULT_wxUSE_XML
=yes
2416 DEFAULT_wxUSE_EXPAT
=yes
2417 DEFAULT_wxUSE_ZLIB
=yes
2418 DEFAULT_wxUSE_LIBPNG
=yes
2419 DEFAULT_wxUSE_LIBJPEG
=yes
2420 DEFAULT_wxUSE_LIBTIFF
=yes
2421 DEFAULT_wxUSE_LIBXPM
=yes
2422 DEFAULT_wxUSE_LIBMSPACK
=yes
2423 DEFAULT_wxUSE_LIBSDL
=no
2424 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2425 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2426 DEFAULT_wxUSE_LIBHILDON
=no
2427 DEFAULT_wxUSE_ODBC
=no
2428 DEFAULT_wxUSE_OPENGL
=no
2430 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2431 DEFAULT_wxUSE_STACKWALKER
=yes
2432 DEFAULT_wxUSE_DEBUGREPORT
=yes
2433 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2434 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2435 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2436 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2437 DEFAULT_wxUSE_DATETIME
=yes
2438 DEFAULT_wxUSE_TIMER
=yes
2439 DEFAULT_wxUSE_STOPWATCH
=yes
2440 DEFAULT_wxUSE_FILE
=yes
2441 DEFAULT_wxUSE_FFILE
=yes
2442 DEFAULT_wxUSE_STDPATHS
=yes
2443 DEFAULT_wxUSE_TEXTBUFFER
=yes
2444 DEFAULT_wxUSE_TEXTFILE
=yes
2445 DEFAULT_wxUSE_SOUND
=yes
2446 DEFAULT_wxUSE_MEDIACTRL
=no
2447 DEFAULT_wxUSE_GSTREAMER8
=no
2448 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2449 DEFAULT_wxUSE_INTL
=yes
2450 DEFAULT_wxUSE_CONFIG
=yes
2451 DEFAULT_wxUSE_FONTMAP
=yes
2452 DEFAULT_wxUSE_STREAMS
=yes
2453 DEFAULT_wxUSE_SOCKETS
=yes
2454 DEFAULT_wxUSE_OLE
=yes
2455 DEFAULT_wxUSE_DATAOBJ
=yes
2456 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2457 DEFAULT_wxUSE_JOYSTICK
=yes
2458 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2459 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2460 DEFAULT_wxUSE_LONGLONG
=yes
2461 DEFAULT_wxUSE_GEOMETRY
=yes
2463 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2464 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2465 DEFAULT_wxUSE_POSTSCRIPT
=yes
2467 DEFAULT_wxUSE_CLIPBOARD
=yes
2468 DEFAULT_wxUSE_TOOLTIPS
=yes
2469 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2470 DEFAULT_wxUSE_DRAGIMAGE
=yes
2471 DEFAULT_wxUSE_SPLINES
=yes
2472 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2474 DEFAULT_wxUSE_MDI
=yes
2475 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2479 DEFAULT_wxUSE_RESOURCES
=no
2480 DEFAULT_wxUSE_CONSTRAINTS
=yes
2481 DEFAULT_wxUSE_IPC
=yes
2482 DEFAULT_wxUSE_HELP
=yes
2483 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2484 DEFAULT_wxUSE_WXHTML_HELP
=yes
2485 DEFAULT_wxUSE_TREELAYOUT
=yes
2486 DEFAULT_wxUSE_METAFILE
=yes
2487 DEFAULT_wxUSE_MIMETYPE
=yes
2488 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2489 DEFAULT_wxUSE_PROTOCOL
=yes
2490 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2491 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2492 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2493 DEFAULT_wxUSE_URL
=yes
2494 DEFAULT_wxUSE_VARIANT
=yes
2496 DEFAULT_wxUSE_ABOUTDLG
=yes
2497 DEFAULT_wxUSE_COMMONDLGS
=yes
2498 DEFAULT_wxUSE_CHOICEDLG
=yes
2499 DEFAULT_wxUSE_COLOURDLG
=yes
2500 DEFAULT_wxUSE_DIRDLG
=yes
2501 DEFAULT_wxUSE_FILEDLG
=yes
2502 DEFAULT_wxUSE_FINDREPLDLG
=yes
2503 DEFAULT_wxUSE_FONTDLG
=yes
2504 DEFAULT_wxUSE_MSGDLG
=yes
2505 DEFAULT_wxUSE_NUMBERDLG
=yes
2506 DEFAULT_wxUSE_TEXTDLG
=yes
2507 DEFAULT_wxUSE_SPLASH
=yes
2508 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2509 DEFAULT_wxUSE_PROGRESSDLG
=yes
2510 DEFAULT_wxUSE_WIZARDDLG
=yes
2512 DEFAULT_wxUSE_MENUS
=yes
2513 DEFAULT_wxUSE_MINIFRAME
=yes
2514 DEFAULT_wxUSE_HTML
=yes
2515 DEFAULT_wxUSE_RICHTEXT
=yes
2516 DEFAULT_wxUSE_XRC
=yes
2517 DEFAULT_wxUSE_AUI
=yes
2518 DEFAULT_wxUSE_WEBKIT
=yes
2519 DEFAULT_wxUSE_FILESYSTEM
=yes
2520 DEFAULT_wxUSE_FS_INET
=yes
2521 DEFAULT_wxUSE_FS_ZIP
=yes
2522 DEFAULT_wxUSE_BUSYINFO
=yes
2523 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2524 DEFAULT_wxUSE_ZIPSTREAM
=yes
2525 DEFAULT_wxUSE_VALIDATORS
=yes
2527 DEFAULT_wxUSE_ACCEL
=yes
2528 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2529 DEFAULT_wxUSE_BUTTON
=yes
2530 DEFAULT_wxUSE_BMPBUTTON
=yes
2531 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2532 DEFAULT_wxUSE_CALCTRL
=yes
2533 DEFAULT_wxUSE_CARET
=yes
2534 DEFAULT_wxUSE_CHECKBOX
=yes
2535 DEFAULT_wxUSE_CHECKLST
=yes
2536 DEFAULT_wxUSE_CHOICE
=yes
2537 DEFAULT_wxUSE_CHOICEBOOK
=yes
2538 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2539 DEFAULT_wxUSE_COMBOBOX
=yes
2540 DEFAULT_wxUSE_COMBOCTRL
=yes
2541 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2542 DEFAULT_wxUSE_DISPLAY
=yes
2543 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2544 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2545 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2546 DEFAULT_wxUSE_GAUGE
=yes
2547 DEFAULT_wxUSE_GRID
=yes
2548 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2549 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2550 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2551 DEFAULT_wxUSE_IMAGLIST
=yes
2552 DEFAULT_wxUSE_LISTBOOK
=yes
2553 DEFAULT_wxUSE_LISTBOX
=yes
2554 DEFAULT_wxUSE_LISTCTRL
=yes
2555 DEFAULT_wxUSE_NOTEBOOK
=yes
2556 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2557 DEFAULT_wxUSE_RADIOBOX
=yes
2558 DEFAULT_wxUSE_RADIOBTN
=yes
2559 DEFAULT_wxUSE_SASH
=yes
2560 DEFAULT_wxUSE_SCROLLBAR
=yes
2561 DEFAULT_wxUSE_SLIDER
=yes
2562 DEFAULT_wxUSE_SPINBTN
=yes
2563 DEFAULT_wxUSE_SPINCTRL
=yes
2564 DEFAULT_wxUSE_SPLITTER
=yes
2565 DEFAULT_wxUSE_STATBMP
=yes
2566 DEFAULT_wxUSE_STATBOX
=yes
2567 DEFAULT_wxUSE_STATLINE
=yes
2568 DEFAULT_wxUSE_STATTEXT
=yes
2569 DEFAULT_wxUSE_STATUSBAR
=yes
2570 DEFAULT_wxUSE_TAB_DIALOG
=no
2571 DEFAULT_wxUSE_TEXTCTRL
=yes
2572 DEFAULT_wxUSE_TOGGLEBTN
=yes
2573 DEFAULT_wxUSE_TOOLBAR
=yes
2574 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2575 DEFAULT_wxUSE_TREEBOOK
=yes
2576 DEFAULT_wxUSE_TOOLBOOK
=yes
2577 DEFAULT_wxUSE_TREECTRL
=yes
2578 DEFAULT_wxUSE_POPUPWIN
=yes
2579 DEFAULT_wxUSE_TIPWINDOW
=yes
2581 DEFAULT_wxUSE_UNICODE
=no
2582 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2583 DEFAULT_wxUSE_WCSRTOMBS
=no
2585 DEFAULT_wxUSE_PALETTE
=yes
2586 DEFAULT_wxUSE_IMAGE
=yes
2587 DEFAULT_wxUSE_GIF
=yes
2588 DEFAULT_wxUSE_PCX
=yes
2589 DEFAULT_wxUSE_IFF
=no
2590 DEFAULT_wxUSE_PNM
=yes
2591 DEFAULT_wxUSE_XPM
=yes
2592 DEFAULT_wxUSE_ICO_CUR
=yes
2593 DEFAULT_wxUSE_ACCESSIBILITY
=no
2595 DEFAULT_wxUSE_MONOLITHIC
=no
2596 DEFAULT_wxUSE_PLUGINS
=no
2597 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2599 DEFAULT_wxUSE_GTK2
=yes
2605 for toolkit
in `echo $ALL_TOOLKITS`; do
2606 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2607 if test "x$LINE" != "x" ; then
2608 has_toolkit_in_cache
=1
2609 eval "DEFAULT_$LINE"
2610 eval "CACHE_$toolkit=1"
2612 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2613 if test "x$LINE" != "x" ; then
2614 eval "DEFAULT_$LINE"
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2625 # Check whether --enable-gui or --disable-gui was given.
2626 if test "${enable_gui+set}" = set; then
2627 enableval
="$enable_gui"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_gui
='wxUSE_GUI=yes'
2632 ac_cv_use_gui
='wxUSE_GUI=no'
2637 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2648 eval "$ac_cv_use_gui"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2653 if test "$wxUSE_GUI" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2664 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2666 # Check whether --enable-monolithic or --disable-monolithic was given.
2667 if test "${enable_monolithic+set}" = set; then
2668 enableval
="$enable_monolithic"
2670 if test "$enableval" = yes; then
2671 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2673 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2678 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x
; then
2680 eval "DEFAULT_$LINE"
2685 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2689 eval "$ac_cv_use_monolithic"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2694 if test "$wxUSE_MONOLITHIC" = yes; then
2695 echo "$as_me:$LINENO: result: yes" >&5
2696 echo "${ECHO_T}yes" >&6
2698 echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2705 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2707 # Check whether --enable-plugins or --disable-plugins was given.
2708 if test "${enable_plugins+set}" = set; then
2709 enableval
="$enable_plugins"
2711 if test "$enableval" = yes; then
2712 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2714 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2719 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x
; then
2721 eval "DEFAULT_$LINE"
2726 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2730 eval "$ac_cv_use_plugins"
2731 if test "$no_cache" != 1; then
2732 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2735 if test "$wxUSE_PLUGINS" = yes; then
2736 echo "$as_me:$LINENO: result: yes" >&5
2737 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2745 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2746 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2749 # Check whether --with-subdirs or --without-subdirs was given.
2750 if test "${with_subdirs+set}" = set; then
2751 withval
="$with_subdirs"
2753 if test "$withval" = yes; then
2754 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2756 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2761 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2762 if test "x$LINE" != x
; then
2763 eval "DEFAULT_$LINE"
2768 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2772 eval "$ac_cv_use_subdirs"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2777 if test "$wxWITH_SUBDIRS" = yes; then
2778 echo "$as_me:$LINENO: result: yes" >&5
2779 echo "${ECHO_T}yes" >&6
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2786 if test "$wxUSE_GUI" = "yes"; then
2790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2791 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2793 # Check whether --enable-universal or --disable-universal was given.
2794 if test "${enable_universal+set}" = set; then
2795 enableval
="$enable_universal"
2797 if test "$enableval" = yes; then
2798 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2800 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2805 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x
; then
2807 eval "DEFAULT_$LINE"
2812 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2816 eval "$ac_cv_use_universal"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_UNIVERSAL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2830 # Check whether --with-gtk or --without-gtk was given.
2831 if test "${with_gtk+set}" = set; then
2833 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2836 # Check whether --with-motif or --without-motif was given.
2837 if test "${with_motif+set}" = set; then
2838 withval
="$with_motif"
2839 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2842 # Check whether --with-mac or --without-mac was given.
2843 if test "${with_mac+set}" = set; then
2845 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2848 # Check whether --with-cocoa or --without-cocoa was given.
2849 if test "${with_cocoa+set}" = set; then
2850 withval
="$with_cocoa"
2851 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2854 # Check whether --with-wine or --without-wine was given.
2855 if test "${with_wine+set}" = set; then
2856 withval
="$with_wine"
2857 wxUSE_WINE
="$withval" CACHE_WINE
=1
2860 # Check whether --with-msw or --without-msw was given.
2861 if test "${with_msw+set}" = set; then
2863 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-pm or --without-pm was given.
2867 if test "${with_pm+set}" = set; then
2869 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-mgl or --without-mgl was given.
2873 if test "${with_mgl+set}" = set; then
2875 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-directfb or --without-directfb was given.
2879 if test "${with_directfb+set}" = set; then
2880 withval
="$with_directfb"
2881 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2884 # Check whether --with-microwin or --without-microwin was given.
2885 if test "${with_microwin+set}" = set; then
2886 withval
="$with_microwin"
2887 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2890 # Check whether --with-x11 or --without-x11 was given.
2891 if test "${with_x11+set}" = set; then
2893 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2898 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2900 # Check whether --enable-nanox or --disable-nanox was given.
2901 if test "${enable_nanox+set}" = set; then
2902 enableval
="$enable_nanox"
2904 if test "$enableval" = yes; then
2905 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2907 ac_cv_use_nanox
='wxUSE_NANOX=no'
2912 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2913 if test "x$LINE" != x
; then
2914 eval "DEFAULT_$LINE"
2919 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2923 eval "$ac_cv_use_nanox"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2928 if test "$wxUSE_NANOX" = yes; then
2929 echo "$as_me:$LINENO: result: yes" >&5
2930 echo "${ECHO_T}yes" >&6
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2937 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2938 if test "${enable_gtk2+set}" = set; then
2939 enableval
="$enable_gtk2"
2940 wxUSE_GTK2
="$enableval"
2944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2945 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2947 # Check whether --enable-gpe or --disable-gpe was given.
2948 if test "${enable_gpe+set}" = set; then
2949 enableval
="$enable_gpe"
2951 if test "$enableval" = yes; then
2952 ac_cv_use_gpe
='wxUSE_GPE=yes'
2954 ac_cv_use_gpe
='wxUSE_GPE=no'
2959 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2970 eval "$ac_cv_use_gpe"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_GPE" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2985 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2986 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2989 # Check whether --with-libpng or --without-libpng was given.
2990 if test "${with_libpng+set}" = set; then
2991 withval
="$with_libpng"
2993 if test "$withval" = yes; then
2994 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2995 elif test "$withval" = no
; then
2996 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2997 elif test "$withval" = sys
; then
2998 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2999 elif test "$withval" = builtin; then
3000 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3002 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3003 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3009 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3020 eval "$ac_cv_use_libpng"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3025 if test "$wxUSE_LIBPNG" = yes; then
3026 echo "$as_me:$LINENO: result: yes" >&5
3027 echo "${ECHO_T}yes" >&6
3028 elif test "$wxUSE_LIBPNG" = no
; then
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3031 elif test "$wxUSE_LIBPNG" = sys
; then
3032 echo "$as_me:$LINENO: result: system version" >&5
3033 echo "${ECHO_T}system version" >&6
3034 elif test "$wxUSE_LIBPNG" = builtin; then
3035 echo "$as_me:$LINENO: result: builtin version" >&5
3036 echo "${ECHO_T}builtin version" >&6
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3044 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3045 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3048 # Check whether --with-libjpeg or --without-libjpeg was given.
3049 if test "${with_libjpeg+set}" = set; then
3050 withval
="$with_libjpeg"
3052 if test "$withval" = yes; then
3053 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3054 elif test "$withval" = no
; then
3055 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3056 elif test "$withval" = sys
; then
3057 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3058 elif test "$withval" = builtin; then
3059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3061 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3062 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3063 { (exit 1); exit 1; }; }
3068 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x
; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3079 eval "$ac_cv_use_libjpeg"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3084 if test "$wxUSE_LIBJPEG" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087 elif test "$wxUSE_LIBJPEG" = no
; then
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 elif test "$wxUSE_LIBJPEG" = sys
; then
3091 echo "$as_me:$LINENO: result: system version" >&5
3092 echo "${ECHO_T}system version" >&6
3093 elif test "$wxUSE_LIBJPEG" = builtin; then
3094 echo "$as_me:$LINENO: result: builtin version" >&5
3095 echo "${ECHO_T}builtin version" >&6
3097 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3098 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3099 { (exit 1); exit 1; }; }
3103 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3104 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3107 # Check whether --with-libtiff or --without-libtiff was given.
3108 if test "${with_libtiff+set}" = set; then
3109 withval
="$with_libtiff"
3111 if test "$withval" = yes; then
3112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3113 elif test "$withval" = no
; then
3114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3115 elif test "$withval" = sys
; then
3116 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3117 elif test "$withval" = builtin; then
3118 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3120 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3121 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3122 { (exit 1); exit 1; }; }
3127 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3138 eval "$ac_cv_use_libtiff"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_LIBTIFF" = yes; then
3144 echo "$as_me:$LINENO: result: yes" >&5
3145 echo "${ECHO_T}yes" >&6
3146 elif test "$wxUSE_LIBTIFF" = no
; then
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3149 elif test "$wxUSE_LIBTIFF" = sys
; then
3150 echo "$as_me:$LINENO: result: system version" >&5
3151 echo "${ECHO_T}system version" >&6
3152 elif test "$wxUSE_LIBTIFF" = builtin; then
3153 echo "$as_me:$LINENO: result: builtin version" >&5
3154 echo "${ECHO_T}builtin version" >&6
3156 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3157 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3158 { (exit 1); exit 1; }; }
3162 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3163 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3166 # Check whether --with-libxpm or --without-libxpm was given.
3167 if test "${with_libxpm+set}" = set; then
3168 withval
="$with_libxpm"
3170 if test "$withval" = yes; then
3171 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3172 elif test "$withval" = no
; then
3173 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3174 elif test "$withval" = sys
; then
3175 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3176 elif test "$withval" = builtin; then
3177 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3179 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3180 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3181 { (exit 1); exit 1; }; }
3186 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3187 if test "x$LINE" != x
; then
3188 eval "DEFAULT_$LINE"
3193 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3197 eval "$ac_cv_use_libxpm"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_LIBXPM" = yes; then
3203 echo "$as_me:$LINENO: result: yes" >&5
3204 echo "${ECHO_T}yes" >&6
3205 elif test "$wxUSE_LIBXPM" = no
; then
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3208 elif test "$wxUSE_LIBXPM" = sys
; then
3209 echo "$as_me:$LINENO: result: system version" >&5
3210 echo "${ECHO_T}system version" >&6
3211 elif test "$wxUSE_LIBXPM" = builtin; then
3212 echo "$as_me:$LINENO: result: builtin version" >&5
3213 echo "${ECHO_T}builtin version" >&6
3215 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3216 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3217 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3223 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3226 # Check whether --with-libmspack or --without-libmspack was given.
3227 if test "${with_libmspack+set}" = set; then
3228 withval
="$with_libmspack"
3230 if test "$withval" = yes; then
3231 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3233 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3238 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3239 if test "x$LINE" != x
; then
3240 eval "DEFAULT_$LINE"
3245 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3249 eval "$ac_cv_use_libmspack"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3254 if test "$wxUSE_LIBMSPACK" = yes; then
3255 echo "$as_me:$LINENO: result: yes" >&5
3256 echo "${ECHO_T}yes" >&6
3258 echo "$as_me:$LINENO: result: no" >&5
3259 echo "${ECHO_T}no" >&6
3264 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3268 # Check whether --with-sdl or --without-sdl was given.
3269 if test "${with_sdl+set}" = set; then
3272 if test "$withval" = yes; then
3273 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3275 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3280 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x
; then
3282 eval "DEFAULT_$LINE"
3287 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3291 eval "$ac_cv_use_sdl"
3292 if test "$no_cache" != 1; then
3293 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3296 if test "$wxUSE_LIBSDL" = yes; then
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3300 echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6
3306 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3307 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3310 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3311 if test "${with_gnomeprint+set}" = set; then
3312 withval
="$with_gnomeprint"
3314 if test "$withval" = yes; then
3315 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3317 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3322 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3333 eval "$ac_cv_use_gnomeprint"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3348 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3349 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3352 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3353 if test "${with_gnomevfs+set}" = set; then
3354 withval
="$with_gnomevfs"
3356 if test "$withval" = yes; then
3357 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3359 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3364 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3375 eval "$ac_cv_use_gnomevfs"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3390 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3391 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3394 # Check whether --with-hildon or --without-hildon was given.
3395 if test "${with_hildon+set}" = set; then
3396 withval
="$with_hildon"
3398 if test "$withval" = yes; then
3399 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3401 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3406 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3417 eval "$ac_cv_use_hildon"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_LIBHILDON" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3432 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3433 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3436 # Check whether --with-opengl or --without-opengl was given.
3437 if test "${with_opengl+set}" = set; then
3438 withval
="$with_opengl"
3440 if test "$withval" = yes; then
3441 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3443 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3448 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3459 eval "$ac_cv_use_opengl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_OPENGL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3473 if test "$wxUSE_UNIVERSAL" = "yes"; then
3475 # Check whether --with-themes or --without-themes was given.
3476 if test "${with_themes+set}" = set; then
3477 withval
="$with_themes"
3478 wxUNIV_THEMES
="$withval"
3486 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3490 # Check whether --with-dmalloc or --without-dmalloc was given.
3491 if test "${with_dmalloc+set}" = set; then
3492 withval
="$with_dmalloc"
3494 if test "$withval" = yes; then
3495 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3497 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3502 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3513 eval "$ac_cv_use_dmalloc"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_DMALLOC" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6
3522 echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6
3527 echo "$as_me:$LINENO: checking for --with-regex" >&5
3528 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3531 # Check whether --with-regex or --without-regex was given.
3532 if test "${with_regex+set}" = set; then
3533 withval
="$with_regex"
3535 if test "$withval" = yes; then
3536 ac_cv_use_regex
='wxUSE_REGEX=yes'
3537 elif test "$withval" = no
; then
3538 ac_cv_use_regex
='wxUSE_REGEX=no'
3539 elif test "$withval" = sys
; then
3540 ac_cv_use_regex
='wxUSE_REGEX=sys'
3541 elif test "$withval" = builtin; then
3542 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3544 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3545 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3546 { (exit 1); exit 1; }; }
3551 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x
; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3562 eval "$ac_cv_use_regex"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3567 if test "$wxUSE_REGEX" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6
3570 elif test "$wxUSE_REGEX" = no
; then
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 elif test "$wxUSE_REGEX" = sys
; then
3574 echo "$as_me:$LINENO: result: system version" >&5
3575 echo "${ECHO_T}system version" >&6
3576 elif test "$wxUSE_REGEX" = builtin; then
3577 echo "$as_me:$LINENO: result: builtin version" >&5
3578 echo "${ECHO_T}builtin version" >&6
3580 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3581 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3582 { (exit 1); exit 1; }; }
3586 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3587 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3590 # Check whether --with-zlib or --without-zlib was given.
3591 if test "${with_zlib+set}" = set; then
3592 withval
="$with_zlib"
3594 if test "$withval" = yes; then
3595 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3596 elif test "$withval" = no
; then
3597 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3598 elif test "$withval" = sys
; then
3599 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3600 elif test "$withval" = builtin; then
3601 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3610 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x
; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3621 eval "$ac_cv_use_zlib"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3626 if test "$wxUSE_ZLIB" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3629 elif test "$wxUSE_ZLIB" = no
; then
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 elif test "$wxUSE_ZLIB" = sys
; then
3633 echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6
3635 elif test "$wxUSE_ZLIB" = builtin; then
3636 echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3645 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3646 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3649 # Check whether --with-odbc or --without-odbc was given.
3650 if test "${with_odbc+set}" = set; then
3651 withval
="$with_odbc"
3653 if test "$withval" = yes; then
3654 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3655 elif test "$withval" = no
; then
3656 ac_cv_use_odbc
='wxUSE_ODBC=no'
3657 elif test "$withval" = sys
; then
3658 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3659 elif test "$withval" = builtin; then
3660 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3669 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3670 if test "x$LINE" != x
; then
3671 eval "DEFAULT_$LINE"
3676 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3680 eval "$ac_cv_use_odbc"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3685 if test "$wxUSE_ODBC" = yes; then
3686 echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6
3688 elif test "$wxUSE_ODBC" = no
; then
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3691 elif test "$wxUSE_ODBC" = sys
; then
3692 echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6
3694 elif test "$wxUSE_ODBC" = builtin; then
3695 echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3704 echo "$as_me:$LINENO: checking for --with-expat" >&5
3705 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3708 # Check whether --with-expat or --without-expat was given.
3709 if test "${with_expat+set}" = set; then
3710 withval
="$with_expat"
3712 if test "$withval" = yes; then
3713 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3714 elif test "$withval" = no
; then
3715 ac_cv_use_expat
='wxUSE_EXPAT=no'
3716 elif test "$withval" = sys
; then
3717 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3718 elif test "$withval" = builtin; then
3719 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3728 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x
; then
3730 eval "DEFAULT_$LINE"
3735 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3739 eval "$ac_cv_use_expat"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_EXPAT" = yes; then
3745 echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6
3747 elif test "$wxUSE_EXPAT" = no
; then
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3750 elif test "$wxUSE_EXPAT" = sys
; then
3751 echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6
3753 elif test "$wxUSE_EXPAT" = builtin; then
3754 echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3769 # Check whether --enable-shared or --disable-shared was given.
3770 if test "${enable_shared+set}" = set; then
3771 enableval
="$enable_shared"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_shared
='wxUSE_SHARED=yes'
3776 ac_cv_use_shared
='wxUSE_SHARED=no'
3781 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3792 eval "$ac_cv_use_shared"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_SHARED" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3810 # Check whether --enable-optimise or --disable-optimise was given.
3811 if test "${enable_optimise+set}" = set; then
3812 enableval
="$enable_optimise"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3817 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3822 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x
; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3833 eval "$ac_cv_use_optimise"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_OPTIMISE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3851 # Check whether --enable-debug or --disable-debug was given.
3852 if test "${enable_debug+set}" = set; then
3853 enableval
="$enable_debug"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3858 ac_cv_use_debug
='wxUSE_DEBUG=no'
3863 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3874 eval "$ac_cv_use_debug"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_DEBUG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3892 # Check whether --enable-stl or --disable-stl was given.
3893 if test "${enable_stl+set}" = set; then
3894 enableval
="$enable_stl"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_stl
='wxUSE_STL=yes'
3899 ac_cv_use_stl
='wxUSE_STL=no'
3904 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3915 eval "$ac_cv_use_stl"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_STL" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3928 if test "$USE_OS2" = "1"; then
3929 DEFAULT_wxUSE_OMF
=no
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3935 # Check whether --enable-omf or --disable-omf was given.
3936 if test "${enable_omf+set}" = set; then
3937 enableval
="$enable_omf"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_omf
='wxUSE_OMF=yes'
3942 ac_cv_use_omf
='wxUSE_OMF=no'
3947 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3958 eval "$ac_cv_use_omf"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_OMF" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 if test "$wxUSE_DEBUG" = "yes"; then
3974 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3975 DEFAULT_wxUSE_DEBUG_INFO
=yes
3977 elif test "$wxUSE_DEBUG" = "no"; then
3978 DEFAULT_wxUSE_DEBUG_FLAG
=no
3979 DEFAULT_wxUSE_DEBUG_INFO
=no
3985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3988 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3989 if test "${enable_debug_flag+set}" = set; then
3990 enableval
="$enable_debug_flag"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3995 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4000 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4011 eval "$ac_cv_use_debug_flag"
4012 if test "$no_cache" != 1; then
4013 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4016 if test "$wxUSE_DEBUG_FLAG" = yes; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4027 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4029 # Check whether --enable-debug_info or --disable-debug_info was given.
4030 if test "${enable_debug_info+set}" = set; then
4031 enableval
="$enable_debug_info"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4036 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4041 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4052 eval "$ac_cv_use_debug_info"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4057 if test "$wxUSE_DEBUG_INFO" = yes; then
4058 echo "$as_me:$LINENO: result: yes" >&5
4059 echo "${ECHO_T}yes" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4070 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4071 if test "${enable_debug_gdb+set}" = set; then
4072 enableval
="$enable_debug_gdb"
4074 if test "$enableval" = yes; then
4075 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4077 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4082 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x
; then
4084 eval "DEFAULT_$LINE"
4089 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4093 eval "$ac_cv_use_debug_gdb"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_DEBUG_GDB" = yes; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4111 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4112 if test "${enable_debug_cntxt+set}" = set; then
4113 enableval
="$enable_debug_cntxt"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4118 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4123 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4134 eval "$ac_cv_use_debug_cntxt"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4152 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4153 if test "${enable_mem_tracing+set}" = set; then
4154 enableval
="$enable_mem_tracing"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4159 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4164 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4175 eval "$ac_cv_use_mem_tracing"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_MEM_TRACING" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4193 # Check whether --enable-profile or --disable-profile was given.
4194 if test "${enable_profile+set}" = set; then
4195 enableval
="$enable_profile"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4200 ac_cv_use_profile
='wxUSE_PROFILE=no'
4205 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x
; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4216 eval "$ac_cv_use_profile"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_PROFILE" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4234 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4235 if test "${enable_no_rtti+set}" = set; then
4236 enableval
="$enable_no_rtti"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4241 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4246 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4257 eval "$ac_cv_use_no_rtti"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_NO_RTTI" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4275 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4276 if test "${enable_no_exceptions+set}" = set; then
4277 enableval
="$enable_no_exceptions"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4282 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4287 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4298 eval "$ac_cv_use_no_exceptions"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4316 # Check whether --enable-permissive or --disable-permissive was given.
4317 if test "${enable_permissive+set}" = set; then
4318 enableval
="$enable_permissive"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4323 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4328 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4339 eval "$ac_cv_use_permissive"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_PERMISSIVE" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4357 # Check whether --enable-no_deps or --disable-no_deps was given.
4358 if test "${enable_no_deps+set}" = set; then
4359 enableval
="$enable_no_deps"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4364 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4369 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4380 eval "$ac_cv_use_no_deps"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_NO_DEPS" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4398 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4399 if test "${enable_universal_binary+set}" = set; then
4400 enableval
="$enable_universal_binary"
4402 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4406 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4409 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4412 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4417 eval "$wx_cv_use_universal_binary"
4418 if test "$no_cache" != 1; then
4419 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4422 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4423 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4431 # Check whether --enable-compat24 or --disable-compat24 was given.
4432 if test "${enable_compat24+set}" = set; then
4433 enableval
="$enable_compat24"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4438 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4443 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4454 eval "$ac_cv_use_compat24"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4459 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4468 enablestring
=disable
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4472 # Check whether --enable-compat26 or --disable-compat26 was given.
4473 if test "${enable_compat26+set}" = set; then
4474 enableval
="$enable_compat26"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4479 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4484 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4495 eval "$ac_cv_use_compat26"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4500 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4501 echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4514 # Check whether --enable-rpath or --disable-rpath was given.
4515 if test "${enable_rpath+set}" = set; then
4516 enableval
="$enable_rpath"
4518 if test "$enableval" = yes; then
4519 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4521 ac_cv_use_rpath
='wxUSE_RPATH=no'
4526 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x
; then
4528 eval "DEFAULT_$LINE"
4533 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4537 eval "$ac_cv_use_rpath"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_RPATH" = yes; then
4543 echo "$as_me:$LINENO: result: yes" >&5
4544 echo "${ECHO_T}yes" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4558 # Check whether --enable-intl or --disable-intl was given.
4559 if test "${enable_intl+set}" = set; then
4560 enableval
="$enable_intl"
4562 if test "$enableval" = yes; then
4563 ac_cv_use_intl
='wxUSE_INTL=yes'
4565 ac_cv_use_intl
='wxUSE_INTL=no'
4570 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x
; then
4572 eval "DEFAULT_$LINE"
4577 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4581 eval "$ac_cv_use_intl"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_INTL" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4599 # Check whether --enable-config or --disable-config was given.
4600 if test "${enable_config+set}" = set; then
4601 enableval
="$enable_config"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_config
='wxUSE_CONFIG=yes'
4606 ac_cv_use_config
='wxUSE_CONFIG=no'
4611 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x
; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4622 eval "$ac_cv_use_config"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4627 if test "$wxUSE_CONFIG" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4641 # Check whether --enable-protocols or --disable-protocols was given.
4642 if test "${enable_protocols+set}" = set; then
4643 enableval
="$enable_protocols"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4648 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4653 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4664 eval "$ac_cv_use_protocols"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_PROTOCOL" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4682 # Check whether --enable-ftp or --disable-ftp was given.
4683 if test "${enable_ftp+set}" = set; then
4684 enableval
="$enable_ftp"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4689 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4694 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4705 eval "$ac_cv_use_ftp"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4723 # Check whether --enable-http or --disable-http was given.
4724 if test "${enable_http+set}" = set; then
4725 enableval
="$enable_http"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4730 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4735 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4746 eval "$ac_cv_use_http"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4764 # Check whether --enable-fileproto or --disable-fileproto was given.
4765 if test "${enable_fileproto+set}" = set; then
4766 enableval
="$enable_fileproto"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4771 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4776 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4787 eval "$ac_cv_use_fileproto"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4805 # Check whether --enable-sockets or --disable-sockets was given.
4806 if test "${enable_sockets+set}" = set; then
4807 enableval
="$enable_sockets"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4812 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4817 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4828 eval "$ac_cv_use_sockets"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_SOCKETS" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4846 # Check whether --enable-ole or --disable-ole was given.
4847 if test "${enable_ole+set}" = set; then
4848 enableval
="$enable_ole"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_ole
='wxUSE_OLE=yes'
4853 ac_cv_use_ole
='wxUSE_OLE=no'
4858 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4869 eval "$ac_cv_use_ole"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_OLE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4887 # Check whether --enable-dataobj or --disable-dataobj was given.
4888 if test "${enable_dataobj+set}" = set; then
4889 enableval
="$enable_dataobj"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4894 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4899 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4910 eval "$ac_cv_use_dataobj"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_DATAOBJ" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4929 # Check whether --enable-ipc or --disable-ipc was given.
4930 if test "${enable_ipc+set}" = set; then
4931 enableval
="$enable_ipc"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_ipc
='wxUSE_IPC=yes'
4936 ac_cv_use_ipc
='wxUSE_IPC=no'
4941 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4952 eval "$ac_cv_use_ipc"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_IPC" = yes; then
4958 echo "$as_me:$LINENO: result: yes" >&5
4959 echo "${ECHO_T}yes" >&6
4961 echo "$as_me:$LINENO: result: no" >&5
4962 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4971 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4972 if test "${enable_apple_ieee+set}" = set; then
4973 enableval
="$enable_apple_ieee"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4978 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4983 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4994 eval "$ac_cv_use_apple_ieee"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_APPLE_IEEE" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5012 # Check whether --enable-arcstream or --disable-arcstream was given.
5013 if test "${enable_arcstream+set}" = set; then
5014 enableval
="$enable_arcstream"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5019 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5024 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5035 eval "$ac_cv_use_arcstream"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5053 # Check whether --enable-backtrace or --disable-backtrace was given.
5054 if test "${enable_backtrace+set}" = set; then
5055 enableval
="$enable_backtrace"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5060 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5065 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x
; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5076 eval "$ac_cv_use_backtrace"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_STACKWALKER" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5094 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5095 if test "${enable_catch_segvs+set}" = set; then
5096 enableval
="$enable_catch_segvs"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5101 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5106 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x
; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5117 eval "$ac_cv_use_catch_segvs"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5135 # Check whether --enable-cmdline or --disable-cmdline was given.
5136 if test "${enable_cmdline+set}" = set; then
5137 enableval
="$enable_cmdline"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5142 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5147 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5158 eval "$ac_cv_use_cmdline"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5176 # Check whether --enable-datetime or --disable-datetime was given.
5177 if test "${enable_datetime+set}" = set; then
5178 enableval
="$enable_datetime"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5183 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5188 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5199 eval "$ac_cv_use_datetime"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_DATETIME" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5217 # Check whether --enable-debugreport or --disable-debugreport was given.
5218 if test "${enable_debugreport+set}" = set; then
5219 enableval
="$enable_debugreport"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5224 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5229 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5240 eval "$ac_cv_use_debugreport"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_DEBUGREPORT" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5258 # Check whether --enable-dialupman or --disable-dialupman was given.
5259 if test "${enable_dialupman+set}" = set; then
5260 enableval
="$enable_dialupman"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5265 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5270 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5281 eval "$ac_cv_use_dialupman"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5299 # Check whether --enable-dynlib or --disable-dynlib was given.
5300 if test "${enable_dynlib+set}" = set; then
5301 enableval
="$enable_dynlib"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5306 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5311 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x
; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5322 eval "$ac_cv_use_dynlib"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5340 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5341 if test "${enable_dynamicloader+set}" = set; then
5342 enableval
="$enable_dynamicloader"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5347 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5352 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5363 eval "$ac_cv_use_dynamicloader"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5381 # Check whether --enable-exceptions or --disable-exceptions was given.
5382 if test "${enable_exceptions+set}" = set; then
5383 enableval
="$enable_exceptions"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5388 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5393 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x
; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5404 eval "$ac_cv_use_exceptions"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_EXCEPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5422 # Check whether --enable-ffile or --disable-ffile was given.
5423 if test "${enable_ffile+set}" = set; then
5424 enableval
="$enable_ffile"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5429 ac_cv_use_ffile
='wxUSE_FFILE=no'
5434 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5445 eval "$ac_cv_use_ffile"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_FFILE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5463 # Check whether --enable-file or --disable-file was given.
5464 if test "${enable_file+set}" = set; then
5465 enableval
="$enable_file"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_file
='wxUSE_FILE=yes'
5470 ac_cv_use_file
='wxUSE_FILE=no'
5475 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5486 eval "$ac_cv_use_file"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_FILE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5504 # Check whether --enable-filesystem or --disable-filesystem was given.
5505 if test "${enable_filesystem+set}" = set; then
5506 enableval
="$enable_filesystem"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5511 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5516 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x
; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5527 eval "$ac_cv_use_filesystem"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_FILESYSTEM" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5545 # Check whether --enable-fontmap or --disable-fontmap was given.
5546 if test "${enable_fontmap+set}" = set; then
5547 enableval
="$enable_fontmap"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5552 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5557 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x
; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5568 eval "$ac_cv_use_fontmap"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_FONTMAP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5586 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5587 if test "${enable_fs_inet+set}" = set; then
5588 enableval
="$enable_fs_inet"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5593 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5598 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5609 eval "$ac_cv_use_fs_inet"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_FS_INET" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5627 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5628 if test "${enable_fs_zip+set}" = set; then
5629 enableval
="$enable_fs_zip"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5634 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5639 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x
; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5650 eval "$ac_cv_use_fs_zip"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_FS_ZIP" = yes; then
5656 echo "$as_me:$LINENO: result: yes" >&5
5657 echo "${ECHO_T}yes" >&6
5659 echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6
5665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5668 # Check whether --enable-geometry or --disable-geometry was given.
5669 if test "${enable_geometry+set}" = set; then
5670 enableval
="$enable_geometry"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5675 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5680 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5691 eval "$ac_cv_use_geometry"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5696 if test "$wxUSE_GEOMETRY" = yes; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5700 echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6
5706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5709 # Check whether --enable-log or --disable-log was given.
5710 if test "${enable_log+set}" = set; then
5711 enableval
="$enable_log"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_log
='wxUSE_LOG=yes'
5716 ac_cv_use_log
='wxUSE_LOG=no'
5721 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5732 eval "$ac_cv_use_log"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5737 if test "$wxUSE_LOG" = yes; then
5738 echo "$as_me:$LINENO: result: yes" >&5
5739 echo "${ECHO_T}yes" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5750 # Check whether --enable-longlong or --disable-longlong was given.
5751 if test "${enable_longlong+set}" = set; then
5752 enableval
="$enable_longlong"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5757 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5762 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5773 eval "$ac_cv_use_longlong"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_LONGLONG" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5791 # Check whether --enable-mimetype or --disable-mimetype was given.
5792 if test "${enable_mimetype+set}" = set; then
5793 enableval
="$enable_mimetype"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5798 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5803 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5814 eval "$ac_cv_use_mimetype"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_MIMETYPE" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5832 # Check whether --enable-mslu or --disable-mslu was given.
5833 if test "${enable_mslu+set}" = set; then
5834 enableval
="$enable_mslu"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5839 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5844 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5855 eval "$ac_cv_use_mslu"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_UNICODE_MSLU" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5873 # Check whether --enable-snglinst or --disable-snglinst was given.
5874 if test "${enable_snglinst+set}" = set; then
5875 enableval
="$enable_snglinst"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5880 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5885 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5896 eval "$ac_cv_use_snglinst"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5914 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5915 if test "${enable_std_iostreams+set}" = set; then
5916 enableval
="$enable_std_iostreams"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5921 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5926 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5937 eval "$ac_cv_use_std_iostreams"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_STD_IOSTREAM" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5955 # Check whether --enable-std_string or --disable-std_string was given.
5956 if test "${enable_std_string+set}" = set; then
5957 enableval
="$enable_std_string"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5962 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5967 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5978 eval "$ac_cv_use_std_string"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_STD_STRING" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5996 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5997 if test "${enable_stdpaths+set}" = set; then
5998 enableval
="$enable_stdpaths"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6003 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6008 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x
; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6019 eval "$ac_cv_use_stdpaths"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_STDPATHS" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6037 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6038 if test "${enable_stopwatch+set}" = set; then
6039 enableval
="$enable_stopwatch"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6044 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6049 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x
; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6060 eval "$ac_cv_use_stopwatch"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_STOPWATCH" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6078 # Check whether --enable-streams or --disable-streams was given.
6079 if test "${enable_streams+set}" = set; then
6080 enableval
="$enable_streams"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6085 ac_cv_use_streams
='wxUSE_STREAMS=no'
6090 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x
; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6101 eval "$ac_cv_use_streams"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_STREAMS" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6119 # Check whether --enable-system_options or --disable-system_options was given.
6120 if test "${enable_system_options+set}" = set; then
6121 enableval
="$enable_system_options"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6126 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6131 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x
; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6142 eval "$ac_cv_use_system_options"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6160 # Check whether --enable-textbuf or --disable-textbuf was given.
6161 if test "${enable_textbuf+set}" = set; then
6162 enableval
="$enable_textbuf"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6167 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6172 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x
; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6183 eval "$ac_cv_use_textbuf"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_TEXTBUFFER" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6201 # Check whether --enable-textfile or --disable-textfile was given.
6202 if test "${enable_textfile+set}" = set; then
6203 enableval
="$enable_textfile"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6208 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6213 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6224 eval "$ac_cv_use_textfile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_TEXTFILE" = yes; then
6230 echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6233 echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6242 # Check whether --enable-timer or --disable-timer was given.
6243 if test "${enable_timer+set}" = set; then
6244 enableval
="$enable_timer"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_timer
='wxUSE_TIMER=yes'
6249 ac_cv_use_timer
='wxUSE_TIMER=no'
6254 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6265 eval "$ac_cv_use_timer"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_TIMER" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6283 # Check whether --enable-unicode or --disable-unicode was given.
6284 if test "${enable_unicode+set}" = set; then
6285 enableval
="$enable_unicode"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6290 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6295 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6306 eval "$ac_cv_use_unicode"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_UNICODE" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6324 # Check whether --enable-sound or --disable-sound was given.
6325 if test "${enable_sound+set}" = set; then
6326 enableval
="$enable_sound"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_sound
='wxUSE_SOUND=yes'
6331 ac_cv_use_sound
='wxUSE_SOUND=no'
6336 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6347 eval "$ac_cv_use_sound"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_SOUND" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6365 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6366 if test "${enable_mediactrl+set}" = set; then
6367 enableval
="$enable_mediactrl"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6372 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6377 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6388 eval "$ac_cv_use_mediactrl"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_MEDIACTRL" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6406 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6407 if test "${enable_gstreamer8+set}" = set; then
6408 enableval
="$enable_gstreamer8"
6410 if test "$enableval" = yes; then
6411 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6413 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6418 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6425 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6429 eval "$ac_cv_use_gstreamer8"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_GSTREAMER8" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6447 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6448 if test "${enable_printfposparam+set}" = set; then
6449 enableval
="$enable_printfposparam"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6454 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6459 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x
; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6470 eval "$ac_cv_use_printfposparam"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6488 # Check whether --enable-zipstream or --disable-zipstream was given.
6489 if test "${enable_zipstream+set}" = set; then
6490 enableval
="$enable_zipstream"
6492 if test "$enableval" = yes; then
6493 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6495 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6500 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x
; then
6502 eval "DEFAULT_$LINE"
6507 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6511 eval "$ac_cv_use_zipstream"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_ZIPSTREAM" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6530 # Check whether --enable-url or --disable-url was given.
6531 if test "${enable_url+set}" = set; then
6532 enableval
="$enable_url"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_url
='wxUSE_URL=yes'
6537 ac_cv_use_url
='wxUSE_URL=no'
6542 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6553 eval "$ac_cv_use_url"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6558 if test "$wxUSE_URL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6
6562 echo "$as_me:$LINENO: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6571 # Check whether --enable-variant or --disable-variant was given.
6572 if test "${enable_variant+set}" = set; then
6573 enableval
="$enable_variant"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6578 ac_cv_use_variant
='wxUSE_VARIANT=no'
6583 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6594 eval "$ac_cv_use_variant"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_VARIANT" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601 echo "${ECHO_T}yes" >&6
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6612 # Check whether --enable-protocol or --disable-protocol was given.
6613 if test "${enable_protocol+set}" = set; then
6614 enableval
="$enable_protocol"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6619 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6624 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6635 eval "$ac_cv_use_protocol"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_PROTOCOL" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642 echo "${ECHO_T}yes" >&6
6644 echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6653 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6654 if test "${enable_protocol_http+set}" = set; then
6655 enableval
="$enable_protocol_http"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6660 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6665 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6676 eval "$ac_cv_use_protocol_http"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683 echo "${ECHO_T}yes" >&6
6685 echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6694 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6695 if test "${enable_protocol_ftp+set}" = set; then
6696 enableval
="$enable_protocol_ftp"
6698 if test "$enableval" = yes; then
6699 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6701 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6706 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x
; then
6708 eval "DEFAULT_$LINE"
6713 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6717 eval "$ac_cv_use_protocol_ftp"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724 echo "${ECHO_T}yes" >&6
6726 echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6735 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6736 if test "${enable_protocol_file+set}" = set; then
6737 enableval
="$enable_protocol_file"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6742 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6747 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6758 eval "$ac_cv_use_protocol_file"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765 echo "${ECHO_T}yes" >&6
6767 echo "$as_me:$LINENO: result: no" >&5
6768 echo "${ECHO_T}no" >&6
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6779 # Check whether --enable-threads or --disable-threads was given.
6780 if test "${enable_threads+set}" = set; then
6781 enableval
="$enable_threads"
6783 if test "$enableval" = yes; then
6784 ac_cv_use_threads
='wxUSE_THREADS=yes'
6786 ac_cv_use_threads
='wxUSE_THREADS=no'
6791 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x
; then
6793 eval "DEFAULT_$LINE"
6798 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6802 eval "$ac_cv_use_threads"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_THREADS" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809 echo "${ECHO_T}yes" >&6
6811 echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6
6816 if test "$wxUSE_GUI" = "yes"; then
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6824 # Check whether --enable-docview or --disable-docview was given.
6825 if test "${enable_docview+set}" = set; then
6826 enableval
="$enable_docview"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6831 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6836 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x
; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6847 eval "$ac_cv_use_docview"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6865 # Check whether --enable-help or --disable-help was given.
6866 if test "${enable_help+set}" = set; then
6867 enableval
="$enable_help"
6869 if test "$enableval" = yes; then
6870 ac_cv_use_help
='wxUSE_HELP=yes'
6872 ac_cv_use_help
='wxUSE_HELP=no'
6877 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x
; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6888 eval "$ac_cv_use_help"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_HELP" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6906 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6907 if test "${enable_mshtmlhelp+set}" = set; then
6908 enableval
="$enable_mshtmlhelp"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6913 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6918 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6929 eval "$ac_cv_use_mshtmlhelp"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_MS_HTML_HELP" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6947 # Check whether --enable-html or --disable-html was given.
6948 if test "${enable_html+set}" = set; then
6949 enableval
="$enable_html"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_html
='wxUSE_HTML=yes'
6954 ac_cv_use_html
='wxUSE_HTML=no'
6959 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6970 eval "$ac_cv_use_html"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6975 if test "$wxUSE_HTML" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6988 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6989 if test "${enable_htmlhelp+set}" = set; then
6990 enableval
="$enable_htmlhelp"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6995 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7000 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7011 eval "$ac_cv_use_htmlhelp"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_WXHTML_HELP" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7029 # Check whether --enable-xrc or --disable-xrc was given.
7030 if test "${enable_xrc+set}" = set; then
7031 enableval
="$enable_xrc"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_xrc
='wxUSE_XRC=yes'
7036 ac_cv_use_xrc
='wxUSE_XRC=no'
7041 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7052 eval "$ac_cv_use_xrc"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_XRC" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7070 # Check whether --enable-aui or --disable-aui was given.
7071 if test "${enable_aui+set}" = set; then
7072 enableval
="$enable_aui"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_aui
='wxUSE_AUI=yes'
7077 ac_cv_use_aui
='wxUSE_AUI=no'
7082 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x
; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7093 eval "$ac_cv_use_aui"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_AUI" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7111 # Check whether --enable-constraints or --disable-constraints was given.
7112 if test "${enable_constraints+set}" = set; then
7113 enableval
="$enable_constraints"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7118 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7123 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7134 eval "$ac_cv_use_constraints"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_CONSTRAINTS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7152 # Check whether --enable-printarch or --disable-printarch was given.
7153 if test "${enable_printarch+set}" = set; then
7154 enableval
="$enable_printarch"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7159 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7164 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x
; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7175 eval "$ac_cv_use_printarch"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7193 # Check whether --enable-mdi or --disable-mdi was given.
7194 if test "${enable_mdi+set}" = set; then
7195 enableval
="$enable_mdi"
7197 if test "$enableval" = yes; then
7198 ac_cv_use_mdi
='wxUSE_MDI=yes'
7200 ac_cv_use_mdi
='wxUSE_MDI=no'
7205 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x
; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7216 eval "$ac_cv_use_mdi"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7221 if test "$wxUSE_MDI" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7234 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7235 if test "${enable_mdidoc+set}" = set; then
7236 enableval
="$enable_mdidoc"
7238 if test "$enableval" = yes; then
7239 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7241 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7246 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x
; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7257 eval "$ac_cv_use_mdidoc"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7262 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6
7266 echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7275 # Check whether --enable-loggui or --disable-loggui was given.
7276 if test "${enable_loggui+set}" = set; then
7277 enableval
="$enable_loggui"
7279 if test "$enableval" = yes; then
7280 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7282 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7287 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x
; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7298 eval "$ac_cv_use_loggui"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7303 if test "$wxUSE_LOGGUI" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7316 # Check whether --enable-logwin or --disable-logwin was given.
7317 if test "${enable_logwin+set}" = set; then
7318 enableval
="$enable_logwin"
7320 if test "$enableval" = yes; then
7321 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7323 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7328 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x
; then
7330 eval "DEFAULT_$LINE"
7335 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7339 eval "$ac_cv_use_logwin"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7344 if test "$wxUSE_LOGWINDOW" = yes; then
7345 echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6
7348 echo "$as_me:$LINENO: result: no" >&5
7349 echo "${ECHO_T}no" >&6
7354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7357 # Check whether --enable-logdialog or --disable-logdialog was given.
7358 if test "${enable_logdialog+set}" = set; then
7359 enableval
="$enable_logdialog"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7364 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7369 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7380 eval "$ac_cv_use_logdialog"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_LOGDIALOG" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6
7389 echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7398 # Check whether --enable-webkit or --disable-webkit was given.
7399 if test "${enable_webkit+set}" = set; then
7400 enableval
="$enable_webkit"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7405 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7410 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x
; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7421 eval "$ac_cv_use_webkit"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7426 if test "$wxUSE_WEBKIT" = yes; then
7427 echo "$as_me:$LINENO: result: yes" >&5
7428 echo "${ECHO_T}yes" >&6
7430 echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6
7436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7439 # Check whether --enable-html or --disable-html was given.
7440 if test "${enable_html+set}" = set; then
7441 enableval
="$enable_html"
7443 if test "$enableval" = yes; then
7444 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7446 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7451 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x
; then
7453 eval "DEFAULT_$LINE"
7458 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7462 eval "$ac_cv_use_html"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7467 if test "$wxUSE_RICHTEXT" = yes; then
7468 echo "$as_me:$LINENO: result: yes" >&5
7469 echo "${ECHO_T}yes" >&6
7471 echo "$as_me:$LINENO: result: no" >&5
7472 echo "${ECHO_T}no" >&6
7477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7480 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7481 if test "${enable_graphics_ctx+set}" = set; then
7482 enableval
="$enable_graphics_ctx"
7484 if test "$enableval" = yes; then
7485 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7487 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7492 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x
; then
7494 eval "DEFAULT_$LINE"
7499 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7503 eval "$ac_cv_use_graphics_ctx"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7522 # Check whether --enable-postscript or --disable-postscript was given.
7523 if test "${enable_postscript+set}" = set; then
7524 enableval
="$enable_postscript"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7529 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7534 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x
; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7545 eval "$ac_cv_use_postscript"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_POSTSCRIPT" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7566 # Check whether --enable-prologio or --disable-prologio was given.
7567 if test "${enable_prologio+set}" = set; then
7568 enableval
="$enable_prologio"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7573 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7578 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7589 eval "$ac_cv_use_prologio"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_PROLOGIO" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7598 echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7607 # Check whether --enable-resources or --disable-resources was given.
7608 if test "${enable_resources+set}" = set; then
7609 enableval
="$enable_resources"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7614 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7619 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7630 eval "$ac_cv_use_resources"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_RESOURCES" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7650 # Check whether --enable-clipboard or --disable-clipboard was given.
7651 if test "${enable_clipboard+set}" = set; then
7652 enableval
="$enable_clipboard"
7654 if test "$enableval" = yes; then
7655 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7657 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7662 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x
; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7673 eval "$ac_cv_use_clipboard"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_CLIPBOARD" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7691 # Check whether --enable-dnd or --disable-dnd was given.
7692 if test "${enable_dnd+set}" = set; then
7693 enableval
="$enable_dnd"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7698 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7703 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x
; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7714 eval "$ac_cv_use_dnd"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7732 # Check whether --enable-metafile or --disable-metafile was given.
7733 if test "${enable_metafile+set}" = set; then
7734 enableval
="$enable_metafile"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7739 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7744 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x
; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7755 eval "$ac_cv_use_metafile"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7760 if test "$wxUSE_METAFILE" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7776 # Check whether --enable-controls or --disable-controls was given.
7777 if test "${enable_controls+set}" = set; then
7778 enableval
="$enable_controls"
7780 if test "$enableval" = yes; then
7781 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7783 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7788 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7789 if test "x$LINE" != x
; then
7790 eval "DEFAULT_$LINE"
7795 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7799 eval "$ac_cv_use_controls"
7800 if test "$no_cache" != 1; then
7801 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7804 if test "$wxUSE_CONTROLS" = yes; then
7805 echo "$as_me:$LINENO: result: yes" >&5
7806 echo "${ECHO_T}yes" >&6
7808 echo "$as_me:$LINENO: result: no" >&5
7809 echo "${ECHO_T}no" >&6
7813 if test "$wxUSE_CONTROLS" = "yes"; then
7814 DEFAULT_wxUSE_ACCEL
=yes
7815 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7816 DEFAULT_wxUSE_BMPBUTTON
=yes
7817 DEFAULT_wxUSE_BUTTON
=yes
7818 DEFAULT_wxUSE_CALCTRL
=yes
7819 DEFAULT_wxUSE_CARET
=yes
7820 DEFAULT_wxUSE_COMBOBOX
=yes
7821 DEFAULT_wxUSE_CHECKBOX
=yes
7822 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7823 DEFAULT_wxUSE_CHOICE
=yes
7824 DEFAULT_wxUSE_CHOICEBOOK
=yes
7825 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7826 DEFAULT_wxUSE_COMBOBOX
=yes
7827 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7828 DEFAULT_wxUSE_DISPLAY
=yes
7829 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7830 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7831 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7832 DEFAULT_wxUSE_GAUGE
=yes
7833 DEFAULT_wxUSE_GRID
=yes
7834 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7835 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7836 DEFAULT_wxUSE_IMAGLIST
=yes
7837 DEFAULT_wxUSE_LISTBOOK
=yes
7838 DEFAULT_wxUSE_LISTBOX
=yes
7839 DEFAULT_wxUSE_LISTCTRL
=yes
7840 DEFAULT_wxUSE_NOTEBOOK
=yes
7841 DEFAULT_wxUSE_RADIOBOX
=yes
7842 DEFAULT_wxUSE_RADIOBTN
=yes
7843 DEFAULT_wxUSE_SASH
=yes
7844 DEFAULT_wxUSE_SCROLLBAR
=yes
7845 DEFAULT_wxUSE_SLIDER
=yes
7846 DEFAULT_wxUSE_SPINBTN
=yes
7847 DEFAULT_wxUSE_SPINCTRL
=yes
7848 DEFAULT_wxUSE_SPLITTER
=yes
7849 DEFAULT_wxUSE_STATBMP
=yes
7850 DEFAULT_wxUSE_STATBOX
=yes
7851 DEFAULT_wxUSE_STATLINE
=yes
7852 DEFAULT_wxUSE_STATUSBAR
=yes
7853 DEFAULT_wxUSE_TAB_DIALOG
=yes
7854 DEFAULT_wxUSE_TOGGLEBTN
=yes
7855 DEFAULT_wxUSE_TOOLBAR
=yes
7856 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7857 DEFAULT_wxUSE_TOOLTIPS
=yes
7858 DEFAULT_wxUSE_TREEBOOK
=yes
7859 DEFAULT_wxUSE_TOOLBOOK
=yes
7860 DEFAULT_wxUSE_TREECTRL
=yes
7861 DEFAULT_wxUSE_POPUPWIN
=yes
7862 DEFAULT_wxUSE_TIPWINDOW
=yes
7863 elif test "$wxUSE_CONTROLS" = "no"; then
7864 DEFAULT_wxUSE_ACCEL
=no
7865 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7866 DEFAULT_wxUSE_BMPBUTTON
=no
7867 DEFAULT_wxUSE_BUTTON
=no
7868 DEFAULT_wxUSE_CALCTRL
=no
7869 DEFAULT_wxUSE_CARET
=no
7870 DEFAULT_wxUSE_COMBOBOX
=no
7871 DEFAULT_wxUSE_CHECKBOX
=no
7872 DEFAULT_wxUSE_CHECKLISTBOX
=no
7873 DEFAULT_wxUSE_CHOICE
=no
7874 DEFAULT_wxUSE_CHOICEBOOK
=no
7875 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7876 DEFAULT_wxUSE_COMBOBOX
=no
7877 DEFAULT_wxUSE_DATEPICKCTRL
=no
7878 DEFAULT_wxUSE_DISPLAY
=no
7879 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7880 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7881 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7882 DEFAULT_wxUSE_GAUGE
=no
7883 DEFAULT_wxUSE_GRID
=no
7884 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7885 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7886 DEFAULT_wxUSE_IMAGLIST
=no
7887 DEFAULT_wxUSE_LISTBOOK
=no
7888 DEFAULT_wxUSE_LISTBOX
=no
7889 DEFAULT_wxUSE_LISTCTRL
=no
7890 DEFAULT_wxUSE_NOTEBOOK
=no
7891 DEFAULT_wxUSE_RADIOBOX
=no
7892 DEFAULT_wxUSE_RADIOBTN
=no
7893 DEFAULT_wxUSE_SASH
=no
7894 DEFAULT_wxUSE_SCROLLBAR
=no
7895 DEFAULT_wxUSE_SLIDER
=no
7896 DEFAULT_wxUSE_SPINBTN
=no
7897 DEFAULT_wxUSE_SPINCTRL
=no
7898 DEFAULT_wxUSE_SPLITTER
=no
7899 DEFAULT_wxUSE_STATBMP
=no
7900 DEFAULT_wxUSE_STATBOX
=no
7901 DEFAULT_wxUSE_STATLINE
=no
7902 DEFAULT_wxUSE_STATUSBAR
=no
7903 DEFAULT_wxUSE_TAB_DIALOG
=no
7904 DEFAULT_wxUSE_TOGGLEBTN
=no
7905 DEFAULT_wxUSE_TOOLBAR
=no
7906 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7907 DEFAULT_wxUSE_TOOLTIPS
=no
7908 DEFAULT_wxUSE_TREEBOOK
=no
7909 DEFAULT_wxUSE_TOOLBOOK
=no
7910 DEFAULT_wxUSE_TREECTRL
=no
7911 DEFAULT_wxUSE_POPUPWIN
=no
7912 DEFAULT_wxUSE_TIPWINDOW
=no
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7920 # Check whether --enable-accel or --disable-accel was given.
7921 if test "${enable_accel+set}" = set; then
7922 enableval
="$enable_accel"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7927 ac_cv_use_accel
='wxUSE_ACCEL=no'
7932 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7943 eval "$ac_cv_use_accel"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_ACCEL" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7961 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7962 if test "${enable_animatectrl+set}" = set; then
7963 enableval
="$enable_animatectrl"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
7968 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
7973 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7984 eval "$ac_cv_use_animatectrl"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_ANIMATIONCTRL" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8002 # Check whether --enable-button or --disable-button was given.
8003 if test "${enable_button+set}" = set; then
8004 enableval
="$enable_button"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_button
='wxUSE_BUTTON=yes'
8009 ac_cv_use_button
='wxUSE_BUTTON=no'
8014 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8025 eval "$ac_cv_use_button"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_BUTTON" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8043 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8044 if test "${enable_bmpbutton+set}" = set; then
8045 enableval
="$enable_bmpbutton"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8050 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8055 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8066 eval "$ac_cv_use_bmpbutton"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_BMPBUTTON" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8084 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8085 if test "${enable_bmpcombobox+set}" = set; then
8086 enableval
="$enable_bmpcombobox"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8091 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8096 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8107 eval "$ac_cv_use_bmpcombobox"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8125 # Check whether --enable-calendar or --disable-calendar was given.
8126 if test "${enable_calendar+set}" = set; then
8127 enableval
="$enable_calendar"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8132 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8137 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8148 eval "$ac_cv_use_calendar"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_CALCTRL" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8166 # Check whether --enable-caret or --disable-caret was given.
8167 if test "${enable_caret+set}" = set; then
8168 enableval
="$enable_caret"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_caret
='wxUSE_CARET=yes'
8173 ac_cv_use_caret
='wxUSE_CARET=no'
8178 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8189 eval "$ac_cv_use_caret"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_CARET" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8207 # Check whether --enable-checkbox or --disable-checkbox was given.
8208 if test "${enable_checkbox+set}" = set; then
8209 enableval
="$enable_checkbox"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8214 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8219 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8230 eval "$ac_cv_use_checkbox"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_CHECKBOX" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8248 # Check whether --enable-checklst or --disable-checklst was given.
8249 if test "${enable_checklst+set}" = set; then
8250 enableval
="$enable_checklst"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8255 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8260 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8271 eval "$ac_cv_use_checklst"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_CHECKLST" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8289 # Check whether --enable-choice or --disable-choice was given.
8290 if test "${enable_choice+set}" = set; then
8291 enableval
="$enable_choice"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8296 ac_cv_use_choice
='wxUSE_CHOICE=no'
8301 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8312 eval "$ac_cv_use_choice"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_CHOICE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8330 # Check whether --enable-choicebook or --disable-choicebook was given.
8331 if test "${enable_choicebook+set}" = set; then
8332 enableval
="$enable_choicebook"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8337 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8342 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8353 eval "$ac_cv_use_choicebook"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_CHOICEBOOK" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8371 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8372 if test "${enable_colourpicker+set}" = set; then
8373 enableval
="$enable_colourpicker"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8378 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8383 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8394 eval "$ac_cv_use_colourpicker"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8412 # Check whether --enable-combobox or --disable-combobox was given.
8413 if test "${enable_combobox+set}" = set; then
8414 enableval
="$enable_combobox"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8419 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8424 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8435 eval "$ac_cv_use_combobox"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_COMBOBOX" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8453 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8454 if test "${enable_comboctrl+set}" = set; then
8455 enableval
="$enable_comboctrl"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8460 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8465 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8476 eval "$ac_cv_use_comboctrl"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_COMBOCTRL" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8494 # Check whether --enable-datepick or --disable-datepick was given.
8495 if test "${enable_datepick+set}" = set; then
8496 enableval
="$enable_datepick"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8501 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8506 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x
; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8517 eval "$ac_cv_use_datepick"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_DATEPICKCTRL" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8535 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8536 if test "${enable_dirpicker+set}" = set; then
8537 enableval
="$enable_dirpicker"
8539 if test "$enableval" = yes; then
8540 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8542 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8547 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x
; then
8549 eval "DEFAULT_$LINE"
8554 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8558 eval "$ac_cv_use_dirpicker"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8563 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8576 # Check whether --enable-display or --disable-display was given.
8577 if test "${enable_display+set}" = set; then
8578 enableval
="$enable_display"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8583 ac_cv_use_display
='wxUSE_DISPLAY=no'
8588 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x
; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8599 eval "$ac_cv_use_display"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8604 if test "$wxUSE_DISPLAY" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8617 # Check whether --enable-filepicker or --disable-filepicker was given.
8618 if test "${enable_filepicker+set}" = set; then
8619 enableval
="$enable_filepicker"
8621 if test "$enableval" = yes; then
8622 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8624 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8629 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x
; then
8631 eval "DEFAULT_$LINE"
8636 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8640 eval "$ac_cv_use_filepicker"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8658 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8659 if test "${enable_fontpicker+set}" = set; then
8660 enableval
="$enable_fontpicker"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8665 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8670 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8681 eval "$ac_cv_use_fontpicker"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8699 # Check whether --enable-gauge or --disable-gauge was given.
8700 if test "${enable_gauge+set}" = set; then
8701 enableval
="$enable_gauge"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8706 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8711 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x
; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8722 eval "$ac_cv_use_gauge"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_GAUGE" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8740 # Check whether --enable-grid or --disable-grid was given.
8741 if test "${enable_grid+set}" = set; then
8742 enableval
="$enable_grid"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_grid
='wxUSE_GRID=yes'
8747 ac_cv_use_grid
='wxUSE_GRID=no'
8752 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x
; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8763 eval "$ac_cv_use_grid"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_GRID" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8781 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8782 if test "${enable_dataviewctrl+set}" = set; then
8783 enableval
="$enable_dataviewctrl"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8788 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8793 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x
; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8804 eval "$ac_cv_use_dataviewctrl"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8822 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8823 if test "${enable_hyperlink+set}" = set; then
8824 enableval
="$enable_hyperlink"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8829 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8834 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x
; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8845 eval "$ac_cv_use_hyperlink"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8863 # Check whether --enable-imaglist or --disable-imaglist was given.
8864 if test "${enable_imaglist+set}" = set; then
8865 enableval
="$enable_imaglist"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8870 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8875 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x
; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8886 eval "$ac_cv_use_imaglist"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_IMAGLIST" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8904 # Check whether --enable-listbook or --disable-listbook was given.
8905 if test "${enable_listbook+set}" = set; then
8906 enableval
="$enable_listbook"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8911 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8916 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x
; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8927 eval "$ac_cv_use_listbook"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_LISTBOOK" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8945 # Check whether --enable-listbox or --disable-listbox was given.
8946 if test "${enable_listbox+set}" = set; then
8947 enableval
="$enable_listbox"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8952 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8957 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x
; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8968 eval "$ac_cv_use_listbox"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_LISTBOX" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8986 # Check whether --enable-listctrl or --disable-listctrl was given.
8987 if test "${enable_listctrl+set}" = set; then
8988 enableval
="$enable_listctrl"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8993 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8998 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x
; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9009 eval "$ac_cv_use_listctrl"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_LISTCTRL" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9027 # Check whether --enable-notebook or --disable-notebook was given.
9028 if test "${enable_notebook+set}" = set; then
9029 enableval
="$enable_notebook"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9034 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9039 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9050 eval "$ac_cv_use_notebook"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_NOTEBOOK" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9068 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9069 if test "${enable_odcombobox+set}" = set; then
9070 enableval
="$enable_odcombobox"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9075 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9080 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9091 eval "$ac_cv_use_odcombobox"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_ODCOMBOBOX" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9109 # Check whether --enable-radiobox or --disable-radiobox was given.
9110 if test "${enable_radiobox+set}" = set; then
9111 enableval
="$enable_radiobox"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9116 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9121 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9132 eval "$ac_cv_use_radiobox"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_RADIOBOX" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9150 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9151 if test "${enable_radiobtn+set}" = set; then
9152 enableval
="$enable_radiobtn"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9157 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9162 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9173 eval "$ac_cv_use_radiobtn"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_RADIOBTN" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9191 # Check whether --enable-sash or --disable-sash was given.
9192 if test "${enable_sash+set}" = set; then
9193 enableval
="$enable_sash"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_sash
='wxUSE_SASH=yes'
9198 ac_cv_use_sash
='wxUSE_SASH=no'
9203 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9214 eval "$ac_cv_use_sash"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_SASH" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9232 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9233 if test "${enable_scrollbar+set}" = set; then
9234 enableval
="$enable_scrollbar"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9239 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9244 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9255 eval "$ac_cv_use_scrollbar"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_SCROLLBAR" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9273 # Check whether --enable-slider or --disable-slider was given.
9274 if test "${enable_slider+set}" = set; then
9275 enableval
="$enable_slider"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9280 ac_cv_use_slider
='wxUSE_SLIDER=no'
9285 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9296 eval "$ac_cv_use_slider"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_SLIDER" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9314 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9315 if test "${enable_spinbtn+set}" = set; then
9316 enableval
="$enable_spinbtn"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9321 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9326 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9337 eval "$ac_cv_use_spinbtn"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_SPINBTN" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9355 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9356 if test "${enable_spinctrl+set}" = set; then
9357 enableval
="$enable_spinctrl"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9362 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9367 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9378 eval "$ac_cv_use_spinctrl"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_SPINCTRL" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9396 # Check whether --enable-splitter or --disable-splitter was given.
9397 if test "${enable_splitter+set}" = set; then
9398 enableval
="$enable_splitter"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9403 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9408 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9419 eval "$ac_cv_use_splitter"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_SPLITTER" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9437 # Check whether --enable-statbmp or --disable-statbmp was given.
9438 if test "${enable_statbmp+set}" = set; then
9439 enableval
="$enable_statbmp"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9444 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9449 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9460 eval "$ac_cv_use_statbmp"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_STATBMP" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9478 # Check whether --enable-statbox or --disable-statbox was given.
9479 if test "${enable_statbox+set}" = set; then
9480 enableval
="$enable_statbox"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9485 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9490 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9501 eval "$ac_cv_use_statbox"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_STATBOX" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9519 # Check whether --enable-statline or --disable-statline was given.
9520 if test "${enable_statline+set}" = set; then
9521 enableval
="$enable_statline"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9526 ac_cv_use_statline
='wxUSE_STATLINE=no'
9531 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9542 eval "$ac_cv_use_statline"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_STATLINE" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9560 # Check whether --enable-stattext or --disable-stattext was given.
9561 if test "${enable_stattext+set}" = set; then
9562 enableval
="$enable_stattext"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9567 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9572 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9583 eval "$ac_cv_use_stattext"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_STATTEXT" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9601 # Check whether --enable-statusbar or --disable-statusbar was given.
9602 if test "${enable_statusbar+set}" = set; then
9603 enableval
="$enable_statusbar"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9608 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9613 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9624 eval "$ac_cv_use_statusbar"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_STATUSBAR" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9642 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9643 if test "${enable_tabdialog+set}" = set; then
9644 enableval
="$enable_tabdialog"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9649 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9654 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9665 eval "$ac_cv_use_tabdialog"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_TAB_DIALOG" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9683 # Check whether --enable-textctrl or --disable-textctrl was given.
9684 if test "${enable_textctrl+set}" = set; then
9685 enableval
="$enable_textctrl"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9690 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9695 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9706 eval "$ac_cv_use_textctrl"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TEXTCTRL" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9724 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9725 if test "${enable_togglebtn+set}" = set; then
9726 enableval
="$enable_togglebtn"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9731 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9736 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9747 eval "$ac_cv_use_togglebtn"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_TOGGLEBTN" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9765 # Check whether --enable-toolbar or --disable-toolbar was given.
9766 if test "${enable_toolbar+set}" = set; then
9767 enableval
="$enable_toolbar"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9772 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9777 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9788 eval "$ac_cv_use_toolbar"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_TOOLBAR" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9806 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9807 if test "${enable_tbarnative+set}" = set; then
9808 enableval
="$enable_tbarnative"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9813 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9818 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9829 eval "$ac_cv_use_tbarnative"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9847 # Check whether --enable-treebook or --disable-treebook was given.
9848 if test "${enable_treebook+set}" = set; then
9849 enableval
="$enable_treebook"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9854 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9859 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9870 eval "$ac_cv_use_treebook"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_TREEBOOK" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9888 # Check whether --enable-toolbook or --disable-toolbook was given.
9889 if test "${enable_toolbook+set}" = set; then
9890 enableval
="$enable_toolbook"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9895 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9900 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9911 eval "$ac_cv_use_toolbook"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_TOOLBOOK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9929 # Check whether --enable-treectrl or --disable-treectrl was given.
9930 if test "${enable_treectrl+set}" = set; then
9931 enableval
="$enable_treectrl"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9936 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9941 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9952 eval "$ac_cv_use_treectrl"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_TREECTRL" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9970 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9971 if test "${enable_tipwindow+set}" = set; then
9972 enableval
="$enable_tipwindow"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9977 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9982 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9993 eval "$ac_cv_use_tipwindow"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_TIPWINDOW" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10011 # Check whether --enable-popupwin or --disable-popupwin was given.
10012 if test "${enable_popupwin+set}" = set; then
10013 enableval
="$enable_popupwin"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10018 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10023 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10034 eval "$ac_cv_use_popupwin"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_POPUPWIN" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10054 # Check whether --enable-commondlg or --disable-commondlg was given.
10055 if test "${enable_commondlg+set}" = set; then
10056 enableval
="$enable_commondlg"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10061 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10066 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10077 eval "$ac_cv_use_commondlg"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_COMMONDLGS" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10095 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10096 if test "${enable_aboutdlg+set}" = set; then
10097 enableval
="$enable_aboutdlg"
10099 if test "$enableval" = yes; then
10100 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10102 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10107 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x
; then
10109 eval "DEFAULT_$LINE"
10114 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10118 eval "$ac_cv_use_aboutdlg"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10123 if test "$wxUSE_ABOUTDLG" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10136 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10137 if test "${enable_choicedlg+set}" = set; then
10138 enableval
="$enable_choicedlg"
10140 if test "$enableval" = yes; then
10141 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10143 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10148 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x
; then
10150 eval "DEFAULT_$LINE"
10155 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10159 eval "$ac_cv_use_choicedlg"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10164 if test "$wxUSE_CHOICEDLG" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10177 # Check whether --enable-coldlg or --disable-coldlg was given.
10178 if test "${enable_coldlg+set}" = set; then
10179 enableval
="$enable_coldlg"
10181 if test "$enableval" = yes; then
10182 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10184 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10189 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x
; then
10191 eval "DEFAULT_$LINE"
10196 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10200 eval "$ac_cv_use_coldlg"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10205 if test "$wxUSE_COLOURDLG" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10218 # Check whether --enable-filedlg or --disable-filedlg was given.
10219 if test "${enable_filedlg+set}" = set; then
10220 enableval
="$enable_filedlg"
10222 if test "$enableval" = yes; then
10223 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10225 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10230 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x
; then
10232 eval "DEFAULT_$LINE"
10237 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10241 eval "$ac_cv_use_filedlg"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10246 if test "$wxUSE_FILEDLG" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10259 # Check whether --enable-finddlg or --disable-finddlg was given.
10260 if test "${enable_finddlg+set}" = set; then
10261 enableval
="$enable_finddlg"
10263 if test "$enableval" = yes; then
10264 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10266 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10271 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x
; then
10273 eval "DEFAULT_$LINE"
10278 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10282 eval "$ac_cv_use_finddlg"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10287 if test "$wxUSE_FINDREPLDLG" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10300 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10301 if test "${enable_fontdlg+set}" = set; then
10302 enableval
="$enable_fontdlg"
10304 if test "$enableval" = yes; then
10305 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10307 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10312 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x
; then
10314 eval "DEFAULT_$LINE"
10319 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10323 eval "$ac_cv_use_fontdlg"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10328 if test "$wxUSE_FONTDLG" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10341 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10342 if test "${enable_dirdlg+set}" = set; then
10343 enableval
="$enable_dirdlg"
10345 if test "$enableval" = yes; then
10346 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10348 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10353 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x
; then
10355 eval "DEFAULT_$LINE"
10360 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10364 eval "$ac_cv_use_dirdlg"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10369 if test "$wxUSE_DIRDLG" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10382 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10383 if test "${enable_msgdlg+set}" = set; then
10384 enableval
="$enable_msgdlg"
10386 if test "$enableval" = yes; then
10387 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10389 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10394 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x
; then
10396 eval "DEFAULT_$LINE"
10401 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10405 eval "$ac_cv_use_msgdlg"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10410 if test "$wxUSE_MSGDLG" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10423 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10424 if test "${enable_numberdlg+set}" = set; then
10425 enableval
="$enable_numberdlg"
10427 if test "$enableval" = yes; then
10428 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10430 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10435 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x
; then
10437 eval "DEFAULT_$LINE"
10442 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10446 eval "$ac_cv_use_numberdlg"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10451 if test "$wxUSE_NUMBERDLG" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10464 # Check whether --enable-splash or --disable-splash was given.
10465 if test "${enable_splash+set}" = set; then
10466 enableval
="$enable_splash"
10468 if test "$enableval" = yes; then
10469 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10471 ac_cv_use_splash
='wxUSE_SPLASH=no'
10476 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x
; then
10478 eval "DEFAULT_$LINE"
10483 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10487 eval "$ac_cv_use_splash"
10488 if test "$no_cache" != 1; then
10489 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10492 if test "$wxUSE_SPLASH" = yes; then
10493 echo "$as_me:$LINENO: result: yes" >&5
10494 echo "${ECHO_T}yes" >&6
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10505 # Check whether --enable-textdlg or --disable-textdlg was given.
10506 if test "${enable_textdlg+set}" = set; then
10507 enableval
="$enable_textdlg"
10509 if test "$enableval" = yes; then
10510 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10512 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10517 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x
; then
10519 eval "DEFAULT_$LINE"
10524 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10528 eval "$ac_cv_use_textdlg"
10529 if test "$no_cache" != 1; then
10530 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10533 if test "$wxUSE_TEXTDLG" = yes; then
10534 echo "$as_me:$LINENO: result: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10546 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10547 if test "${enable_tipdlg+set}" = set; then
10548 enableval
="$enable_tipdlg"
10550 if test "$enableval" = yes; then
10551 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10553 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10558 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x
; then
10560 eval "DEFAULT_$LINE"
10565 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10569 eval "$ac_cv_use_tipdlg"
10570 if test "$no_cache" != 1; then
10571 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10574 if test "$wxUSE_STARTUP_TIPS" = yes; then
10575 echo "$as_me:$LINENO: result: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10578 echo "$as_me:$LINENO: result: no" >&5
10579 echo "${ECHO_T}no" >&6
10584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10587 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10588 if test "${enable_progressdlg+set}" = set; then
10589 enableval
="$enable_progressdlg"
10591 if test "$enableval" = yes; then
10592 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10594 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10599 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x
; then
10601 eval "DEFAULT_$LINE"
10606 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10610 eval "$ac_cv_use_progressdlg"
10611 if test "$no_cache" != 1; then
10612 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10615 if test "$wxUSE_PROGRESSDLG" = yes; then
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10628 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10629 if test "${enable_wizarddlg+set}" = set; then
10630 enableval
="$enable_wizarddlg"
10632 if test "$enableval" = yes; then
10633 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10635 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10640 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x
; then
10642 eval "DEFAULT_$LINE"
10647 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10651 eval "$ac_cv_use_wizarddlg"
10652 if test "$no_cache" != 1; then
10653 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10656 if test "$wxUSE_WIZARDDLG" = yes; then
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10671 # Check whether --enable-menus or --disable-menus was given.
10672 if test "${enable_menus+set}" = set; then
10673 enableval
="$enable_menus"
10675 if test "$enableval" = yes; then
10676 ac_cv_use_menus
='wxUSE_MENUS=yes'
10678 ac_cv_use_menus
='wxUSE_MENUS=no'
10683 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x
; then
10685 eval "DEFAULT_$LINE"
10690 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10694 eval "$ac_cv_use_menus"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10699 if test "$wxUSE_MENUS" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10712 # Check whether --enable-miniframe or --disable-miniframe was given.
10713 if test "${enable_miniframe+set}" = set; then
10714 enableval
="$enable_miniframe"
10716 if test "$enableval" = yes; then
10717 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10719 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10724 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x
; then
10726 eval "DEFAULT_$LINE"
10731 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10735 eval "$ac_cv_use_miniframe"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10740 if test "$wxUSE_MINIFRAME" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10753 # Check whether --enable-tooltips or --disable-tooltips was given.
10754 if test "${enable_tooltips+set}" = set; then
10755 enableval
="$enable_tooltips"
10757 if test "$enableval" = yes; then
10758 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10760 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10765 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x
; then
10767 eval "DEFAULT_$LINE"
10772 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10776 eval "$ac_cv_use_tooltips"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10781 if test "$wxUSE_TOOLTIPS" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10794 # Check whether --enable-splines or --disable-splines was given.
10795 if test "${enable_splines+set}" = set; then
10796 enableval
="$enable_splines"
10798 if test "$enableval" = yes; then
10799 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10801 ac_cv_use_splines
='wxUSE_SPLINES=no'
10806 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x
; then
10808 eval "DEFAULT_$LINE"
10813 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10817 eval "$ac_cv_use_splines"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10822 if test "$wxUSE_SPLINES" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10835 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10836 if test "${enable_mousewheel+set}" = set; then
10837 enableval
="$enable_mousewheel"
10839 if test "$enableval" = yes; then
10840 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10842 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10847 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x
; then
10849 eval "DEFAULT_$LINE"
10854 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10858 eval "$ac_cv_use_mousewheel"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10863 if test "$wxUSE_MOUSEWHEEL" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10876 # Check whether --enable-validators or --disable-validators was given.
10877 if test "${enable_validators+set}" = set; then
10878 enableval
="$enable_validators"
10880 if test "$enableval" = yes; then
10881 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10883 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10888 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x
; then
10890 eval "DEFAULT_$LINE"
10895 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10899 eval "$ac_cv_use_validators"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10904 if test "$wxUSE_VALIDATORS" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10917 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10918 if test "${enable_busyinfo+set}" = set; then
10919 enableval
="$enable_busyinfo"
10921 if test "$enableval" = yes; then
10922 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10924 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10929 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x
; then
10931 eval "DEFAULT_$LINE"
10936 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10940 eval "$ac_cv_use_busyinfo"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10945 if test "$wxUSE_BUSYINFO" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10958 # Check whether --enable-joystick or --disable-joystick was given.
10959 if test "${enable_joystick+set}" = set; then
10960 enableval
="$enable_joystick"
10962 if test "$enableval" = yes; then
10963 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10965 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10970 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x
; then
10972 eval "DEFAULT_$LINE"
10977 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10981 eval "$ac_cv_use_joystick"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10986 if test "$wxUSE_JOYSTICK" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10999 # Check whether --enable-metafile or --disable-metafile was given.
11000 if test "${enable_metafile+set}" = set; then
11001 enableval
="$enable_metafile"
11003 if test "$enableval" = yes; then
11004 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11006 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11011 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x
; then
11013 eval "DEFAULT_$LINE"
11018 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11022 eval "$ac_cv_use_metafile"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11027 if test "$wxUSE_METAFILE" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11040 # Check whether --enable-dragimage or --disable-dragimage was given.
11041 if test "${enable_dragimage+set}" = set; then
11042 enableval
="$enable_dragimage"
11044 if test "$enableval" = yes; then
11045 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11047 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11052 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x
; then
11054 eval "DEFAULT_$LINE"
11059 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11063 eval "$ac_cv_use_dragimage"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11068 if test "$wxUSE_DRAGIMAGE" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11081 # Check whether --enable-accessibility or --disable-accessibility was given.
11082 if test "${enable_accessibility+set}" = set; then
11083 enableval
="$enable_accessibility"
11085 if test "$enableval" = yes; then
11086 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11088 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11093 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x
; then
11095 eval "DEFAULT_$LINE"
11100 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11104 eval "$ac_cv_use_accessibility"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11109 if test "$wxUSE_ACCESSIBILITY" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11118 if test "$wxUSE_MSW" = "1"; then
11121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11124 # Check whether --enable-dccache or --disable-dccache was given.
11125 if test "${enable_dccache+set}" = set; then
11126 enableval
="$enable_dccache"
11128 if test "$enableval" = yes; then
11129 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11131 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11136 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11137 if test "x$LINE" != x
; then
11138 eval "DEFAULT_$LINE"
11143 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11147 eval "$ac_cv_use_dccache"
11148 if test "$no_cache" != 1; then
11149 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11152 if test "$wxUSE_DC_CACHEING" = yes; then
11153 echo "$as_me:$LINENO: result: yes" >&5
11154 echo "${ECHO_T}yes" >&6
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11168 # Check whether --enable-palette or --disable-palette was given.
11169 if test "${enable_palette+set}" = set; then
11170 enableval
="$enable_palette"
11172 if test "$enableval" = yes; then
11173 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11175 ac_cv_use_palette
='wxUSE_PALETTE=no'
11180 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x
; then
11182 eval "DEFAULT_$LINE"
11187 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11191 eval "$ac_cv_use_palette"
11192 if test "$no_cache" != 1; then
11193 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11196 if test "$wxUSE_PALETTE" = yes; then
11197 echo "$as_me:$LINENO: result: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11200 echo "$as_me:$LINENO: result: no" >&5
11201 echo "${ECHO_T}no" >&6
11206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11209 # Check whether --enable-image or --disable-image was given.
11210 if test "${enable_image+set}" = set; then
11211 enableval
="$enable_image"
11213 if test "$enableval" = yes; then
11214 ac_cv_use_image
='wxUSE_IMAGE=yes'
11216 ac_cv_use_image
='wxUSE_IMAGE=no'
11221 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11222 if test "x$LINE" != x
; then
11223 eval "DEFAULT_$LINE"
11228 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11232 eval "$ac_cv_use_image"
11233 if test "$no_cache" != 1; then
11234 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11237 if test "$wxUSE_IMAGE" = yes; then
11238 echo "$as_me:$LINENO: result: yes" >&5
11239 echo "${ECHO_T}yes" >&6
11241 echo "$as_me:$LINENO: result: no" >&5
11242 echo "${ECHO_T}no" >&6
11247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11250 # Check whether --enable-gif or --disable-gif was given.
11251 if test "${enable_gif+set}" = set; then
11252 enableval
="$enable_gif"
11254 if test "$enableval" = yes; then
11255 ac_cv_use_gif
='wxUSE_GIF=yes'
11257 ac_cv_use_gif
='wxUSE_GIF=no'
11262 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11263 if test "x$LINE" != x
; then
11264 eval "DEFAULT_$LINE"
11269 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11273 eval "$ac_cv_use_gif"
11274 if test "$no_cache" != 1; then
11275 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11278 if test "$wxUSE_GIF" = yes; then
11279 echo "$as_me:$LINENO: result: yes" >&5
11280 echo "${ECHO_T}yes" >&6
11282 echo "$as_me:$LINENO: result: no" >&5
11283 echo "${ECHO_T}no" >&6
11288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11289 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11291 # Check whether --enable-pcx or --disable-pcx was given.
11292 if test "${enable_pcx+set}" = set; then
11293 enableval
="$enable_pcx"
11295 if test "$enableval" = yes; then
11296 ac_cv_use_pcx
='wxUSE_PCX=yes'
11298 ac_cv_use_pcx
='wxUSE_PCX=no'
11303 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x
; then
11305 eval "DEFAULT_$LINE"
11310 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11314 eval "$ac_cv_use_pcx"
11315 if test "$no_cache" != 1; then
11316 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11319 if test "$wxUSE_PCX" = yes; then
11320 echo "$as_me:$LINENO: result: yes" >&5
11321 echo "${ECHO_T}yes" >&6
11323 echo "$as_me:$LINENO: result: no" >&5
11324 echo "${ECHO_T}no" >&6
11329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11332 # Check whether --enable-iff or --disable-iff was given.
11333 if test "${enable_iff+set}" = set; then
11334 enableval
="$enable_iff"
11336 if test "$enableval" = yes; then
11337 ac_cv_use_iff
='wxUSE_IFF=yes'
11339 ac_cv_use_iff
='wxUSE_IFF=no'
11344 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11345 if test "x$LINE" != x
; then
11346 eval "DEFAULT_$LINE"
11351 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11355 eval "$ac_cv_use_iff"
11356 if test "$no_cache" != 1; then
11357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11360 if test "$wxUSE_IFF" = yes; then
11361 echo "$as_me:$LINENO: result: yes" >&5
11362 echo "${ECHO_T}yes" >&6
11364 echo "$as_me:$LINENO: result: no" >&5
11365 echo "${ECHO_T}no" >&6
11370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11373 # Check whether --enable-pnm or --disable-pnm was given.
11374 if test "${enable_pnm+set}" = set; then
11375 enableval
="$enable_pnm"
11377 if test "$enableval" = yes; then
11378 ac_cv_use_pnm
='wxUSE_PNM=yes'
11380 ac_cv_use_pnm
='wxUSE_PNM=no'
11385 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11386 if test "x$LINE" != x
; then
11387 eval "DEFAULT_$LINE"
11392 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11396 eval "$ac_cv_use_pnm"
11397 if test "$no_cache" != 1; then
11398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11401 if test "$wxUSE_PNM" = yes; then
11402 echo "$as_me:$LINENO: result: yes" >&5
11403 echo "${ECHO_T}yes" >&6
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11414 # Check whether --enable-xpm or --disable-xpm was given.
11415 if test "${enable_xpm+set}" = set; then
11416 enableval
="$enable_xpm"
11418 if test "$enableval" = yes; then
11419 ac_cv_use_xpm
='wxUSE_XPM=yes'
11421 ac_cv_use_xpm
='wxUSE_XPM=no'
11426 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11427 if test "x$LINE" != x
; then
11428 eval "DEFAULT_$LINE"
11433 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11437 eval "$ac_cv_use_xpm"
11438 if test "$no_cache" != 1; then
11439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11442 if test "$wxUSE_XPM" = yes; then
11443 echo "$as_me:$LINENO: result: yes" >&5
11444 echo "${ECHO_T}yes" >&6
11446 echo "$as_me:$LINENO: result: no" >&5
11447 echo "${ECHO_T}no" >&6
11452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11455 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11456 if test "${enable_ico_cur+set}" = set; then
11457 enableval
="$enable_ico_cur"
11459 if test "$enableval" = yes; then
11460 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11462 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11467 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11468 if test "x$LINE" != x
; then
11469 eval "DEFAULT_$LINE"
11474 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11478 eval "$ac_cv_use_ico_cur"
11479 if test "$no_cache" != 1; then
11480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11483 if test "$wxUSE_ICO_CUR" = yes; then
11484 echo "$as_me:$LINENO: result: yes" >&5
11485 echo "${ECHO_T}yes" >&6
11487 echo "$as_me:$LINENO: result: no" >&5
11488 echo "${ECHO_T}no" >&6
11496 # Check whether --with-flavour or --without-flavour was given.
11497 if test "${with_flavour+set}" = set; then
11498 withval
="$with_flavour"
11499 WX_FLAVOUR
="$withval"
11505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11508 # Check whether --enable-official_build or --disable-official_build was given.
11509 if test "${enable_official_build+set}" = set; then
11510 enableval
="$enable_official_build"
11512 if test "$enableval" = yes; then
11513 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11515 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11520 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x
; then
11522 eval "DEFAULT_$LINE"
11527 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11531 eval "$ac_cv_use_official_build"
11532 if test "$no_cache" != 1; then
11533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11537 echo "$as_me:$LINENO: result: yes" >&5
11538 echo "${ECHO_T}yes" >&6
11540 echo "$as_me:$LINENO: result: no" >&5
11541 echo "${ECHO_T}no" >&6
11544 # Check whether --enable-vendor or --disable-vendor was given.
11545 if test "${enable_vendor+set}" = set; then
11546 enableval
="$enable_vendor"
11547 VENDOR
="$enableval"
11549 if test "x$VENDOR" = "x"; then
11556 echo "saving argument cache $wx_arg_cache_file"
11557 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11561 echo "$as_me:$LINENO: checking for toolkit" >&5
11562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11564 # In Wine, we need to default to MSW, not GTK or MOTIF
11565 if test "$wxUSE_WINE" = "yes"; then
11566 DEFAULT_DEFAULT_wxUSE_GTK
=0
11567 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11568 DEFAULT_DEFAULT_wxUSE_MSW
=1
11573 if test "$wxUSE_GUI" = "yes"; then
11575 if test "$USE_BEOS" = 1; then
11576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11578 { (exit 1); exit 1; }; }
11581 if test "$TOOLKIT_GIVEN" = 1; then
11582 for toolkit
in `echo $ALL_TOOLKITS`; do
11584 eval "value=\$${var}"
11585 if test "x$value" = "xno"; then
11587 elif test "x$value" != "x"; then
11591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11592 eval "wx${toolkit}_VERSION=$value"
11596 for toolkit
in `echo $ALL_TOOLKITS`; do
11597 if test "$has_toolkit_in_cache" != 1; then
11598 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11600 var
=DEFAULT_wxUSE_
$toolkit
11602 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11603 if test "x$version" != "x"; then
11604 eval "wx${toolkit}_VERSION=$version"
11607 eval "wxUSE_$toolkit=\$${var}"
11611 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11612 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11613 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11616 *-pc-os2_emx | *-pc-os2-emx )
11617 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11620 case "$NUM_TOOLKITS" in
11624 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11625 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11626 { (exit 1); exit 1; }; }
11629 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11630 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11631 { (exit 1); exit 1; }; }
11634 # to be removed when --disable-gtk2 isn't needed
11635 if test "x$wxUSE_GTK2" = "xyes"; then
11637 elif test "x$wxUSE_GTK2" = "xno"; then
11641 for toolkit
in `echo $ALL_TOOLKITS`; do
11643 eval "value=\$${var}"
11644 if test "x$value" != x
; then
11645 cache_var
=CACHE_
$toolkit
11646 eval "cache=\$${cache_var}"
11647 if test "$cache" = 1; then
11648 echo "$var=$value" >> ${wx_arg_cache_file}
11649 eval "version=\$wx${toolkit}_VERSION"
11650 if test "x$version" != "x"; then
11651 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11654 if test "$value" = 1; then
11655 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11656 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11657 echo "${ECHO_T}$toolkit_echo" >&6
11662 if test "x$host_alias" != "x"; then
11663 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11664 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11666 echo "$as_me:$LINENO: result: base only" >&5
11667 echo "${ECHO_T}base only" >&6
11672 doesnt_want_win32
=0
11675 if test "$wxUSE_MSW" = 1 ; then
11677 BAKEFILE_FORCE_PLATFORM
=win32
11679 doesnt_want_win32
=1
11687 if test "$wxUSE_WINE" = "yes"; then
11691 LDFLAGS_GUI
="-mwindows"
11694 if test "$wants_win32" = 1 ; then
11697 cat >>confdefs.h
<<\_ACEOF
11698 #define __WIN32__ 1
11701 cat >>confdefs.h
<<\_ACEOF
11702 #define __WIN95__ 1
11705 cat >>confdefs.h
<<\_ACEOF
11706 #define __WINDOWS__ 1
11709 cat >>confdefs.h
<<\_ACEOF
11710 #define __GNUWIN32__ 1
11713 cat >>confdefs.h
<<\_ACEOF
11717 cat >>confdefs.h
<<\_ACEOF
11718 #define WINVER 0x0400
11722 if test "$doesnt_want_win32" = 1 ; then
11727 if test "$USE_UNIX" = 1 ; then
11729 cat >>confdefs.h
<<\_ACEOF
11736 cat >confcache
<<\_ACEOF
11737 # This file is a shell script that caches the results of configure
11738 # tests run on this system so they can be shared between configure
11739 # scripts and configure runs, see configure's option --config-cache.
11740 # It is not useful on other systems. If it contains results you don't
11741 # want to keep, you may remove or edit it.
11743 # config.status only pays attention to the cache file if you give it
11744 # the --recheck option to rerun configure.
11746 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11747 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11748 # following values.
11752 # The following way of writing the cache mishandles newlines in values,
11753 # but we know of no workaround that is simple, portable, and efficient.
11754 # So, don't put newlines in cache variables' values.
11755 # Ultrix sh set writes to stderr and can't be redirected directly,
11756 # and sets the high bit in the cache file unless we assign to the vars.
11759 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11761 # `set' does not quote correctly, so add quotes (double-quote
11762 # substitution turns \\\\ into \\, and sed turns \\ into \).
11765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11768 # `set' quotes correctly as required by POSIX, so do not add quotes.
11770 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11777 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11779 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11781 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11782 if test -w $cache_file; then
11783 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11784 cat confcache
>$cache_file
11786 echo "not updating unwritable cache $cache_file"
11796 ac_cpp
='$CPP $CPPFLAGS'
11797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11800 if test -n "$ac_tool_prefix"; then
11801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11802 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11803 echo "$as_me:$LINENO: checking for $ac_word" >&5
11804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11805 if test "${ac_cv_prog_CC+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 if test -n "$CC"; then
11809 ac_cv_prog_CC
="$CC" # Let the user override the test.
11811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11812 for as_dir
in $PATH
11815 test -z "$as_dir" && as_dir
=.
11816 for ac_exec_ext
in '' $ac_executable_extensions; do
11817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 if test -n "$CC"; then
11829 echo "$as_me:$LINENO: result: $CC" >&5
11830 echo "${ECHO_T}$CC" >&6
11832 echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6
11837 if test -z "$ac_cv_prog_CC"; then
11839 # Extract the first word of "gcc", so it can be a program name with args.
11840 set dummy gcc
; ac_word
=$2
11841 echo "$as_me:$LINENO: checking for $ac_word" >&5
11842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 if test -n "$ac_ct_CC"; then
11847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11850 for as_dir
in $PATH
11853 test -z "$as_dir" && as_dir
=.
11854 for ac_exec_ext
in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11856 ac_cv_prog_ac_ct_CC
="gcc"
11857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11866 if test -n "$ac_ct_CC"; then
11867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11868 echo "${ECHO_T}$ac_ct_CC" >&6
11870 echo "$as_me:$LINENO: result: no" >&5
11871 echo "${ECHO_T}no" >&6
11876 CC
="$ac_cv_prog_CC"
11879 if test -z "$CC"; then
11880 if test -n "$ac_tool_prefix"; then
11881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11882 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11883 echo "$as_me:$LINENO: checking for $ac_word" >&5
11884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11885 if test "${ac_cv_prog_CC+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 if test -n "$CC"; then
11889 ac_cv_prog_CC
="$CC" # Let the user override the test.
11891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11892 for as_dir
in $PATH
11895 test -z "$as_dir" && as_dir
=.
11896 for ac_exec_ext
in '' $ac_executable_extensions; do
11897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11898 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11908 if test -n "$CC"; then
11909 echo "$as_me:$LINENO: result: $CC" >&5
11910 echo "${ECHO_T}$CC" >&6
11912 echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6
11917 if test -z "$ac_cv_prog_CC"; then
11919 # Extract the first word of "cc", so it can be a program name with args.
11920 set dummy cc
; ac_word
=$2
11921 echo "$as_me:$LINENO: checking for $ac_word" >&5
11922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 if test -n "$ac_ct_CC"; then
11927 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11930 for as_dir
in $PATH
11933 test -z "$as_dir" && as_dir
=.
11934 for ac_exec_ext
in '' $ac_executable_extensions; do
11935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11936 ac_cv_prog_ac_ct_CC
="cc"
11937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11946 if test -n "$ac_ct_CC"; then
11947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11948 echo "${ECHO_T}$ac_ct_CC" >&6
11950 echo "$as_me:$LINENO: result: no" >&5
11951 echo "${ECHO_T}no" >&6
11956 CC
="$ac_cv_prog_CC"
11960 if test -z "$CC"; then
11961 # Extract the first word of "cc", so it can be a program name with args.
11962 set dummy cc
; ac_word
=$2
11963 echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11965 if test "${ac_cv_prog_CC+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 if test -n "$CC"; then
11969 ac_cv_prog_CC
="$CC" # Let the user override the test.
11971 ac_prog_rejected
=no
11972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11973 for as_dir
in $PATH
11976 test -z "$as_dir" && as_dir
=.
11977 for ac_exec_ext
in '' $ac_executable_extensions; do
11978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11980 ac_prog_rejected
=yes
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11990 if test $ac_prog_rejected = yes; then
11991 # We found a bogon in the path, so make sure we never use it.
11992 set dummy
$ac_cv_prog_CC
11994 if test $# != 0; then
11995 # We chose a different compiler from the bogus one.
11996 # However, it has the same basename, so the bogon will be chosen
11997 # first if we set CC to just the basename; use the full file name.
11999 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12005 if test -n "$CC"; then
12006 echo "$as_me:$LINENO: result: $CC" >&5
12007 echo "${ECHO_T}$CC" >&6
12009 echo "$as_me:$LINENO: result: no" >&5
12010 echo "${ECHO_T}no" >&6
12014 if test -z "$CC"; then
12015 if test -n "$ac_tool_prefix"; then
12018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12019 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12020 echo "$as_me:$LINENO: checking for $ac_word" >&5
12021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12022 if test "${ac_cv_prog_CC+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC
="$CC" # Let the user override the test.
12028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12029 for as_dir
in $PATH
12032 test -z "$as_dir" && as_dir
=.
12033 for ac_exec_ext
in '' $ac_executable_extensions; do
12034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12035 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 if test -n "$CC"; then
12046 echo "$as_me:$LINENO: result: $CC" >&5
12047 echo "${ECHO_T}$CC" >&6
12049 echo "$as_me:$LINENO: result: no" >&5
12050 echo "${ECHO_T}no" >&6
12053 test -n "$CC" && break
12056 if test -z "$CC"; then
12060 # Extract the first word of "$ac_prog", so it can be a program name with args.
12061 set dummy
$ac_prog; ac_word
=$2
12062 echo "$as_me:$LINENO: checking for $ac_word" >&5
12063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 if test -n "$ac_ct_CC"; then
12068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in $PATH
12074 test -z "$as_dir" && as_dir
=.
12075 for ac_exec_ext
in '' $ac_executable_extensions; do
12076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12077 ac_cv_prog_ac_ct_CC
="$ac_prog"
12078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12087 if test -n "$ac_ct_CC"; then
12088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12089 echo "${ECHO_T}$ac_ct_CC" >&6
12091 echo "$as_me:$LINENO: result: no" >&5
12092 echo "${ECHO_T}no" >&6
12095 test -n "$ac_ct_CC" && break
12104 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: no acceptable C compiler found in \$PATH
12107 See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; }
12110 # Provide some information about the compiler.
12111 echo "$as_me:$LINENO:" \
12112 "checking for C compiler version" >&5
12113 ac_compiler
=`set X $ac_compile; echo $2`
12114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12115 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }
12119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12120 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }
12124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12125 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }
12130 cat >conftest.
$ac_ext <<_ACEOF
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12145 ac_clean_files_save
=$ac_clean_files
12146 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12147 # Try to create an executable without -o first, disregard a.out.
12148 # It will help us diagnose broken compilers, and finding out an intuition
12150 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12151 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12152 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12154 (eval $ac_link_default) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; then
12158 # Find the output, starting from the most likely. This scheme is
12159 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12162 # Be careful to initialize this variable, since it used to be cached.
12163 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12165 # b.out is created by i960 compilers.
12166 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12168 test -f "$ac_file" || continue
12170 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12173 # This is the source file.
12176 # We found the default executable, but exeext='' is most
12180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12181 # FIXME: I believe we export ac_cv_exeext for Libtool,
12182 # but it would be cool to find out if it's true. Does anybody
12183 # maintain Libtool? --akim.
12184 export ac_cv_exeext
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12195 See \`config.log' for more details." >&5
12196 echo "$as_me: error: C compiler cannot create executables
12197 See \`config.log' for more details." >&2;}
12198 { (exit 77); exit 77; }; }
12201 ac_exeext
=$ac_cv_exeext
12202 echo "$as_me:$LINENO: result: $ac_file" >&5
12203 echo "${ECHO_T}$ac_file" >&6
12205 # Check the compiler produces executables we can run. If not, either
12206 # the compiler is broken, or we cross compile.
12207 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12208 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12209 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12210 # If not cross compiling, check that we can run a simple program.
12211 if test "$cross_compiling" != yes; then
12212 if { ac_try
='./$ac_file'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; }; then
12220 if test "$cross_compiling" = maybe
; then
12221 cross_compiling
=yes
12223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12224 If you meant to cross compile, use \`--host'.
12225 See \`config.log' for more details." >&5
12226 echo "$as_me: error: cannot run C compiled programs.
12227 If you meant to cross compile, use \`--host'.
12228 See \`config.log' for more details." >&2;}
12229 { (exit 1); exit 1; }; }
12233 echo "$as_me:$LINENO: result: yes" >&5
12234 echo "${ECHO_T}yes" >&6
12236 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12237 ac_clean_files
=$ac_clean_files_save
12238 # Check the compiler produces executables we can run. If not, either
12239 # the compiler is broken, or we cross compile.
12240 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12242 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12243 echo "${ECHO_T}$cross_compiling" >&6
12245 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12248 (eval $ac_link) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; then
12252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12254 # work properly (i.e., refer to `conftest.exe'), while it won't with
12256 for ac_file
in conftest.exe conftest conftest.
*; do
12257 test -f "$ac_file" || continue
12259 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12261 export ac_cv_exeext
12267 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12268 See \`config.log' for more details." >&5
12269 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12270 See \`config.log' for more details." >&2;}
12271 { (exit 1); exit 1; }; }
12274 rm -f conftest
$ac_cv_exeext
12275 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12276 echo "${ECHO_T}$ac_cv_exeext" >&6
12278 rm -f conftest.
$ac_ext
12279 EXEEXT
=$ac_cv_exeext
12281 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12282 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12283 if test "${ac_cv_objext+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 cat >conftest.
$ac_ext <<_ACEOF
12289 cat confdefs.h
>>conftest.
$ac_ext
12290 cat >>conftest.
$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12301 rm -f conftest.o conftest.obj
12302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12303 (eval $ac_compile) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; then
12307 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12309 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12310 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12315 echo "$as_me: failed program was:" >&5
12316 sed 's/^/| /' conftest.
$ac_ext >&5
12318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12319 See \`config.log' for more details." >&5
12320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12321 See \`config.log' for more details." >&2;}
12322 { (exit 1); exit 1; }; }
12325 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12328 echo "${ECHO_T}$ac_cv_objext" >&6
12329 OBJEXT
=$ac_cv_objext
12331 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12332 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12333 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 cat >conftest.
$ac_ext <<_ACEOF
12339 cat confdefs.h
>>conftest.
$ac_ext
12340 cat >>conftest.
$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12354 rm -f conftest.
$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag"
12364 || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest.$ac_objext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 ac_compiler_gnu
=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12384 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12387 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12388 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12389 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12390 ac_test_CFLAGS
=${CFLAGS+set}
12391 ac_save_CFLAGS
=$CFLAGS
12393 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12394 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12395 if test "${ac_cv_prog_cc_g+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 cat >conftest.
$ac_ext <<_ACEOF
12401 cat confdefs.h
>>conftest.
$ac_ext
12402 cat >>conftest.
$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12413 rm -f conftest.
$ac_objext
12414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12415 (eval $ac_compile) 2>conftest.er1
12417 grep -v '^ *+' conftest.er1
>conftest.err
12419 cat conftest.err
>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try
='test -z "$ac_c_werror_flag"
12423 || test ! -s conftest.err'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; } &&
12429 { ac_try
='test -s conftest.$ac_objext'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; }; then
12435 ac_cv_prog_cc_g
=yes
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.
$ac_ext >&5
12442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12444 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12445 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12446 if test "$ac_test_CFLAGS" = set; then
12447 CFLAGS
=$ac_save_CFLAGS
12448 elif test $ac_cv_prog_cc_g = yes; then
12449 if test "$GCC" = yes; then
12455 if test "$GCC" = yes; then
12461 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12462 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12463 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 ac_cv_prog_cc_stdc
=no
12468 cat >conftest.
$ac_ext <<_ACEOF
12471 cat confdefs.h
>>conftest.
$ac_ext
12472 cat >>conftest.
$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12474 #include <stdarg.h>
12476 #include <sys/types.h>
12477 #include <sys/stat.h>
12478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12479 struct buf { int x; };
12480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12481 static char *e (p, i)
12487 static char *f (char * (*g) (char **, int), char **p, ...)
12492 s = g (p, va_arg (v,int));
12497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12498 function prototypes and stuff, but not '\xHH' hex character constants.
12499 These don't provoke an error unfortunately, instead are silently treated
12500 as 'x'. The following induces an error, until -std1 is added to get
12501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12502 array size at least. It's necessary to write '\x00'==0 to get something
12503 that's true only with -std1. */
12504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12506 int test (int i, double x);
12507 struct s1 {int (*f) (int a);};
12508 struct s2 {int (*f) (double a);};
12509 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12515 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12520 # Don't try gcc -ansi; that turns off useful extensions and
12521 # breaks some systems' header files.
12522 # AIX -qlanglvl=ansi
12523 # Ultrix and OSF/1 -std1
12524 # HP-UX 10.20 and later -Ae
12525 # HP-UX older versions -Aa -D_HPUX_SOURCE
12526 # SVR4 -Xc -D__EXTENSIONS__
12527 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12529 CC
="$ac_save_CC $ac_arg"
12530 rm -f conftest.
$ac_objext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12532 (eval $ac_compile) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cc_stdc
=$ac_arg
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.
$ac_ext >&5
12559 rm -f conftest.err conftest.
$ac_objext
12561 rm -f conftest.
$ac_ext conftest.
$ac_objext
12566 case "x$ac_cv_prog_cc_stdc" in
12568 echo "$as_me:$LINENO: result: none needed" >&5
12569 echo "${ECHO_T}none needed" >&6 ;;
12571 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12572 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12573 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12576 # Some people use a C++ compiler to compile C. Since we use `exit',
12577 # in C++ we need to declare it. In case someone uses the same compiler
12578 # for both compiling C and C++ we need to have the C++ compiler decide
12579 # the declaration of exit, since it's the most demanding environment.
12580 cat >conftest.
$ac_ext <<_ACEOF
12581 #ifndef __cplusplus
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
12607 for ac_declaration
in \
12609 'extern "C" void std::exit (int) throw (); using std::exit;' \
12610 'extern "C" void std::exit (int); using std::exit;' \
12611 'extern "C" void exit (int) throw ();' \
12612 'extern "C" void exit (int);' \
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12622 #include <stdlib.h>
12631 rm -f conftest.
$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>conftest.er1
12635 grep -v '^ *+' conftest.er1
>conftest.err
12637 cat conftest.err
>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try
='test -z "$ac_c_werror_flag"
12641 || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try
='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.
$ac_ext >&5
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 cat >conftest.
$ac_ext <<_ACEOF
12664 cat confdefs.h
>>conftest.
$ac_ext
12665 cat >>conftest.
$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12676 rm -f conftest.
$ac_objext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12678 (eval $ac_compile) 2>conftest.er1
12680 grep -v '^ *+' conftest.er1
>conftest.err
12682 cat conftest.err
>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try
='test -z "$ac_c_werror_flag"
12686 || test ! -s conftest.err'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try
='test -s conftest.$ac_objext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.
$ac_ext >&5
12704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12707 if test -n "$ac_declaration"; then
12708 echo '#ifdef __cplusplus' >>confdefs.h
12709 echo $ac_declaration >>confdefs.h
12710 echo '#endif' >>confdefs.h
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12720 ac_cpp
='$CPP $CPPFLAGS'
12721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12728 ac_cpp
='$CPP $CPPFLAGS'
12729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12733 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12734 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12735 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 cat >conftest.
$ac_ext <<_ACEOF
12741 cat confdefs.h
>>conftest.
$ac_ext
12742 cat >>conftest.
$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12749 #ifndef __INTEL_COMPILER
12757 rm -f conftest.
$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>conftest.er1
12761 grep -v '^ *+' conftest.er1
>conftest.err
12763 cat conftest.err
>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } &&
12766 { ac_try
='test -z "$ac_c_werror_flag"
12767 || test ! -s conftest.err'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; } &&
12773 { ac_try
='test -s conftest.$ac_objext'
12774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775 (eval $ac_try) 2>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); }; }; then
12779 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12784 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12791 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12792 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12794 ac_cpp
='$CPP $CPPFLAGS'
12795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12799 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12806 if test "x$GCC" != "xyes"; then
12807 if test "xCC" = "xC"; then
12808 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12809 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12810 if test "${bakefile_cv_c_exto+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 cat >conftest.
$ac_ext <<_ACEOF
12816 cat confdefs.h
>>conftest.
$ac_ext
12817 cat >>conftest.
$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12828 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; then
12834 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12836 conftest.
$ac_ext.o
)
12837 bakefile_cv_c_exto
="-ext o"
12844 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12845 See \`config.log' for more details." >&5
12846 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12847 See \`config.log' for more details." >&2;}
12848 { (exit 1); exit 1; }; }
12852 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12855 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12856 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12857 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12858 if test "c" = "c"; then
12859 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12861 if test "c" = "cxx"; then
12862 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12866 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12867 unset ac_cv_prog_cc_g
12868 ac_test_CFLAGS
=${CFLAGS+set}
12869 ac_save_CFLAGS
=$CFLAGS
12871 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12872 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12873 if test "${ac_cv_prog_cc_g+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12891 rm -f conftest.
$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try
='test -z "$ac_c_werror_flag"
12901 || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try
='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_cv_prog_cc_g
=yes
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12922 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12923 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12924 if test "$ac_test_CFLAGS" = set; then
12925 CFLAGS
=$ac_save_CFLAGS
12926 elif test $ac_cv_prog_cc_g = yes; then
12927 if test "$GCC" = yes; then
12933 if test "$GCC" = yes; then
12945 ac_cpp
='$CPP $CPPFLAGS'
12946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12950 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12951 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12952 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 cat >conftest.
$ac_ext <<_ACEOF
12958 cat confdefs.h
>>conftest.
$ac_ext
12959 cat >>conftest.
$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12973 rm -f conftest.
$ac_objext
12974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12975 (eval $ac_compile) 2>conftest.er1
12977 grep -v '^ *+' conftest.er1
>conftest.err
12979 cat conftest.err
>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } &&
12982 { ac_try
='test -z "$ac_c_werror_flag"
12983 || test ! -s conftest.err'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; } &&
12989 { ac_try
='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 bakefile_compiler_xlc
=yes
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 bakefile_compiler_xlc
=no
13002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13003 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13006 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13007 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13009 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13011 ac_cpp
='$CPP $CPPFLAGS'
13012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13021 ac_cpp
='$CPP $CPPFLAGS'
13022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13026 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13027 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13028 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 cat >conftest.
$ac_ext <<_ACEOF
13034 cat confdefs.h
>>conftest.
$ac_ext
13035 cat >>conftest.
$ac_ext <<_ACEOF
13036 /* end confdefs.h. */
13049 rm -f conftest.
$ac_objext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13051 (eval $ac_compile) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1
>conftest.err
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try
='test -z "$ac_c_werror_flag"
13059 || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try
='test -s conftest.$ac_objext'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 bakefile_compiler_mwerks
=yes
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.
$ac_ext >&5
13076 bakefile_compiler_mwerks
=no
13078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13079 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13082 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13083 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13085 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13087 ac_cpp
='$CPP $CPPFLAGS'
13088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13094 ac_cpp
='$CPP $CPPFLAGS'
13095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13099 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13100 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13101 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 cat >conftest.
$ac_ext <<_ACEOF
13107 cat confdefs.h
>>conftest.
$ac_ext
13108 cat >>conftest.
$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13122 rm -f conftest.
$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13126 grep -v '^ *+' conftest.er1
>conftest.err
13128 cat conftest.err
>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try
='test -z "$ac_c_werror_flag"
13132 || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try
='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 bakefile_compiler_xlc
=yes
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.
$ac_ext >&5
13149 bakefile_compiler_xlc
=no
13151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13155 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13156 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13158 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13160 ac_cpp
='$CPP $CPPFLAGS'
13161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13172 ac_cpp
='$CPP $CPPFLAGS'
13173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13177 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13178 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13179 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 cat >conftest.
$ac_ext <<_ACEOF
13185 cat confdefs.h
>>conftest.
$ac_ext
13186 cat >>conftest.
$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13193 #ifndef _SGI_COMPILER_VERSION
13201 rm -f conftest.
$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>conftest.er1
13205 grep -v '^ *+' conftest.er1
>conftest.err
13207 cat conftest.err
>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try
='test -z "$ac_c_werror_flag"
13211 || test ! -s conftest.err'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; } &&
13217 { ac_try
='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.
$ac_ext >&5
13228 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13235 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13236 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13238 ac_cpp
='$CPP $CPPFLAGS'
13239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13243 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13256 ac_cpp
='$CPP $CPPFLAGS'
13257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13261 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13285 rm -f conftest.
$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13289 grep -v '^ *+' conftest.er1
>conftest.err
13291 cat conftest.err
>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try
='test -z "$ac_c_werror_flag"
13295 || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try
='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 bakefile_cv_c_compiler___HP_cc
=yes
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.
$ac_ext >&5
13312 bakefile_cv_c_compiler___HP_cc
=no
13315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13319 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13320 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13322 ac_cpp
='$CPP $CPPFLAGS'
13323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13327 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13340 ac_cpp
='$CPP $CPPFLAGS'
13341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13345 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13346 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13347 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 cat >conftest.
$ac_ext <<_ACEOF
13353 cat confdefs.h
>>conftest.
$ac_ext
13354 cat >>conftest.
$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13369 rm -f conftest.
$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>conftest.er1
13373 grep -v '^ *+' conftest.er1
>conftest.err
13375 cat conftest.err
>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try
='test -z "$ac_c_werror_flag"
13379 || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 bakefile_cv_c_compiler___DECC
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 bakefile_cv_c_compiler___DECC
=no
13399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13403 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13404 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13406 ac_cpp
='$CPP $CPPFLAGS'
13407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13411 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13424 ac_cpp
='$CPP $CPPFLAGS'
13425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13429 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13430 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13431 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 cat >conftest.
$ac_ext <<_ACEOF
13437 cat confdefs.h
>>conftest.
$ac_ext
13438 cat >>conftest.
$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13453 rm -f conftest.
$ac_objext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13455 (eval $ac_compile) 2>conftest.er1
13457 grep -v '^ *+' conftest.er1
>conftest.err
13459 cat conftest.err
>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try
='test -z "$ac_c_werror_flag"
13463 || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try
='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 bakefile_cv_c_compiler___SUNPRO_C
=yes
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 bakefile_cv_c_compiler___SUNPRO_C
=no
13483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13487 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13488 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13490 ac_cpp
='$CPP $CPPFLAGS'
13491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13495 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13509 ac_cpp
='$CPP $CPPFLAGS'
13510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13513 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13514 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13515 # On Suns, sometimes $CPP names a directory.
13516 if test -n "$CPP" && test -d "$CPP"; then
13519 if test -z "$CPP"; then
13520 if test "${ac_cv_prog_CPP+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 # Double quotes because CPP needs to be expanded
13524 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13526 ac_preproc_ok
=false
13527 for ac_c_preproc_warn_flag
in '' yes
13529 # Use a header file that comes with gcc, so configuring glibc
13530 # with a fresh cross-compiler works.
13531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13532 # <limits.h> exists even on freestanding compilers.
13533 # On the NeXT, cc -E runs the code through the compiler's parser,
13534 # not just through cpp. "Syntax error" is here to catch this case.
13535 cat >conftest.
$ac_ext <<_ACEOF
13538 cat confdefs.h
>>conftest.
$ac_ext
13539 cat >>conftest.
$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13542 # include <limits.h>
13544 # include <assert.h>
13548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13551 grep -v '^ *+' conftest.er1
>conftest.err
13553 cat conftest.err
>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } >/dev
/null
; then
13556 if test -s conftest.err
; then
13557 ac_cpp_err
=$ac_c_preproc_warn_flag
13558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13565 if test -z "$ac_cpp_err"; then
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.
$ac_ext >&5
13571 # Broken: fails on valid input.
13574 rm -f conftest.err conftest.
$ac_ext
13576 # OK, works on sane cases. Now check whether non-existent headers
13577 # can be detected and how.
13578 cat >conftest.
$ac_ext <<_ACEOF
13581 cat confdefs.h
>>conftest.
$ac_ext
13582 cat >>conftest.
$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 #include <ac_nonexistent.h>
13586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } >/dev
/null
; then
13594 if test -s conftest.err
; then
13595 ac_cpp_err
=$ac_c_preproc_warn_flag
13596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13603 if test -z "$ac_cpp_err"; then
13604 # Broken: success on invalid input.
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.
$ac_ext >&5
13610 # Passes both tests.
13614 rm -f conftest.err conftest.
$ac_ext
13617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13618 rm -f conftest.err conftest.
$ac_ext
13619 if $ac_preproc_ok; then
13624 ac_cv_prog_CPP
=$CPP
13627 CPP
=$ac_cv_prog_CPP
13629 ac_cv_prog_CPP
=$CPP
13631 echo "$as_me:$LINENO: result: $CPP" >&5
13632 echo "${ECHO_T}$CPP" >&6
13633 ac_preproc_ok
=false
13634 for ac_c_preproc_warn_flag
in '' yes
13636 # Use a header file that comes with gcc, so configuring glibc
13637 # with a fresh cross-compiler works.
13638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13639 # <limits.h> exists even on freestanding compilers.
13640 # On the NeXT, cc -E runs the code through the compiler's parser,
13641 # not just through cpp. "Syntax error" is here to catch this case.
13642 cat >conftest.
$ac_ext <<_ACEOF
13645 cat confdefs.h
>>conftest.
$ac_ext
13646 cat >>conftest.
$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 # include <limits.h>
13651 # include <assert.h>
13655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } >/dev
/null
; then
13663 if test -s conftest.err
; then
13664 ac_cpp_err
=$ac_c_preproc_warn_flag
13665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13672 if test -z "$ac_cpp_err"; then
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.
$ac_ext >&5
13678 # Broken: fails on valid input.
13681 rm -f conftest.err conftest.
$ac_ext
13683 # OK, works on sane cases. Now check whether non-existent headers
13684 # can be detected and how.
13685 cat >conftest.
$ac_ext <<_ACEOF
13688 cat confdefs.h
>>conftest.
$ac_ext
13689 cat >>conftest.
$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #include <ac_nonexistent.h>
13693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13696 grep -v '^ *+' conftest.er1
>conftest.err
13698 cat conftest.err
>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } >/dev
/null
; then
13701 if test -s conftest.err
; then
13702 ac_cpp_err
=$ac_c_preproc_warn_flag
13703 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13710 if test -z "$ac_cpp_err"; then
13711 # Broken: success on invalid input.
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.
$ac_ext >&5
13717 # Passes both tests.
13721 rm -f conftest.err conftest.
$ac_ext
13724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13725 rm -f conftest.err conftest.
$ac_ext
13726 if $ac_preproc_ok; then
13729 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13730 See \`config.log' for more details." >&5
13731 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13732 See \`config.log' for more details." >&2;}
13733 { (exit 1); exit 1; }; }
13737 ac_cpp
='$CPP $CPPFLAGS'
13738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13743 echo "$as_me:$LINENO: checking for egrep" >&5
13744 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13745 if test "${ac_cv_prog_egrep+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13749 then ac_cv_prog_egrep
='grep -E'
13750 else ac_cv_prog_egrep
='egrep'
13753 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13754 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13755 EGREP
=$ac_cv_prog_egrep
13758 if test $ac_cv_c_compiler_gnu = yes; then
13759 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13760 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13761 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13764 ac_pattern
="Autoconf.*'x'"
13765 cat >conftest.
$ac_ext <<_ACEOF
13768 cat confdefs.h
>>conftest.
$ac_ext
13769 cat >>conftest.
$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13775 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13776 ac_cv_prog_gcc_traditional
=yes
13778 ac_cv_prog_gcc_traditional
=no
13783 if test $ac_cv_prog_gcc_traditional = no
; then
13784 cat >conftest.
$ac_ext <<_ACEOF
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 #include <termio.h>
13793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13794 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13795 ac_cv_prog_gcc_traditional
=yes
13801 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13802 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13803 if test $ac_cv_prog_gcc_traditional = yes; then
13804 CC
="$CC -traditional"
13810 ac_cpp
='$CXXCPP $CPPFLAGS'
13811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13816 CXXFLAGS
=${CXXFLAGS:=}
13821 ac_cpp
='$CXXCPP $CPPFLAGS'
13822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13825 if test -n "$ac_tool_prefix"; then
13826 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13829 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13830 echo "$as_me:$LINENO: checking for $ac_word" >&5
13831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13832 if test "${ac_cv_prog_CXX+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 if test -n "$CXX"; then
13836 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13839 for as_dir
in $PATH
13842 test -z "$as_dir" && as_dir
=.
13843 for ac_exec_ext
in '' $ac_executable_extensions; do
13844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13845 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 CXX
=$ac_cv_prog_CXX
13855 if test -n "$CXX"; then
13856 echo "$as_me:$LINENO: result: $CXX" >&5
13857 echo "${ECHO_T}$CXX" >&6
13859 echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6
13863 test -n "$CXX" && break
13866 if test -z "$CXX"; then
13868 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13870 # Extract the first word of "$ac_prog", so it can be a program name with args.
13871 set dummy
$ac_prog; ac_word
=$2
13872 echo "$as_me:$LINENO: checking for $ac_word" >&5
13873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13874 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 if test -n "$ac_ct_CXX"; then
13878 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13881 for as_dir
in $PATH
13884 test -z "$as_dir" && as_dir
=.
13885 for ac_exec_ext
in '' $ac_executable_extensions; do
13886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13887 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13896 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13897 if test -n "$ac_ct_CXX"; then
13898 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13899 echo "${ECHO_T}$ac_ct_CXX" >&6
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13905 test -n "$ac_ct_CXX" && break
13907 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13913 # Provide some information about the compiler.
13914 echo "$as_me:$LINENO:" \
13915 "checking for C++ compiler version" >&5
13916 ac_compiler
=`set X $ac_compile; echo $2`
13917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13918 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }
13922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13923 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }
13927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13928 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }
13933 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13934 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13935 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13956 rm -f conftest.
$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_cxx_werror_flag"
13966 || test ! -s conftest.err'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; } &&
13972 { ac_try
='test -s conftest.$ac_objext'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; }; then
13978 ac_compiler_gnu
=yes
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.
$ac_ext >&5
13985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13986 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13989 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13990 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13991 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13992 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13993 ac_save_CXXFLAGS
=$CXXFLAGS
13995 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13996 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13997 if test "${ac_cv_prog_cxx_g+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 cat >conftest.
$ac_ext <<_ACEOF
14003 cat confdefs.h
>>conftest.
$ac_ext
14004 cat >>conftest.
$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14015 rm -f conftest.
$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>conftest.er1
14019 grep -v '^ *+' conftest.er1
>conftest.err
14021 cat conftest.err
>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try
='test -z "$ac_cxx_werror_flag"
14025 || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try
='test -s conftest.$ac_objext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_cv_prog_cxx_g
=yes
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.
$ac_ext >&5
14042 ac_cv_prog_cxx_g
=no
14044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14046 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14047 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14048 if test "$ac_test_CXXFLAGS" = set; then
14049 CXXFLAGS
=$ac_save_CXXFLAGS
14050 elif test $ac_cv_prog_cxx_g = yes; then
14051 if test "$GXX" = yes; then
14057 if test "$GXX" = yes; then
14063 for ac_declaration
in \
14065 'extern "C" void std::exit (int) throw (); using std::exit;' \
14066 'extern "C" void std::exit (int); using std::exit;' \
14067 'extern "C" void exit (int) throw ();' \
14068 'extern "C" void exit (int);' \
14071 cat >conftest.
$ac_ext <<_ACEOF
14074 cat confdefs.h
>>conftest.
$ac_ext
14075 cat >>conftest.
$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14078 #include <stdlib.h>
14087 rm -f conftest.
$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14091 grep -v '^ *+' conftest.er1
>conftest.err
14093 cat conftest.err
>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try
='test -z "$ac_cxx_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try
='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.
$ac_ext >&5
14116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 cat >conftest.
$ac_ext <<_ACEOF
14120 cat confdefs.h
>>conftest.
$ac_ext
14121 cat >>conftest.
$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14132 rm -f conftest.
$ac_objext
14133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14134 (eval $ac_compile) 2>conftest.er1
14136 grep -v '^ *+' conftest.er1
>conftest.err
14138 cat conftest.err
>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try
='test -z "$ac_cxx_werror_flag"
14142 || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try
='test -s conftest.$ac_objext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14163 if test -n "$ac_declaration"; then
14164 echo '#ifdef __cplusplus' >>confdefs.h
14165 echo $ac_declaration >>confdefs.h
14166 echo '#endif' >>confdefs.h
14170 ac_cpp
='$CXXCPP $CPPFLAGS'
14171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14178 ac_cpp
='$CXXCPP $CPPFLAGS'
14179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14183 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14184 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14185 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 cat >conftest.
$ac_ext <<_ACEOF
14191 cat confdefs.h
>>conftest.
$ac_ext
14192 cat >>conftest.
$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14199 #ifndef __INTEL_COMPILER
14207 rm -f conftest.
$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>conftest.er1
14211 grep -v '^ *+' conftest.er1
>conftest.err
14213 cat conftest.err
>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try
='test -z "$ac_cxx_werror_flag"
14217 || test ! -s conftest.err'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; } &&
14223 { ac_try
='test -s conftest.$ac_objext'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; }; then
14229 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14231 echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.
$ac_ext >&5
14234 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14241 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14242 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14244 ac_cpp
='$CXXCPP $CPPFLAGS'
14245 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14249 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14256 if test "x$GCXX" != "xyes"; then
14257 if test "xCXX" = "xC"; then
14258 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14259 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14260 if test "${bakefile_cv_cxx_exto+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 cat >conftest.
$ac_ext <<_ACEOF
14266 cat confdefs.h
>>conftest.
$ac_ext
14267 cat >>conftest.
$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14278 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; then
14284 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14286 conftest.
$ac_ext.o
)
14287 bakefile_cv_cxx_exto
="-ext o"
14294 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14295 See \`config.log' for more details." >&5
14296 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14297 See \`config.log' for more details." >&2;}
14298 { (exit 1); exit 1; }; }
14302 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14306 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14307 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14308 if test "cxx" = "c"; then
14309 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14311 if test "cxx" = "cxx"; then
14312 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14316 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14317 unset ac_cv_prog_cc_g
14318 ac_test_CFLAGS
=${CFLAGS+set}
14319 ac_save_CFLAGS
=$CFLAGS
14321 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14322 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14323 if test "${ac_cv_prog_cc_g+set}" = set; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 cat >conftest.
$ac_ext <<_ACEOF
14329 cat confdefs.h
>>conftest.
$ac_ext
14330 cat >>conftest.
$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14341 rm -f conftest.
$ac_objext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14343 (eval $ac_compile) 2>conftest.er1
14345 grep -v '^ *+' conftest.er1
>conftest.err
14347 cat conftest.err
>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try
='test -z "$ac_cxx_werror_flag"
14351 || test ! -s conftest.err'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try
='test -s conftest.$ac_objext'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; }; then
14363 ac_cv_prog_cc_g
=yes
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.
$ac_ext >&5
14370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14372 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14374 if test "$ac_test_CFLAGS" = set; then
14375 CFLAGS
=$ac_save_CFLAGS
14376 elif test $ac_cv_prog_cc_g = yes; then
14377 if test "$GCC" = yes; then
14383 if test "$GCC" = yes; then
14395 ac_cpp
='$CXXCPP $CPPFLAGS'
14396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14400 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14401 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14402 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 cat >conftest.
$ac_ext <<_ACEOF
14408 cat confdefs.h
>>conftest.
$ac_ext
14409 cat >>conftest.
$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14423 rm -f conftest.
$ac_objext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>conftest.er1
14427 grep -v '^ *+' conftest.er1
>conftest.err
14429 cat conftest.err
>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try
='test -z "$ac_cxx_werror_flag"
14433 || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try
='test -s conftest.$ac_objext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 bakefile_compiler_xlc
=yes
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.
$ac_ext >&5
14450 bakefile_compiler_xlc
=no
14452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14453 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14456 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14457 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14459 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14461 ac_cpp
='$CXXCPP $CPPFLAGS'
14462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14471 ac_cpp
='$CXXCPP $CPPFLAGS'
14472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14476 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14477 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14478 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -z "$ac_cxx_werror_flag"
14509 || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 bakefile_compiler_mwerks
=yes
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 bakefile_compiler_mwerks
=no
14528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14529 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14532 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14533 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14535 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14537 ac_cpp
='$CXXCPP $CPPFLAGS'
14538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14544 ac_cpp
='$CXXCPP $CPPFLAGS'
14545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14549 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14550 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14551 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 cat >conftest.
$ac_ext <<_ACEOF
14557 cat confdefs.h
>>conftest.
$ac_ext
14558 cat >>conftest.
$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14572 rm -f conftest.
$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>conftest.er1
14576 grep -v '^ *+' conftest.er1
>conftest.err
14578 cat conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } &&
14581 { ac_try
='test -z "$ac_cxx_werror_flag"
14582 || test ! -s conftest.err'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; } &&
14588 { ac_try
='test -s conftest.$ac_objext'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; }; then
14594 bakefile_compiler_xlc
=yes
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.
$ac_ext >&5
14599 bakefile_compiler_xlc
=no
14601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14605 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14606 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14608 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14610 ac_cpp
='$CXXCPP $CPPFLAGS'
14611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14622 ac_cpp
='$CXXCPP $CPPFLAGS'
14623 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14624 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14625 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14627 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14628 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14629 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 cat >conftest.
$ac_ext <<_ACEOF
14635 cat confdefs.h
>>conftest.
$ac_ext
14636 cat >>conftest.
$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14643 #ifndef _SGI_COMPILER_VERSION
14651 rm -f conftest.
$ac_objext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>conftest.er1
14655 grep -v '^ *+' conftest.er1
>conftest.err
14657 cat conftest.err
>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try
='test -z "$ac_cxx_werror_flag"
14661 || test ! -s conftest.err'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try
='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14678 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14685 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14686 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14688 ac_cpp
='$CXXCPP $CPPFLAGS'
14689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14693 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14706 ac_cpp
='$CXXCPP $CPPFLAGS'
14707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14711 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14712 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14713 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 cat >conftest.
$ac_ext <<_ACEOF
14719 cat confdefs.h
>>conftest.
$ac_ext
14720 cat >>conftest.
$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14735 rm -f conftest.
$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14739 grep -v '^ *+' conftest.er1
>conftest.err
14741 cat conftest.err
>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try
='test -z "$ac_cxx_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try
='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 bakefile_cv_cxx_compiler___HP_aCC
=yes
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.
$ac_ext >&5
14762 bakefile_cv_cxx_compiler___HP_aCC
=no
14765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14772 ac_cpp
='$CXXCPP $CPPFLAGS'
14773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14777 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14790 ac_cpp
='$CXXCPP $CPPFLAGS'
14791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14795 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14796 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14797 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 cat >conftest.
$ac_ext <<_ACEOF
14803 cat confdefs.h
>>conftest.
$ac_ext
14804 cat >>conftest.
$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14819 rm -f conftest.
$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>conftest.er1
14823 grep -v '^ *+' conftest.er1
>conftest.err
14825 cat conftest.err
>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try
='test -z "$ac_cxx_werror_flag"
14829 || test ! -s conftest.err'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; } &&
14835 { ac_try
='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14841 bakefile_cv_cxx_compiler___DECCXX
=yes
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14846 bakefile_cv_cxx_compiler___DECCXX
=no
14849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14853 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14856 ac_cpp
='$CXXCPP $CPPFLAGS'
14857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14861 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14874 ac_cpp
='$CXXCPP $CPPFLAGS'
14875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14879 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14880 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14881 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 cat >conftest.
$ac_ext <<_ACEOF
14887 cat confdefs.h
>>conftest.
$ac_ext
14888 cat >>conftest.
$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14895 #ifndef __SUNPRO_CC
14903 rm -f conftest.
$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_cxx_werror_flag"
14913 || test ! -s conftest.err'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try
='test -s conftest.$ac_objext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14927 echo "$as_me: failed program was:" >&5
14928 sed 's/^/| /' conftest.
$ac_ext >&5
14930 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14938 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14940 ac_cpp
='$CXXCPP $CPPFLAGS'
14941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14945 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14958 if test -n "$ac_tool_prefix"; then
14959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14960 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14961 echo "$as_me:$LINENO: checking for $ac_word" >&5
14962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14963 if test "${ac_cv_prog_RANLIB+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 if test -n "$RANLIB"; then
14967 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14970 for as_dir
in $PATH
14973 test -z "$as_dir" && as_dir
=.
14974 for ac_exec_ext
in '' $ac_executable_extensions; do
14975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14976 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14985 RANLIB
=$ac_cv_prog_RANLIB
14986 if test -n "$RANLIB"; then
14987 echo "$as_me:$LINENO: result: $RANLIB" >&5
14988 echo "${ECHO_T}$RANLIB" >&6
14990 echo "$as_me:$LINENO: result: no" >&5
14991 echo "${ECHO_T}no" >&6
14995 if test -z "$ac_cv_prog_RANLIB"; then
14996 ac_ct_RANLIB
=$RANLIB
14997 # Extract the first word of "ranlib", so it can be a program name with args.
14998 set dummy ranlib
; ac_word
=$2
14999 echo "$as_me:$LINENO: checking for $ac_word" >&5
15000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 if test -n "$ac_ct_RANLIB"; then
15005 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15008 for as_dir
in $PATH
15011 test -z "$as_dir" && as_dir
=.
15012 for ac_exec_ext
in '' $ac_executable_extensions; do
15013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15014 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15021 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15024 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15025 if test -n "$ac_ct_RANLIB"; then
15026 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15029 echo "$as_me:$LINENO: result: no" >&5
15030 echo "${ECHO_T}no" >&6
15033 RANLIB
=$ac_ct_RANLIB
15035 RANLIB
="$ac_cv_prog_RANLIB"
15039 if test -n "$ac_tool_prefix"; then
15040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15041 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15042 echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15044 if test "${ac_cv_prog_AR+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 if test -n "$AR"; then
15048 ac_cv_prog_AR
="$AR" # Let the user override the test.
15050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15051 for as_dir
in $PATH
15054 test -z "$as_dir" && as_dir
=.
15055 for ac_exec_ext
in '' $ac_executable_extensions; do
15056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15057 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 if test -n "$AR"; then
15068 echo "$as_me:$LINENO: result: $AR" >&5
15069 echo "${ECHO_T}$AR" >&6
15071 echo "$as_me:$LINENO: result: no" >&5
15072 echo "${ECHO_T}no" >&6
15076 if test -z "$ac_cv_prog_AR"; then
15078 # Extract the first word of "ar", so it can be a program name with args.
15079 set dummy
ar; ac_word
=$2
15080 echo "$as_me:$LINENO: checking for $ac_word" >&5
15081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15082 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 if test -n "$ac_ct_AR"; then
15086 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15089 for as_dir
in $PATH
15092 test -z "$as_dir" && as_dir
=.
15093 for ac_exec_ext
in '' $ac_executable_extensions; do
15094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15095 ac_cv_prog_ac_ct_AR
="ar"
15096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15105 if test -n "$ac_ct_AR"; then
15106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15107 echo "${ECHO_T}$ac_ct_AR" >&6
15109 echo "$as_me:$LINENO: result: no" >&5
15110 echo "${ECHO_T}no" >&6
15115 AR
="$ac_cv_prog_AR"
15118 if test "x$AR" = "x" ; then
15119 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15120 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15121 { (exit 1); exit 1; }; }
15124 # Find a good install program. We prefer a C program (faster),
15125 # so one script is as good as another. But avoid the broken or
15126 # incompatible versions:
15127 # SysV /etc/install, /usr/sbin/install
15128 # SunOS /usr/etc/install
15129 # IRIX /sbin/install
15131 # AmigaOS /C/install, which installs bootblocks on floppy discs
15132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15135 # OS/2's system install, which has a completely different semantic
15136 # ./install, which can be erroneously created by make from ./install.sh.
15137 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15138 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15139 if test -z "$INSTALL"; then
15140 if test "${ac_cv_path_install+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15144 for as_dir
in $PATH
15147 test -z "$as_dir" && as_dir
=.
15148 # Account for people who put trailing slashes in PATH elements.
15150 .
/ | .
// | /cC
/* | \
15151 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15152 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15155 # OSF1 and SCO ODT 3.0 have their own names for install.
15156 # Don't use installbsd from OSF since it installs stuff as root
15158 for ac_prog
in ginstall scoinst
install; do
15159 for ac_exec_ext
in '' $ac_executable_extensions; do
15160 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15161 if test $ac_prog = install &&
15162 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15163 # AIX install. It has an incompatible calling convention.
15165 elif test $ac_prog = install &&
15166 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15167 # program-specific install script used by HP pwplus--don't use.
15170 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15182 if test "${ac_cv_path_install+set}" = set; then
15183 INSTALL
=$ac_cv_path_install
15185 # As a last resort, use the slow shell script. We don't cache a
15186 # path for INSTALL within a source directory, because that will
15187 # break other packages using the cache if that directory is
15188 # removed, or if the path is relative.
15189 INSTALL
=$ac_install_sh
15192 echo "$as_me:$LINENO: result: $INSTALL" >&5
15193 echo "${ECHO_T}$INSTALL" >&6
15195 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15196 # It thinks the first close brace ends the variable substitution.
15197 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15199 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15201 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15207 ?
:* ) # Drive letter, considered as absolute.
15210 INSTALL
=`pwd`/${INSTALL} ;;
15217 INSTALL_PROGRAM
="cp -fp"
15218 INSTALL_DATA
="cp -fp"
15224 if test -n "$ac_tool_prefix"; then
15225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15226 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15227 echo "$as_me:$LINENO: checking for $ac_word" >&5
15228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15229 if test "${ac_cv_prog_STRIP+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 if test -n "$STRIP"; then
15233 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15236 for as_dir
in $PATH
15239 test -z "$as_dir" && as_dir
=.
15240 for ac_exec_ext
in '' $ac_executable_extensions; do
15241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15242 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15251 STRIP
=$ac_cv_prog_STRIP
15252 if test -n "$STRIP"; then
15253 echo "$as_me:$LINENO: result: $STRIP" >&5
15254 echo "${ECHO_T}$STRIP" >&6
15256 echo "$as_me:$LINENO: result: no" >&5
15257 echo "${ECHO_T}no" >&6
15261 if test -z "$ac_cv_prog_STRIP"; then
15263 # Extract the first word of "strip", so it can be a program name with args.
15264 set dummy strip
; ac_word
=$2
15265 echo "$as_me:$LINENO: checking for $ac_word" >&5
15266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 if test -n "$ac_ct_STRIP"; then
15271 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15274 for as_dir
in $PATH
15277 test -z "$as_dir" && as_dir
=.
15278 for ac_exec_ext
in '' $ac_executable_extensions; do
15279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15280 ac_cv_prog_ac_ct_STRIP
="strip"
15281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15290 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15291 if test -n "$ac_ct_STRIP"; then
15292 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15293 echo "${ECHO_T}$ac_ct_STRIP" >&6
15295 echo "$as_me:$LINENO: result: no" >&5
15296 echo "${ECHO_T}no" >&6
15301 STRIP
="$ac_cv_prog_STRIP"
15305 if test "$wxUSE_WINE" = "yes"; then
15306 if test -n "$ac_tool_prefix"; then
15307 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15308 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15309 echo "$as_me:$LINENO: checking for $ac_word" >&5
15310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15311 if test "${ac_cv_prog_WINDRES+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 if test -n "$WINDRES"; then
15315 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15318 for as_dir
in $PATH
15321 test -z "$as_dir" && as_dir
=.
15322 for ac_exec_ext
in '' $ac_executable_extensions; do
15323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15324 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15333 WINDRES
=$ac_cv_prog_WINDRES
15334 if test -n "$WINDRES"; then
15335 echo "$as_me:$LINENO: result: $WINDRES" >&5
15336 echo "${ECHO_T}$WINDRES" >&6
15338 echo "$as_me:$LINENO: result: no" >&5
15339 echo "${ECHO_T}no" >&6
15343 if test -z "$ac_cv_prog_WINDRES"; then
15344 ac_ct_WINDRES
=$WINDRES
15345 # Extract the first word of "wrc", so it can be a program name with args.
15346 set dummy wrc
; ac_word
=$2
15347 echo "$as_me:$LINENO: checking for $ac_word" >&5
15348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15349 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 if test -n "$ac_ct_WINDRES"; then
15353 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15356 for as_dir
in $PATH
15359 test -z "$as_dir" && as_dir
=.
15360 for ac_exec_ext
in '' $ac_executable_extensions; do
15361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15362 ac_cv_prog_ac_ct_WINDRES
="wrc"
15363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15371 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15372 if test -n "$ac_ct_WINDRES"; then
15373 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15374 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15376 echo "$as_me:$LINENO: result: no" >&5
15377 echo "${ECHO_T}no" >&6
15380 WINDRES
=$ac_ct_WINDRES
15382 WINDRES
="$ac_cv_prog_WINDRES"
15388 *-*-cygwin* | *-*-mingw32* )
15389 if test -n "$ac_tool_prefix"; then
15390 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15391 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15392 echo "$as_me:$LINENO: checking for $ac_word" >&5
15393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15394 if test "${ac_cv_prog_WINDRES+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 if test -n "$WINDRES"; then
15398 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15401 for as_dir
in $PATH
15404 test -z "$as_dir" && as_dir
=.
15405 for ac_exec_ext
in '' $ac_executable_extensions; do
15406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15407 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15416 WINDRES
=$ac_cv_prog_WINDRES
15417 if test -n "$WINDRES"; then
15418 echo "$as_me:$LINENO: result: $WINDRES" >&5
15419 echo "${ECHO_T}$WINDRES" >&6
15421 echo "$as_me:$LINENO: result: no" >&5
15422 echo "${ECHO_T}no" >&6
15426 if test -z "$ac_cv_prog_WINDRES"; then
15427 ac_ct_WINDRES
=$WINDRES
15428 # Extract the first word of "windres", so it can be a program name with args.
15429 set dummy windres
; ac_word
=$2
15430 echo "$as_me:$LINENO: checking for $ac_word" >&5
15431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15432 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 if test -n "$ac_ct_WINDRES"; then
15436 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15439 for as_dir
in $PATH
15442 test -z "$as_dir" && as_dir
=.
15443 for ac_exec_ext
in '' $ac_executable_extensions; do
15444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15445 ac_cv_prog_ac_ct_WINDRES
="windres"
15446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15454 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15455 if test -n "$ac_ct_WINDRES"; then
15456 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15457 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15459 echo "$as_me:$LINENO: result: no" >&5
15460 echo "${ECHO_T}no" >&6
15463 WINDRES
=$ac_ct_WINDRES
15465 WINDRES
="$ac_cv_prog_WINDRES"
15469 if test -n "$ac_tool_prefix"; then
15470 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15471 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15472 echo "$as_me:$LINENO: checking for $ac_word" >&5
15473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15474 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15475 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 if test -n "$DLLTOOL"; then
15478 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15481 for as_dir
in $PATH
15484 test -z "$as_dir" && as_dir
=.
15485 for ac_exec_ext
in '' $ac_executable_extensions; do
15486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15487 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15496 DLLTOOL
=$ac_cv_prog_DLLTOOL
15497 if test -n "$DLLTOOL"; then
15498 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15499 echo "${ECHO_T}$DLLTOOL" >&6
15501 echo "$as_me:$LINENO: result: no" >&5
15502 echo "${ECHO_T}no" >&6
15506 if test -z "$ac_cv_prog_DLLTOOL"; then
15507 ac_ct_DLLTOOL
=$DLLTOOL
15508 # Extract the first word of "dlltool", so it can be a program name with args.
15509 set dummy dlltool
; ac_word
=$2
15510 echo "$as_me:$LINENO: checking for $ac_word" >&5
15511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15512 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 if test -n "$ac_ct_DLLTOOL"; then
15516 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15519 for as_dir
in $PATH
15522 test -z "$as_dir" && as_dir
=.
15523 for ac_exec_ext
in '' $ac_executable_extensions; do
15524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15525 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15534 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15535 if test -n "$ac_ct_DLLTOOL"; then
15536 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15537 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15539 echo "$as_me:$LINENO: result: no" >&5
15540 echo "${ECHO_T}no" >&6
15543 DLLTOOL
=$ac_ct_DLLTOOL
15545 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15552 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15553 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15554 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15558 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15559 egrep -s GNU
> /dev
/null
); then
15560 wx_cv_prog_makeisgnu
="yes"
15562 wx_cv_prog_makeisgnu
="no"
15566 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15567 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15569 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15577 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15578 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15579 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15580 if test "${wx_cv_prog_makevpath+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 cat - << EOF > confMake
15590 if test ! -d sub
; then
15593 echo dummy
> sub
/file
15594 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15596 rm -f sub
/file check final_file confMake
15598 if test "$RESULT" = 0; then
15599 wx_cv_prog_makevpath
="yes"
15601 wx_cv_prog_makevpath
="no"
15605 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15606 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15608 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15609 { { echo "$as_me:$LINENO: error:
15610 You need a make-utility that is able to use the variable
15612 If your version of make does not support VPATH correctly,
15613 please install GNU-make (possibly as gmake), and start
15614 configure with the following command:
15615 export MAKE=gmake; ./configure for sh-type shells
15616 setenv MAKE gmake; ./configure for csh-type shells
15617 Also please do remember to use gmake in this case every time
15618 you are trying to compile.
15620 echo "$as_me: error:
15621 You need a make-utility that is able to use the variable
15623 If your version of make does not support VPATH correctly,
15624 please install GNU-make (possibly as gmake), and start
15625 configure with the following command:
15626 export MAKE=gmake; ./configure for sh-type shells
15627 setenv MAKE gmake; ./configure for csh-type shells
15628 Also please do remember to use gmake in this case every time
15629 you are trying to compile.
15631 { (exit 1); exit 1; }; }
15633 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15634 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15636 if test "$LN_S" = "ln -s"; then
15637 echo "$as_me:$LINENO: result: yes" >&5
15638 echo "${ECHO_T}yes" >&6
15640 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15641 echo "${ECHO_T}no, using $LN_S" >&6
15647 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15648 CXXFLAGS
="-qunique $CXXFLAGS"
15652 powerpc
-*-darwin* )
15653 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15654 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15655 cat >conftest.
$ac_ext <<_ACEOF
15658 cat confdefs.h
>>conftest.
$ac_ext
15659 cat >>conftest.
$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15665 #ifndef __POWERPC__
15666 choke me for lack of PowerPC
15673 rm -f conftest.
$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675 (eval $ac_compile) 2>conftest.er1
15677 grep -v '^ *+' conftest.er1
>conftest.err
15679 cat conftest.err
>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try
='test -z "$ac_cxx_werror_flag"
15683 || test ! -s conftest.err'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; } &&
15689 { ac_try
='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15695 echo "$as_me:$LINENO: result: yes" >&5
15696 echo "${ECHO_T}yes" >&6
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15701 echo "$as_me:$LINENO: result: no" >&5
15702 echo "${ECHO_T}no" >&6
15703 cat >>confdefs.h
<<\_ACEOF
15704 #define __POWERPC__ 1
15709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15715 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15716 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15717 cat >conftest.
$ac_ext <<_ACEOF
15720 cat confdefs.h
>>conftest.
$ac_ext
15721 cat >>conftest.
$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723 #include <CoreFoundation/CFBase.h>
15733 rm -f conftest.
$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15737 grep -v '^ *+' conftest.er1
>conftest.err
15739 cat conftest.err
>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try
='test -z "$ac_cxx_werror_flag"
15743 || test ! -s conftest.err'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; } &&
15749 { ac_try
='test -s conftest.$ac_objext'
15750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15751 (eval $ac_try) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); }; }; then
15755 echo "$as_me:$LINENO: result: yes" >&5
15756 echo "${ECHO_T}yes" >&6
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.
$ac_ext >&5
15761 echo "$as_me:$LINENO: result: no" >&5
15762 echo "${ECHO_T}no" >&6
15763 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15764 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 #define __CF_USE_FRAMEWORK_INCLUDES__
15772 #include <CoreFoundation/CFBase.h>
15782 rm -f conftest.
$ac_objext
15783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15784 (eval $ac_compile) 2>conftest.er1
15786 grep -v '^ *+' conftest.er1
>conftest.err
15788 cat conftest.err
>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } &&
15791 { ac_try
='test -z "$ac_cxx_werror_flag"
15792 || test ! -s conftest.err'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try
='test -s conftest.$ac_objext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 echo "$as_me:$LINENO: result: yes" >&5
15805 echo "${ECHO_T}yes" >&6
15806 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15811 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15812 See \`config.log' for more details." >&5
15813 echo "$as_me: error: no. CoreFoundation not available.
15814 See \`config.log' for more details." >&2;}
15815 { (exit 1); exit 1; }; }
15818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15827 *-pc-os2_emx | *-pc-os2-emx )
15829 ac_cpp
='$CPP $CPPFLAGS'
15830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15834 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15835 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15836 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15837 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 ac_check_lib_save_LIBS
=$LIBS
15841 LIBS
="-lcExt $LIBS"
15842 cat >conftest.
$ac_ext <<_ACEOF
15845 cat confdefs.h
>>conftest.
$ac_ext
15846 cat >>conftest.
$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15849 /* Override any gcc2 internal prototype to avoid an error. */
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15864 rm -f conftest.
$ac_objext conftest
$ac_exeext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15866 (eval $ac_link) 2>conftest.er1
15868 grep -v '^ *+' conftest.er1
>conftest.err
15870 cat conftest.err
>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try
='test -z "$ac_c_werror_flag"
15874 || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try
='test -s conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_lib_cExt_drand48
=yes
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.
$ac_ext >&5
15891 ac_cv_lib_cExt_drand48
=no
15893 rm -f conftest.err conftest.
$ac_objext \
15894 conftest
$ac_exeext conftest.
$ac_ext
15895 LIBS
=$ac_check_lib_save_LIBS
15897 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15898 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15899 if test $ac_cv_lib_cExt_drand48 = yes; then
15900 LIBS
="$LIBS -lcExt"
15904 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15906 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15907 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15908 if test "${wx_cv_gccversion+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 if test "$cross_compiling" = yes; then
15913 wx_cv_gccversion
="EMX2"
15916 cat >conftest.
$ac_ext <<_ACEOF
15919 cat confdefs.h
>>conftest.
$ac_ext
15920 cat >>conftest.
$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15927 FILE *f=fopen("conftestval", "w");
15932 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15934 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15944 rm -f conftest
$ac_exeext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 wx_cv_gccversion
=`cat conftestval`
15957 echo "$as_me: program exited with status $ac_status" >&5
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.
$ac_ext >&5
15961 ( exit $ac_status )
15962 wx_cv_gccversion
="EMX2"
15964 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15968 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15969 echo "${ECHO_T}$wx_cv_gccversion" >&6
15971 ac_cpp
='$CXXCPP $CPPFLAGS'
15972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15976 if test "$wx_cv_gccversion" = "EMX2"; then
15977 LIBS
="$LIBS -lstdcpp"
15978 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15980 if test "$wx_cv_gccversion" = "EMX3"; then
15981 LIBS
="$LIBS -lstdcxx -lgcc"
15982 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15984 LIBS
="$LIBS -lstdc++"
15987 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15988 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15989 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15996 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15997 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15998 if test "${ac_cv_string_strcasecmp+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 cat >conftest.
$ac_ext <<_ACEOF
16005 cat confdefs.h
>>conftest.
$ac_ext
16006 cat >>conftest.
$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16009 #include <string.h>
16015 strcasecmp("foo", "bar");
16021 rm -f conftest.
$ac_objext conftest
$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>conftest.er1
16025 grep -v '^ *+' conftest.er1
>conftest.err
16027 cat conftest.err
>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try
='test -z "$ac_cxx_werror_flag"
16031 || test ! -s conftest.err'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; } &&
16037 { ac_try
='test -s conftest$ac_exeext'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; }; then
16043 ac_cv_string_strcasecmp
=yes
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.
$ac_ext >&5
16048 ac_cv_string_strcasecmp
=no
16051 rm -f conftest.err conftest.
$ac_objext \
16052 conftest
$ac_exeext conftest.
$ac_ext
16055 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16056 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16058 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16059 cat >>confdefs.h
<<\_ACEOF
16060 #define HAVE_STRCASECMP_IN_STRING_H 1
16064 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16065 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16066 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16077 #include <strings.h>
16083 strcasecmp("foo", "bar");
16089 rm -f conftest.
$ac_objext conftest
$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_cxx_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try
='test -s conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 ac_cv_strings_strcasecmp
=yes
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.
$ac_ext >&5
16116 ac_cv_strings_strcasecmp
=no
16119 rm -f conftest.err conftest.
$ac_objext \
16120 conftest
$ac_exeext conftest.
$ac_ext
16123 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16124 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16126 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16127 cat >>confdefs.h
<<\_ACEOF
16128 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16132 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16133 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16134 { (exit 1); exit 1; }; }
16143 ac_cpp
='$CXXCPP $CPPFLAGS'
16144 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16147 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16148 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16149 if test -z "$CXXCPP"; then
16150 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16153 # Double quotes because CXXCPP needs to be expanded
16154 for CXXCPP
in "$CXX -E" "/lib/cpp"
16156 ac_preproc_ok
=false
16157 for ac_cxx_preproc_warn_flag
in '' yes
16159 # Use a header file that comes with gcc, so configuring glibc
16160 # with a fresh cross-compiler works.
16161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16162 # <limits.h> exists even on freestanding compilers.
16163 # On the NeXT, cc -E runs the code through the compiler's parser,
16164 # not just through cpp. "Syntax error" is here to catch this case.
16165 cat >conftest.
$ac_ext <<_ACEOF
16168 cat confdefs.h
>>conftest.
$ac_ext
16169 cat >>conftest.
$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16172 # include <limits.h>
16174 # include <assert.h>
16178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } >/dev
/null
; then
16186 if test -s conftest.err
; then
16187 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16188 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16195 if test -z "$ac_cpp_err"; then
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.
$ac_ext >&5
16201 # Broken: fails on valid input.
16204 rm -f conftest.err conftest.
$ac_ext
16206 # OK, works on sane cases. Now check whether non-existent headers
16207 # can be detected and how.
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <ac_nonexistent.h>
16216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16219 grep -v '^ *+' conftest.er1
>conftest.err
16221 cat conftest.err
>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } >/dev
/null
; then
16224 if test -s conftest.err
; then
16225 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16226 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16233 if test -z "$ac_cpp_err"; then
16234 # Broken: success on invalid input.
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.
$ac_ext >&5
16240 # Passes both tests.
16244 rm -f conftest.err conftest.
$ac_ext
16247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16248 rm -f conftest.err conftest.
$ac_ext
16249 if $ac_preproc_ok; then
16254 ac_cv_prog_CXXCPP
=$CXXCPP
16257 CXXCPP
=$ac_cv_prog_CXXCPP
16259 ac_cv_prog_CXXCPP
=$CXXCPP
16261 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16262 echo "${ECHO_T}$CXXCPP" >&6
16263 ac_preproc_ok
=false
16264 for ac_cxx_preproc_warn_flag
in '' yes
16266 # Use a header file that comes with gcc, so configuring glibc
16267 # with a fresh cross-compiler works.
16268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16269 # <limits.h> exists even on freestanding compilers.
16270 # On the NeXT, cc -E runs the code through the compiler's parser,
16271 # not just through cpp. "Syntax error" is here to catch this case.
16272 cat >conftest.
$ac_ext <<_ACEOF
16275 cat confdefs.h
>>conftest.
$ac_ext
16276 cat >>conftest.
$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16279 # include <limits.h>
16281 # include <assert.h>
16285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16288 grep -v '^ *+' conftest.er1
>conftest.err
16290 cat conftest.err
>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } >/dev
/null
; then
16293 if test -s conftest.err
; then
16294 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16295 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16302 if test -z "$ac_cpp_err"; then
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.
$ac_ext >&5
16308 # Broken: fails on valid input.
16311 rm -f conftest.err conftest.
$ac_ext
16313 # OK, works on sane cases. Now check whether non-existent headers
16314 # can be detected and how.
16315 cat >conftest.
$ac_ext <<_ACEOF
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 #include <ac_nonexistent.h>
16323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16326 grep -v '^ *+' conftest.er1
>conftest.err
16328 cat conftest.err
>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } >/dev
/null
; then
16331 if test -s conftest.err
; then
16332 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16333 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16340 if test -z "$ac_cpp_err"; then
16341 # Broken: success on invalid input.
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.
$ac_ext >&5
16347 # Passes both tests.
16351 rm -f conftest.err conftest.
$ac_ext
16354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16355 rm -f conftest.err conftest.
$ac_ext
16356 if $ac_preproc_ok; then
16359 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16367 ac_cpp
='$CXXCPP $CPPFLAGS'
16368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16373 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16374 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16375 if test "${ac_cv_header_stdc+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 cat >conftest.
$ac_ext <<_ACEOF
16381 cat confdefs.h
>>conftest.
$ac_ext
16382 cat >>conftest.
$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 #include <stdlib.h>
16385 #include <stdarg.h>
16386 #include <string.h>
16397 rm -f conftest.
$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16401 grep -v '^ *+' conftest.er1
>conftest.err
16403 cat conftest.err
>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try
='test -z "$ac_cxx_werror_flag"
16407 || test ! -s conftest.err'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; } &&
16413 { ac_try
='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_cv_header_stdc
=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.
$ac_ext >&5
16424 ac_cv_header_stdc
=no
16426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16428 if test $ac_cv_header_stdc = yes; then
16429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16430 cat >conftest.
$ac_ext <<_ACEOF
16433 cat confdefs.h
>>conftest.
$ac_ext
16434 cat >>conftest.
$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 #include <string.h>
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "memchr" >/dev
/null
2>&1; then
16443 ac_cv_header_stdc
=no
16449 if test $ac_cv_header_stdc = yes; then
16450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <stdlib.h>
16460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16461 $EGREP "free" >/dev
/null
2>&1; then
16464 ac_cv_header_stdc
=no
16470 if test $ac_cv_header_stdc = yes; then
16471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16472 if test "$cross_compiling" = yes; then
16475 cat >conftest.
$ac_ext <<_ACEOF
16478 cat confdefs.h
>>conftest.
$ac_ext
16479 cat >>conftest.
$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16482 #if ((' ' & 0x0FF) == 0x020)
16483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16486 # define ISLOWER(c) \
16487 (('a' <= (c) && (c) <= 'i') \
16488 || ('j' <= (c) && (c) <= 'r') \
16489 || ('s' <= (c) && (c) <= 'z'))
16490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16498 for (i = 0; i < 256; i++)
16499 if (XOR (islower (i), ISLOWER (i))
16500 || toupper (i) != TOUPPER (i))
16505 rm -f conftest
$ac_exeext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16507 (eval $ac_link) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16518 echo "$as_me: program exited with status $ac_status" >&5
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 ( exit $ac_status )
16523 ac_cv_header_stdc
=no
16525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16529 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16530 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16531 if test $ac_cv_header_stdc = yes; then
16533 cat >>confdefs.h
<<\_ACEOF
16534 #define STDC_HEADERS 1
16539 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16549 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16550 inttypes.h stdint.h unistd.h
16552 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16553 echo "$as_me:$LINENO: checking for $ac_header" >&5
16554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 cat >conftest.
$ac_ext <<_ACEOF
16561 cat confdefs.h
>>conftest.
$ac_ext
16562 cat >>conftest.
$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16566 #include <$ac_header>
16568 rm -f conftest.
$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try
='test -z "$ac_cxx_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try
='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 eval "$as_ac_Header=yes"
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 eval "$as_ac_Header=no"
16597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16602 cat >>confdefs.h
<<_ACEOF
16603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16612 for ac_header
in stdlib.h
16614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16616 echo "$as_me:$LINENO: checking for $ac_header" >&5
16617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16624 # Is the header compilable?
16625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16627 cat >conftest.
$ac_ext <<_ACEOF
16630 cat confdefs.h
>>conftest.
$ac_ext
16631 cat >>conftest.
$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 $ac_includes_default
16634 #include <$ac_header>
16636 rm -f conftest.
$ac_objext
16637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16638 (eval $ac_compile) 2>conftest.er1
16640 grep -v '^ *+' conftest.er1
>conftest.err
16642 cat conftest.err
>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } &&
16645 { ac_try
='test -z "$ac_cxx_werror_flag"
16646 || test ! -s conftest.err'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try
='test -s conftest.$ac_objext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_header_compiler
=yes
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.
$ac_ext >&5
16663 ac_header_compiler
=no
16665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16667 echo "${ECHO_T}$ac_header_compiler" >&6
16669 # Is the header present?
16670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16672 cat >conftest.
$ac_ext <<_ACEOF
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 #include <$ac_header>
16680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16683 grep -v '^ *+' conftest.er1
>conftest.err
16685 cat conftest.err
>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } >/dev
/null
; then
16688 if test -s conftest.err
; then
16689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16697 if test -z "$ac_cpp_err"; then
16698 ac_header_preproc
=yes
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 ac_header_preproc
=no
16705 rm -f conftest.err conftest.
$ac_ext
16706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16707 echo "${ECHO_T}$ac_header_preproc" >&6
16709 # So? What about this header?
16710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16716 ac_header_preproc
=yes
16719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16733 ## ----------------------------------------- ##
16734 ## Report this to wx-dev@lists.wxwidgets.org ##
16735 ## ----------------------------------------- ##
16738 sed "s/^/$as_me: WARNING: /" >&2
16741 echo "$as_me:$LINENO: checking for $ac_header" >&5
16742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 eval "$as_ac_Header=\$ac_header_preproc"
16748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16753 cat >>confdefs.h
<<_ACEOF
16754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16762 for ac_header
in malloc.h
16764 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16766 echo "$as_me:$LINENO: checking for $ac_header" >&5
16767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16774 # Is the header compilable?
16775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16777 cat >conftest.
$ac_ext <<_ACEOF
16780 cat confdefs.h
>>conftest.
$ac_ext
16781 cat >>conftest.
$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 $ac_includes_default
16784 #include <$ac_header>
16786 rm -f conftest.
$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_cxx_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_header_compiler
=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_header_compiler
=no
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16817 echo "${ECHO_T}$ac_header_compiler" >&6
16819 # Is the header present?
16820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16822 cat >conftest.
$ac_ext <<_ACEOF
16825 cat confdefs.h
>>conftest.
$ac_ext
16826 cat >>conftest.
$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 #include <$ac_header>
16830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16833 grep -v '^ *+' conftest.er1
>conftest.err
16835 cat conftest.err
>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } >/dev
/null
; then
16838 if test -s conftest.err
; then
16839 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16840 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16847 if test -z "$ac_cpp_err"; then
16848 ac_header_preproc
=yes
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.
$ac_ext >&5
16853 ac_header_preproc
=no
16855 rm -f conftest.err conftest.
$ac_ext
16856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16857 echo "${ECHO_T}$ac_header_preproc" >&6
16859 # So? What about this header?
16860 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16866 ac_header_preproc
=yes
16869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16883 ## ----------------------------------------- ##
16884 ## Report this to wx-dev@lists.wxwidgets.org ##
16885 ## ----------------------------------------- ##
16888 sed "s/^/$as_me: WARNING: /" >&2
16891 echo "$as_me:$LINENO: checking for $ac_header" >&5
16892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 eval "$as_ac_Header=\$ac_header_preproc"
16898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16903 cat >>confdefs.h
<<_ACEOF
16904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16912 for ac_header
in unistd.h
16914 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16916 echo "$as_me:$LINENO: checking for $ac_header" >&5
16917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16924 # Is the header compilable?
16925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16927 cat >conftest.
$ac_ext <<_ACEOF
16930 cat confdefs.h
>>conftest.
$ac_ext
16931 cat >>conftest.
$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 $ac_includes_default
16934 #include <$ac_header>
16936 rm -f conftest.
$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_cxx_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_header_compiler
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_header_compiler
=no
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16967 echo "${ECHO_T}$ac_header_compiler" >&6
16969 # Is the header present?
16970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <$ac_header>
16980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16983 grep -v '^ *+' conftest.er1
>conftest.err
16985 cat conftest.err
>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } >/dev
/null
; then
16988 if test -s conftest.err
; then
16989 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16990 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16997 if test -z "$ac_cpp_err"; then
16998 ac_header_preproc
=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.
$ac_ext >&5
17003 ac_header_preproc
=no
17005 rm -f conftest.err conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17007 echo "${ECHO_T}$ac_header_preproc" >&6
17009 # So? What about this header?
17010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17016 ac_header_preproc
=yes
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17033 ## ----------------------------------------- ##
17034 ## Report this to wx-dev@lists.wxwidgets.org ##
17035 ## ----------------------------------------- ##
17038 sed "s/^/$as_me: WARNING: /" >&2
17041 echo "$as_me:$LINENO: checking for $ac_header" >&5
17042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 eval "$as_ac_Header=\$ac_header_preproc"
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17053 cat >>confdefs.h
<<_ACEOF
17054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17062 for ac_header
in wchar.h
17064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066 echo "$as_me:$LINENO: checking for $ac_header" >&5
17067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17074 # Is the header compilable?
17075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17077 cat >conftest.
$ac_ext <<_ACEOF
17080 cat confdefs.h
>>conftest.
$ac_ext
17081 cat >>conftest.
$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 $ac_includes_default
17084 #include <$ac_header>
17086 rm -f conftest.
$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try
='test -z "$ac_cxx_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try
='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_header_compiler
=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 ac_header_compiler
=no
17115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17117 echo "${ECHO_T}$ac_header_compiler" >&6
17119 # Is the header present?
17120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #include <$ac_header>
17130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17133 grep -v '^ *+' conftest.er1
>conftest.err
17135 cat conftest.err
>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } >/dev
/null
; then
17138 if test -s conftest.err
; then
17139 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17140 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17147 if test -z "$ac_cpp_err"; then
17148 ac_header_preproc
=yes
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.
$ac_ext >&5
17153 ac_header_preproc
=no
17155 rm -f conftest.err conftest.
$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17157 echo "${ECHO_T}$ac_header_preproc" >&6
17159 # So? What about this header?
17160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17166 ac_header_preproc
=yes
17169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17183 ## ----------------------------------------- ##
17184 ## Report this to wx-dev@lists.wxwidgets.org ##
17185 ## ----------------------------------------- ##
17188 sed "s/^/$as_me: WARNING: /" >&2
17191 echo "$as_me:$LINENO: checking for $ac_header" >&5
17192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 eval "$as_ac_Header=\$ac_header_preproc"
17198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17203 cat >>confdefs.h
<<_ACEOF
17204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17212 if test "$ac_cv_header_wchar_h" != "yes"; then
17214 for ac_header
in wcstr.h
17216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo "$as_me:$LINENO: checking for $ac_header" >&5
17219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17226 # Is the header compilable?
17227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17229 cat >conftest.
$ac_ext <<_ACEOF
17232 cat confdefs.h
>>conftest.
$ac_ext
17233 cat >>conftest.
$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 $ac_includes_default
17236 #include <$ac_header>
17238 rm -f conftest.
$ac_objext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17240 (eval $ac_compile) 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try
='test -z "$ac_cxx_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try
='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 ac_header_compiler
=yes
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.
$ac_ext >&5
17265 ac_header_compiler
=no
17267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17269 echo "${ECHO_T}$ac_header_compiler" >&6
17271 # Is the header present?
17272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17274 cat >conftest.
$ac_ext <<_ACEOF
17277 cat confdefs.h
>>conftest.
$ac_ext
17278 cat >>conftest.
$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17280 #include <$ac_header>
17282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17285 grep -v '^ *+' conftest.er1
>conftest.err
17287 cat conftest.err
>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } >/dev
/null
; then
17290 if test -s conftest.err
; then
17291 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17292 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17299 if test -z "$ac_cpp_err"; then
17300 ac_header_preproc
=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.
$ac_ext >&5
17305 ac_header_preproc
=no
17307 rm -f conftest.err conftest.
$ac_ext
17308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17309 echo "${ECHO_T}$ac_header_preproc" >&6
17311 # So? What about this header?
17312 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17318 ac_header_preproc
=yes
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17335 ## ----------------------------------------- ##
17336 ## Report this to wx-dev@lists.wxwidgets.org ##
17337 ## ----------------------------------------- ##
17340 sed "s/^/$as_me: WARNING: /" >&2
17343 echo "$as_me:$LINENO: checking for $ac_header" >&5
17344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 eval "$as_ac_Header=\$ac_header_preproc"
17350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17355 cat >>confdefs.h
<<_ACEOF
17356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17366 for ac_header
in fnmatch.h
17368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17370 echo "$as_me:$LINENO: checking for $ac_header" >&5
17371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17378 # Is the header compilable?
17379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17381 cat >conftest.
$ac_ext <<_ACEOF
17384 cat confdefs.h
>>conftest.
$ac_ext
17385 cat >>conftest.
$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 $ac_includes_default
17388 #include <$ac_header>
17390 rm -f conftest.
$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>conftest.er1
17394 grep -v '^ *+' conftest.er1
>conftest.err
17396 cat conftest.err
>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try
='test -z "$ac_cxx_werror_flag"
17400 || test ! -s conftest.err'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try
='test -s conftest.$ac_objext'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; }; then
17412 ac_header_compiler
=yes
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.
$ac_ext >&5
17417 ac_header_compiler
=no
17419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17421 echo "${ECHO_T}$ac_header_compiler" >&6
17423 # Is the header present?
17424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17426 cat >conftest.
$ac_ext <<_ACEOF
17429 cat confdefs.h
>>conftest.
$ac_ext
17430 cat >>conftest.
$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 #include <$ac_header>
17434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17437 grep -v '^ *+' conftest.er1
>conftest.err
17439 cat conftest.err
>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } >/dev
/null
; then
17442 if test -s conftest.err
; then
17443 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17444 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17451 if test -z "$ac_cpp_err"; then
17452 ac_header_preproc
=yes
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.
$ac_ext >&5
17457 ac_header_preproc
=no
17459 rm -f conftest.err conftest.
$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17461 echo "${ECHO_T}$ac_header_preproc" >&6
17463 # So? What about this header?
17464 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17470 ac_header_preproc
=yes
17473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17487 ## ----------------------------------------- ##
17488 ## Report this to wx-dev@lists.wxwidgets.org ##
17489 ## ----------------------------------------- ##
17492 sed "s/^/$as_me: WARNING: /" >&2
17495 echo "$as_me:$LINENO: checking for $ac_header" >&5
17496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 eval "$as_ac_Header=\$ac_header_preproc"
17502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17507 cat >>confdefs.h
<<_ACEOF
17508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17517 for ac_header
in langinfo.h
17519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17521 echo "$as_me:$LINENO: checking for $ac_header" >&5
17522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17529 # Is the header compilable?
17530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17532 cat >conftest.
$ac_ext <<_ACEOF
17535 cat confdefs.h
>>conftest.
$ac_ext
17536 cat >>conftest.
$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 $ac_includes_default
17539 #include <$ac_header>
17541 rm -f conftest.
$ac_objext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17543 (eval $ac_compile) 2>conftest.er1
17545 grep -v '^ *+' conftest.er1
>conftest.err
17547 cat conftest.err
>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } &&
17550 { ac_try
='test -z "$ac_cxx_werror_flag"
17551 || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try
='test -s conftest.$ac_objext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_header_compiler
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 ac_header_compiler
=no
17570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17572 echo "${ECHO_T}$ac_header_compiler" >&6
17574 # Is the header present?
17575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17577 cat >conftest.
$ac_ext <<_ACEOF
17580 cat confdefs.h
>>conftest.
$ac_ext
17581 cat >>conftest.
$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <$ac_header>
17585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17588 grep -v '^ *+' conftest.er1
>conftest.err
17590 cat conftest.err
>&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } >/dev
/null
; then
17593 if test -s conftest.err
; then
17594 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17595 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17602 if test -z "$ac_cpp_err"; then
17603 ac_header_preproc
=yes
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 ac_header_preproc
=no
17610 rm -f conftest.err conftest.
$ac_ext
17611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17612 echo "${ECHO_T}$ac_header_preproc" >&6
17614 # So? What about this header?
17615 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17621 ac_header_preproc
=yes
17624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17638 ## ----------------------------------------- ##
17639 ## Report this to wx-dev@lists.wxwidgets.org ##
17640 ## ----------------------------------------- ##
17643 sed "s/^/$as_me: WARNING: /" >&2
17646 echo "$as_me:$LINENO: checking for $ac_header" >&5
17647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 eval "$as_ac_Header=\$ac_header_preproc"
17653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17658 cat >>confdefs.h
<<_ACEOF
17659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17668 *-pc-os2_emx | *-pc-os2-emx )
17669 if test $ac_cv_header_langinfo_h = "yes" \
17670 -a \
( "$wx_cv_gccversion" = "EMX2" \
17671 -o "$wx_cv_gccversion" = "EMX3" \
17672 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17673 LIBS
="$LIBS -lintl"
17678 if test "$USE_UNIX" = 1 ; then
17680 for ac_header
in sys
/select.h
17682 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17684 echo "$as_me:$LINENO: checking for $ac_header" >&5
17685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17692 # Is the header compilable?
17693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17695 cat >conftest.
$ac_ext <<_ACEOF
17698 cat confdefs.h
>>conftest.
$ac_ext
17699 cat >>conftest.
$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 $ac_includes_default
17702 #include <$ac_header>
17704 rm -f conftest.
$ac_objext
17705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17706 (eval $ac_compile) 2>conftest.er1
17708 grep -v '^ *+' conftest.er1
>conftest.err
17710 cat conftest.err
>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } &&
17713 { ac_try
='test -z "$ac_cxx_werror_flag"
17714 || test ! -s conftest.err'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; } &&
17720 { ac_try
='test -s conftest.$ac_objext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 ac_header_compiler
=yes
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.
$ac_ext >&5
17731 ac_header_compiler
=no
17733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17735 echo "${ECHO_T}$ac_header_compiler" >&6
17737 # Is the header present?
17738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <$ac_header>
17748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17751 grep -v '^ *+' conftest.er1
>conftest.err
17753 cat conftest.err
>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } >/dev
/null
; then
17756 if test -s conftest.err
; then
17757 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17758 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17765 if test -z "$ac_cpp_err"; then
17766 ac_header_preproc
=yes
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.
$ac_ext >&5
17771 ac_header_preproc
=no
17773 rm -f conftest.err conftest.
$ac_ext
17774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17775 echo "${ECHO_T}$ac_header_preproc" >&6
17777 # So? What about this header?
17778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17784 ac_header_preproc
=yes
17787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17801 ## ----------------------------------------- ##
17802 ## Report this to wx-dev@lists.wxwidgets.org ##
17803 ## ----------------------------------------- ##
17806 sed "s/^/$as_me: WARNING: /" >&2
17809 echo "$as_me:$LINENO: checking for $ac_header" >&5
17810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 eval "$as_ac_Header=\$ac_header_preproc"
17816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17821 cat >>confdefs.h
<<_ACEOF
17822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17832 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17833 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17834 if test "${ac_cv_c_const+set}" = set; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17847 /* FIXME: Include the comments suggested by Paul. */
17848 #ifndef __cplusplus
17849 /* Ultrix mips cc rejects this. */
17850 typedef int charset[2];
17852 /* SunOS 4.1.1 cc rejects this. */
17853 char const *const *ccp;
17855 /* NEC SVR4.0.2 mips cc rejects this. */
17856 struct point {int x, y;};
17857 static struct point const zero = {0,0};
17858 /* AIX XL C 1.02.0.0 rejects this.
17859 It does not let you subtract one const X* pointer from another in
17860 an arm of an if-expression whose if-part is not a constant
17862 const char *g = "string";
17863 ccp = &g + (g ? g-g : 0);
17864 /* HPUX 7.0 cc rejects these. */
17867 ccp = (char const *const *) p;
17868 { /* SCO 3.2v4 cc rejects this. */
17870 char const *s = 0 ? (char *) 0 : (char const *) 0;
17874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17875 int x[] = {25, 17};
17876 const int *foo = &x[0];
17879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17880 typedef const int *iptr;
17884 { /* AIX XL C 1.02.0.0 rejects this saying
17885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17886 struct s { int j; const int *ap[3]; };
17887 struct s *b; b->j = 5;
17889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17890 const int foo = 10;
17898 rm -f conftest.
$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17902 grep -v '^ *+' conftest.er1
>conftest.err
17904 cat conftest.err
>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try
='test -z "$ac_cxx_werror_flag"
17908 || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try
='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.
$ac_ext >&5
17927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17929 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17930 echo "${ECHO_T}$ac_cv_c_const" >&6
17931 if test $ac_cv_c_const = no
; then
17933 cat >>confdefs.h
<<\_ACEOF
17939 echo "$as_me:$LINENO: checking for inline" >&5
17940 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17941 if test "${ac_cv_c_inline+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 for ac_kw
in inline __inline__ __inline
; do
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #ifndef __cplusplus
17954 static $ac_kw foo_t static_foo () {return 0; }
17955 $ac_kw foo_t foo () {return 0; }
17959 rm -f conftest.
$ac_objext
17960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17961 (eval $ac_compile) 2>conftest.er1
17963 grep -v '^ *+' conftest.er1
>conftest.err
17965 cat conftest.err
>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } &&
17968 { ac_try
='test -z "$ac_cxx_werror_flag"
17969 || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_cv_c_inline
=$ac_kw; break
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17991 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17992 echo "${ECHO_T}$ac_cv_c_inline" >&6
17995 case $ac_cv_c_inline in
17998 case $ac_cv_c_inline in
18000 *) ac_val
=$ac_cv_c_inline;;
18002 cat >>confdefs.h
<<_ACEOF
18003 #ifndef __cplusplus
18004 #define inline $ac_val
18011 echo "$as_me:$LINENO: checking for char" >&5
18012 echo $ECHO_N "checking for char... $ECHO_C" >&6
18013 if test "${ac_cv_type_char+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18034 rm -f conftest.
$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18038 grep -v '^ *+' conftest.er1
>conftest.err
18040 cat conftest.err
>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try
='test -z "$ac_cxx_werror_flag"
18044 || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try
='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_type_char
=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18066 echo "${ECHO_T}$ac_cv_type_char" >&6
18068 echo "$as_me:$LINENO: checking size of char" >&5
18069 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_char+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 if test "$ac_cv_type_char" = yes; then
18074 # The cast to unsigned long works around a bug in the HP C Compiler
18075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077 # This bug is HP SR number 8606223364.
18078 if test "$cross_compiling" = yes; then
18079 # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.
$ac_ext <<_ACEOF
18083 cat confdefs.h
>>conftest.
$ac_ext
18084 cat >>conftest.
$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 $ac_includes_default
18090 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18097 rm -f conftest.
$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18101 grep -v '^ *+' conftest.er1
>conftest.err
18103 cat conftest.err
>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try
='test -z "$ac_cxx_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18121 cat >conftest.
$ac_ext <<_ACEOF
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18131 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18138 rm -f conftest.
$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18142 grep -v '^ *+' conftest.er1
>conftest.err
18144 cat conftest.err
>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try
='test -z "$ac_cxx_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi
=$ac_mid; break
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_lo
=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18170 ac_mid
=`expr 2 '*' $ac_mid + 1`
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.
$ac_ext >&5
18178 cat >conftest.
$ac_ext <<_ACEOF
18181 cat confdefs.h
>>conftest.
$ac_ext
18182 cat >>conftest.
$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18195 rm -f conftest.
$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_cxx_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18229 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18236 rm -f conftest.
$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1
>conftest.err
18242 cat conftest.err
>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try
='test -z "$ac_cxx_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_lo
=$ac_mid; break
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 ac_hi
=`expr '(' $ac_mid ')' - 1`
18264 if test $ac_mid -le $ac_hi; then
18268 ac_mid
=`expr 2 '*' $ac_mid`
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284 cat >conftest.
$ac_ext <<_ACEOF
18287 cat confdefs.h
>>conftest.
$ac_ext
18288 cat >>conftest.
$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18294 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try
='test -z "$ac_cxx_werror_flag"
18311 || test ! -s conftest.err'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; } &&
18317 { ac_try
='test -s conftest.$ac_objext'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 ac_lo
=`expr '(' $ac_mid ')' + 1`
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18335 See \`config.log' for more details." >&5
18336 echo "$as_me: error: cannot compute sizeof (char), 77
18337 See \`config.log' for more details." >&2;}
18338 { (exit 1); exit 1; }; } ;;
18341 if test "$cross_compiling" = yes; then
18342 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18343 See \`config.log' for more details." >&5
18344 echo "$as_me: error: cannot run test program while cross compiling
18345 See \`config.log' for more details." >&2;}
18346 { (exit 1); exit 1; }; }
18348 cat >conftest.
$ac_ext <<_ACEOF
18351 cat confdefs.h
>>conftest.
$ac_ext
18352 cat >>conftest.
$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 long longval () { return (long) (sizeof (char)); }
18356 unsigned long ulongval () { return (long) (sizeof (char)); }
18358 #include <stdlib.h>
18363 FILE *f = fopen ("conftest.val", "w");
18366 if (((long) (sizeof (char))) < 0)
18368 long i = longval ();
18369 if (i != ((long) (sizeof (char))))
18371 fprintf (f, "%ld\n", i);
18375 unsigned long i = ulongval ();
18376 if (i != ((long) (sizeof (char))))
18378 fprintf (f, "%lu\n", i);
18380 exit (ferror (f) || fclose (f) != 0);
18386 rm -f conftest
$ac_exeext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18388 (eval $ac_link) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 ac_cv_sizeof_char
=`cat conftest.val`
18399 echo "$as_me: program exited with status $ac_status" >&5
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ( exit $ac_status )
18404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: cannot compute sizeof (char), 77
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }
18410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18415 ac_cv_sizeof_char
=0
18418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18419 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18420 cat >>confdefs.h
<<_ACEOF
18421 #define SIZEOF_CHAR $ac_cv_sizeof_char
18425 echo "$as_me:$LINENO: checking for short" >&5
18426 echo $ECHO_N "checking for short... $ECHO_C" >&6
18427 if test "${ac_cv_type_short+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18430 cat >conftest.
$ac_ext <<_ACEOF
18433 cat confdefs.h
>>conftest.
$ac_ext
18434 cat >>conftest.
$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 $ac_includes_default
18442 if (sizeof (short))
18448 rm -f conftest.
$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18452 grep -v '^ *+' conftest.er1
>conftest.err
18454 cat conftest.err
>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try
='test -z "$ac_cxx_werror_flag"
18458 || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try
='test -s conftest.$ac_objext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_type_short
=yes
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 ac_cv_type_short
=no
18477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18479 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18480 echo "${ECHO_T}$ac_cv_type_short" >&6
18482 echo "$as_me:$LINENO: checking size of short" >&5
18483 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18484 if test "${ac_cv_sizeof_short+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 if test "$ac_cv_type_short" = yes; then
18488 # The cast to unsigned long works around a bug in the HP C Compiler
18489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18491 # This bug is HP SR number 8606223364.
18492 if test "$cross_compiling" = yes; then
18493 # Depending upon the size, compute the lo and hi bounds.
18494 cat >conftest.
$ac_ext <<_ACEOF
18497 cat confdefs.h
>>conftest.
$ac_ext
18498 cat >>conftest.
$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18504 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18511 rm -f conftest.
$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try
='test -z "$ac_cxx_werror_flag"
18521 || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18535 cat >conftest.
$ac_ext <<_ACEOF
18538 cat confdefs.h
>>conftest.
$ac_ext
18539 cat >>conftest.
$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18545 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18552 rm -f conftest.
$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1
>conftest.err
18558 cat conftest.err
>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try
='test -z "$ac_cxx_werror_flag"
18562 || test ! -s conftest.err'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try
='test -s conftest.$ac_objext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_hi
=$ac_mid; break
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.
$ac_ext >&5
18579 ac_lo
=`expr $ac_mid + 1`
18580 if test $ac_lo -le $ac_mid; then
18584 ac_mid
=`expr 2 '*' $ac_mid + 1`
18586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.
$ac_ext >&5
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18609 rm -f conftest.
$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try
='test -z "$ac_cxx_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try
='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18633 cat >conftest.
$ac_ext <<_ACEOF
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 $ac_includes_default
18643 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18650 rm -f conftest.
$ac_objext
18651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18652 (eval $ac_compile) 2>conftest.er1
18654 grep -v '^ *+' conftest.er1
>conftest.err
18656 cat conftest.err
>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } &&
18659 { ac_try
='test -z "$ac_cxx_werror_flag"
18660 || test ! -s conftest.err'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; } &&
18666 { ac_try
='test -s conftest.$ac_objext'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; }; then
18672 ac_lo
=$ac_mid; break
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.
$ac_ext >&5
18677 ac_hi
=`expr '(' $ac_mid ')' - 1`
18678 if test $ac_mid -le $ac_hi; then
18682 ac_mid
=`expr 2 '*' $ac_mid`
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.
$ac_ext >&5
18692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18695 # Binary search between lo and hi bounds.
18696 while test "x$ac_lo" != "x$ac_hi"; do
18697 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18698 cat >conftest.
$ac_ext <<_ACEOF
18701 cat confdefs.h
>>conftest.
$ac_ext
18702 cat >>conftest.
$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18708 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_cxx_werror_flag"
18725 || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try
='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18742 ac_lo
=`expr '(' $ac_mid ')' + 1`
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18748 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18749 See \`config.log' for more details." >&5
18750 echo "$as_me: error: cannot compute sizeof (short), 77
18751 See \`config.log' for more details." >&2;}
18752 { (exit 1); exit 1; }; } ;;
18755 if test "$cross_compiling" = yes; then
18756 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot run test program while cross compiling
18759 See \`config.log' for more details." >&2;}
18760 { (exit 1); exit 1; }; }
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18769 long longval () { return (long) (sizeof (short)); }
18770 unsigned long ulongval () { return (long) (sizeof (short)); }
18772 #include <stdlib.h>
18777 FILE *f = fopen ("conftest.val", "w");
18780 if (((long) (sizeof (short))) < 0)
18782 long i = longval ();
18783 if (i != ((long) (sizeof (short))))
18785 fprintf (f, "%ld\n", i);
18789 unsigned long i = ulongval ();
18790 if (i != ((long) (sizeof (short))))
18792 fprintf (f, "%lu\n", i);
18794 exit (ferror (f) || fclose (f) != 0);
18800 rm -f conftest
$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_sizeof_short
=`cat conftest.val`
18813 echo "$as_me: program exited with status $ac_status" >&5
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.
$ac_ext >&5
18817 ( exit $ac_status )
18818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18819 See \`config.log' for more details." >&5
18820 echo "$as_me: error: cannot compute sizeof (short), 77
18821 See \`config.log' for more details." >&2;}
18822 { (exit 1); exit 1; }; }
18824 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18829 ac_cv_sizeof_short
=0
18832 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18833 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18834 cat >>confdefs.h
<<_ACEOF
18835 #define SIZEOF_SHORT $ac_cv_sizeof_short
18839 echo "$as_me:$LINENO: checking for void *" >&5
18840 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18841 if test "${ac_cv_type_void_p+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 cat >conftest.
$ac_ext <<_ACEOF
18847 cat confdefs.h
>>conftest.
$ac_ext
18848 cat >>conftest.
$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18856 if (sizeof (void *))
18862 rm -f conftest.
$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18866 grep -v '^ *+' conftest.er1
>conftest.err
18868 cat conftest.err
>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try
='test -z "$ac_cxx_werror_flag"
18872 || test ! -s conftest.err'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; } &&
18878 { ac_try
='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 ac_cv_type_void_p
=yes
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.
$ac_ext >&5
18889 ac_cv_type_void_p
=no
18891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18893 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18894 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18896 echo "$as_me:$LINENO: checking size of void *" >&5
18897 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18898 if test "${ac_cv_sizeof_void_p+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 if test "$ac_cv_type_void_p" = yes; then
18902 # The cast to unsigned long works around a bug in the HP C Compiler
18903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18905 # This bug is HP SR number 8606223364.
18906 if test "$cross_compiling" = yes; then
18907 # Depending upon the size, compute the lo and hi bounds.
18908 cat >conftest.
$ac_ext <<_ACEOF
18911 cat confdefs.h
>>conftest.
$ac_ext
18912 cat >>conftest.
$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 $ac_includes_default
18918 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18925 rm -f conftest.
$ac_objext
18926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18927 (eval $ac_compile) 2>conftest.er1
18929 grep -v '^ *+' conftest.er1
>conftest.err
18931 cat conftest.err
>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } &&
18934 { ac_try
='test -z "$ac_cxx_werror_flag"
18935 || test ! -s conftest.err'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try
='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18949 cat >conftest.
$ac_ext <<_ACEOF
18952 cat confdefs.h
>>conftest.
$ac_ext
18953 cat >>conftest.
$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955 $ac_includes_default
18959 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18966 rm -f conftest.
$ac_objext
18967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18968 (eval $ac_compile) 2>conftest.er1
18970 grep -v '^ *+' conftest.er1
>conftest.err
18972 cat conftest.err
>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } &&
18975 { ac_try
='test -z "$ac_cxx_werror_flag"
18976 || test ! -s conftest.err'
18977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18978 (eval $ac_try) 2>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try
='test -s conftest.$ac_objext'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; }; then
18988 ac_hi
=$ac_mid; break
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.
$ac_ext >&5
18993 ac_lo
=`expr $ac_mid + 1`
18994 if test $ac_lo -le $ac_mid; then
18998 ac_mid
=`expr 2 '*' $ac_mid + 1`
19000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.
$ac_ext >&5
19006 cat >conftest.
$ac_ext <<_ACEOF
19009 cat confdefs.h
>>conftest.
$ac_ext
19010 cat >>conftest.
$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19016 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19023 rm -f conftest.
$ac_objext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19025 (eval $ac_compile) 2>conftest.er1
19027 grep -v '^ *+' conftest.er1
>conftest.err
19029 cat conftest.err
>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try
='test -z "$ac_cxx_werror_flag"
19033 || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19057 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19064 rm -f conftest.
$ac_objext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066 (eval $ac_compile) 2>conftest.er1
19068 grep -v '^ *+' conftest.er1
>conftest.err
19070 cat conftest.err
>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try
='test -z "$ac_cxx_werror_flag"
19074 || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try
='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_lo
=$ac_mid; break
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.
$ac_ext >&5
19091 ac_hi
=`expr '(' $ac_mid ')' - 1`
19092 if test $ac_mid -le $ac_hi; then
19096 ac_mid
=`expr 2 '*' $ac_mid`
19098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.
$ac_ext >&5
19106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19109 # Binary search between lo and hi bounds.
19110 while test "x$ac_lo" != "x$ac_hi"; do
19111 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19112 cat >conftest.
$ac_ext <<_ACEOF
19115 cat confdefs.h
>>conftest.
$ac_ext
19116 cat >>conftest.
$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19122 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19129 rm -f conftest.
$ac_objext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19131 (eval $ac_compile) 2>conftest.er1
19133 grep -v '^ *+' conftest.er1
>conftest.err
19135 cat conftest.err
>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } &&
19138 { ac_try
='test -z "$ac_cxx_werror_flag"
19139 || test ! -s conftest.err'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; } &&
19145 { ac_try
='test -s conftest.$ac_objext'
19146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19147 (eval $ac_try) 2>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; }; then
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.
$ac_ext >&5
19156 ac_lo
=`expr '(' $ac_mid ')' + 1`
19158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19161 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19162 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19163 See \`config.log' for more details." >&5
19164 echo "$as_me: error: cannot compute sizeof (void *), 77
19165 See \`config.log' for more details." >&2;}
19166 { (exit 1); exit 1; }; } ;;
19169 if test "$cross_compiling" = yes; then
19170 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19171 See \`config.log' for more details." >&5
19172 echo "$as_me: error: cannot run test program while cross compiling
19173 See \`config.log' for more details." >&2;}
19174 { (exit 1); exit 1; }; }
19176 cat >conftest.
$ac_ext <<_ACEOF
19179 cat confdefs.h
>>conftest.
$ac_ext
19180 cat >>conftest.
$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 $ac_includes_default
19183 long longval () { return (long) (sizeof (void *)); }
19184 unsigned long ulongval () { return (long) (sizeof (void *)); }
19186 #include <stdlib.h>
19191 FILE *f = fopen ("conftest.val", "w");
19194 if (((long) (sizeof (void *))) < 0)
19196 long i = longval ();
19197 if (i != ((long) (sizeof (void *))))
19199 fprintf (f, "%ld\n", i);
19203 unsigned long i = ulongval ();
19204 if (i != ((long) (sizeof (void *))))
19206 fprintf (f, "%lu\n", i);
19208 exit (ferror (f) || fclose (f) != 0);
19214 rm -f conftest
$ac_exeext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216 (eval $ac_link) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19225 ac_cv_sizeof_void_p
=`cat conftest.val`
19227 echo "$as_me: program exited with status $ac_status" >&5
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 ( exit $ac_status )
19232 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19233 See \`config.log' for more details." >&5
19234 echo "$as_me: error: cannot compute sizeof (void *), 77
19235 See \`config.log' for more details." >&2;}
19236 { (exit 1); exit 1; }; }
19238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19243 ac_cv_sizeof_void_p
=0
19246 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19247 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19248 cat >>confdefs.h
<<_ACEOF
19249 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19253 echo "$as_me:$LINENO: checking for int" >&5
19254 echo $ECHO_N "checking for int... $ECHO_C" >&6
19255 if test "${ac_cv_type_int+set}" = set; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19258 cat >conftest.
$ac_ext <<_ACEOF
19261 cat confdefs.h
>>conftest.
$ac_ext
19262 cat >>conftest.
$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 $ac_includes_default
19276 rm -f conftest.
$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19280 grep -v '^ *+' conftest.er1
>conftest.err
19282 cat conftest.err
>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try
='test -z "$ac_cxx_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try
='test -s conftest.$ac_objext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.
$ac_ext >&5
19305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19308 echo "${ECHO_T}$ac_cv_type_int" >&6
19310 echo "$as_me:$LINENO: checking size of int" >&5
19311 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19312 if test "${ac_cv_sizeof_int+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 if test "$ac_cv_type_int" = yes; then
19316 # The cast to unsigned long works around a bug in the HP C Compiler
19317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19319 # This bug is HP SR number 8606223364.
19320 if test "$cross_compiling" = yes; then
19321 # Depending upon the size, compute the lo and hi bounds.
19322 cat >conftest.
$ac_ext <<_ACEOF
19325 cat confdefs.h
>>conftest.
$ac_ext
19326 cat >>conftest.
$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19332 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19339 rm -f conftest.
$ac_objext
19340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19341 (eval $ac_compile) 2>conftest.er1
19343 grep -v '^ *+' conftest.er1
>conftest.err
19345 cat conftest.err
>&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } &&
19348 { ac_try
='test -z "$ac_cxx_werror_flag"
19349 || test ! -s conftest.err'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try
='test -s conftest.$ac_objext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19363 cat >conftest.
$ac_ext <<_ACEOF
19366 cat confdefs.h
>>conftest.
$ac_ext
19367 cat >>conftest.
$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19373 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_cxx_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_hi
=$ac_mid; break
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.
$ac_ext >&5
19407 ac_lo
=`expr $ac_mid + 1`
19408 if test $ac_lo -le $ac_mid; then
19412 ac_mid
=`expr 2 '*' $ac_mid + 1`
19414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19430 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19437 rm -f conftest.
$ac_objext
19438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19439 (eval $ac_compile) 2>conftest.er1
19441 grep -v '^ *+' conftest.er1
>conftest.err
19443 cat conftest.err
>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } &&
19446 { ac_try
='test -z "$ac_cxx_werror_flag"
19447 || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try
='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19461 cat >conftest.
$ac_ext <<_ACEOF
19464 cat confdefs.h
>>conftest.
$ac_ext
19465 cat >>conftest.
$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 $ac_includes_default
19471 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19478 rm -f conftest.
$ac_objext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19480 (eval $ac_compile) 2>conftest.er1
19482 grep -v '^ *+' conftest.er1
>conftest.err
19484 cat conftest.err
>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } &&
19487 { ac_try
='test -z "$ac_cxx_werror_flag"
19488 || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_lo
=$ac_mid; break
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 ac_hi
=`expr '(' $ac_mid ')' - 1`
19506 if test $ac_mid -le $ac_hi; then
19510 ac_mid
=`expr 2 '*' $ac_mid`
19512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.
$ac_ext >&5
19520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19523 # Binary search between lo and hi bounds.
19524 while test "x$ac_lo" != "x$ac_hi"; do
19525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19526 cat >conftest.
$ac_ext <<_ACEOF
19529 cat confdefs.h
>>conftest.
$ac_ext
19530 cat >>conftest.
$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 $ac_includes_default
19536 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19543 rm -f conftest.
$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19547 grep -v '^ *+' conftest.er1
>conftest.err
19549 cat conftest.err
>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try
='test -z "$ac_cxx_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try
='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.
$ac_ext >&5
19570 ac_lo
=`expr '(' $ac_mid ')' + 1`
19572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19575 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19576 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19577 See \`config.log' for more details." >&5
19578 echo "$as_me: error: cannot compute sizeof (int), 77
19579 See \`config.log' for more details." >&2;}
19580 { (exit 1); exit 1; }; } ;;
19583 if test "$cross_compiling" = yes; then
19584 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19585 See \`config.log' for more details." >&5
19586 echo "$as_me: error: cannot run test program while cross compiling
19587 See \`config.log' for more details." >&2;}
19588 { (exit 1); exit 1; }; }
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 long longval () { return (long) (sizeof (int)); }
19598 unsigned long ulongval () { return (long) (sizeof (int)); }
19600 #include <stdlib.h>
19605 FILE *f = fopen ("conftest.val", "w");
19608 if (((long) (sizeof (int))) < 0)
19610 long i = longval ();
19611 if (i != ((long) (sizeof (int))))
19613 fprintf (f, "%ld\n", i);
19617 unsigned long i = ulongval ();
19618 if (i != ((long) (sizeof (int))))
19620 fprintf (f, "%lu\n", i);
19622 exit (ferror (f) || fclose (f) != 0);
19628 rm -f conftest
$ac_exeext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19630 (eval $ac_link) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_cv_sizeof_int
=`cat conftest.val`
19641 echo "$as_me: program exited with status $ac_status" >&5
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ( exit $ac_status )
19646 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19647 See \`config.log' for more details." >&5
19648 echo "$as_me: error: cannot compute sizeof (int), 77
19649 See \`config.log' for more details." >&2;}
19650 { (exit 1); exit 1; }; }
19652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19660 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19661 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19662 cat >>confdefs.h
<<_ACEOF
19663 #define SIZEOF_INT $ac_cv_sizeof_int
19667 echo "$as_me:$LINENO: checking for long" >&5
19668 echo $ECHO_N "checking for long... $ECHO_C" >&6
19669 if test "${ac_cv_type_long+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 cat >conftest.
$ac_ext <<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19690 rm -f conftest.
$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>conftest.er1
19694 grep -v '^ *+' conftest.er1
>conftest.err
19696 cat conftest.err
>&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try
='test -z "$ac_cxx_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try
='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 ac_cv_type_long
=yes
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19721 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19722 echo "${ECHO_T}$ac_cv_type_long" >&6
19724 echo "$as_me:$LINENO: checking size of long" >&5
19725 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19726 if test "${ac_cv_sizeof_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 if test "$ac_cv_type_long" = yes; then
19730 # The cast to unsigned long works around a bug in the HP C Compiler
19731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19733 # This bug is HP SR number 8606223364.
19734 if test "$cross_compiling" = yes; then
19735 # Depending upon the size, compute the lo and hi bounds.
19736 cat >conftest.
$ac_ext <<_ACEOF
19739 cat confdefs.h
>>conftest.
$ac_ext
19740 cat >>conftest.
$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19746 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19753 rm -f conftest.
$ac_objext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755 (eval $ac_compile) 2>conftest.er1
19757 grep -v '^ *+' conftest.er1
>conftest.err
19759 cat conftest.err
>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try
='test -z "$ac_cxx_werror_flag"
19763 || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19787 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19794 rm -f conftest.
$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19798 grep -v '^ *+' conftest.er1
>conftest.err
19800 cat conftest.err
>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try
='test -z "$ac_cxx_werror_flag"
19804 || test ! -s conftest.err'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; } &&
19810 { ac_try
='test -s conftest.$ac_objext'
19811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812 (eval $ac_try) 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; }; then
19816 ac_hi
=$ac_mid; break
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.
$ac_ext >&5
19821 ac_lo
=`expr $ac_mid + 1`
19822 if test $ac_lo -le $ac_mid; then
19826 ac_mid
=`expr 2 '*' $ac_mid + 1`
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.
$ac_ext >&5
19834 cat >conftest.
$ac_ext <<_ACEOF
19837 cat confdefs.h
>>conftest.
$ac_ext
19838 cat >>conftest.
$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19844 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19851 rm -f conftest.
$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19855 grep -v '^ *+' conftest.er1
>conftest.err
19857 cat conftest.err
>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try
='test -z "$ac_cxx_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try
='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19885 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19892 rm -f conftest.
$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1
>conftest.err
19898 cat conftest.err
>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try
='test -z "$ac_cxx_werror_flag"
19902 || test ! -s conftest.err'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; } &&
19908 { ac_try
='test -s conftest.$ac_objext'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; }; then
19914 ac_lo
=$ac_mid; break
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.
$ac_ext >&5
19919 ac_hi
=`expr '(' $ac_mid ')' - 1`
19920 if test $ac_mid -le $ac_hi; then
19924 ac_mid
=`expr 2 '*' $ac_mid`
19926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19937 # Binary search between lo and hi bounds.
19938 while test "x$ac_lo" != "x$ac_hi"; do
19939 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19940 cat >conftest.
$ac_ext <<_ACEOF
19943 cat confdefs.h
>>conftest.
$ac_ext
19944 cat >>conftest.
$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19950 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19957 rm -f conftest.
$ac_objext
19958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19959 (eval $ac_compile) 2>conftest.er1
19961 grep -v '^ *+' conftest.er1
>conftest.err
19963 cat conftest.err
>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } &&
19966 { ac_try
='test -z "$ac_cxx_werror_flag"
19967 || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ac_lo
=`expr '(' $ac_mid ')' + 1`
19986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19989 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19990 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19991 See \`config.log' for more details." >&5
19992 echo "$as_me: error: cannot compute sizeof (long), 77
19993 See \`config.log' for more details." >&2;}
19994 { (exit 1); exit 1; }; } ;;
19997 if test "$cross_compiling" = yes; then
19998 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19999 See \`config.log' for more details." >&5
20000 echo "$as_me: error: cannot run test program while cross compiling
20001 See \`config.log' for more details." >&2;}
20002 { (exit 1); exit 1; }; }
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 long longval () { return (long) (sizeof (long)); }
20012 unsigned long ulongval () { return (long) (sizeof (long)); }
20014 #include <stdlib.h>
20019 FILE *f = fopen ("conftest.val", "w");
20022 if (((long) (sizeof (long))) < 0)
20024 long i = longval ();
20025 if (i != ((long) (sizeof (long))))
20027 fprintf (f, "%ld\n", i);
20031 unsigned long i = ulongval ();
20032 if (i != ((long) (sizeof (long))))
20034 fprintf (f, "%lu\n", i);
20036 exit (ferror (f) || fclose (f) != 0);
20042 rm -f conftest
$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 ac_cv_sizeof_long
=`cat conftest.val`
20055 echo "$as_me: program exited with status $ac_status" >&5
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20059 ( exit $ac_status )
20060 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20061 See \`config.log' for more details." >&5
20062 echo "$as_me: error: cannot compute sizeof (long), 77
20063 See \`config.log' for more details." >&2;}
20064 { (exit 1); exit 1; }; }
20066 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20071 ac_cv_sizeof_long
=0
20074 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20075 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20076 cat >>confdefs.h
<<_ACEOF
20077 #define SIZEOF_LONG $ac_cv_sizeof_long
20081 echo "$as_me:$LINENO: checking for size_t" >&5
20082 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20083 if test "${ac_cv_type_size_t+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20098 if (sizeof (size_t))
20104 rm -f conftest.
$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20108 grep -v '^ *+' conftest.er1
>conftest.err
20110 cat conftest.err
>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try
='test -z "$ac_cxx_werror_flag"
20114 || test ! -s conftest.err'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; } &&
20120 { ac_try
='test -s conftest.$ac_objext'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; }; then
20126 ac_cv_type_size_t
=yes
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.
$ac_ext >&5
20131 ac_cv_type_size_t
=no
20133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20135 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20136 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20138 echo "$as_me:$LINENO: checking size of size_t" >&5
20139 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20140 if test "${ac_cv_sizeof_size_t+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 if test "$ac_cv_type_size_t" = yes; then
20144 # The cast to unsigned long works around a bug in the HP C Compiler
20145 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20146 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20147 # This bug is HP SR number 8606223364.
20148 if test "$cross_compiling" = yes; then
20149 # Depending upon the size, compute the lo and hi bounds.
20150 cat >conftest.
$ac_ext <<_ACEOF
20153 cat confdefs.h
>>conftest.
$ac_ext
20154 cat >>conftest.
$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 $ac_includes_default
20160 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20167 rm -f conftest.
$ac_objext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20169 (eval $ac_compile) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try
='test -z "$ac_cxx_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try
='test -s conftest.$ac_objext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20191 cat >conftest.
$ac_ext <<_ACEOF
20194 cat confdefs.h
>>conftest.
$ac_ext
20195 cat >>conftest.
$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 $ac_includes_default
20201 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20208 rm -f conftest.
$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20212 grep -v '^ *+' conftest.er1
>conftest.err
20214 cat conftest.err
>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try
='test -z "$ac_cxx_werror_flag"
20218 || test ! -s conftest.err'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; } &&
20224 { ac_try
='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_hi
=$ac_mid; break
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.
$ac_ext >&5
20235 ac_lo
=`expr $ac_mid + 1`
20236 if test $ac_lo -le $ac_mid; then
20240 ac_mid
=`expr 2 '*' $ac_mid + 1`
20242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.
$ac_ext >&5
20248 cat >conftest.
$ac_ext <<_ACEOF
20251 cat confdefs.h
>>conftest.
$ac_ext
20252 cat >>conftest.
$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20258 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20265 rm -f conftest.
$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_cxx_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try
='test -s conftest.$ac_objext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20289 cat >conftest.
$ac_ext <<_ACEOF
20292 cat confdefs.h
>>conftest.
$ac_ext
20293 cat >>conftest.
$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20299 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20306 rm -f conftest.
$ac_objext
20307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20308 (eval $ac_compile) 2>conftest.er1
20310 grep -v '^ *+' conftest.er1
>conftest.err
20312 cat conftest.err
>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); } &&
20315 { ac_try
='test -z "$ac_cxx_werror_flag"
20316 || test ! -s conftest.err'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; } &&
20322 { ac_try
='test -s conftest.$ac_objext'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; }; then
20328 ac_lo
=$ac_mid; break
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.
$ac_ext >&5
20333 ac_hi
=`expr '(' $ac_mid ')' - 1`
20334 if test $ac_mid -le $ac_hi; then
20338 ac_mid
=`expr 2 '*' $ac_mid`
20340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.
$ac_ext >&5
20348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20351 # Binary search between lo and hi bounds.
20352 while test "x$ac_lo" != "x$ac_hi"; do
20353 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20354 cat >conftest.
$ac_ext <<_ACEOF
20357 cat confdefs.h
>>conftest.
$ac_ext
20358 cat >>conftest.
$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20364 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20371 rm -f conftest.
$ac_objext
20372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20373 (eval $ac_compile) 2>conftest.er1
20375 grep -v '^ *+' conftest.er1
>conftest.err
20377 cat conftest.err
>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try
='test -z "$ac_cxx_werror_flag"
20381 || test ! -s conftest.err'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try
='test -s conftest.$ac_objext'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; }; then
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 ac_lo
=`expr '(' $ac_mid ')' + 1`
20400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20404 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20405 See \`config.log' for more details." >&5
20406 echo "$as_me: error: cannot compute sizeof (size_t), 77
20407 See \`config.log' for more details." >&2;}
20408 { (exit 1); exit 1; }; } ;;
20411 if test "$cross_compiling" = yes; then
20412 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20413 See \`config.log' for more details." >&5
20414 echo "$as_me: error: cannot run test program while cross compiling
20415 See \`config.log' for more details." >&2;}
20416 { (exit 1); exit 1; }; }
20418 cat >conftest.
$ac_ext <<_ACEOF
20421 cat confdefs.h
>>conftest.
$ac_ext
20422 cat >>conftest.
$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 long longval () { return (long) (sizeof (size_t)); }
20426 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20428 #include <stdlib.h>
20433 FILE *f = fopen ("conftest.val", "w");
20436 if (((long) (sizeof (size_t))) < 0)
20438 long i = longval ();
20439 if (i != ((long) (sizeof (size_t))))
20441 fprintf (f, "%ld\n", i);
20445 unsigned long i = ulongval ();
20446 if (i != ((long) (sizeof (size_t))))
20448 fprintf (f, "%lu\n", i);
20450 exit (ferror (f) || fclose (f) != 0);
20456 rm -f conftest
$ac_exeext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20458 (eval $ac_link) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 ac_cv_sizeof_size_t
=`cat conftest.val`
20469 echo "$as_me: program exited with status $ac_status" >&5
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.
$ac_ext >&5
20473 ( exit $ac_status )
20474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20475 See \`config.log' for more details." >&5
20476 echo "$as_me: error: cannot compute sizeof (size_t), 77
20477 See \`config.log' for more details." >&2;}
20478 { (exit 1); exit 1; }; }
20480 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20485 ac_cv_sizeof_size_t
=0
20488 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20489 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20490 cat >>confdefs.h
<<_ACEOF
20491 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20498 echo "$as_me:$LINENO: checking for long long" >&5
20499 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20500 if test "${ac_cv_type_long_long+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 cat >conftest.
$ac_ext <<_ACEOF
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20513 if ((long long *) 0)
20515 if (sizeof (long long))
20521 rm -f conftest.
$ac_objext
20522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20523 (eval $ac_compile) 2>conftest.er1
20525 grep -v '^ *+' conftest.er1
>conftest.err
20527 cat conftest.err
>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 { ac_try
='test -z "$ac_cxx_werror_flag"
20531 || test ! -s conftest.err'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; } &&
20537 { ac_try
='test -s conftest.$ac_objext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 ac_cv_type_long_long
=yes
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.
$ac_ext >&5
20548 ac_cv_type_long_long
=no
20550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20552 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20553 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20555 echo "$as_me:$LINENO: checking size of long long" >&5
20556 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20557 if test "${ac_cv_sizeof_long_long+set}" = set; then
20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20560 if test "$ac_cv_type_long_long" = yes; then
20561 # The cast to unsigned long works around a bug in the HP C Compiler
20562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20564 # This bug is HP SR number 8606223364.
20565 if test "$cross_compiling" = yes; then
20566 # Depending upon the size, compute the lo and hi bounds.
20567 cat >conftest.
$ac_ext <<_ACEOF
20570 cat confdefs.h
>>conftest.
$ac_ext
20571 cat >>conftest.
$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573 $ac_includes_default
20577 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20584 rm -f conftest.
$ac_objext
20585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20586 (eval $ac_compile) 2>conftest.er1
20588 grep -v '^ *+' conftest.er1
>conftest.err
20590 cat conftest.err
>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } &&
20593 { ac_try
='test -z "$ac_cxx_werror_flag"
20594 || test ! -s conftest.err'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try
='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20625 rm -f conftest.
$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try
='test -z "$ac_cxx_werror_flag"
20635 || test ! -s conftest.err'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; } &&
20641 { ac_try
='test -s conftest.$ac_objext'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; }; then
20647 ac_hi
=$ac_mid; break
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.
$ac_ext >&5
20652 ac_lo
=`expr $ac_mid + 1`
20653 if test $ac_lo -le $ac_mid; then
20657 ac_mid
=`expr 2 '*' $ac_mid + 1`
20659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.
$ac_ext >&5
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20682 rm -f conftest.
$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>conftest.er1
20686 grep -v '^ *+' conftest.er1
>conftest.err
20688 cat conftest.err
>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try
='test -z "$ac_cxx_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try
='test -s conftest.$ac_objext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20706 cat >conftest.
$ac_ext <<_ACEOF
20709 cat confdefs.h
>>conftest.
$ac_ext
20710 cat >>conftest.
$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20716 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20723 rm -f conftest.
$ac_objext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20725 (eval $ac_compile) 2>conftest.er1
20727 grep -v '^ *+' conftest.er1
>conftest.err
20729 cat conftest.err
>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } &&
20732 { ac_try
='test -z "$ac_cxx_werror_flag"
20733 || test ! -s conftest.err'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; } &&
20739 { ac_try
='test -s conftest.$ac_objext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20745 ac_lo
=$ac_mid; break
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.
$ac_ext >&5
20750 ac_hi
=`expr '(' $ac_mid ')' - 1`
20751 if test $ac_mid -le $ac_hi; then
20755 ac_mid
=`expr 2 '*' $ac_mid`
20757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.
$ac_ext >&5
20765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 # Binary search between lo and hi bounds.
20769 while test "x$ac_lo" != "x$ac_hi"; do
20770 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20771 cat >conftest.
$ac_ext <<_ACEOF
20774 cat confdefs.h
>>conftest.
$ac_ext
20775 cat >>conftest.
$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20781 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20788 rm -f conftest.
$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try
='test -z "$ac_cxx_werror_flag"
20798 || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try
='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 ac_lo
=`expr '(' $ac_mid ')' + 1`
20817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20820 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: cannot compute sizeof (long long), 77
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; } ;;
20828 if test "$cross_compiling" = yes; then
20829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20830 See \`config.log' for more details." >&5
20831 echo "$as_me: error: cannot run test program while cross compiling
20832 See \`config.log' for more details." >&2;}
20833 { (exit 1); exit 1; }; }
20835 cat >conftest.
$ac_ext <<_ACEOF
20838 cat confdefs.h
>>conftest.
$ac_ext
20839 cat >>conftest.
$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 $ac_includes_default
20842 long longval () { return (long) (sizeof (long long)); }
20843 unsigned long ulongval () { return (long) (sizeof (long long)); }
20845 #include <stdlib.h>
20850 FILE *f = fopen ("conftest.val", "w");
20853 if (((long) (sizeof (long long))) < 0)
20855 long i = longval ();
20856 if (i != ((long) (sizeof (long long))))
20858 fprintf (f, "%ld\n", i);
20862 unsigned long i = ulongval ();
20863 if (i != ((long) (sizeof (long long))))
20865 fprintf (f, "%lu\n", i);
20867 exit (ferror (f) || fclose (f) != 0);
20873 rm -f conftest
$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875 (eval $ac_link) 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_cv_sizeof_long_long
=`cat conftest.val`
20886 echo "$as_me: program exited with status $ac_status" >&5
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20890 ( exit $ac_status )
20891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&5
20893 echo "$as_me: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&2;}
20895 { (exit 1); exit 1; }; }
20897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20902 ac_cv_sizeof_long_long
=0
20905 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20906 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20907 cat >>confdefs.h
<<_ACEOF
20908 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20914 echo "$as_me:$LINENO: checking for long long" >&5
20915 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20916 if test "${ac_cv_type_long_long+set}" = set; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 cat >conftest.
$ac_ext <<_ACEOF
20922 cat confdefs.h
>>conftest.
$ac_ext
20923 cat >>conftest.
$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 $ac_includes_default
20929 if ((long long *) 0)
20931 if (sizeof (long long))
20937 rm -f conftest.
$ac_objext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20939 (eval $ac_compile) 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try
='test -z "$ac_cxx_werror_flag"
20947 || test ! -s conftest.err'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; } &&
20953 { ac_try
='test -s conftest.$ac_objext'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_cv_type_long_long
=yes
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 ac_cv_type_long_long
=no
20966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20968 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20969 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20971 echo "$as_me:$LINENO: checking size of long long" >&5
20972 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20973 if test "${ac_cv_sizeof_long_long+set}" = set; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 if test "$ac_cv_type_long_long" = yes; then
20977 # The cast to unsigned long works around a bug in the HP C Compiler
20978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20980 # This bug is HP SR number 8606223364.
20981 if test "$cross_compiling" = yes; then
20982 # Depending upon the size, compute the lo and hi bounds.
20983 cat >conftest.
$ac_ext <<_ACEOF
20986 cat confdefs.h
>>conftest.
$ac_ext
20987 cat >>conftest.
$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20993 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21000 rm -f conftest.
$ac_objext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21002 (eval $ac_compile) 2>conftest.er1
21004 grep -v '^ *+' conftest.er1
>conftest.err
21006 cat conftest.err
>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try
='test -z "$ac_cxx_werror_flag"
21010 || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try
='test -s conftest.$ac_objext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21041 rm -f conftest.
$ac_objext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21043 (eval $ac_compile) 2>conftest.er1
21045 grep -v '^ *+' conftest.er1
>conftest.err
21047 cat conftest.err
>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try
='test -z "$ac_cxx_werror_flag"
21051 || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try
='test -s conftest.$ac_objext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_hi
=$ac_mid; break
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21068 ac_lo
=`expr $ac_mid + 1`
21069 if test $ac_lo -le $ac_mid; then
21073 ac_mid
=`expr 2 '*' $ac_mid + 1`
21075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 cat >conftest.
$ac_ext <<_ACEOF
21084 cat confdefs.h
>>conftest.
$ac_ext
21085 cat >>conftest.
$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 $ac_includes_default
21091 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21098 rm -f conftest.
$ac_objext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21100 (eval $ac_compile) 2>conftest.er1
21102 grep -v '^ *+' conftest.er1
>conftest.err
21104 cat conftest.err
>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try
='test -z "$ac_cxx_werror_flag"
21108 || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try
='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21122 cat >conftest.
$ac_ext <<_ACEOF
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21132 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_cxx_werror_flag"
21149 || test ! -s conftest.err'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; } &&
21155 { ac_try
='test -s conftest.$ac_objext'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_lo
=$ac_mid; break
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.
$ac_ext >&5
21166 ac_hi
=`expr '(' $ac_mid ')' - 1`
21167 if test $ac_mid -le $ac_hi; then
21171 ac_mid
=`expr 2 '*' $ac_mid`
21173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.
$ac_ext >&5
21181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21184 # Binary search between lo and hi bounds.
21185 while test "x$ac_lo" != "x$ac_hi"; do
21186 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21187 cat >conftest.
$ac_ext <<_ACEOF
21190 cat confdefs.h
>>conftest.
$ac_ext
21191 cat >>conftest.
$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21204 rm -f conftest.
$ac_objext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21206 (eval $ac_compile) 2>conftest.er1
21208 grep -v '^ *+' conftest.er1
>conftest.err
21210 cat conftest.err
>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } &&
21213 { ac_try
='test -z "$ac_cxx_werror_flag"
21214 || test ! -s conftest.err'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; } &&
21220 { ac_try
='test -s conftest.$ac_objext'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; }; then
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21231 ac_lo
=`expr '(' $ac_mid ')' + 1`
21233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21236 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21237 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21238 See \`config.log' for more details." >&5
21239 echo "$as_me: error: cannot compute sizeof (long long), 77
21240 See \`config.log' for more details." >&2;}
21241 { (exit 1); exit 1; }; } ;;
21244 if test "$cross_compiling" = yes; then
21245 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21246 See \`config.log' for more details." >&5
21247 echo "$as_me: error: cannot run test program while cross compiling
21248 See \`config.log' for more details." >&2;}
21249 { (exit 1); exit 1; }; }
21251 cat >conftest.
$ac_ext <<_ACEOF
21254 cat confdefs.h
>>conftest.
$ac_ext
21255 cat >>conftest.
$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 long longval () { return (long) (sizeof (long long)); }
21259 unsigned long ulongval () { return (long) (sizeof (long long)); }
21261 #include <stdlib.h>
21266 FILE *f = fopen ("conftest.val", "w");
21269 if (((long) (sizeof (long long))) < 0)
21271 long i = longval ();
21272 if (i != ((long) (sizeof (long long))))
21274 fprintf (f, "%ld\n", i);
21278 unsigned long i = ulongval ();
21279 if (i != ((long) (sizeof (long long))))
21281 fprintf (f, "%lu\n", i);
21283 exit (ferror (f) || fclose (f) != 0);
21289 rm -f conftest
$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_sizeof_long_long
=`cat conftest.val`
21302 echo "$as_me: program exited with status $ac_status" >&5
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 ( exit $ac_status )
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21308 See \`config.log' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long long), 77
21310 See \`config.log' for more details." >&2;}
21311 { (exit 1); exit 1; }; }
21313 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21318 ac_cv_sizeof_long_long
=0
21321 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21322 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21323 cat >>confdefs.h
<<_ACEOF
21324 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21328 if test "$ac_cv_sizeof_long_long" != "0"; then
21329 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21333 echo "$as_me:$LINENO: checking for long long" >&5
21334 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21335 if test "${ac_cv_type_long_long+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 cat >conftest.
$ac_ext <<_ACEOF
21341 cat confdefs.h
>>conftest.
$ac_ext
21342 cat >>conftest.
$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21348 if ((long long *) 0)
21350 if (sizeof (long long))
21356 rm -f conftest.
$ac_objext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21358 (eval $ac_compile) 2>conftest.er1
21360 grep -v '^ *+' conftest.er1
>conftest.err
21362 cat conftest.err
>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try
='test -z "$ac_cxx_werror_flag"
21366 || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try
='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_type_long_long
=yes
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.
$ac_ext >&5
21383 ac_cv_type_long_long
=no
21385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21387 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21388 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21390 echo "$as_me:$LINENO: checking size of long long" >&5
21391 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21392 if test "${ac_cv_sizeof_long_long+set}" = set; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 if test "$ac_cv_type_long_long" = yes; then
21396 # The cast to unsigned long works around a bug in the HP C Compiler
21397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21399 # This bug is HP SR number 8606223364.
21400 if test "$cross_compiling" = yes; then
21401 # Depending upon the size, compute the lo and hi bounds.
21402 cat >conftest.
$ac_ext <<_ACEOF
21405 cat confdefs.h
>>conftest.
$ac_ext
21406 cat >>conftest.
$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21419 rm -f conftest.
$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21423 grep -v '^ *+' conftest.er1
>conftest.err
21425 cat conftest.err
>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try
='test -z "$ac_cxx_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try
='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21443 cat >conftest.
$ac_ext <<_ACEOF
21446 cat confdefs.h
>>conftest.
$ac_ext
21447 cat >>conftest.
$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21460 rm -f conftest.
$ac_objext
21461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21462 (eval $ac_compile) 2>conftest.er1
21464 grep -v '^ *+' conftest.er1
>conftest.err
21466 cat conftest.err
>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try
='test -z "$ac_cxx_werror_flag"
21470 || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try
='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_hi
=$ac_mid; break
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 ac_lo
=`expr $ac_mid + 1`
21488 if test $ac_lo -le $ac_mid; then
21492 ac_mid
=`expr 2 '*' $ac_mid + 1`
21494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.
$ac_ext >&5
21500 cat >conftest.
$ac_ext <<_ACEOF
21503 cat confdefs.h
>>conftest.
$ac_ext
21504 cat >>conftest.
$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 $ac_includes_default
21510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21517 rm -f conftest.
$ac_objext
21518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21519 (eval $ac_compile) 2>conftest.er1
21521 grep -v '^ *+' conftest.er1
>conftest.err
21523 cat conftest.err
>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try
='test -z "$ac_cxx_werror_flag"
21527 || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try
='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21541 cat >conftest.
$ac_ext <<_ACEOF
21544 cat confdefs.h
>>conftest.
$ac_ext
21545 cat >>conftest.
$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547 $ac_includes_default
21551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21558 rm -f conftest.
$ac_objext
21559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21560 (eval $ac_compile) 2>conftest.er1
21562 grep -v '^ *+' conftest.er1
>conftest.err
21564 cat conftest.err
>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } &&
21567 { ac_try
='test -z "$ac_cxx_werror_flag"
21568 || test ! -s conftest.err'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; } &&
21574 { ac_try
='test -s conftest.$ac_objext'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; }; then
21580 ac_lo
=$ac_mid; break
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.
$ac_ext >&5
21585 ac_hi
=`expr '(' $ac_mid ')' - 1`
21586 if test $ac_mid -le $ac_hi; then
21590 ac_mid
=`expr 2 '*' $ac_mid`
21592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.
$ac_ext >&5
21600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21603 # Binary search between lo and hi bounds.
21604 while test "x$ac_lo" != "x$ac_hi"; do
21605 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21606 cat >conftest.
$ac_ext <<_ACEOF
21609 cat confdefs.h
>>conftest.
$ac_ext
21610 cat >>conftest.
$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612 $ac_includes_default
21616 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21623 rm -f conftest.
$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try
='test -z "$ac_cxx_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try
='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.
$ac_ext >&5
21650 ac_lo
=`expr '(' $ac_mid ')' + 1`
21652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21655 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21657 See \`config.log' for more details." >&5
21658 echo "$as_me: error: cannot compute sizeof (long long), 77
21659 See \`config.log' for more details." >&2;}
21660 { (exit 1); exit 1; }; } ;;
21663 if test "$cross_compiling" = yes; then
21664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21665 See \`config.log' for more details." >&5
21666 echo "$as_me: error: cannot run test program while cross compiling
21667 See \`config.log' for more details." >&2;}
21668 { (exit 1); exit 1; }; }
21670 cat >conftest.
$ac_ext <<_ACEOF
21673 cat confdefs.h
>>conftest.
$ac_ext
21674 cat >>conftest.
$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 long longval () { return (long) (sizeof (long long)); }
21678 unsigned long ulongval () { return (long) (sizeof (long long)); }
21680 #include <stdlib.h>
21685 FILE *f = fopen ("conftest.val", "w");
21688 if (((long) (sizeof (long long))) < 0)
21690 long i = longval ();
21691 if (i != ((long) (sizeof (long long))))
21693 fprintf (f, "%ld\n", i);
21697 unsigned long i = ulongval ();
21698 if (i != ((long) (sizeof (long long))))
21700 fprintf (f, "%lu\n", i);
21702 exit (ferror (f) || fclose (f) != 0);
21708 rm -f conftest
$ac_exeext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21710 (eval $ac_link) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_sizeof_long_long
=`cat conftest.val`
21721 echo "$as_me: program exited with status $ac_status" >&5
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.
$ac_ext >&5
21725 ( exit $ac_status )
21726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21727 See \`config.log' for more details." >&5
21728 echo "$as_me: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&2;}
21730 { (exit 1); exit 1; }; }
21732 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21737 ac_cv_sizeof_long_long
=0
21740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21741 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21742 cat >>confdefs.h
<<_ACEOF
21743 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21749 echo "$as_me:$LINENO: checking for wchar_t" >&5
21750 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21751 if test "${ac_cv_type_wchar_t+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 cat >conftest.
$ac_ext <<_ACEOF
21757 cat confdefs.h
>>conftest.
$ac_ext
21758 cat >>conftest.
$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21761 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21762 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21763 # error "fake wchar_t"
21765 #ifdef HAVE_WCHAR_H
21767 # include <stddef.h>
21769 # include <wchar.h>
21771 #ifdef HAVE_STDLIB_H
21772 # include <stdlib.h>
21783 if (sizeof (wchar_t))
21789 rm -f conftest.
$ac_objext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21791 (eval $ac_compile) 2>conftest.er1
21793 grep -v '^ *+' conftest.er1
>conftest.err
21795 cat conftest.err
>&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); } &&
21798 { ac_try
='test -z "$ac_cxx_werror_flag"
21799 || test ! -s conftest.err'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; } &&
21805 { ac_try
='test -s conftest.$ac_objext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_type_wchar_t
=yes
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.
$ac_ext >&5
21816 ac_cv_type_wchar_t
=no
21818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21820 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21821 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21823 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21824 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21825 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 if test "$ac_cv_type_wchar_t" = yes; then
21829 # The cast to unsigned long works around a bug in the HP C Compiler
21830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21832 # This bug is HP SR number 8606223364.
21833 if test "$cross_compiling" = yes; then
21834 # Depending upon the size, compute the lo and hi bounds.
21835 cat >conftest.
$ac_ext <<_ACEOF
21838 cat confdefs.h
>>conftest.
$ac_ext
21839 cat >>conftest.
$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21844 # error "fake wchar_t"
21846 #ifdef HAVE_WCHAR_H
21848 # include <stddef.h>
21850 # include <wchar.h>
21852 #ifdef HAVE_STDLIB_H
21853 # include <stdlib.h>
21862 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21869 rm -f conftest.
$ac_objext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21871 (eval $ac_compile) 2>conftest.er1
21873 grep -v '^ *+' conftest.er1
>conftest.err
21875 cat conftest.err
>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try
='test -z "$ac_cxx_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try
='test -s conftest.$ac_objext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21893 cat >conftest.
$ac_ext <<_ACEOF
21896 cat confdefs.h
>>conftest.
$ac_ext
21897 cat >>conftest.
$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21902 # error "fake wchar_t"
21904 #ifdef HAVE_WCHAR_H
21906 # include <stddef.h>
21908 # include <wchar.h>
21910 #ifdef HAVE_STDLIB_H
21911 # include <stdlib.h>
21920 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21927 rm -f conftest.
$ac_objext
21928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21929 (eval $ac_compile) 2>conftest.er1
21931 grep -v '^ *+' conftest.er1
>conftest.err
21933 cat conftest.err
>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); } &&
21936 { ac_try
='test -z "$ac_cxx_werror_flag"
21937 || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try
='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 ac_hi
=$ac_mid; break
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.
$ac_ext >&5
21954 ac_lo
=`expr $ac_mid + 1`
21955 if test $ac_lo -le $ac_mid; then
21959 ac_mid
=`expr 2 '*' $ac_mid + 1`
21961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.
$ac_ext >&5
21967 cat >conftest.
$ac_ext <<_ACEOF
21970 cat confdefs.h
>>conftest.
$ac_ext
21971 cat >>conftest.
$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21974 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21975 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21976 # error "fake wchar_t"
21978 #ifdef HAVE_WCHAR_H
21980 # include <stddef.h>
21982 # include <wchar.h>
21984 #ifdef HAVE_STDLIB_H
21985 # include <stdlib.h>
21994 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22001 rm -f conftest.
$ac_objext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22003 (eval $ac_compile) 2>conftest.er1
22005 grep -v '^ *+' conftest.er1
>conftest.err
22007 cat conftest.err
>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try
='test -z "$ac_cxx_werror_flag"
22011 || test ! -s conftest.err'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; } &&
22017 { ac_try
='test -s conftest.$ac_objext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22025 cat >conftest.
$ac_ext <<_ACEOF
22028 cat confdefs.h
>>conftest.
$ac_ext
22029 cat >>conftest.
$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22032 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22033 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22034 # error "fake wchar_t"
22036 #ifdef HAVE_WCHAR_H
22038 # include <stddef.h>
22040 # include <wchar.h>
22042 #ifdef HAVE_STDLIB_H
22043 # include <stdlib.h>
22052 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22059 rm -f conftest.
$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22063 grep -v '^ *+' conftest.er1
>conftest.err
22065 cat conftest.err
>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -z "$ac_cxx_werror_flag"
22069 || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try
='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 ac_lo
=$ac_mid; break
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.
$ac_ext >&5
22086 ac_hi
=`expr '(' $ac_mid ')' - 1`
22087 if test $ac_mid -le $ac_hi; then
22091 ac_mid
=`expr 2 '*' $ac_mid`
22093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.
$ac_ext >&5
22101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22104 # Binary search between lo and hi bounds.
22105 while test "x$ac_lo" != "x$ac_hi"; do
22106 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22107 cat >conftest.
$ac_ext <<_ACEOF
22110 cat confdefs.h
>>conftest.
$ac_ext
22111 cat >>conftest.
$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22114 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22115 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22116 # error "fake wchar_t"
22118 #ifdef HAVE_WCHAR_H
22120 # include <stddef.h>
22122 # include <wchar.h>
22124 #ifdef HAVE_STDLIB_H
22125 # include <stdlib.h>
22134 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22141 rm -f conftest.
$ac_objext
22142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22143 (eval $ac_compile) 2>conftest.er1
22145 grep -v '^ *+' conftest.er1
>conftest.err
22147 cat conftest.err
>&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } &&
22150 { ac_try
='test -z "$ac_cxx_werror_flag"
22151 || test ! -s conftest.err'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; } &&
22157 { ac_try
='test -s conftest.$ac_objext'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; }; then
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.
$ac_ext >&5
22168 ac_lo
=`expr '(' $ac_mid ')' + 1`
22170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22173 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22175 See \`config.log' for more details." >&5
22176 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22177 See \`config.log' for more details." >&2;}
22178 { (exit 1); exit 1; }; } ;;
22181 if test "$cross_compiling" = yes; then
22182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22183 See \`config.log' for more details." >&5
22184 echo "$as_me: error: cannot run test program while cross compiling
22185 See \`config.log' for more details." >&2;}
22186 { (exit 1); exit 1; }; }
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22195 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22196 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22197 # error "fake wchar_t"
22199 #ifdef HAVE_WCHAR_H
22201 # include <stddef.h>
22203 # include <wchar.h>
22205 #ifdef HAVE_STDLIB_H
22206 # include <stdlib.h>
22212 long longval () { return (long) (sizeof (wchar_t)); }
22213 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22215 #include <stdlib.h>
22220 FILE *f = fopen ("conftest.val", "w");
22223 if (((long) (sizeof (wchar_t))) < 0)
22225 long i = longval ();
22226 if (i != ((long) (sizeof (wchar_t))))
22228 fprintf (f, "%ld\n", i);
22232 unsigned long i = ulongval ();
22233 if (i != ((long) (sizeof (wchar_t))))
22235 fprintf (f, "%lu\n", i);
22237 exit (ferror (f) || fclose (f) != 0);
22243 rm -f conftest
$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22256 echo "$as_me: program exited with status $ac_status" >&5
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.
$ac_ext >&5
22260 ( exit $ac_status )
22261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22262 See \`config.log' for more details." >&5
22263 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22264 See \`config.log' for more details." >&2;}
22265 { (exit 1); exit 1; }; }
22267 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22272 ac_cv_sizeof_wchar_t
=0
22275 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22276 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22277 cat >>confdefs.h
<<_ACEOF
22278 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22282 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22288 echo "$as_me:$LINENO: checking for va_copy" >&5
22289 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22290 if test "${wx_cv_func_va_copy+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 cat >conftest.
$ac_ext <<_ACEOF
22296 #include <stdarg.h>
22297 void foo(char *f, ...)
22311 rm -f conftest.
$ac_objext conftest
$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>conftest.er1
22315 grep -v '^ *+' conftest.er1
>conftest.err
22317 cat conftest.err
>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try
='test -z "$ac_cxx_werror_flag"
22321 || test ! -s conftest.err'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; } &&
22327 { ac_try
='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 wx_cv_func_va_copy
=yes
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.
$ac_ext >&5
22338 wx_cv_func_va_copy
=no
22341 rm -f conftest.err conftest.
$ac_objext \
22342 conftest
$ac_exeext conftest.
$ac_ext
22346 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22347 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22349 if test $wx_cv_func_va_copy = "yes"; then
22350 cat >>confdefs.h
<<\_ACEOF
22351 #define HAVE_VA_COPY 1
22355 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22356 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22357 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22358 echo $ECHO_N "(cached) $ECHO_C" >&6
22361 if test "$cross_compiling" = yes; then
22362 wx_cv_type_va_list_lvalue
=yes
22365 cat >conftest.
$ac_ext <<_ACEOF
22367 #include <stdarg.h>
22368 int foo(char *f, ...)
22373 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22381 return foo("hi", 17);
22384 rm -f conftest
$ac_exeext
22385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22386 (eval $ac_link) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; }; then
22395 wx_cv_type_va_list_lvalue
=yes
22397 echo "$as_me: program exited with status $ac_status" >&5
22398 echo "$as_me: failed program was:" >&5
22399 sed 's/^/| /' conftest.
$ac_ext >&5
22401 ( exit $ac_status )
22402 wx_cv_type_va_list_lvalue
=no
22404 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22409 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22410 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22412 if test $wx_cv_type_va_list_lvalue != "yes"; then
22413 cat >>confdefs.h
<<\_ACEOF
22414 #define VA_LIST_IS_ARRAY 1
22420 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22421 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22422 if test "${wx_cv_have_variadic_macros+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 cat >conftest.
$ac_ext <<_ACEOF
22429 cat confdefs.h
>>conftest.
$ac_ext
22430 cat >>conftest.
$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22434 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22440 test("%s %d %p", "test", 1, 0);
22447 rm -f conftest.
$ac_objext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22449 (eval $ac_compile) 2>conftest.er1
22451 grep -v '^ *+' conftest.er1
>conftest.err
22453 cat conftest.err
>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try
='test -z "$ac_cxx_werror_flag"
22457 || test ! -s conftest.err'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; } &&
22463 { ac_try
='test -s conftest.$ac_objext'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 wx_cv_have_variadic_macros
=yes
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.
$ac_ext >&5
22474 wx_cv_have_variadic_macros
=no
22477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22481 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22482 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22484 if test $wx_cv_have_variadic_macros = "yes"; then
22485 cat >>confdefs.h
<<\_ACEOF
22486 #define HAVE_VARIADIC_MACROS 1
22491 # Check whether --enable-largefile or --disable-largefile was given.
22492 if test "${enable_largefile+set}" = set; then
22493 enableval
="$enable_largefile"
22496 if test "$enable_largefile" != no
; then
22499 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22500 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22501 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 cat >conftest.
$ac_ext <<_ACEOF
22508 cat confdefs.h
>>conftest.
$ac_ext
22509 cat >>conftest.
$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 #define _FILE_OFFSET_BITS 64
22512 #include <sys/types.h>
22517 unsigned int field: sizeof(off_t) == 8;
22524 rm -f conftest.
$ac_objext
22525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22526 (eval $ac_compile) 2>conftest.er1
22528 grep -v '^ *+' conftest.er1
>conftest.err
22530 cat conftest.err
>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try
='test -z "$ac_cxx_werror_flag"
22534 || test ! -s conftest.err'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; } &&
22540 { ac_try
='test -s conftest.$ac_objext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_sys_file_offset_bits
=64
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.
$ac_ext >&5
22551 ac_cv_sys_file_offset_bits
=no
22553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22557 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22558 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22560 if test "$ac_cv_sys_file_offset_bits" != no
; then
22562 cat >>confdefs.h
<<_ACEOF
22563 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22568 if test "x$wx_largefile" != "xyes"; then
22570 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22571 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22572 if test "${ac_cv_sys_large_files+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #define _LARGE_FILES 1
22583 #include <sys/types.h>
22588 unsigned int field: sizeof(off_t) == 8;
22595 rm -f conftest.
$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try
='test -z "$ac_cxx_werror_flag"
22605 || test ! -s conftest.err'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; } &&
22611 { ac_try
='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_sys_large_files
=1
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.
$ac_ext >&5
22622 ac_cv_sys_large_files
=no
22624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22628 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22629 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22631 if test "$ac_cv_sys_large_files" != no
; then
22633 cat >>confdefs.h
<<_ACEOF
22634 #define _LARGE_FILES $ac_cv_sys_large_files
22641 echo "$as_me:$LINENO: checking if large file support is available" >&5
22642 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22643 if test "x$wx_largefile" = "xyes"; then
22644 cat >>confdefs.h
<<\_ACEOF
22645 #define HAVE_LARGEFILE_SUPPORT 1
22649 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22650 echo "${ECHO_T}$wx_largefile" >&6
22654 if test "x$wx_largefile" = "xyes"; then
22655 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22656 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22658 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22659 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22660 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22661 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 cat >conftest.
$ac_ext <<_ACEOF
22668 cat confdefs.h
>>conftest.
$ac_ext
22669 cat >>conftest.
$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22676 #ifndef __STDC_EXT__
22684 rm -f conftest.
$ac_objext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22686 (eval $ac_compile) 2>conftest.er1
22688 grep -v '^ *+' conftest.er1
>conftest.err
22690 cat conftest.err
>&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try
='test -z "$ac_cxx_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try
='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 wx_cv_STDC_EXT_required
=no
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.
$ac_ext >&5
22711 wx_cv_STDC_EXT_required
=yes
22714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22718 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22719 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22720 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22721 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22725 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22727 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22728 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22729 if test "${ac_cv_sys_largefile_source+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 ac_cv_sys_largefile_source
=no
22734 cat >conftest.
$ac_ext <<_ACEOF
22737 cat confdefs.h
>>conftest.
$ac_ext
22738 cat >>conftest.
$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22749 rm -f conftest.
$ac_objext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22751 (eval $ac_compile) 2>conftest.er1
22753 grep -v '^ *+' conftest.er1
>conftest.err
22755 cat conftest.err
>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try
='test -z "$ac_cxx_werror_flag"
22759 || test ! -s conftest.err'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; } &&
22765 { ac_try
='test -s conftest.$ac_objext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22778 cat >conftest.
$ac_ext <<_ACEOF
22781 cat confdefs.h
>>conftest.
$ac_ext
22782 cat >>conftest.
$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 #define _LARGEFILE_SOURCE 1
22794 rm -f conftest.
$ac_objext
22795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22796 (eval $ac_compile) 2>conftest.er1
22798 grep -v '^ *+' conftest.er1
>conftest.err
22800 cat conftest.err
>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } &&
22803 { ac_try
='test -z "$ac_cxx_werror_flag"
22804 || test ! -s conftest.err'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; } &&
22810 { ac_try
='test -s conftest.$ac_objext'
22811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22812 (eval $ac_try) 2>&5
22814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815 (exit $ac_status); }; }; then
22816 ac_cv_sys_largefile_source
=1; break
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.
$ac_ext >&5
22822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22826 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22827 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22828 if test "$ac_cv_sys_largefile_source" != no
; then
22830 cat >>confdefs.h
<<_ACEOF
22831 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22837 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22838 # in glibc 2.1.3, but that breaks too many other things.
22839 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22840 echo "$as_me:$LINENO: checking for fseeko" >&5
22841 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22842 if test "${ac_cv_func_fseeko+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 cat >conftest.
$ac_ext <<_ACEOF
22848 cat confdefs.h
>>conftest.
$ac_ext
22849 cat >>conftest.
$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22855 return fseeko && fseeko (stdin, 0, 0);
22860 rm -f conftest.
$ac_objext conftest
$ac_exeext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22862 (eval $ac_link) 2>conftest.er1
22864 grep -v '^ *+' conftest.er1
>conftest.err
22866 cat conftest.err
>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try
='test -z "$ac_cxx_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try
='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_func_fseeko
=yes
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.
$ac_ext >&5
22887 ac_cv_func_fseeko
=no
22889 rm -f conftest.err conftest.
$ac_objext \
22890 conftest
$ac_exeext conftest.
$ac_ext
22892 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22893 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22894 if test $ac_cv_func_fseeko = yes; then
22896 cat >>confdefs.h
<<\_ACEOF
22897 #define HAVE_FSEEKO 1
22902 if test "$ac_cv_sys_largefile_source" != no
; then
22903 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22907 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22908 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22909 if test "${ac_cv_c_bigendian+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 ac_cv_c_bigendian
=unknown
22913 # See if sys/param.h defines the BYTE_ORDER macro.
22914 cat >conftest.
$ac_ext <<_ACEOF
22917 cat confdefs.h
>>conftest.
$ac_ext
22918 cat >>conftest.
$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 #include <sys/types.h>
22921 #include <sys/param.h>
22926 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22927 bogus endian macros
22933 rm -f conftest.
$ac_objext
22934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22935 (eval $ac_compile) 2>conftest.er1
22937 grep -v '^ *+' conftest.er1
>conftest.err
22939 cat conftest.err
>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); } &&
22942 { ac_try
='test -z "$ac_cxx_werror_flag"
22943 || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try
='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 # It does; now see whether it defined to BIG_ENDIAN or not.
22956 cat >conftest.
$ac_ext <<_ACEOF
22959 cat confdefs.h
>>conftest.
$ac_ext
22960 cat >>conftest.
$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22962 #include <sys/types.h>
22963 #include <sys/param.h>
22968 #if BYTE_ORDER != BIG_ENDIAN
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_cxx_werror_flag"
22985 || test ! -s conftest.err'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; } &&
22991 { ac_try
='test -s conftest.$ac_objext'
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
=yes
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.
$ac_ext >&5
23002 ac_cv_c_bigendian
=no
23004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.
$ac_ext >&5
23010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23011 if test $ac_cv_c_bigendian = unknown
; then
23012 if test "$cross_compiling" = yes; then
23013 ac_cv_c_bigendian
=unknown
23015 cat >conftest.
$ac_ext <<_ACEOF
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23022 /* Are we little or big endian? From Harbison&Steele. */
23026 char c[sizeof (long)];
23029 exit (u.c[sizeof (long) - 1] == 1);
23032 rm -f conftest
$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; }; then
23043 ac_cv_c_bigendian
=no
23045 echo "$as_me: program exited with status $ac_status" >&5
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23049 ( exit $ac_status )
23050 ac_cv_c_bigendian
=yes
23052 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23056 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23057 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23058 if test $ac_cv_c_bigendian = unknown
; then
23059 { 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
23060 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;}
23062 if test $ac_cv_c_bigendian = yes; then
23063 cat >>confdefs.h
<<\_ACEOF
23064 #define WORDS_BIGENDIAN 1
23074 ac_cpp
='$CXXCPP $CPPFLAGS'
23075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23081 for ac_header
in iostream
23083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23085 echo "$as_me:$LINENO: checking for $ac_header" >&5
23086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23088 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23093 # Is the header compilable?
23094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23096 cat >conftest.
$ac_ext <<_ACEOF
23099 cat confdefs.h
>>conftest.
$ac_ext
23100 cat >>conftest.
$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23102 $ac_includes_default
23103 #include <$ac_header>
23105 rm -f conftest.
$ac_objext
23106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23107 (eval $ac_compile) 2>conftest.er1
23109 grep -v '^ *+' conftest.er1
>conftest.err
23111 cat conftest.err
>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } &&
23114 { ac_try
='test -z "$ac_cxx_werror_flag"
23115 || test ! -s conftest.err'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; } &&
23121 { ac_try
='test -s conftest.$ac_objext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23127 ac_header_compiler
=yes
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.
$ac_ext >&5
23132 ac_header_compiler
=no
23134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23136 echo "${ECHO_T}$ac_header_compiler" >&6
23138 # Is the header present?
23139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 #include <$ac_header>
23149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23152 grep -v '^ *+' conftest.er1
>conftest.err
23154 cat conftest.err
>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } >/dev
/null
; then
23157 if test -s conftest.err
; then
23158 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23159 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23166 if test -z "$ac_cpp_err"; then
23167 ac_header_preproc
=yes
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.
$ac_ext >&5
23172 ac_header_preproc
=no
23174 rm -f conftest.err conftest.
$ac_ext
23175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23176 echo "${ECHO_T}$ac_header_preproc" >&6
23178 # So? What about this header?
23179 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23185 ac_header_preproc
=yes
23188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23202 ## ----------------------------------------- ##
23203 ## Report this to wx-dev@lists.wxwidgets.org ##
23204 ## ----------------------------------------- ##
23207 sed "s/^/$as_me: WARNING: /" >&2
23210 echo "$as_me:$LINENO: checking for $ac_header" >&5
23211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23213 echo $ECHO_N "(cached) $ECHO_C" >&6
23215 eval "$as_ac_Header=\$ac_header_preproc"
23217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23222 cat >>confdefs.h
<<_ACEOF
23223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23231 if test "$ac_cv_header_iostream" = "yes" ; then
23234 cat >>confdefs.h
<<\_ACEOF
23235 #define wxUSE_IOSTREAMH 1
23241 ac_cpp
='$CXXCPP $CPPFLAGS'
23242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23249 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23250 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23251 if test "${wx_cv_cpp_bool+set}" = set; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 ac_cpp
='$CXXCPP $CPPFLAGS'
23259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23264 cat >conftest.
$ac_ext <<_ACEOF
23267 cat confdefs.h
>>conftest.
$ac_ext
23268 cat >>conftest.
$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23284 rm -f conftest.
$ac_objext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23286 (eval $ac_compile) 2>conftest.er1
23288 grep -v '^ *+' conftest.er1
>conftest.err
23290 cat conftest.err
>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } &&
23293 { ac_try
='test -z "$ac_cxx_werror_flag"
23294 || test ! -s conftest.err'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; } &&
23300 { ac_try
='test -s conftest.$ac_objext'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; }; then
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.
$ac_ext >&5
23318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23321 ac_cpp
='$CXXCPP $CPPFLAGS'
23322 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23328 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23329 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23331 if test "$wx_cv_cpp_bool" = "yes"; then
23332 cat >>confdefs.h
<<\_ACEOF
23333 #define HAVE_BOOL 1
23340 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23341 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23342 if test "${wx_cv_explicit+set}" = set; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 ac_cpp
='$CXXCPP $CPPFLAGS'
23350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23355 cat >conftest.
$ac_ext <<_ACEOF
23358 cat confdefs.h
>>conftest.
$ac_ext
23359 cat >>conftest.
$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23362 class Foo { public: explicit Foo(int) {} };
23374 rm -f conftest.
$ac_objext
23375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23376 (eval $ac_compile) 2>conftest.er1
23378 grep -v '^ *+' conftest.er1
>conftest.err
23380 cat conftest.err
>&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try
='test -z "$ac_cxx_werror_flag"
23384 || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try
='test -s conftest.$ac_objext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23397 cat >conftest.
$ac_ext <<_ACEOF
23400 cat confdefs.h
>>conftest.
$ac_ext
23401 cat >>conftest.
$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23404 class Foo { public: explicit Foo(int) {} };
23405 static void TakeFoo(const Foo& foo) { }
23418 rm -f conftest.
$ac_objext
23419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23420 (eval $ac_compile) 2>conftest.er1
23422 grep -v '^ *+' conftest.er1
>conftest.err
23424 cat conftest.err
>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } &&
23427 { ac_try
='test -z "$ac_cxx_werror_flag"
23428 || test ! -s conftest.err'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; } &&
23434 { ac_try
='test -s conftest.$ac_objext'
23435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23436 (eval $ac_try) 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.
$ac_ext >&5
23448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.
$ac_ext >&5
23457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23460 ac_cpp
='$CXXCPP $CPPFLAGS'
23461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23467 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23468 echo "${ECHO_T}$wx_cv_explicit" >&6
23470 if test "$wx_cv_explicit" = "yes"; then
23471 cat >>confdefs.h
<<\_ACEOF
23472 #define HAVE_EXPLICIT 1
23478 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23479 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23480 if test "${ac_cv_cxx_const_cast+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23486 ac_cpp
='$CXXCPP $CPPFLAGS'
23487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23491 cat >conftest.
$ac_ext <<_ACEOF
23494 cat confdefs.h
>>conftest.
$ac_ext
23495 cat >>conftest.
$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23501 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23506 rm -f conftest.
$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>conftest.er1
23510 grep -v '^ *+' conftest.er1
>conftest.err
23512 cat conftest.err
>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try
='test -z "$ac_cxx_werror_flag"
23516 || test ! -s conftest.err'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; } &&
23522 { ac_try
='test -s conftest.$ac_objext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23528 ac_cv_cxx_const_cast
=yes
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.
$ac_ext >&5
23533 ac_cv_cxx_const_cast
=no
23535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23537 ac_cpp
='$CXXCPP $CPPFLAGS'
23538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23544 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23545 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23546 if test "$ac_cv_cxx_const_cast" = yes; then
23548 cat >>confdefs.h
<<\_ACEOF
23549 #define HAVE_CONST_CAST
23554 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23555 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23556 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23562 ac_cpp
='$CXXCPP $CPPFLAGS'
23563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23567 cat >conftest.
$ac_ext <<_ACEOF
23570 cat confdefs.h
>>conftest.
$ac_ext
23571 cat >>conftest.
$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 #include <typeinfo>
23574 class Base { public : Base () {} virtual void f () = 0;};
23575 class Derived : public Base { public : Derived () {} virtual void f () {} };
23576 class Unrelated { public : Unrelated () {} };
23577 int g (Unrelated&) { return 0; }
23582 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23587 rm -f conftest.
$ac_objext
23588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23589 (eval $ac_compile) 2>conftest.er1
23591 grep -v '^ *+' conftest.er1
>conftest.err
23593 cat conftest.err
>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try
='test -z "$ac_cxx_werror_flag"
23597 || test ! -s conftest.err'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; } &&
23603 { ac_try
='test -s conftest.$ac_objext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_cv_cxx_reinterpret_cast
=yes
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.
$ac_ext >&5
23614 ac_cv_cxx_reinterpret_cast
=no
23616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23618 ac_cpp
='$CXXCPP $CPPFLAGS'
23619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23625 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23626 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23627 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23629 cat >>confdefs.h
<<\_ACEOF
23630 #define HAVE_REINTERPRET_CAST
23635 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23636 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23637 if test "${ac_cv_cxx_static_cast+set}" = set; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 ac_cpp
='$CXXCPP $CPPFLAGS'
23644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23648 cat >conftest.
$ac_ext <<_ACEOF
23651 cat confdefs.h
>>conftest.
$ac_ext
23652 cat >>conftest.
$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 #include <typeinfo>
23655 class Base { public : Base () {} virtual void f () = 0; };
23656 class Derived : public Base { public : Derived () {} virtual void f () {} };
23657 int g (Derived&) { return 0; }
23662 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23667 rm -f conftest.
$ac_objext
23668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23669 (eval $ac_compile) 2>conftest.er1
23671 grep -v '^ *+' conftest.er1
>conftest.err
23673 cat conftest.err
>&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); } &&
23676 { ac_try
='test -z "$ac_cxx_werror_flag"
23677 || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_cxx_static_cast
=yes
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 ac_cv_cxx_static_cast
=no
23696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23698 ac_cpp
='$CXXCPP $CPPFLAGS'
23699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23705 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23706 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23707 if test "$ac_cv_cxx_static_cast" = yes; then
23709 cat >>confdefs.h
<<\_ACEOF
23710 #define HAVE_STATIC_CAST
23716 if test "x$SUNCXX" = xyes
; then
23717 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23720 if test "x$SUNCC" = xyes
; then
23721 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23724 if test "x$SGICC" = "xyes"; then
23725 CFLAGS
="-woff 3970 $CFLAGS"
23727 if test "x$SGICXX" = "xyes"; then
23728 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23731 if test "x$HPCC" = "xyes"; then
23732 CFLAGS
="+W 2011,2450 $CFLAGS"
23734 if test "x$HPCXX" = "xyes"; then
23735 CXXFLAGS
="+W 2340 $CXXFLAGS"
23738 if test "x$COMPAQCXX" = "xyes"; then
23739 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23742 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23743 if test "$wxUSE_UNICODE" = "yes"; then
23744 std_string
="std::wstring"
23745 char_type
="wchar_t"
23747 std_string
="std::string"
23751 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23752 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23753 cat >conftest.
$ac_ext <<_ACEOF
23756 cat confdefs.h
>>conftest.
$ac_ext
23757 cat >>conftest.
$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23768 rm -f conftest.
$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try
='test -z "$ac_cxx_werror_flag"
23778 || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try
='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 echo "$as_me:$LINENO: result: yes" >&5
23791 echo "${ECHO_T}yes" >&6
23792 cat >>confdefs.h
<<\_ACEOF
23793 #define HAVE_STD_WSTRING 1
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.
$ac_ext >&5
23800 echo "$as_me:$LINENO: result: no" >&5
23801 echo "${ECHO_T}no" >&6
23802 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23803 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23804 cat >conftest.
$ac_ext <<_ACEOF
23807 cat confdefs.h
>>conftest.
$ac_ext
23808 cat >>conftest.
$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23811 #ifdef HAVE_WCHAR_H
23813 # include <stddef.h>
23815 # include <wchar.h>
23817 #ifdef HAVE_STDLIB_H
23818 # include <stdlib.h>
23826 std::basic_string<$char_type> foo;
23827 const $char_type* dummy = foo.c_str();
23832 rm -f conftest.
$ac_objext
23833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23834 (eval $ac_compile) 2>conftest.er1
23836 grep -v '^ *+' conftest.er1
>conftest.err
23838 cat conftest.err
>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } &&
23841 { ac_try
='test -z "$ac_cxx_werror_flag"
23842 || test ! -s conftest.err'
23843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23844 (eval $ac_try) 2>&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; } &&
23848 { ac_try
='test -s conftest.$ac_objext'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854 echo "$as_me:$LINENO: result: yes" >&5
23855 echo "${ECHO_T}yes" >&6
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.
$ac_ext >&5
23860 echo "$as_me:$LINENO: result: no" >&5
23861 echo "${ECHO_T}no" >&6
23862 if test "$wxUSE_STL" = "yes"; then
23863 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23864 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23865 { (exit 1); exit 1; }; }
23866 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23867 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23868 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23869 { (exit 1); exit 1; }; }
23871 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23872 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23873 wxUSE_STD_STRING
=no
23878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23884 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23885 echo "$as_me:$LINENO: checking for std::istream" >&5
23886 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23887 if test "${ac_cv_type_std__istream+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23890 cat >conftest.
$ac_ext <<_ACEOF
23893 cat confdefs.h
>>conftest.
$ac_ext
23894 cat >>conftest.
$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <iostream>
23901 if ((std::istream *) 0)
23903 if (sizeof (std::istream))
23909 rm -f conftest.
$ac_objext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23911 (eval $ac_compile) 2>conftest.er1
23913 grep -v '^ *+' conftest.er1
>conftest.err
23915 cat conftest.err
>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try
='test -z "$ac_cxx_werror_flag"
23919 || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try
='test -s conftest.$ac_objext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23931 ac_cv_type_std__istream
=yes
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.
$ac_ext >&5
23936 ac_cv_type_std__istream
=no
23938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23940 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23941 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23942 if test $ac_cv_type_std__istream = yes; then
23944 cat >>confdefs.h
<<_ACEOF
23945 #define HAVE_STD__ISTREAM 1
23950 wxUSE_STD_IOSTREAM
=no
23952 echo "$as_me:$LINENO: checking for std::ostream" >&5
23953 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23954 if test "${ac_cv_type_std__ostream+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 cat >conftest.
$ac_ext <<_ACEOF
23960 cat confdefs.h
>>conftest.
$ac_ext
23961 cat >>conftest.
$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <iostream>
23968 if ((std::ostream *) 0)
23970 if (sizeof (std::ostream))
23976 rm -f conftest.
$ac_objext
23977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23978 (eval $ac_compile) 2>conftest.er1
23980 grep -v '^ *+' conftest.er1
>conftest.err
23982 cat conftest.err
>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } &&
23985 { ac_try
='test -z "$ac_cxx_werror_flag"
23986 || test ! -s conftest.err'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; } &&
23992 { ac_try
='test -s conftest.$ac_objext'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; }; then
23998 ac_cv_type_std__ostream
=yes
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.
$ac_ext >&5
24003 ac_cv_type_std__ostream
=no
24005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24007 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24008 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24009 if test $ac_cv_type_std__ostream = yes; then
24011 cat >>confdefs.h
<<_ACEOF
24012 #define HAVE_STD__OSTREAM 1
24017 wxUSE_STD_IOSTREAM
=no
24021 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24022 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24023 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24024 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24025 { (exit 1); exit 1; }; }
24027 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24028 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24033 if test "$wxUSE_STL" = "yes"; then
24034 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24035 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24036 cat >conftest.
$ac_ext <<_ACEOF
24039 cat confdefs.h
>>conftest.
$ac_ext
24040 cat >>conftest.
$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24043 #include <functional>
24044 #include <algorithm>
24050 std::vector<int> moo;
24051 std::list<int> foo;
24052 std::vector<int>::iterator it =
24053 std::find_if(moo.begin(), moo.end(),
24054 std::bind2nd(std::less<int>(), 3));
24059 rm -f conftest.
$ac_objext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24061 (eval $ac_compile) 2>conftest.er1
24063 grep -v '^ *+' conftest.er1
>conftest.err
24065 cat conftest.err
>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try
='test -z "$ac_cxx_werror_flag"
24069 || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try
='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 echo "$as_me:$LINENO: result: yes" >&5
24082 echo "${ECHO_T}yes" >&6
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.
$ac_ext >&5
24087 echo "$as_me:$LINENO: result: no" >&5
24088 echo "${ECHO_T}no" >&6
24089 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24090 echo "$as_me: error: Basic STL functionality missing" >&2;}
24091 { (exit 1); exit 1; }; }
24093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24095 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24096 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24097 cat >conftest.
$ac_ext <<_ACEOF
24100 cat confdefs.h
>>conftest.
$ac_ext
24101 cat >>conftest.
$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24107 std::string foo, bar;
24109 foo.compare(1, 1, bar);
24110 foo.compare(1, 1, bar, 1, 1);
24112 foo.compare(1, 1, "");
24113 foo.compare(1, 1, "", 2);
24118 rm -f conftest.
$ac_objext
24119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24120 (eval $ac_compile) 2>conftest.er1
24122 grep -v '^ *+' conftest.er1
>conftest.err
24124 cat conftest.err
>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); } &&
24127 { ac_try
='test -z "$ac_cxx_werror_flag"
24128 || test ! -s conftest.err'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; } &&
24134 { ac_try
='test -s conftest.$ac_objext'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; }; then
24140 echo "$as_me:$LINENO: result: yes" >&5
24141 echo "${ECHO_T}yes" >&6
24142 cat >>confdefs.h
<<\_ACEOF
24143 #define HAVE_STD_STRING_COMPARE 1
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.
$ac_ext >&5
24150 echo "$as_me:$LINENO: result: no" >&5
24151 echo "${ECHO_T}no" >&6
24153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24155 if test "${ac_cv_header_hash_map+set}" = set; then
24156 echo "$as_me:$LINENO: checking for hash_map" >&5
24157 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24158 if test "${ac_cv_header_hash_map+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24162 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24164 # Is the header compilable?
24165 echo "$as_me:$LINENO: checking hash_map usability" >&5
24166 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24167 cat >conftest.
$ac_ext <<_ACEOF
24170 cat confdefs.h
>>conftest.
$ac_ext
24171 cat >>conftest.
$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24173 $ac_includes_default
24174 #include <hash_map>
24176 rm -f conftest.
$ac_objext
24177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24178 (eval $ac_compile) 2>conftest.er1
24180 grep -v '^ *+' conftest.er1
>conftest.err
24182 cat conftest.err
>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try
='test -z "$ac_cxx_werror_flag"
24186 || test ! -s conftest.err'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; } &&
24192 { ac_try
='test -s conftest.$ac_objext'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; }; then
24198 ac_header_compiler
=yes
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.
$ac_ext >&5
24203 ac_header_compiler
=no
24205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24207 echo "${ECHO_T}$ac_header_compiler" >&6
24209 # Is the header present?
24210 echo "$as_me:$LINENO: checking hash_map presence" >&5
24211 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24212 cat >conftest.
$ac_ext <<_ACEOF
24215 cat confdefs.h
>>conftest.
$ac_ext
24216 cat >>conftest.
$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24218 #include <hash_map>
24220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24223 grep -v '^ *+' conftest.er1
>conftest.err
24225 cat conftest.err
>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } >/dev
/null
; then
24228 if test -s conftest.err
; then
24229 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24230 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24237 if test -z "$ac_cpp_err"; then
24238 ac_header_preproc
=yes
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.
$ac_ext >&5
24243 ac_header_preproc
=no
24245 rm -f conftest.err conftest.
$ac_ext
24246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24247 echo "${ECHO_T}$ac_header_preproc" >&6
24249 # So? What about this header?
24250 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24252 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24253 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24254 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24255 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24256 ac_header_preproc
=yes
24259 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24260 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24261 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24262 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24263 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24264 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24265 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24266 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24267 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24268 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24269 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24270 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24273 ## ----------------------------------------- ##
24274 ## Report this to wx-dev@lists.wxwidgets.org ##
24275 ## ----------------------------------------- ##
24278 sed "s/^/$as_me: WARNING: /" >&2
24281 echo "$as_me:$LINENO: checking for hash_map" >&5
24282 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24283 if test "${ac_cv_header_hash_map+set}" = set; then
24284 echo $ECHO_N "(cached) $ECHO_C" >&6
24286 ac_cv_header_hash_map
=$ac_header_preproc
24288 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24289 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24292 if test $ac_cv_header_hash_map = yes; then
24293 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24294 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24295 cat >conftest.
$ac_ext <<_ACEOF
24298 cat confdefs.h
>>conftest.
$ac_ext
24299 cat >>conftest.
$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24301 #include <hash_map>
24302 #include <hash_set>
24306 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24307 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24312 rm -f conftest.
$ac_objext
24313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24314 (eval $ac_compile) 2>conftest.er1
24316 grep -v '^ *+' conftest.er1
>conftest.err
24318 cat conftest.err
>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try
='test -z "$ac_cxx_werror_flag"
24322 || test ! -s conftest.err'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; } &&
24328 { ac_try
='test -s conftest.$ac_objext'
24329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24330 (eval $ac_try) 2>&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); }; }; then
24334 echo "$as_me:$LINENO: result: yes" >&5
24335 echo "${ECHO_T}yes" >&6
24336 cat >>confdefs.h
<<\_ACEOF
24337 #define HAVE_HASH_MAP 1
24340 cat >>confdefs.h
<<\_ACEOF
24341 #define HAVE_STD_HASH_MAP 1
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.
$ac_ext >&5
24348 echo "$as_me:$LINENO: result: no" >&5
24349 echo "${ECHO_T}no" >&6
24351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24357 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24358 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24359 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24360 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24364 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24366 # Is the header compilable?
24367 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24368 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24369 cat >conftest.
$ac_ext <<_ACEOF
24372 cat confdefs.h
>>conftest.
$ac_ext
24373 cat >>conftest.
$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 $ac_includes_default
24376 #include <ext/hash_map>
24378 rm -f conftest.
$ac_objext
24379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24380 (eval $ac_compile) 2>conftest.er1
24382 grep -v '^ *+' conftest.er1
>conftest.err
24384 cat conftest.err
>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } &&
24387 { ac_try
='test -z "$ac_cxx_werror_flag"
24388 || test ! -s conftest.err'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; } &&
24394 { ac_try
='test -s conftest.$ac_objext'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; }; then
24400 ac_header_compiler
=yes
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.
$ac_ext >&5
24405 ac_header_compiler
=no
24407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24409 echo "${ECHO_T}$ac_header_compiler" >&6
24411 # Is the header present?
24412 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24413 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 #include <ext/hash_map>
24422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24425 grep -v '^ *+' conftest.er1
>conftest.err
24427 cat conftest.err
>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } >/dev
/null
; then
24430 if test -s conftest.err
; then
24431 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24432 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24439 if test -z "$ac_cpp_err"; then
24440 ac_header_preproc
=yes
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.
$ac_ext >&5
24445 ac_header_preproc
=no
24447 rm -f conftest.err conftest.
$ac_ext
24448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24449 echo "${ECHO_T}$ac_header_preproc" >&6
24451 # So? What about this header?
24452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24454 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24455 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24456 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24457 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24458 ac_header_preproc
=yes
24461 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24462 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24464 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24466 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24467 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24468 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24469 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24470 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24471 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24472 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24475 ## ----------------------------------------- ##
24476 ## Report this to wx-dev@lists.wxwidgets.org ##
24477 ## ----------------------------------------- ##
24480 sed "s/^/$as_me: WARNING: /" >&2
24483 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24484 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24485 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24488 ac_cv_header_ext_hash_map
=$ac_header_preproc
24490 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24491 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24494 if test $ac_cv_header_ext_hash_map = yes; then
24495 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24496 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24497 cat >conftest.
$ac_ext <<_ACEOF
24500 cat confdefs.h
>>conftest.
$ac_ext
24501 cat >>conftest.
$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24503 #include <ext/hash_map>
24504 #include <ext/hash_set>
24508 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24509 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24514 rm -f conftest.
$ac_objext
24515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24516 (eval $ac_compile) 2>conftest.er1
24518 grep -v '^ *+' conftest.er1
>conftest.err
24520 cat conftest.err
>&5
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); } &&
24523 { ac_try
='test -z "$ac_cxx_werror_flag"
24524 || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try
='test -s conftest.$ac_objext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 echo "$as_me:$LINENO: result: yes" >&5
24537 echo "${ECHO_T}yes" >&6
24538 cat >>confdefs.h
<<\_ACEOF
24539 #define HAVE_EXT_HASH_MAP 1
24542 cat >>confdefs.h
<<\_ACEOF
24543 #define HAVE_GNU_CXX_HASH_MAP 1
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.
$ac_ext >&5
24550 echo "$as_me:$LINENO: result: no" >&5
24551 echo "${ECHO_T}no" >&6
24553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24562 /usr/local/include \
24564 /usr/Motif-2.1/include \
24565 /usr/Motif-1.2/include \
24566 /usr/include/Motif1.2 \
24569 /usr/openwin/include \
24573 /usr/X11R6/include \
24574 /usr/X11R6.4/include \
24575 /usr/X11R5/include \
24576 /usr/X11R4/include \
24578 /usr/include/X11R6 \
24579 /usr/include/X11R5 \
24580 /usr/include/X11R4 \
24582 /usr/local/X11R6/include \
24583 /usr/local/X11R5/include \
24584 /usr/local/X11R4/include \
24586 /usr/local/include/X11R6 \
24587 /usr/local/include/X11R5 \
24588 /usr/local/include/X11R4 \
24592 /usr/local/X11/include \
24593 /usr/local/include/X11 \
24595 /usr/XFree86/include/X11 \
24598 /usr/openwin/share/include"
24600 echo "$as_me:$LINENO: checking for libraries directory" >&5
24601 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24605 if test "${wx_cv_std_libpath+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24609 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24610 for e
in a so sl dylib dll.a
; do
24612 if test -f $libc; then
24615 cat >conftest.
$ac_ext <<_ACEOF
24616 int main() { return 0; }
24618 rm -f conftest.
$ac_objext conftest
$ac_exeext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24620 (eval $ac_link) 2>conftest.er1
24622 grep -v '^ *+' conftest.er1
>conftest.err
24624 cat conftest.err
>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try
='test -z "$ac_cxx_werror_flag"
24628 || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try
='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.
$ac_ext >&5
24646 rm -f conftest.err conftest.
$ac_objext \
24647 conftest
$ac_exeext conftest.
$ac_ext
24649 if test "x$wx_cv_std_libpath" != "x"; then
24655 if test "x$wx_cv_std_libpath" = "x"; then
24656 wx_cv_std_libpath
="lib"
24665 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24666 wx_cv_std_libpath
="lib/64"
24668 wx_cv_std_libpath
="lib"
24673 if test "$ac_cv_sizeof_void_p" = 8 -a \
24674 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24675 wx_cv_std_libpath
="lib64"
24677 wx_cv_std_libpath
="lib"
24682 wx_cv_std_libpath
="lib";
24686 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24687 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24689 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24691 if test "$build" != "$host" -a "$GCC" = yes; then
24692 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24693 cross_root
=`dirname $cross_root`
24694 cross_root
=`dirname $cross_root`
24696 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24697 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24698 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24700 if test -z "$PKG_CONFIG_PATH"; then
24701 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24702 export PKG_CONFIG_PATH
24705 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24708 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24710 if test -f "$ac_dir/X11/Intrinsic.h"; then
24711 ac_find_includes
=$ac_dir
24716 x_includes
=$ac_find_includes
24718 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24721 for ac_dir
in $SEARCH_LIB;
24723 for ac_extension
in a so sl dylib dll.a
; do
24724 if test -f "$ac_dir/libXt.$ac_extension"; then
24725 ac_find_libraries
=$ac_dir
24731 x_libraries
=$ac_find_libraries
24737 cat >confcache
<<\_ACEOF
24738 # This file is a shell script that caches the results of configure
24739 # tests run on this system so they can be shared between configure
24740 # scripts and configure runs, see configure's option --config-cache.
24741 # It is not useful on other systems. If it contains results you don't
24742 # want to keep, you may remove or edit it.
24744 # config.status only pays attention to the cache file if you give it
24745 # the --recheck option to rerun configure.
24747 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24748 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24749 # following values.
24753 # The following way of writing the cache mishandles newlines in values,
24754 # but we know of no workaround that is simple, portable, and efficient.
24755 # So, don't put newlines in cache variables' values.
24756 # Ultrix sh set writes to stderr and can't be redirected directly,
24757 # and sets the high bit in the cache file unless we assign to the vars.
24760 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24762 # `set' does not quote correctly, so add quotes (double-quote
24763 # substitution turns \\\\ into \\, and sed turns \\ into \).
24766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24769 # `set' quotes correctly as required by POSIX, so do not add quotes.
24771 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24780 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24782 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24783 if test -w $cache_file; then
24784 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24785 cat confcache
>$cache_file
24787 echo "not updating unwritable cache $cache_file"
24792 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24793 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24794 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24795 if test "${wx_cv_lib_glibc21+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 cat >conftest.
$ac_ext <<_ACEOF
24802 cat confdefs.h
>>conftest.
$ac_ext
24803 cat >>conftest.
$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 #include <features.h>
24810 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24818 rm -f conftest.
$ac_objext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24820 (eval $ac_compile) 2>conftest.er1
24822 grep -v '^ *+' conftest.er1
>conftest.err
24824 cat conftest.err
>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try
='test -z "$ac_cxx_werror_flag"
24828 || test ! -s conftest.err'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; } &&
24834 { ac_try
='test -s conftest.$ac_objext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24841 wx_cv_lib_glibc21
=yes
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24848 wx_cv_lib_glibc21
=no
24852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24855 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24856 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24857 if test "$wx_cv_lib_glibc21" = "yes"; then
24858 cat >>confdefs.h
<<\_ACEOF
24859 #define wxHAVE_GLIBC2 1
24865 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24866 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24867 cat >>confdefs.h
<<\_ACEOF
24868 #define _GNU_SOURCE 1
24879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24880 echo "$as_me:$LINENO: checking for $ac_func" >&5
24881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24882 if eval "test \"\${$as_ac_var+set}\" = set"; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 cat >conftest.
$ac_ext <<_ACEOF
24888 cat confdefs.h
>>conftest.
$ac_ext
24889 cat >>conftest.
$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24893 #define $ac_func innocuous_$ac_func
24895 /* System header to define __stub macros and hopefully few prototypes,
24896 which can conflict with char $ac_func (); below.
24897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24898 <limits.h> exists even on freestanding compilers. */
24901 # include <limits.h>
24903 # include <assert.h>
24908 /* Override any gcc2 internal prototype to avoid an error. */
24913 /* We use char because int might match the return type of a gcc2
24914 builtin and then its argument prototype would still apply. */
24916 /* The GNU C library defines this for functions which it implements
24917 to always fail with ENOSYS. Some functions are actually named
24918 something starting with __ and the normal name is an alias. */
24919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24922 char (*f) () = $ac_func;
24931 return f != $ac_func;
24936 rm -f conftest.
$ac_objext conftest
$ac_exeext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24938 (eval $ac_link) 2>conftest.er1
24940 grep -v '^ *+' conftest.er1
>conftest.err
24942 cat conftest.err
>&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try
='test -z "$ac_cxx_werror_flag"
24946 || test ! -s conftest.err'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; } &&
24952 { ac_try
='test -s conftest$ac_exeext'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; }; then
24958 eval "$as_ac_var=yes"
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.
$ac_ext >&5
24963 eval "$as_ac_var=no"
24965 rm -f conftest.err conftest.
$ac_objext \
24966 conftest
$ac_exeext conftest.
$ac_ext
24968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24970 if test `eval echo '${'$as_ac_var'}'` = yes; then
24971 cat >>confdefs.h
<<_ACEOF
24972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24979 for ac_func
in floor
24981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24982 echo "$as_me:$LINENO: checking for $ac_func" >&5
24983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24984 if eval "test \"\${$as_ac_var+set}\" = set"; then
24985 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 cat >conftest.
$ac_ext <<_ACEOF
24990 cat confdefs.h
>>conftest.
$ac_ext
24991 cat >>conftest.
$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24995 #define $ac_func innocuous_$ac_func
24997 /* System header to define __stub macros and hopefully few prototypes,
24998 which can conflict with char $ac_func (); below.
24999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25000 <limits.h> exists even on freestanding compilers. */
25003 # include <limits.h>
25005 # include <assert.h>
25010 /* Override any gcc2 internal prototype to avoid an error. */
25015 /* We use char because int might match the return type of a gcc2
25016 builtin and then its argument prototype would still apply. */
25018 /* The GNU C library defines this for functions which it implements
25019 to always fail with ENOSYS. Some functions are actually named
25020 something starting with __ and the normal name is an alias. */
25021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25024 char (*f) () = $ac_func;
25033 return f != $ac_func;
25038 rm -f conftest.
$ac_objext conftest
$ac_exeext
25039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25040 (eval $ac_link) 2>conftest.er1
25042 grep -v '^ *+' conftest.er1
>conftest.err
25044 cat conftest.err
>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } &&
25047 { ac_try
='test -z "$ac_cxx_werror_flag"
25048 || test ! -s conftest.err'
25049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25050 (eval $ac_try) 2>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); }; } &&
25054 { ac_try
='test -s conftest$ac_exeext'
25055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056 (eval $ac_try) 2>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 eval "$as_ac_var=yes"
25062 echo "$as_me: failed program was:" >&5
25063 sed 's/^/| /' conftest.
$ac_ext >&5
25065 eval "$as_ac_var=no"
25067 rm -f conftest.err conftest.
$ac_objext \
25068 conftest
$ac_exeext conftest.
$ac_ext
25070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25072 if test `eval echo '${'$as_ac_var'}'` = yes; then
25073 cat >>confdefs.h
<<_ACEOF
25074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25080 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25081 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25082 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25083 echo "$as_me:$LINENO: result: yes" >&5
25084 echo "${ECHO_T}yes" >&6
25086 echo "$as_me:$LINENO: result: no" >&5
25087 echo "${ECHO_T}no" >&6
25089 # use different functions to avoid configure caching
25095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25096 echo "$as_me:$LINENO: checking for $ac_func" >&5
25097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25098 if eval "test \"\${$as_ac_var+set}\" = set"; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 cat >conftest.
$ac_ext <<_ACEOF
25104 cat confdefs.h
>>conftest.
$ac_ext
25105 cat >>conftest.
$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109 #define $ac_func innocuous_$ac_func
25111 /* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char $ac_func (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
25117 # include <limits.h>
25119 # include <assert.h>
25124 /* Override any gcc2 internal prototype to avoid an error. */
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25132 /* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25138 char (*f) () = $ac_func;
25147 return f != $ac_func;
25152 rm -f conftest.
$ac_objext conftest
$ac_exeext
25153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25154 (eval $ac_link) 2>conftest.er1
25156 grep -v '^ *+' conftest.er1
>conftest.err
25158 cat conftest.err
>&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
25161 { ac_try
='test -z "$ac_cxx_werror_flag"
25162 || test ! -s conftest.err'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; } &&
25168 { ac_try
='test -s conftest$ac_exeext'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; }; then
25174 eval "$as_ac_var=yes"
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.
$ac_ext >&5
25179 eval "$as_ac_var=no"
25181 rm -f conftest.err conftest.
$ac_objext \
25182 conftest
$ac_exeext conftest.
$ac_ext
25184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25186 if test `eval echo '${'$as_ac_var'}'` = yes; then
25187 cat >>confdefs.h
<<_ACEOF
25188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25195 for ac_func
in ceil
25197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25198 echo "$as_me:$LINENO: checking for $ac_func" >&5
25199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25200 if eval "test \"\${$as_ac_var+set}\" = set"; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 cat >conftest.
$ac_ext <<_ACEOF
25206 cat confdefs.h
>>conftest.
$ac_ext
25207 cat >>conftest.
$ac_ext <<_ACEOF
25208 /* end confdefs.h. */
25209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25211 #define $ac_func innocuous_$ac_func
25213 /* System header to define __stub macros and hopefully few prototypes,
25214 which can conflict with char $ac_func (); below.
25215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25216 <limits.h> exists even on freestanding compilers. */
25219 # include <limits.h>
25221 # include <assert.h>
25226 /* Override any gcc2 internal prototype to avoid an error. */
25231 /* We use char because int might match the return type of a gcc2
25232 builtin and then its argument prototype would still apply. */
25234 /* The GNU C library defines this for functions which it implements
25235 to always fail with ENOSYS. Some functions are actually named
25236 something starting with __ and the normal name is an alias. */
25237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25240 char (*f) () = $ac_func;
25249 return f != $ac_func;
25254 rm -f conftest.
$ac_objext conftest
$ac_exeext
25255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25256 (eval $ac_link) 2>conftest.er1
25258 grep -v '^ *+' conftest.er1
>conftest.err
25260 cat conftest.err
>&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } &&
25263 { ac_try
='test -z "$ac_cxx_werror_flag"
25264 || test ! -s conftest.err'
25265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25266 (eval $ac_try) 2>&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); }; } &&
25270 { ac_try
='test -s conftest$ac_exeext'
25271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25272 (eval $ac_try) 2>&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); }; }; then
25276 eval "$as_ac_var=yes"
25278 echo "$as_me: failed program was:" >&5
25279 sed 's/^/| /' conftest.
$ac_ext >&5
25281 eval "$as_ac_var=no"
25283 rm -f conftest.err conftest.
$ac_objext \
25284 conftest
$ac_exeext conftest.
$ac_ext
25286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25288 if test `eval echo '${'$as_ac_var'}'` = yes; then
25289 cat >>confdefs.h
<<_ACEOF
25290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25296 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25297 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25298 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25299 echo "$as_me:$LINENO: result: yes" >&5
25300 echo "${ECHO_T}yes" >&6
25302 echo "$as_me:$LINENO: result: no" >&5
25303 echo "${ECHO_T}no" >&6
25304 # not sure we should warn the user, crash, etc.
25310 if test "$wxUSE_REGEX" != "no"; then
25311 cat >>confdefs.h
<<\_ACEOF
25312 #define wxUSE_REGEX 1
25316 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25317 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25318 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25319 wxUSE_REGEX
=builtin
25322 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25323 if test "${ac_cv_header_regex_h+set}" = set; then
25324 echo "$as_me:$LINENO: checking for regex.h" >&5
25325 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25326 if test "${ac_cv_header_regex_h+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25330 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25332 # Is the header compilable?
25333 echo "$as_me:$LINENO: checking regex.h usability" >&5
25334 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25335 cat >conftest.
$ac_ext <<_ACEOF
25338 cat confdefs.h
>>conftest.
$ac_ext
25339 cat >>conftest.
$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25341 $ac_includes_default
25344 rm -f conftest.
$ac_objext
25345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25346 (eval $ac_compile) 2>conftest.er1
25348 grep -v '^ *+' conftest.er1
>conftest.err
25350 cat conftest.err
>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } &&
25353 { ac_try
='test -z "$ac_cxx_werror_flag"
25354 || test ! -s conftest.err'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; } &&
25360 { ac_try
='test -s conftest.$ac_objext'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; }; then
25366 ac_header_compiler
=yes
25368 echo "$as_me: failed program was:" >&5
25369 sed 's/^/| /' conftest.
$ac_ext >&5
25371 ac_header_compiler
=no
25373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25375 echo "${ECHO_T}$ac_header_compiler" >&6
25377 # Is the header present?
25378 echo "$as_me:$LINENO: checking regex.h presence" >&5
25379 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25380 cat >conftest.
$ac_ext <<_ACEOF
25383 cat confdefs.h
>>conftest.
$ac_ext
25384 cat >>conftest.
$ac_ext <<_ACEOF
25385 /* end confdefs.h. */
25388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25391 grep -v '^ *+' conftest.er1
>conftest.err
25393 cat conftest.err
>&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); } >/dev
/null
; then
25396 if test -s conftest.err
; then
25397 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25398 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25405 if test -z "$ac_cpp_err"; then
25406 ac_header_preproc
=yes
25408 echo "$as_me: failed program was:" >&5
25409 sed 's/^/| /' conftest.
$ac_ext >&5
25411 ac_header_preproc
=no
25413 rm -f conftest.err conftest.
$ac_ext
25414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25415 echo "${ECHO_T}$ac_header_preproc" >&6
25417 # So? What about this header?
25418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25420 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25421 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25422 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25423 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25424 ac_header_preproc
=yes
25427 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25428 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25429 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25430 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25431 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25432 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25433 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25434 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25435 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25436 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25437 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25438 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25441 ## ----------------------------------------- ##
25442 ## Report this to wx-dev@lists.wxwidgets.org ##
25443 ## ----------------------------------------- ##
25446 sed "s/^/$as_me: WARNING: /" >&2
25449 echo "$as_me:$LINENO: checking for regex.h" >&5
25450 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25451 if test "${ac_cv_header_regex_h+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 ac_cv_header_regex_h
=$ac_header_preproc
25456 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25457 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25460 if test $ac_cv_header_regex_h = yes; then
25463 for ac_func
in regcomp re_search
25465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25466 echo "$as_me:$LINENO: checking for $ac_func" >&5
25467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25468 if eval "test \"\${$as_ac_var+set}\" = set"; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25471 cat >conftest.
$ac_ext <<_ACEOF
25474 cat confdefs.h
>>conftest.
$ac_ext
25475 cat >>conftest.
$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25479 #define $ac_func innocuous_$ac_func
25481 /* System header to define __stub macros and hopefully few prototypes,
25482 which can conflict with char $ac_func (); below.
25483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25484 <limits.h> exists even on freestanding compilers. */
25487 # include <limits.h>
25489 # include <assert.h>
25494 /* Override any gcc2 internal prototype to avoid an error. */
25499 /* We use char because int might match the return type of a gcc2
25500 builtin and then its argument prototype would still apply. */
25502 /* The GNU C library defines this for functions which it implements
25503 to always fail with ENOSYS. Some functions are actually named
25504 something starting with __ and the normal name is an alias. */
25505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25508 char (*f) () = $ac_func;
25517 return f != $ac_func;
25522 rm -f conftest.
$ac_objext conftest
$ac_exeext
25523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25524 (eval $ac_link) 2>conftest.er1
25526 grep -v '^ *+' conftest.er1
>conftest.err
25528 cat conftest.err
>&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); } &&
25531 { ac_try
='test -z "$ac_cxx_werror_flag"
25532 || test ! -s conftest.err'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; } &&
25538 { ac_try
='test -s conftest$ac_exeext'
25539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25540 (eval $ac_try) 2>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; }; then
25544 eval "$as_ac_var=yes"
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.
$ac_ext >&5
25549 eval "$as_ac_var=no"
25551 rm -f conftest.err conftest.
$ac_objext \
25552 conftest
$ac_exeext conftest.
$ac_ext
25554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h
<<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25568 if test "x$ac_cv_func_regcomp" != "xyes"; then
25569 if test "$wxUSE_REGEX" = "sys" ; then
25570 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25571 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25572 { (exit 1); exit 1; }; }
25574 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25575 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25576 wxUSE_REGEX
=builtin
25580 cat >>confdefs.h
<<\_ACEOF
25581 #define WX_NO_REGEX_ADVANCED 1
25590 if test "$wxUSE_ZLIB" != "no" ; then
25591 cat >>confdefs.h
<<\_ACEOF
25592 #define wxUSE_ZLIB 1
25596 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25597 if test "$USE_DARWIN" = 1; then
25598 system_zlib_h_ok
="yes"
25600 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25601 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25602 if test "${ac_cv_header_zlib_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 if test "$cross_compiling" = yes; then
25606 unset ac_cv_header_zlib_h
25609 cat >conftest.
$ac_ext <<_ACEOF
25612 cat confdefs.h
>>conftest.
$ac_ext
25613 cat >>conftest.
$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25621 FILE *f=fopen("conftestval", "w");
25624 ZLIB_VERSION[0] == '1' &&
25625 (ZLIB_VERSION[2] > '1' ||
25626 (ZLIB_VERSION[2] == '1' &&
25627 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25632 rm -f conftest
$ac_exeext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25634 (eval $ac_link) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 ac_cv_header_zlib_h
=`cat conftestval`
25645 echo "$as_me: program exited with status $ac_status" >&5
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 ( exit $ac_status )
25650 ac_cv_header_zlib_h
=no
25652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25656 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25657 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25658 if test "${ac_cv_header_zlib_h+set}" = set; then
25659 echo "$as_me:$LINENO: checking for zlib.h" >&5
25660 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25661 if test "${ac_cv_header_zlib_h+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25665 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25667 # Is the header compilable?
25668 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25669 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25670 cat >conftest.
$ac_ext <<_ACEOF
25673 cat confdefs.h
>>conftest.
$ac_ext
25674 cat >>conftest.
$ac_ext <<_ACEOF
25675 /* end confdefs.h. */
25676 $ac_includes_default
25679 rm -f conftest.
$ac_objext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25681 (eval $ac_compile) 2>conftest.er1
25683 grep -v '^ *+' conftest.er1
>conftest.err
25685 cat conftest.err
>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } &&
25688 { ac_try
='test -z "$ac_cxx_werror_flag"
25689 || test ! -s conftest.err'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; } &&
25695 { ac_try
='test -s conftest.$ac_objext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_header_compiler
=yes
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.
$ac_ext >&5
25706 ac_header_compiler
=no
25708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25710 echo "${ECHO_T}$ac_header_compiler" >&6
25712 # Is the header present?
25713 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25714 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25715 cat >conftest.
$ac_ext <<_ACEOF
25718 cat confdefs.h
>>conftest.
$ac_ext
25719 cat >>conftest.
$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25726 grep -v '^ *+' conftest.er1
>conftest.err
25728 cat conftest.err
>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } >/dev
/null
; then
25731 if test -s conftest.err
; then
25732 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25733 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25740 if test -z "$ac_cpp_err"; then
25741 ac_header_preproc
=yes
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.
$ac_ext >&5
25746 ac_header_preproc
=no
25748 rm -f conftest.err conftest.
$ac_ext
25749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25750 echo "${ECHO_T}$ac_header_preproc" >&6
25752 # So? What about this header?
25753 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25755 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25756 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25757 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25758 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25759 ac_header_preproc
=yes
25762 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25763 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25765 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25766 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25767 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25768 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25769 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25770 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25771 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25772 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25773 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25776 ## ----------------------------------------- ##
25777 ## Report this to wx-dev@lists.wxwidgets.org ##
25778 ## ----------------------------------------- ##
25781 sed "s/^/$as_me: WARNING: /" >&2
25784 echo "$as_me:$LINENO: checking for zlib.h" >&5
25785 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25786 if test "${ac_cv_header_zlib_h+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 ac_cv_header_zlib_h
=$ac_header_preproc
25791 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25792 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25798 system_zlib_h_ok
=$ac_cv_header_zlib_h
25801 if test "$system_zlib_h_ok" = "yes"; then
25802 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25803 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25804 if test "${ac_cv_lib_z_deflate+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25807 ac_check_lib_save_LIBS
=$LIBS
25809 cat >conftest.
$ac_ext <<_ACEOF
25812 cat confdefs.h
>>conftest.
$ac_ext
25813 cat >>conftest.
$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25816 /* Override any gcc2 internal prototype to avoid an error. */
25820 /* We use char because int might match the return type of a gcc2
25821 builtin and then its argument prototype would still apply. */
25831 rm -f conftest.
$ac_objext conftest
$ac_exeext
25832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25833 (eval $ac_link) 2>conftest.er1
25835 grep -v '^ *+' conftest.er1
>conftest.err
25837 cat conftest.err
>&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } &&
25840 { ac_try
='test -z "$ac_cxx_werror_flag"
25841 || test ! -s conftest.err'
25842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843 (eval $ac_try) 2>&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; } &&
25847 { ac_try
='test -s conftest$ac_exeext'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; }; then
25853 ac_cv_lib_z_deflate
=yes
25855 echo "$as_me: failed program was:" >&5
25856 sed 's/^/| /' conftest.
$ac_ext >&5
25858 ac_cv_lib_z_deflate
=no
25860 rm -f conftest.err conftest.
$ac_objext \
25861 conftest
$ac_exeext conftest.
$ac_ext
25862 LIBS
=$ac_check_lib_save_LIBS
25864 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25865 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25866 if test $ac_cv_lib_z_deflate = yes; then
25872 if test "x$ZLIB_LINK" = "x" ; then
25873 if test "$wxUSE_ZLIB" = "sys" ; then
25874 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25875 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25876 { (exit 1); exit 1; }; }
25878 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25879 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25890 if test "$wxUSE_LIBPNG" != "no" ; then
25891 cat >>confdefs.h
<<\_ACEOF
25892 #define wxUSE_LIBPNG 1
25896 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25897 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25898 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25902 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25903 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25904 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25905 wxUSE_LIBPNG
=builtin
25908 if test "$wxUSE_MGL" != 1 ; then
25909 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25910 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25911 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25912 if test "${ac_cv_header_png_h+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 if test "$cross_compiling" = yes; then
25916 unset ac_cv_header_png_h
25919 cat >conftest.
$ac_ext <<_ACEOF
25922 cat confdefs.h
>>conftest.
$ac_ext
25923 cat >>conftest.
$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25931 FILE *f=fopen("conftestval", "w");
25934 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25939 rm -f conftest
$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 ac_cv_header_png_h
=`cat conftestval`
25952 echo "$as_me: program exited with status $ac_status" >&5
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.
$ac_ext >&5
25956 ( exit $ac_status )
25957 ac_cv_header_png_h
=no
25959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25963 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25964 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25965 if test "${ac_cv_header_png_h+set}" = set; then
25966 echo "$as_me:$LINENO: checking for png.h" >&5
25967 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25968 if test "${ac_cv_header_png_h+set}" = set; then
25969 echo $ECHO_N "(cached) $ECHO_C" >&6
25971 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25972 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25974 # Is the header compilable?
25975 echo "$as_me:$LINENO: checking png.h usability" >&5
25976 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25977 cat >conftest.
$ac_ext <<_ACEOF
25980 cat confdefs.h
>>conftest.
$ac_ext
25981 cat >>conftest.
$ac_ext <<_ACEOF
25982 /* end confdefs.h. */
25983 $ac_includes_default
25986 rm -f conftest.
$ac_objext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25988 (eval $ac_compile) 2>conftest.er1
25990 grep -v '^ *+' conftest.er1
>conftest.err
25992 cat conftest.err
>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try
='test -z "$ac_cxx_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try
='test -s conftest.$ac_objext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_header_compiler
=yes
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.
$ac_ext >&5
26013 ac_header_compiler
=no
26015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26017 echo "${ECHO_T}$ac_header_compiler" >&6
26019 # Is the header present?
26020 echo "$as_me:$LINENO: checking png.h presence" >&5
26021 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26022 cat >conftest.
$ac_ext <<_ACEOF
26025 cat confdefs.h
>>conftest.
$ac_ext
26026 cat >>conftest.
$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26033 grep -v '^ *+' conftest.er1
>conftest.err
26035 cat conftest.err
>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } >/dev
/null
; then
26038 if test -s conftest.err
; then
26039 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26040 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26047 if test -z "$ac_cpp_err"; then
26048 ac_header_preproc
=yes
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.
$ac_ext >&5
26053 ac_header_preproc
=no
26055 rm -f conftest.err conftest.
$ac_ext
26056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26057 echo "${ECHO_T}$ac_header_preproc" >&6
26059 # So? What about this header?
26060 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26062 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26063 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26064 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26065 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26066 ac_header_preproc
=yes
26069 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26070 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26071 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26072 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26073 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26074 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26075 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26076 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26077 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26078 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26079 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26080 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26083 ## ----------------------------------------- ##
26084 ## Report this to wx-dev@lists.wxwidgets.org ##
26085 ## ----------------------------------------- ##
26088 sed "s/^/$as_me: WARNING: /" >&2
26091 echo "$as_me:$LINENO: checking for png.h" >&5
26092 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26093 if test "${ac_cv_header_png_h+set}" = set; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26096 ac_cv_header_png_h
=$ac_header_preproc
26098 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26099 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26105 if test "$ac_cv_header_png_h" = "yes"; then
26106 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26107 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26108 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26111 ac_check_lib_save_LIBS
=$LIBS
26112 LIBS
="-lpng -lz -lm $LIBS"
26113 cat >conftest.
$ac_ext <<_ACEOF
26116 cat confdefs.h
>>conftest.
$ac_ext
26117 cat >>conftest.
$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26120 /* Override any gcc2 internal prototype to avoid an error. */
26124 /* We use char because int might match the return type of a gcc2
26125 builtin and then its argument prototype would still apply. */
26126 char png_check_sig ();
26135 rm -f conftest.
$ac_objext conftest
$ac_exeext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26137 (eval $ac_link) 2>conftest.er1
26139 grep -v '^ *+' conftest.er1
>conftest.err
26141 cat conftest.err
>&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); } &&
26144 { ac_try
='test -z "$ac_cxx_werror_flag"
26145 || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try
='test -s conftest$ac_exeext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26157 ac_cv_lib_png_png_check_sig
=yes
26159 echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.
$ac_ext >&5
26162 ac_cv_lib_png_png_check_sig
=no
26164 rm -f conftest.err conftest.
$ac_objext \
26165 conftest
$ac_exeext conftest.
$ac_ext
26166 LIBS
=$ac_check_lib_save_LIBS
26168 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26169 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26170 if test $ac_cv_lib_png_png_check_sig = yes; then
26171 PNG_LINK
=" -lpng -lz"
26176 if test "x$PNG_LINK" = "x" ; then
26177 if test "$wxUSE_LIBPNG" = "sys" ; then
26178 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26179 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26180 { (exit 1); exit 1; }; }
26182 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26183 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26184 wxUSE_LIBPNG
=builtin
26192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26197 if test "$wxUSE_LIBJPEG" != "no" ; then
26198 cat >>confdefs.h
<<\_ACEOF
26199 #define wxUSE_LIBJPEG 1
26203 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26204 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26205 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26209 if test "$wxUSE_MGL" != 1 ; then
26210 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26211 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26212 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26213 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 cat >conftest.
$ac_ext <<_ACEOF
26219 cat confdefs.h
>>conftest.
$ac_ext
26220 cat >>conftest.
$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26223 #undef HAVE_STDLIB_H
26225 #include <jpeglib.h>
26236 rm -f conftest.
$ac_objext
26237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26238 (eval $ac_compile) 2>conftest.er1
26240 grep -v '^ *+' conftest.er1
>conftest.err
26242 cat conftest.err
>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } &&
26245 { ac_try
='test -z "$ac_cxx_werror_flag"
26246 || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest.$ac_objext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_header_jpeglib_h
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_cv_header_jpeglib_h
=no
26266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26270 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26271 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26273 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26274 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26275 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26276 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 ac_check_lib_save_LIBS
=$LIBS
26280 LIBS
="-ljpeg $LIBS"
26281 cat >conftest.
$ac_ext <<_ACEOF
26284 cat confdefs.h
>>conftest.
$ac_ext
26285 cat >>conftest.
$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26288 /* Override any gcc2 internal prototype to avoid an error. */
26292 /* We use char because int might match the return type of a gcc2
26293 builtin and then its argument prototype would still apply. */
26294 char jpeg_read_header ();
26298 jpeg_read_header ();
26303 rm -f conftest.
$ac_objext conftest
$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305 (eval $ac_link) 2>conftest.er1
26307 grep -v '^ *+' conftest.er1
>conftest.err
26309 cat conftest.err
>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try
='test -z "$ac_cxx_werror_flag"
26313 || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try
='test -s conftest$ac_exeext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_cv_lib_jpeg_jpeg_read_header
=yes
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.
$ac_ext >&5
26330 ac_cv_lib_jpeg_jpeg_read_header
=no
26332 rm -f conftest.err conftest.
$ac_objext \
26333 conftest
$ac_exeext conftest.
$ac_ext
26334 LIBS
=$ac_check_lib_save_LIBS
26336 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26337 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26338 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26339 JPEG_LINK
=" -ljpeg"
26344 if test "x$JPEG_LINK" = "x" ; then
26345 if test "$wxUSE_LIBJPEG" = "sys" ; then
26346 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26347 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26348 { (exit 1); exit 1; }; }
26350 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26351 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26352 wxUSE_LIBJPEG
=builtin
26363 TIFF_PREREQ_LINKS
=-lm
26364 if test "$wxUSE_LIBTIFF" != "no" ; then
26365 cat >>confdefs.h
<<\_ACEOF
26366 #define wxUSE_LIBTIFF 1
26370 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26371 if test "$wxUSE_LIBJPEG" = "sys"; then
26372 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26374 if test "$wxUSE_ZLIB" = "sys"; then
26375 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26377 if test "${ac_cv_header_tiffio_h+set}" = set; then
26378 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26379 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26380 if test "${ac_cv_header_tiffio_h+set}" = set; then
26381 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26384 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26386 # Is the header compilable?
26387 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26388 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26389 cat >conftest.
$ac_ext <<_ACEOF
26392 cat confdefs.h
>>conftest.
$ac_ext
26393 cat >>conftest.
$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 $ac_includes_default
26396 #include <tiffio.h>
26398 rm -f conftest.
$ac_objext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400 (eval $ac_compile) 2>conftest.er1
26402 grep -v '^ *+' conftest.er1
>conftest.err
26404 cat conftest.err
>&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } &&
26407 { ac_try
='test -z "$ac_cxx_werror_flag"
26408 || test ! -s conftest.err'
26409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26410 (eval $ac_try) 2>&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; } &&
26414 { ac_try
='test -s conftest.$ac_objext'
26415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 (eval $ac_try) 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; }; then
26420 ac_header_compiler
=yes
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.
$ac_ext >&5
26425 ac_header_compiler
=no
26427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26429 echo "${ECHO_T}$ac_header_compiler" >&6
26431 # Is the header present?
26432 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26433 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26434 cat >conftest.
$ac_ext <<_ACEOF
26437 cat confdefs.h
>>conftest.
$ac_ext
26438 cat >>conftest.
$ac_ext <<_ACEOF
26439 /* end confdefs.h. */
26440 #include <tiffio.h>
26442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26445 grep -v '^ *+' conftest.er1
>conftest.err
26447 cat conftest.err
>&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); } >/dev
/null
; then
26450 if test -s conftest.err
; then
26451 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26452 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26459 if test -z "$ac_cpp_err"; then
26460 ac_header_preproc
=yes
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.
$ac_ext >&5
26465 ac_header_preproc
=no
26467 rm -f conftest.err conftest.
$ac_ext
26468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26469 echo "${ECHO_T}$ac_header_preproc" >&6
26471 # So? What about this header?
26472 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26474 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26475 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26476 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26477 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26478 ac_header_preproc
=yes
26481 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26482 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26484 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26486 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26488 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26490 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26491 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26492 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26495 ## ----------------------------------------- ##
26496 ## Report this to wx-dev@lists.wxwidgets.org ##
26497 ## ----------------------------------------- ##
26500 sed "s/^/$as_me: WARNING: /" >&2
26503 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26504 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26505 if test "${ac_cv_header_tiffio_h+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 ac_cv_header_tiffio_h
=$ac_header_preproc
26510 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26511 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26514 if test $ac_cv_header_tiffio_h = yes; then
26516 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26517 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26518 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26519 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 ac_check_lib_save_LIBS
=$LIBS
26522 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26523 cat >conftest.
$ac_ext <<_ACEOF
26526 cat confdefs.h
>>conftest.
$ac_ext
26527 cat >>conftest.
$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26530 /* Override any gcc2 internal prototype to avoid an error. */
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26545 rm -f conftest.
$ac_objext conftest
$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26549 grep -v '^ *+' conftest.er1
>conftest.err
26551 cat conftest.err
>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try
='test -z "$ac_cxx_werror_flag"
26555 || test ! -s conftest.err'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; } &&
26561 { ac_try
='test -s conftest$ac_exeext'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; }; then
26567 ac_cv_lib_tiff_TIFFError
=yes
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.
$ac_ext >&5
26572 ac_cv_lib_tiff_TIFFError
=no
26574 rm -f conftest.err conftest.
$ac_objext \
26575 conftest
$ac_exeext conftest.
$ac_ext
26576 LIBS
=$ac_check_lib_save_LIBS
26578 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26579 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26580 if test $ac_cv_lib_tiff_TIFFError = yes; then
26581 TIFF_LINK
=" -ltiff"
26590 if test "x$TIFF_LINK" = "x" ; then
26591 if test "$wxUSE_LIBTIFF" = "sys" ; then
26592 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26593 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26594 { (exit 1); exit 1; }; }
26596 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26597 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26598 wxUSE_LIBTIFF
=builtin
26607 if test "$wxUSE_WCHAR_T" != "yes"; then
26608 if test "$wxUSE_EXPAT" != "no"; then
26609 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26610 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26613 if test "$wxUSE_XML" != "no"; then
26614 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26615 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26620 if test "$wxUSE_EXPAT" != "no"; then
26622 cat >>confdefs.h
<<\_ACEOF
26623 #define wxUSE_EXPAT 1
26626 cat >>confdefs.h
<<\_ACEOF
26627 #define wxUSE_XML 1
26631 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26632 if test "${ac_cv_header_expat_h+set}" = set; then
26633 echo "$as_me:$LINENO: checking for expat.h" >&5
26634 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26635 if test "${ac_cv_header_expat_h+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26639 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26641 # Is the header compilable?
26642 echo "$as_me:$LINENO: checking expat.h usability" >&5
26643 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26644 cat >conftest.
$ac_ext <<_ACEOF
26647 cat confdefs.h
>>conftest.
$ac_ext
26648 cat >>conftest.
$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 $ac_includes_default
26653 rm -f conftest.
$ac_objext
26654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26655 (eval $ac_compile) 2>conftest.er1
26657 grep -v '^ *+' conftest.er1
>conftest.err
26659 cat conftest.err
>&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); } &&
26662 { ac_try
='test -z "$ac_cxx_werror_flag"
26663 || test ! -s conftest.err'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try
='test -s conftest.$ac_objext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 ac_header_compiler
=yes
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.
$ac_ext >&5
26680 ac_header_compiler
=no
26682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26684 echo "${ECHO_T}$ac_header_compiler" >&6
26686 # Is the header present?
26687 echo "$as_me:$LINENO: checking expat.h presence" >&5
26688 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26689 cat >conftest.
$ac_ext <<_ACEOF
26692 cat confdefs.h
>>conftest.
$ac_ext
26693 cat >>conftest.
$ac_ext <<_ACEOF
26694 /* end confdefs.h. */
26697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26700 grep -v '^ *+' conftest.er1
>conftest.err
26702 cat conftest.err
>&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } >/dev
/null
; then
26705 if test -s conftest.err
; then
26706 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26707 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26714 if test -z "$ac_cpp_err"; then
26715 ac_header_preproc
=yes
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.
$ac_ext >&5
26720 ac_header_preproc
=no
26722 rm -f conftest.err conftest.
$ac_ext
26723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26724 echo "${ECHO_T}$ac_header_preproc" >&6
26726 # So? What about this header?
26727 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26729 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26730 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26731 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26732 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26733 ac_header_preproc
=yes
26736 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26737 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26739 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26740 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26741 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26742 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26743 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26745 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26747 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26750 ## ----------------------------------------- ##
26751 ## Report this to wx-dev@lists.wxwidgets.org ##
26752 ## ----------------------------------------- ##
26755 sed "s/^/$as_me: WARNING: /" >&2
26758 echo "$as_me:$LINENO: checking for expat.h" >&5
26759 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26760 if test "${ac_cv_header_expat_h+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 ac_cv_header_expat_h
=$ac_header_preproc
26765 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26766 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26769 if test $ac_cv_header_expat_h = yes; then
26774 if test "x$found_expat_h" = "x1"; then
26775 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26776 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26777 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26796 rm -f conftest.
$ac_objext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26798 (eval $ac_compile) 2>conftest.er1
26800 grep -v '^ *+' conftest.er1
>conftest.err
26802 cat conftest.err
>&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } &&
26805 { ac_try
='test -z "$ac_cxx_werror_flag"
26806 || test ! -s conftest.err'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; } &&
26812 { ac_try
='test -s conftest.$ac_objext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 wx_cv_expat_is_not_broken
=yes
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.
$ac_ext >&5
26823 wx_cv_expat_is_not_broken
=no
26826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26830 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26831 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26832 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26833 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26834 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26835 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 ac_check_lib_save_LIBS
=$LIBS
26839 LIBS
="-lexpat $LIBS"
26840 cat >conftest.
$ac_ext <<_ACEOF
26843 cat confdefs.h
>>conftest.
$ac_ext
26844 cat >>conftest.
$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26847 /* Override any gcc2 internal prototype to avoid an error. */
26851 /* We use char because int might match the return type of a gcc2
26852 builtin and then its argument prototype would still apply. */
26853 char XML_ParserCreate ();
26857 XML_ParserCreate ();
26862 rm -f conftest.
$ac_objext conftest
$ac_exeext
26863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26864 (eval $ac_link) 2>conftest.er1
26866 grep -v '^ *+' conftest.er1
>conftest.err
26868 cat conftest.err
>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); } &&
26871 { ac_try
='test -z "$ac_cxx_werror_flag"
26872 || test ! -s conftest.err'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; } &&
26878 { ac_try
='test -s conftest$ac_exeext'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; }; then
26884 ac_cv_lib_expat_XML_ParserCreate
=yes
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.
$ac_ext >&5
26889 ac_cv_lib_expat_XML_ParserCreate
=no
26891 rm -f conftest.err conftest.
$ac_objext \
26892 conftest
$ac_exeext conftest.
$ac_ext
26893 LIBS
=$ac_check_lib_save_LIBS
26895 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26896 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26897 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26898 EXPAT_LINK
=" -lexpat"
26903 if test "x$EXPAT_LINK" = "x" ; then
26904 if test "$wxUSE_EXPAT" = "sys" ; then
26905 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26906 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26907 { (exit 1); exit 1; }; }
26909 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26910 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26911 wxUSE_EXPAT
=builtin
26917 if test "$wxUSE_EXPAT" = "builtin" ; then
26920 subdirs
="$subdirs src/expat"
26927 if test "$wxUSE_LIBMSPACK" != "no"; then
26928 if test "${ac_cv_header_mspack_h+set}" = set; then
26929 echo "$as_me:$LINENO: checking for mspack.h" >&5
26930 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26931 if test "${ac_cv_header_mspack_h+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26935 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26937 # Is the header compilable?
26938 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26939 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26940 cat >conftest.
$ac_ext <<_ACEOF
26943 cat confdefs.h
>>conftest.
$ac_ext
26944 cat >>conftest.
$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946 $ac_includes_default
26947 #include <mspack.h>
26949 rm -f conftest.
$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>conftest.er1
26953 grep -v '^ *+' conftest.er1
>conftest.err
26955 cat conftest.err
>&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try
='test -z "$ac_cxx_werror_flag"
26959 || test ! -s conftest.err'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; } &&
26965 { ac_try
='test -s conftest.$ac_objext'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; }; then
26971 ac_header_compiler
=yes
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.
$ac_ext >&5
26976 ac_header_compiler
=no
26978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26980 echo "${ECHO_T}$ac_header_compiler" >&6
26982 # Is the header present?
26983 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26984 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26985 cat >conftest.
$ac_ext <<_ACEOF
26988 cat confdefs.h
>>conftest.
$ac_ext
26989 cat >>conftest.
$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991 #include <mspack.h>
26993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26996 grep -v '^ *+' conftest.er1
>conftest.err
26998 cat conftest.err
>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } >/dev
/null
; then
27001 if test -s conftest.err
; then
27002 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27003 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27010 if test -z "$ac_cpp_err"; then
27011 ac_header_preproc
=yes
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.
$ac_ext >&5
27016 ac_header_preproc
=no
27018 rm -f conftest.err conftest.
$ac_ext
27019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27020 echo "${ECHO_T}$ac_header_preproc" >&6
27022 # So? What about this header?
27023 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27025 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27026 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27027 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27028 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27029 ac_header_preproc
=yes
27032 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27033 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27034 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27035 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27036 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27037 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27038 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27039 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27040 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27041 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27043 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27046 ## ----------------------------------------- ##
27047 ## Report this to wx-dev@lists.wxwidgets.org ##
27048 ## ----------------------------------------- ##
27051 sed "s/^/$as_me: WARNING: /" >&2
27054 echo "$as_me:$LINENO: checking for mspack.h" >&5
27055 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27056 if test "${ac_cv_header_mspack_h+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 ac_cv_header_mspack_h
=$ac_header_preproc
27061 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27062 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27065 if test $ac_cv_header_mspack_h = yes; then
27070 if test "x$found_mspack_h" = "x1"; then
27071 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27072 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27073 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 ac_check_lib_save_LIBS
=$LIBS
27077 LIBS
="-lmspack $LIBS"
27078 cat >conftest.
$ac_ext <<_ACEOF
27081 cat confdefs.h
>>conftest.
$ac_ext
27082 cat >>conftest.
$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27085 /* Override any gcc2 internal prototype to avoid an error. */
27089 /* We use char because int might match the return type of a gcc2
27090 builtin and then its argument prototype would still apply. */
27091 char mspack_create_chm_decompressor ();
27095 mspack_create_chm_decompressor ();
27100 rm -f conftest.
$ac_objext conftest
$ac_exeext
27101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27102 (eval $ac_link) 2>conftest.er1
27104 grep -v '^ *+' conftest.er1
>conftest.err
27106 cat conftest.err
>&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } &&
27109 { ac_try
='test -z "$ac_cxx_werror_flag"
27110 || test ! -s conftest.err'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; } &&
27116 { ac_try
='test -s conftest$ac_exeext'
27117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27118 (eval $ac_try) 2>&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); }; }; then
27122 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.
$ac_ext >&5
27127 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27129 rm -f conftest.err conftest.
$ac_objext \
27130 conftest
$ac_exeext conftest.
$ac_ext
27131 LIBS
=$ac_check_lib_save_LIBS
27133 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27134 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27135 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27136 MSPACK_LINK
=" -lmspack"
27140 if test "x$MSPACK_LINK" = "x" ; then
27145 if test "$wxUSE_LIBMSPACK" != "no"; then
27146 cat >>confdefs.h
<<\_ACEOF
27147 #define wxUSE_LIBMSPACK 1
27161 if test "$USE_WIN32" = 1 ; then
27163 for ac_header
in w32api.h
27165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27167 echo "$as_me:$LINENO: checking for $ac_header" >&5
27168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27175 # Is the header compilable?
27176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27178 cat >conftest.
$ac_ext <<_ACEOF
27181 cat confdefs.h
>>conftest.
$ac_ext
27182 cat >>conftest.
$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27184 $ac_includes_default
27185 #include <$ac_header>
27187 rm -f conftest.
$ac_objext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27189 (eval $ac_compile) 2>conftest.er1
27191 grep -v '^ *+' conftest.er1
>conftest.err
27193 cat conftest.err
>&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try
='test -z "$ac_cxx_werror_flag"
27197 || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try
='test -s conftest.$ac_objext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 ac_header_compiler
=yes
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.
$ac_ext >&5
27214 ac_header_compiler
=no
27216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27218 echo "${ECHO_T}$ac_header_compiler" >&6
27220 # Is the header present?
27221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27223 cat >conftest.
$ac_ext <<_ACEOF
27226 cat confdefs.h
>>conftest.
$ac_ext
27227 cat >>conftest.
$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 #include <$ac_header>
27231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27234 grep -v '^ *+' conftest.er1
>conftest.err
27236 cat conftest.err
>&5
27237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27238 (exit $ac_status); } >/dev
/null
; then
27239 if test -s conftest.err
; then
27240 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27241 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27248 if test -z "$ac_cpp_err"; then
27249 ac_header_preproc
=yes
27251 echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.
$ac_ext >&5
27254 ac_header_preproc
=no
27256 rm -f conftest.err conftest.
$ac_ext
27257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27258 echo "${ECHO_T}$ac_header_preproc" >&6
27260 # So? What about this header?
27261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27267 ac_header_preproc
=yes
27270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27284 ## ----------------------------------------- ##
27285 ## Report this to wx-dev@lists.wxwidgets.org ##
27286 ## ----------------------------------------- ##
27289 sed "s/^/$as_me: WARNING: /" >&2
27292 echo "$as_me:$LINENO: checking for $ac_header" >&5
27293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27295 echo $ECHO_N "(cached) $ECHO_C" >&6
27297 eval "$as_ac_Header=\$ac_header_preproc"
27299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27304 cat >>confdefs.h
<<_ACEOF
27305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27312 if test "${ac_cv_header_windows_h+set}" = set; then
27313 echo "$as_me:$LINENO: checking for windows.h" >&5
27314 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27315 if test "${ac_cv_header_windows_h+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27319 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27321 # Is the header compilable?
27322 echo "$as_me:$LINENO: checking windows.h usability" >&5
27323 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27324 cat >conftest.
$ac_ext <<_ACEOF
27327 cat confdefs.h
>>conftest.
$ac_ext
27328 cat >>conftest.
$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330 $ac_includes_default
27331 #include <windows.h>
27333 rm -f conftest.
$ac_objext
27334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27335 (eval $ac_compile) 2>conftest.er1
27337 grep -v '^ *+' conftest.er1
>conftest.err
27339 cat conftest.err
>&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); } &&
27342 { ac_try
='test -z "$ac_cxx_werror_flag"
27343 || test ! -s conftest.err'
27344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345 (eval $ac_try) 2>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); }; } &&
27349 { ac_try
='test -s conftest.$ac_objext'
27350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351 (eval $ac_try) 2>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); }; }; then
27355 ac_header_compiler
=yes
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.
$ac_ext >&5
27360 ac_header_compiler
=no
27362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27364 echo "${ECHO_T}$ac_header_compiler" >&6
27366 # Is the header present?
27367 echo "$as_me:$LINENO: checking windows.h presence" >&5
27368 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27369 cat >conftest.
$ac_ext <<_ACEOF
27372 cat confdefs.h
>>conftest.
$ac_ext
27373 cat >>conftest.
$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375 #include <windows.h>
27377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27380 grep -v '^ *+' conftest.er1
>conftest.err
27382 cat conftest.err
>&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } >/dev
/null
; then
27385 if test -s conftest.err
; then
27386 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27387 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27394 if test -z "$ac_cpp_err"; then
27395 ac_header_preproc
=yes
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.
$ac_ext >&5
27400 ac_header_preproc
=no
27402 rm -f conftest.err conftest.
$ac_ext
27403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27404 echo "${ECHO_T}$ac_header_preproc" >&6
27406 # So? What about this header?
27407 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27409 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27410 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27411 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27412 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27413 ac_header_preproc
=yes
27416 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27417 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27418 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27419 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27420 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27421 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27422 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27423 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27424 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27425 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27426 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27427 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27430 ## ----------------------------------------- ##
27431 ## Report this to wx-dev@lists.wxwidgets.org ##
27432 ## ----------------------------------------- ##
27435 sed "s/^/$as_me: WARNING: /" >&2
27438 echo "$as_me:$LINENO: checking for windows.h" >&5
27439 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27440 if test "${ac_cv_header_windows_h+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27443 ac_cv_header_windows_h
=$ac_header_preproc
27445 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27446 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27449 if test $ac_cv_header_windows_h = yes; then
27453 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27454 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27455 { (exit 1); exit 1; }; }
27461 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27463 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27464 LIBS
="$LIBS -loleacc"
27469 LIBS
="$LIBS -lkernel32 -luser32"
27472 if test "$wxUSE_ODBC" = "sys" ; then
27475 if test "$wxUSE_ODBC" = "yes" ; then
27476 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27477 cat >>confdefs.h
<<\_ACEOF
27478 #define wxUSE_ODBC 1
27483 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27484 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27486 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27488 WIN32INSTALL
=win32install
27490 echo "$as_me:$LINENO: checking for boolean" >&5
27491 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27492 if test "${ac_cv_type_boolean+set}" = set; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 cat >conftest.
$ac_ext <<_ACEOF
27498 cat confdefs.h
>>conftest.
$ac_ext
27499 cat >>conftest.
$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27501 #include <windows.h>
27508 if (sizeof (boolean))
27514 rm -f conftest.
$ac_objext
27515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27516 (eval $ac_compile) 2>conftest.er1
27518 grep -v '^ *+' conftest.er1
>conftest.err
27520 cat conftest.err
>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } &&
27523 { ac_try
='test -z "$ac_cxx_werror_flag"
27524 || test ! -s conftest.err'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; } &&
27530 { ac_try
='test -s conftest.$ac_objext'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; }; then
27536 ac_cv_type_boolean
=yes
27538 echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.
$ac_ext >&5
27541 ac_cv_type_boolean
=no
27543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27545 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27546 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27547 if test $ac_cv_type_boolean = yes; then
27549 cat >>confdefs.h
<<_ACEOF
27550 #define HAVE_BOOLEAN 1
27558 for ac_header
in pbt.h
27560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27562 echo "$as_me:$LINENO: checking for $ac_header" >&5
27563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27570 # Is the header compilable?
27571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27573 cat >conftest.
$ac_ext <<_ACEOF
27576 cat confdefs.h
>>conftest.
$ac_ext
27577 cat >>conftest.
$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579 $ac_includes_default
27580 #include <$ac_header>
27582 rm -f conftest.
$ac_objext
27583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27584 (eval $ac_compile) 2>conftest.er1
27586 grep -v '^ *+' conftest.er1
>conftest.err
27588 cat conftest.err
>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); } &&
27591 { ac_try
='test -z "$ac_cxx_werror_flag"
27592 || test ! -s conftest.err'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; } &&
27598 { ac_try
='test -s conftest.$ac_objext'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; }; then
27604 ac_header_compiler
=yes
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.
$ac_ext >&5
27609 ac_header_compiler
=no
27611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27613 echo "${ECHO_T}$ac_header_compiler" >&6
27615 # Is the header present?
27616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27618 cat >conftest.
$ac_ext <<_ACEOF
27621 cat confdefs.h
>>conftest.
$ac_ext
27622 cat >>conftest.
$ac_ext <<_ACEOF
27623 /* end confdefs.h. */
27624 #include <$ac_header>
27626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27629 grep -v '^ *+' conftest.er1
>conftest.err
27631 cat conftest.err
>&5
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); } >/dev
/null
; then
27634 if test -s conftest.err
; then
27635 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27636 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27643 if test -z "$ac_cpp_err"; then
27644 ac_header_preproc
=yes
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.
$ac_ext >&5
27649 ac_header_preproc
=no
27651 rm -f conftest.err conftest.
$ac_ext
27652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27653 echo "${ECHO_T}$ac_header_preproc" >&6
27655 # So? What about this header?
27656 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27662 ac_header_preproc
=yes
27665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27679 ## ----------------------------------------- ##
27680 ## Report this to wx-dev@lists.wxwidgets.org ##
27681 ## ----------------------------------------- ##
27684 sed "s/^/$as_me: WARNING: /" >&2
27687 echo "$as_me:$LINENO: checking for $ac_header" >&5
27688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27692 eval "$as_ac_Header=\$ac_header_preproc"
27694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27699 cat >>confdefs.h
<<_ACEOF
27700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27704 cat >>confdefs.h
<<\_ACEOF
27705 #define NEED_PBT_H 1
27714 if test "$wxUSE_GUI" = "yes"; then
27724 if test "$wxUSE_COCOA" = 1 ; then
27725 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27726 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27727 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27728 wxUSE_PRINTING_ARCHITECTURE
=no
27730 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27731 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27732 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27733 wxUSE_DRAG_AND_DROP
=no
27735 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27737 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27742 if test "$wxUSE_MSW" = 1 ; then
27748 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27752 if test "$wxUSE_GTK" = 1; then
27754 ac_cpp
='$CPP $CPPFLAGS'
27755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27760 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27761 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27763 gtk_version_cached
=1
27764 if test "${wx_cv_lib_gtk+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27768 gtk_version_cached
=0
27769 echo "$as_me:$LINENO: result: " >&5
27770 echo "${ECHO_T}" >&6
27773 if test "$wxUSE_THREADS" = "yes"; then
27774 GTK_MODULES
=gthread
27778 if test "x$wxGTK_VERSION" != "x1"
27782 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27787 # Check whether --enable-gtktest or --disable-gtktest was given.
27788 if test "${enable_gtktest+set}" = set; then
27789 enableval
="$enable_gtktest"
27795 pkg_config_args
=gtk
+-2.0
27796 for module
in .
$GTK_MODULES
27800 pkg_config_args
="$pkg_config_args gthread-2.0"
27807 # Extract the first word of "pkg-config", so it can be a program name with args.
27808 set dummy pkg
-config; ac_word
=$2
27809 echo "$as_me:$LINENO: checking for $ac_word" >&5
27810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 case $PKG_CONFIG in
27816 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27820 for as_dir
in $PATH
27823 test -z "$as_dir" && as_dir
=.
27824 for ac_exec_ext
in '' $ac_executable_extensions; do
27825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27826 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27837 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27839 if test -n "$PKG_CONFIG"; then
27840 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27841 echo "${ECHO_T}$PKG_CONFIG" >&6
27843 echo "$as_me:$LINENO: result: no" >&5
27844 echo "${ECHO_T}no" >&6
27848 if test x
$PKG_CONFIG != xno
; then
27849 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27852 echo "*** pkg-config too old; version 0.7 or better required."
27860 min_gtk_version
=2.0.0
27861 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27862 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27864 if test x
$PKG_CONFIG != xno
; then
27865 ## don't try to run the test against uninstalled libtool libs
27866 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27867 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27871 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27878 if test x
"$no_gtk" = x
; then
27879 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27880 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27881 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27883 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27885 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27887 if test "x$enable_gtktest" = "xyes" ; then
27888 ac_save_CFLAGS
="$CFLAGS"
27889 ac_save_LIBS
="$LIBS"
27890 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27891 LIBS
="$GTK_LIBS $LIBS"
27893 if test "$cross_compiling" = yes; then
27894 echo $ac_n "cross compiling; assumed OK... $ac_c"
27896 cat >conftest.
$ac_ext <<_ACEOF
27899 cat confdefs.h
>>conftest.
$ac_ext
27900 cat >>conftest.
$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27903 #include <gtk/gtk.h>
27905 #include <stdlib.h>
27910 int major, minor, micro;
27913 system ("touch conf.gtktest");
27915 /* HP/UX 9 (%@#!) writes to sscanf strings */
27916 tmp_version = g_strdup("$min_gtk_version");
27917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27918 printf("%s, bad version string\n", "$min_gtk_version");
27922 if ((gtk_major_version != $gtk_config_major_version) ||
27923 (gtk_minor_version != $gtk_config_minor_version) ||
27924 (gtk_micro_version != $gtk_config_micro_version))
27926 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27928 gtk_major_version, gtk_minor_version, gtk_micro_version);
27929 printf ("*** was found! If pkg-config was correct, then it is best\n");
27930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27933 printf("*** required on your system.\n");
27934 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27935 printf("*** to point to the correct configuration files\n");
27937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27938 (gtk_minor_version != GTK_MINOR_VERSION) ||
27939 (gtk_micro_version != GTK_MICRO_VERSION))
27941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27943 printf("*** library (version %d.%d.%d)\n",
27944 gtk_major_version, gtk_minor_version, gtk_micro_version);
27948 if ((gtk_major_version > major) ||
27949 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27950 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27956 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27957 gtk_major_version, gtk_minor_version, gtk_micro_version);
27958 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27959 major, minor, micro);
27960 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27962 printf("*** If you have already installed a sufficiently new version, this error\n");
27963 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27964 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27965 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27966 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27967 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27968 printf("*** so that the correct libraries are found at run-time))\n");
27975 rm -f conftest
$ac_exeext
27976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27977 (eval $ac_link) 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27988 echo "$as_me: program exited with status $ac_status" >&5
27989 echo "$as_me: failed program was:" >&5
27990 sed 's/^/| /' conftest.
$ac_ext >&5
27992 ( exit $ac_status )
27995 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27997 CFLAGS
="$ac_save_CFLAGS"
27998 LIBS
="$ac_save_LIBS"
28001 if test "x$no_gtk" = x
; then
28002 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28003 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28006 echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6
28008 if test "$PKG_CONFIG" = "no" ; then
28009 echo "*** A new enough version of pkg-config was not found."
28010 echo "*** See http://pkgconfig.sourceforge.net"
28012 if test -f conf.gtktest
; then
28015 echo "*** Could not run GTK+ test program, checking why..."
28016 ac_save_CFLAGS
="$CFLAGS"
28017 ac_save_LIBS
="$LIBS"
28018 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28019 LIBS
="$LIBS $GTK_LIBS"
28020 cat >conftest.
$ac_ext <<_ACEOF
28023 cat confdefs.h
>>conftest.
$ac_ext
28024 cat >>conftest.
$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28027 #include <gtk/gtk.h>
28033 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28038 rm -f conftest.
$ac_objext conftest
$ac_exeext
28039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28040 (eval $ac_link) 2>conftest.er1
28042 grep -v '^ *+' conftest.er1
>conftest.err
28044 cat conftest.err
>&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } &&
28047 { ac_try
='test -z "$ac_c_werror_flag"
28048 || test ! -s conftest.err'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; } &&
28054 { ac_try
='test -s conftest$ac_exeext'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; }; then
28060 echo "*** The test program compiled, but did not run. This usually means"
28061 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28062 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28063 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28064 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28065 echo "*** is required on your system"
28067 echo "*** If you have an old version installed, it is best to remove it, although"
28068 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.
$ac_ext >&5
28073 echo "*** The test program failed to compile or link. See the file config.log for the"
28074 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28076 rm -f conftest.err conftest.
$ac_objext \
28077 conftest
$ac_exeext conftest.
$ac_ext
28078 CFLAGS
="$ac_save_CFLAGS"
28079 LIBS
="$ac_save_LIBS"
28093 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28094 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28095 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28097 if test "$wxUSE_SHARED" != "yes"; then
28098 GTK_LIBS
="$GTK_LIBS -lX11"
28103 if test -z "$wx_cv_lib_gtk"; then
28104 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28106 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28107 if test "${with_gtk_prefix+set}" = set; then
28108 withval
="$with_gtk_prefix"
28109 gtk_config_prefix
="$withval"
28111 gtk_config_prefix
=""
28114 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28115 if test "${with_gtk_exec_prefix+set}" = set; then
28116 withval
="$with_gtk_exec_prefix"
28117 gtk_config_exec_prefix
="$withval"
28119 gtk_config_exec_prefix
=""
28121 # Check whether --enable-gtktest or --disable-gtktest was given.
28122 if test "${enable_gtktest+set}" = set; then
28123 enableval
="$enable_gtktest"
28129 for module
in .
$GTK_MODULES
28133 gtk_config_args
="$gtk_config_args gthread"
28138 if test x
$gtk_config_exec_prefix != x
; then
28139 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28140 if test x
${GTK_CONFIG+set} != xset
; then
28141 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28144 if test x
$gtk_config_prefix != x
; then
28145 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28146 if test x
${GTK_CONFIG+set} != xset
; then
28147 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28151 # Extract the first word of "gtk-config", so it can be a program name with args.
28152 set dummy gtk
-config; ac_word
=$2
28153 echo "$as_me:$LINENO: checking for $ac_word" >&5
28154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28155 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 case $GTK_CONFIG in
28160 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28164 for as_dir
in $PATH
28167 test -z "$as_dir" && as_dir
=.
28168 for ac_exec_ext
in '' $ac_executable_extensions; do
28169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28170 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28177 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28181 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28183 if test -n "$GTK_CONFIG"; then
28184 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28185 echo "${ECHO_T}$GTK_CONFIG" >&6
28187 echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6
28191 min_gtk_version
=1.2.7
28192 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28193 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28195 if test "$GTK_CONFIG" = "no" ; then
28198 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28199 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28200 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28202 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28204 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28206 if test "x$enable_gtktest" = "xyes" ; then
28207 ac_save_CFLAGS
="$CFLAGS"
28208 ac_save_LIBS
="$LIBS"
28209 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28210 LIBS
="$GTK_LIBS $LIBS"
28212 if test "$cross_compiling" = yes; then
28213 echo $ac_n "cross compiling; assumed OK... $ac_c"
28215 cat >conftest.
$ac_ext <<_ACEOF
28218 cat confdefs.h
>>conftest.
$ac_ext
28219 cat >>conftest.
$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28222 #include <gtk/gtk.h>
28224 #include <stdlib.h>
28229 int major, minor, micro;
28232 system ("touch conf.gtktest");
28234 /* HP/UX 9 (%@#!) writes to sscanf strings */
28235 tmp_version = g_strdup("$min_gtk_version");
28236 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28237 printf("%s, bad version string\n", "$min_gtk_version");
28241 if ((gtk_major_version != $gtk_config_major_version) ||
28242 (gtk_minor_version != $gtk_config_minor_version) ||
28243 (gtk_micro_version != $gtk_config_micro_version))
28245 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28246 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28247 gtk_major_version, gtk_minor_version, gtk_micro_version);
28248 printf ("*** was found! If gtk-config was correct, then it is best\n");
28249 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28250 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28251 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28252 printf("*** required on your system.\n");
28253 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28254 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28255 printf("*** before re-running configure\n");
28257 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28259 (gtk_minor_version != GTK_MINOR_VERSION) ||
28260 (gtk_micro_version != GTK_MICRO_VERSION))
28262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28264 printf("*** library (version %d.%d.%d)\n",
28265 gtk_major_version, gtk_minor_version, gtk_micro_version);
28267 #endif /* defined (GTK_MAJOR_VERSION) ... */
28270 if ((gtk_major_version > major) ||
28271 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28272 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28278 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28279 gtk_major_version, gtk_minor_version, gtk_micro_version);
28280 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28281 major, minor, micro);
28282 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28284 printf("*** If you have already installed a sufficiently new version, this error\n");
28285 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28286 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28287 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28288 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28289 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28290 printf("*** so that the correct libraries are found at run-time))\n");
28297 rm -f conftest
$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299 (eval $ac_link) 2>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28310 echo "$as_me: program exited with status $ac_status" >&5
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.
$ac_ext >&5
28314 ( exit $ac_status )
28317 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28319 CFLAGS
="$ac_save_CFLAGS"
28320 LIBS
="$ac_save_LIBS"
28323 if test "x$no_gtk" = x
; then
28324 echo "$as_me:$LINENO: result: yes" >&5
28325 echo "${ECHO_T}yes" >&6
28326 wx_cv_lib_gtk
=1.2.7
28328 echo "$as_me:$LINENO: result: no" >&5
28329 echo "${ECHO_T}no" >&6
28330 if test "$GTK_CONFIG" = "no" ; then
28331 echo "*** The gtk-config script installed by GTK could not be found"
28332 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28333 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28334 echo "*** full path to gtk-config."
28336 if test -f conf.gtktest
; then
28339 echo "*** Could not run GTK test program, checking why..."
28340 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28341 LIBS
="$LIBS $GTK_LIBS"
28342 cat >conftest.
$ac_ext <<_ACEOF
28345 cat confdefs.h
>>conftest.
$ac_ext
28346 cat >>conftest.
$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28349 #include <gtk/gtk.h>
28355 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28360 rm -f conftest.
$ac_objext conftest
$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>conftest.er1
28364 grep -v '^ *+' conftest.er1
>conftest.err
28366 cat conftest.err
>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } &&
28369 { ac_try
='test -z "$ac_c_werror_flag"
28370 || test ! -s conftest.err'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try
='test -s conftest$ac_exeext'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; }; then
28382 echo "*** The test program compiled, but did not run. This usually means"
28383 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28384 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28387 echo "*** is required on your system"
28389 echo "*** If you have an old version installed, it is best to remove it, although"
28390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28392 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28393 echo "*** came with the system with the command"
28395 echo "*** rpm --erase --nodeps gtk gtk-devel"
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.
$ac_ext >&5
28400 echo "*** The test program failed to compile or link. See the file config.log for the"
28401 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28402 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28403 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28405 rm -f conftest.err conftest.
$ac_objext \
28406 conftest
$ac_exeext conftest.
$ac_ext
28407 CFLAGS
="$ac_save_CFLAGS"
28408 LIBS
="$ac_save_LIBS"
28420 if test -z "$wx_cv_lib_gtk"; then
28422 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28423 if test "${with_gtk_prefix+set}" = set; then
28424 withval
="$with_gtk_prefix"
28425 gtk_config_prefix
="$withval"
28427 gtk_config_prefix
=""
28430 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28431 if test "${with_gtk_exec_prefix+set}" = set; then
28432 withval
="$with_gtk_exec_prefix"
28433 gtk_config_exec_prefix
="$withval"
28435 gtk_config_exec_prefix
=""
28437 # Check whether --enable-gtktest or --disable-gtktest was given.
28438 if test "${enable_gtktest+set}" = set; then
28439 enableval
="$enable_gtktest"
28445 for module
in .
$GTK_MODULES
28449 gtk_config_args
="$gtk_config_args gthread"
28454 if test x
$gtk_config_exec_prefix != x
; then
28455 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28456 if test x
${GTK_CONFIG+set} != xset
; then
28457 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28460 if test x
$gtk_config_prefix != x
; then
28461 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28462 if test x
${GTK_CONFIG+set} != xset
; then
28463 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28467 # Extract the first word of "gtk-config", so it can be a program name with args.
28468 set dummy gtk
-config; ac_word
=$2
28469 echo "$as_me:$LINENO: checking for $ac_word" >&5
28470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28471 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28474 case $GTK_CONFIG in
28476 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28480 for as_dir
in $PATH
28483 test -z "$as_dir" && as_dir
=.
28484 for ac_exec_ext
in '' $ac_executable_extensions; do
28485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28486 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28493 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28497 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28499 if test -n "$GTK_CONFIG"; then
28500 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28501 echo "${ECHO_T}$GTK_CONFIG" >&6
28503 echo "$as_me:$LINENO: result: no" >&5
28504 echo "${ECHO_T}no" >&6
28507 min_gtk_version
=1.2.3
28508 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28509 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28511 if test "$GTK_CONFIG" = "no" ; then
28514 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28515 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28516 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28518 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28520 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28522 if test "x$enable_gtktest" = "xyes" ; then
28523 ac_save_CFLAGS
="$CFLAGS"
28524 ac_save_LIBS
="$LIBS"
28525 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28526 LIBS
="$GTK_LIBS $LIBS"
28528 if test "$cross_compiling" = yes; then
28529 echo $ac_n "cross compiling; assumed OK... $ac_c"
28531 cat >conftest.
$ac_ext <<_ACEOF
28534 cat confdefs.h
>>conftest.
$ac_ext
28535 cat >>conftest.
$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28538 #include <gtk/gtk.h>
28540 #include <stdlib.h>
28545 int major, minor, micro;
28548 system ("touch conf.gtktest");
28550 /* HP/UX 9 (%@#!) writes to sscanf strings */
28551 tmp_version = g_strdup("$min_gtk_version");
28552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28553 printf("%s, bad version string\n", "$min_gtk_version");
28557 if ((gtk_major_version != $gtk_config_major_version) ||
28558 (gtk_minor_version != $gtk_config_minor_version) ||
28559 (gtk_micro_version != $gtk_config_micro_version))
28561 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28562 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28563 gtk_major_version, gtk_minor_version, gtk_micro_version);
28564 printf ("*** was found! If gtk-config was correct, then it is best\n");
28565 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28566 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28567 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28568 printf("*** required on your system.\n");
28569 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28570 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28571 printf("*** before re-running configure\n");
28573 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28574 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28575 (gtk_minor_version != GTK_MINOR_VERSION) ||
28576 (gtk_micro_version != GTK_MICRO_VERSION))
28578 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28579 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28580 printf("*** library (version %d.%d.%d)\n",
28581 gtk_major_version, gtk_minor_version, gtk_micro_version);
28583 #endif /* defined (GTK_MAJOR_VERSION) ... */
28586 if ((gtk_major_version > major) ||
28587 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28588 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28594 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28595 gtk_major_version, gtk_minor_version, gtk_micro_version);
28596 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28597 major, minor, micro);
28598 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28600 printf("*** If you have already installed a sufficiently new version, this error\n");
28601 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28602 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28603 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28604 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28605 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28606 printf("*** so that the correct libraries are found at run-time))\n");
28613 rm -f conftest
$ac_exeext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28615 (eval $ac_link) 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28626 echo "$as_me: program exited with status $ac_status" >&5
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.
$ac_ext >&5
28630 ( exit $ac_status )
28633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28635 CFLAGS
="$ac_save_CFLAGS"
28636 LIBS
="$ac_save_LIBS"
28639 if test "x$no_gtk" = x
; then
28640 echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6
28642 wx_cv_lib_gtk
=1.2.3
28644 echo "$as_me:$LINENO: result: no" >&5
28645 echo "${ECHO_T}no" >&6
28646 if test "$GTK_CONFIG" = "no" ; then
28647 echo "*** The gtk-config script installed by GTK could not be found"
28648 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28649 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28650 echo "*** full path to gtk-config."
28652 if test -f conf.gtktest
; then
28655 echo "*** Could not run GTK test program, checking why..."
28656 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28657 LIBS
="$LIBS $GTK_LIBS"
28658 cat >conftest.
$ac_ext <<_ACEOF
28661 cat confdefs.h
>>conftest.
$ac_ext
28662 cat >>conftest.
$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28665 #include <gtk/gtk.h>
28671 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28676 rm -f conftest.
$ac_objext conftest
$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>conftest.er1
28680 grep -v '^ *+' conftest.er1
>conftest.err
28682 cat conftest.err
>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try
='test -z "$ac_c_werror_flag"
28686 || test ! -s conftest.err'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; } &&
28692 { ac_try
='test -s conftest$ac_exeext'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; }; then
28698 echo "*** The test program compiled, but did not run. This usually means"
28699 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28700 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28701 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28702 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28703 echo "*** is required on your system"
28705 echo "*** If you have an old version installed, it is best to remove it, although"
28706 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28708 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28709 echo "*** came with the system with the command"
28711 echo "*** rpm --erase --nodeps gtk gtk-devel"
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.
$ac_ext >&5
28716 echo "*** The test program failed to compile or link. See the file config.log for the"
28717 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28718 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28719 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28721 rm -f conftest.err conftest.
$ac_objext \
28722 conftest
$ac_exeext conftest.
$ac_ext
28723 CFLAGS
="$ac_save_CFLAGS"
28724 LIBS
="$ac_save_LIBS"
28739 if test -z "$wx_cv_lib_gtk"; then
28742 wx_cv_cflags_gtk
=$GTK_CFLAGS
28743 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28750 if test "$gtk_version_cached" = 1; then
28751 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28752 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28755 case "$wx_cv_lib_gtk" in
28764 *) { { echo "$as_me:$LINENO: error:
28765 The development files for GTK+ were not found. For GTK+ 2, please
28766 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28767 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28768 and that the version is 1.2.3 or above. Also check that the
28769 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28770 --libs' are in the LD_LIBRARY_PATH or equivalent.
28772 echo "$as_me: error:
28773 The development files for GTK+ were not found. For GTK+ 2, please
28774 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28775 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28776 and that the version is 1.2.3 or above. Also check that the
28777 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28778 --libs' are in the LD_LIBRARY_PATH or equivalent.
28780 { (exit 1); exit 1; }; }
28784 if test "$WXGTK20" = 1; then
28785 save_CFLAGS
="$CFLAGS"
28787 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28788 LIBS
="$LIBS $wx_cv_libs_gtk"
28790 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28791 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28792 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 cat >conftest.
$ac_ext <<_ACEOF
28798 cat confdefs.h
>>conftest.
$ac_ext
28799 cat >>conftest.
$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <gtk/gtk.h>
28806 #ifndef gtk_icon_size_lookup
28807 char *p = (char *) gtk_icon_size_lookup;
28814 rm -f conftest.
$ac_objext
28815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28816 (eval $ac_compile) 2>conftest.er1
28818 grep -v '^ *+' conftest.er1
>conftest.err
28820 cat conftest.err
>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try
='test -z "$ac_c_werror_flag"
28824 || test ! -s conftest.err'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; } &&
28830 { ac_try
='test -s conftest.$ac_objext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.
$ac_ext >&5
28841 ac_cv_have_decl_gtk_icon_size_lookup
=no
28843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28845 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28846 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28847 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28849 cat >>confdefs.h
<<_ACEOF
28850 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28855 cat >>confdefs.h
<<_ACEOF
28856 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28859 cat >>confdefs.h
<<\_ACEOF
28860 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28867 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28868 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28869 cat >conftest.
$ac_ext <<_ACEOF
28872 cat confdefs.h
>>conftest.
$ac_ext
28873 cat >>conftest.
$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28876 #include <gtk/gtk.h>
28882 #if !GTK_CHECK_VERSION(2,6,0)
28890 rm -f conftest.
$ac_objext
28891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28892 (eval $ac_compile) 2>conftest.er1
28894 grep -v '^ *+' conftest.er1
>conftest.err
28896 cat conftest.err
>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } &&
28899 { ac_try
='test -z "$ac_c_werror_flag"
28900 || test ! -s conftest.err'
28901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28902 (eval $ac_try) 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; } &&
28906 { ac_try
='test -s conftest.$ac_objext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28913 cat >>confdefs.h
<<\_ACEOF
28914 #define __WXGTK26__ 1
28917 cat >>confdefs.h
<<\_ACEOF
28918 #define __WXGTK24__ 1
28921 echo "$as_me:$LINENO: result: yes" >&5
28922 echo "${ECHO_T}yes" >&6
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.
$ac_ext >&5
28930 echo "$as_me:$LINENO: result: no" >&5
28931 echo "${ECHO_T}no" >&6
28935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28937 if test "$ac_wxgtk26" = 0; then
28938 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28939 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28940 cat >conftest.
$ac_ext <<_ACEOF
28943 cat confdefs.h
>>conftest.
$ac_ext
28944 cat >>conftest.
$ac_ext <<_ACEOF
28945 /* end confdefs.h. */
28947 #include <gtk/gtk.h>
28953 #if !GTK_CHECK_VERSION(2,4,0)
28961 rm -f conftest.
$ac_objext
28962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28963 (eval $ac_compile) 2>conftest.er1
28965 grep -v '^ *+' conftest.er1
>conftest.err
28967 cat conftest.err
>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try
='test -z "$ac_c_werror_flag"
28971 || test ! -s conftest.err'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; } &&
28977 { ac_try
='test -s conftest.$ac_objext'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; }; then
28984 cat >>confdefs.h
<<\_ACEOF
28985 #define __WXGTK24__ 1
28988 echo "$as_me:$LINENO: result: yes" >&5
28989 echo "${ECHO_T}yes" >&6
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.
$ac_ext >&5
28996 echo "$as_me:$LINENO: result: no" >&5
28997 echo "${ECHO_T}no" >&6
29000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29003 CFLAGS
="$save_CFLAGS"
29006 if test "$wxUSE_UNICODE" = "yes"; then
29007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29014 ac_cpp
='$CXXCPP $CPPFLAGS'
29015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29020 if test "$USE_DARWIN" != 1; then
29022 for ac_func
in poll
29024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29025 echo "$as_me:$LINENO: checking for $ac_func" >&5
29026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29027 if eval "test \"\${$as_ac_var+set}\" = set"; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29030 cat >conftest.
$ac_ext <<_ACEOF
29033 cat confdefs.h
>>conftest.
$ac_ext
29034 cat >>conftest.
$ac_ext <<_ACEOF
29035 /* end confdefs.h. */
29036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29038 #define $ac_func innocuous_$ac_func
29040 /* System header to define __stub macros and hopefully few prototypes,
29041 which can conflict with char $ac_func (); below.
29042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29043 <limits.h> exists even on freestanding compilers. */
29046 # include <limits.h>
29048 # include <assert.h>
29053 /* Override any gcc2 internal prototype to avoid an error. */
29058 /* We use char because int might match the return type of a gcc2
29059 builtin and then its argument prototype would still apply. */
29061 /* The GNU C library defines this for functions which it implements
29062 to always fail with ENOSYS. Some functions are actually named
29063 something starting with __ and the normal name is an alias. */
29064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29067 char (*f) () = $ac_func;
29076 return f != $ac_func;
29081 rm -f conftest.
$ac_objext conftest
$ac_exeext
29082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29083 (eval $ac_link) 2>conftest.er1
29085 grep -v '^ *+' conftest.er1
>conftest.err
29087 cat conftest.err
>&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try
='test -z "$ac_cxx_werror_flag"
29091 || test ! -s conftest.err'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; } &&
29097 { ac_try
='test -s conftest$ac_exeext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 eval "$as_ac_var=yes"
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.
$ac_ext >&5
29108 eval "$as_ac_var=no"
29110 rm -f conftest.err conftest.
$ac_objext \
29111 conftest
$ac_exeext conftest.
$ac_ext
29113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29115 if test `eval echo '${'$as_ac_var'}'` = yes; then
29116 cat >>confdefs.h
<<_ACEOF
29117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29125 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29126 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29128 AFMINSTALL
=afminstall
29132 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29133 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29134 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 ac_check_lib_save_LIBS
=$LIBS
29139 cat >conftest.
$ac_ext <<_ACEOF
29142 cat confdefs.h
>>conftest.
$ac_ext
29143 cat >>conftest.
$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29146 /* Override any gcc2 internal prototype to avoid an error. */
29150 /* We use char because int might match the return type of a gcc2
29151 builtin and then its argument prototype would still apply. */
29152 char gdk_im_open ();
29161 rm -f conftest.
$ac_objext conftest
$ac_exeext
29162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29163 (eval $ac_link) 2>conftest.er1
29165 grep -v '^ *+' conftest.er1
>conftest.err
29167 cat conftest.err
>&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); } &&
29170 { ac_try
='test -z "$ac_cxx_werror_flag"
29171 || test ! -s conftest.err'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; } &&
29177 { ac_try
='test -s conftest$ac_exeext'
29178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29179 (eval $ac_try) 2>&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); }; }; then
29183 ac_cv_lib_gdk_gdk_im_open
=yes
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.
$ac_ext >&5
29188 ac_cv_lib_gdk_gdk_im_open
=no
29190 rm -f conftest.err conftest.
$ac_objext \
29191 conftest
$ac_exeext conftest.
$ac_ext
29192 LIBS
=$ac_check_lib_save_LIBS
29194 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29195 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29196 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29197 cat >>confdefs.h
<<\_ACEOF
29205 if test "$wxUSE_GPE" = "yes"; then
29206 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29207 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29210 for ac_dir
in $SEARCH_LIB;
29212 for ac_extension
in a so sl dylib dll.a
; do
29213 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29214 ac_find_libraries
=$ac_dir
29220 if test "$ac_find_libraries" != "" ; then
29222 if test "$ac_find_libraries" = "default location"; then
29225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29227 if test $result = 0; then
29230 ac_path_to_link
=" -L$ac_find_libraries"
29234 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29236 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29237 echo "${ECHO_T}found in $ac_find_libraries" >&6
29239 echo "$as_me:$LINENO: result: not found" >&5
29240 echo "${ECHO_T}not found" >&6
29246 if test "$wxUSE_MGL" = 1; then
29247 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29248 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29249 if test "x$MGL_ROOT" = x
; then
29250 echo "$as_me:$LINENO: result: not found" >&5
29251 echo "${ECHO_T}not found" >&6
29252 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29253 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29254 { (exit 1); exit 1; }; }
29256 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29257 echo "${ECHO_T}$MGL_ROOT" >&6
29260 echo "$as_me:$LINENO: checking for libmgl location" >&5
29261 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29264 if test "x$wxUSE_SHARED" = xyes
; then
29265 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29267 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29271 mgl_os_candidates
="dos32/dj2"
29274 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29275 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29276 { (exit 1); exit 1; }; }
29282 for mgl_os_i
in $mgl_os_candidates ; do
29283 if test "x$mgl_os" = x
; then
29284 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29285 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29286 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29291 if test "x$mgl_lib_type" = x
; then
29292 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29293 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29294 mgl_lib_type
=release
29301 if test "x$mgl_os" = x
; then
29302 echo "$as_me:$LINENO: result: not found" >&5
29303 echo "${ECHO_T}not found" >&6
29304 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29305 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29306 { (exit 1); exit 1; }; }
29308 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29309 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29311 wxUSE_UNIVERSAL
="yes"
29313 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29314 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29316 AFMINSTALL
=afminstall
29321 if test "$wxUSE_DFB" = 1; then
29324 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29325 if test -n "$ac_tool_prefix"; then
29326 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29327 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29328 echo "$as_me:$LINENO: checking for $ac_word" >&5
29329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29330 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 case $PKG_CONFIG in
29335 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29339 for as_dir
in $PATH
29342 test -z "$as_dir" && as_dir
=.
29343 for ac_exec_ext
in '' $ac_executable_extensions; do
29344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29345 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29355 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29357 if test -n "$PKG_CONFIG"; then
29358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29359 echo "${ECHO_T}$PKG_CONFIG" >&6
29361 echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6
29366 if test -z "$ac_cv_path_PKG_CONFIG"; then
29367 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29368 # Extract the first word of "pkg-config", so it can be a program name with args.
29369 set dummy pkg
-config; ac_word
=$2
29370 echo "$as_me:$LINENO: checking for $ac_word" >&5
29371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29372 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 case $ac_pt_PKG_CONFIG in
29377 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29381 for as_dir
in $PATH
29384 test -z "$as_dir" && as_dir
=.
29385 for ac_exec_ext
in '' $ac_executable_extensions; do
29386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29387 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29397 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29399 if test -n "$ac_pt_PKG_CONFIG"; then
29400 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29401 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29403 echo "$as_me:$LINENO: result: no" >&5
29404 echo "${ECHO_T}no" >&6
29407 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29409 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29413 if test -n "$PKG_CONFIG"; then
29414 _pkg_min_version
=0.9.0
29415 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29416 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29417 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29418 echo "$as_me:$LINENO: result: yes" >&5
29419 echo "${ECHO_T}yes" >&6
29421 echo "$as_me:$LINENO: result: no" >&5
29422 echo "${ECHO_T}no" >&6
29429 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29430 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29432 if test -n "$PKG_CONFIG"; then
29433 if test -n "$DIRECTFB_CFLAGS"; then
29434 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29436 if test -n "$PKG_CONFIG" && \
29437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29438 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; then
29442 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29450 if test -n "$PKG_CONFIG"; then
29451 if test -n "$DIRECTFB_LIBS"; then
29452 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29454 if test -n "$PKG_CONFIG" && \
29455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29456 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; then
29460 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29471 if test $pkg_failed = yes; then
29473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29474 _pkg_short_errors_supported
=yes
29476 _pkg_short_errors_supported
=no
29478 if test $_pkg_short_errors_supported = yes; then
29479 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29481 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29483 # Put the nasty error message in config.log where it belongs
29484 echo "$DIRECTFB_PKG_ERRORS" >&5
29487 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29488 echo "$as_me: error: DirectFB not found." >&2;}
29489 { (exit 1); exit 1; }; }
29492 elif test $pkg_failed = untried
; then
29494 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29495 echo "$as_me: error: DirectFB not found." >&2;}
29496 { (exit 1); exit 1; }; }
29500 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29501 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29502 echo "$as_me:$LINENO: result: yes" >&5
29503 echo "${ECHO_T}yes" >&6
29505 wxUSE_UNIVERSAL
="yes"
29506 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29507 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29514 if test "$wxUSE_MICROWIN" = 1; then
29515 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29516 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29517 if test "x$MICROWINDOWS" = x
; then
29518 echo "$as_me:$LINENO: result: not found" >&5
29519 echo "${ECHO_T}not found" >&6
29520 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29521 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29522 { (exit 1); exit 1; }; }
29524 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29525 echo "${ECHO_T}$MICROWINDOWS" >&6
29528 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29529 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29530 echo "${ECHO_T}MicroWindows' libraries found." >&6
29532 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29533 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29534 { (exit 1); exit 1; }; }
29537 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29538 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29540 wxUSE_UNIVERSAL
="yes"
29542 AFMINSTALL
=afminstall
29544 GUIDIST
=MICROWIN_DIST
29546 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29549 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29550 echo "$as_me:$LINENO: checking for X" >&5
29551 echo $ECHO_N "checking for X... $ECHO_C" >&6
29554 # Check whether --with-x or --without-x was given.
29555 if test "${with_x+set}" = set; then
29559 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29560 if test "x$with_x" = xno
; then
29561 # The user explicitly disabled X.
29564 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29565 # Both variables are already set.
29568 if test "${ac_cv_have_x+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29571 # One or both of the vars are not set, and there is no cached value.
29572 ac_x_includes
=no ac_x_libraries
=no
29573 rm -fr conftest.dir
29574 if mkdir conftest.dir
; then
29576 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29577 cat >Imakefile
<<'_ACEOF'
29579 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29581 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29583 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29584 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29585 for ac_extension
in a so sl
; do
29586 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29587 test -f $ac_im_libdir/libX11.
$ac_extension; then
29588 ac_im_usrlibdir
=$ac_im_libdir; break
29591 # Screen out bogus values from the imake configuration. They are
29592 # bogus both because they are the default anyway, and because
29593 # using them would break gcc on systems where it needs fixed includes.
29594 case $ac_im_incroot in
29596 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29598 case $ac_im_usrlibdir in
29599 /usr
/lib
| /lib
) ;;
29600 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29604 rm -fr conftest.dir
29607 # Standard set of common directories for X headers.
29608 # Check X11 before X11Rn because it is often a symlink to the current release.
29620 /usr/local/X11/include
29621 /usr/local/X11R6/include
29622 /usr/local/X11R5/include
29623 /usr/local/X11R4/include
29625 /usr/local/include/X11
29626 /usr/local/include/X11R6
29627 /usr/local/include/X11R5
29628 /usr/local/include/X11R4
29632 /usr/XFree86/include/X11
29636 /usr/unsupported/include
29637 /usr/athena/include
29638 /usr/local/x11r5/include
29639 /usr/lpp/Xamples/include
29641 /usr/openwin/include
29642 /usr/openwin/share/include'
29644 if test "$ac_x_includes" = no
; then
29645 # Guess where to find include files, by looking for Xlib.h.
29646 # First, try using that file with no special directory specified.
29647 cat >conftest.
$ac_ext <<_ACEOF
29650 cat confdefs.h
>>conftest.
$ac_ext
29651 cat >>conftest.
$ac_ext <<_ACEOF
29652 /* end confdefs.h. */
29653 #include <X11/Xlib.h>
29655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29658 grep -v '^ *+' conftest.er1
>conftest.err
29660 cat conftest.err
>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } >/dev
/null
; then
29663 if test -s conftest.err
; then
29664 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29665 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29672 if test -z "$ac_cpp_err"; then
29673 # We can compile using X headers with no special include directory.
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.
$ac_ext >&5
29679 for ac_dir
in $ac_x_header_dirs; do
29680 if test -r "$ac_dir/X11/Xlib.h"; then
29681 ac_x_includes
=$ac_dir
29686 rm -f conftest.err conftest.
$ac_ext
29687 fi # $ac_x_includes = no
29689 if test "$ac_x_libraries" = no
; then
29690 # Check for the libraries.
29691 # See if we find them without any special options.
29692 # Don't add to $LIBS permanently.
29695 cat >conftest.
$ac_ext <<_ACEOF
29698 cat confdefs.h
>>conftest.
$ac_ext
29699 cat >>conftest.
$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 #include <X11/Xlib.h>
29710 rm -f conftest.
$ac_objext conftest
$ac_exeext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29712 (eval $ac_link) 2>conftest.er1
29714 grep -v '^ *+' conftest.er1
>conftest.err
29716 cat conftest.err
>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try
='test -z "$ac_cxx_werror_flag"
29720 || test ! -s conftest.err'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; } &&
29726 { ac_try
='test -s conftest$ac_exeext'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29733 # We can link X programs with no special library path.
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.
$ac_ext >&5
29740 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29742 # Don't even attempt the hair of trying to link an X program!
29743 for ac_extension
in a so sl
; do
29744 if test -r $ac_dir/libXt.
$ac_extension; then
29745 ac_x_libraries
=$ac_dir
29751 rm -f conftest.err conftest.
$ac_objext \
29752 conftest
$ac_exeext conftest.
$ac_ext
29753 fi # $ac_x_libraries = no
29755 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29756 # Didn't find X anywhere. Cache the known absence of X.
29757 ac_cv_have_x
="have_x=no"
29759 # Record where we found X for the cache.
29760 ac_cv_have_x
="have_x=yes \
29761 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29766 eval "$ac_cv_have_x"
29769 if test "$have_x" != yes; then
29770 echo "$as_me:$LINENO: result: $have_x" >&5
29771 echo "${ECHO_T}$have_x" >&6
29774 # If each of the values was on the command line, it overrides each guess.
29775 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29776 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29777 # Update the cache value to reflect the command line values.
29778 ac_cv_have_x
="have_x=yes \
29779 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29780 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29781 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29784 if test "$no_x" = yes; then
29785 # Not all programs may use this symbol, but it does not hurt to define it.
29787 cat >>confdefs.h
<<\_ACEOF
29788 #define X_DISPLAY_MISSING 1
29791 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29793 if test -n "$x_includes"; then
29794 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29797 # It would also be nice to do this for all -L options, not just this one.
29798 if test -n "$x_libraries"; then
29799 X_LIBS
="$X_LIBS -L$x_libraries"
29800 # For Solaris; some versions of Sun CC require a space after -R and
29801 # others require no space. Words are not sufficient . . . .
29802 case `(uname -sr) 2>/dev/null` in
29804 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29806 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29807 cat >conftest.
$ac_ext <<_ACEOF
29810 cat confdefs.h
>>conftest.
$ac_ext
29811 cat >>conftest.
$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29822 rm -f conftest.
$ac_objext conftest
$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>conftest.er1
29826 grep -v '^ *+' conftest.er1
>conftest.err
29828 cat conftest.err
>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try
='test -z "$ac_cxx_werror_flag"
29832 || test ! -s conftest.err'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; } &&
29838 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.
$ac_ext >&5
29851 rm -f conftest.err conftest.
$ac_objext \
29852 conftest
$ac_exeext conftest.
$ac_ext
29853 if test $ac_R_nospace = yes; then
29854 echo "$as_me:$LINENO: result: no" >&5
29855 echo "${ECHO_T}no" >&6
29856 X_LIBS
="$X_LIBS -R$x_libraries"
29858 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29859 cat >conftest.
$ac_ext <<_ACEOF
29862 cat confdefs.h
>>conftest.
$ac_ext
29863 cat >>conftest.
$ac_ext <<_ACEOF
29864 /* end confdefs.h. */
29874 rm -f conftest.
$ac_objext conftest
$ac_exeext
29875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29876 (eval $ac_link) 2>conftest.er1
29878 grep -v '^ *+' conftest.er1
>conftest.err
29880 cat conftest.err
>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } &&
29883 { ac_try
='test -z "$ac_cxx_werror_flag"
29884 || test ! -s conftest.err'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; } &&
29890 { ac_try
='test -s conftest$ac_exeext'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; }; then
29898 echo "$as_me: failed program was:" >&5
29899 sed 's/^/| /' conftest.
$ac_ext >&5
29903 rm -f conftest.err conftest.
$ac_objext \
29904 conftest
$ac_exeext conftest.
$ac_ext
29905 if test $ac_R_space = yes; then
29906 echo "$as_me:$LINENO: result: yes" >&5
29907 echo "${ECHO_T}yes" >&6
29908 X_LIBS
="$X_LIBS -R $x_libraries"
29910 echo "$as_me:$LINENO: result: neither works" >&5
29911 echo "${ECHO_T}neither works" >&6
29914 LIBS
=$ac_xsave_LIBS
29918 # Check for system-dependent libraries X programs must link with.
29919 # Do this before checking for the system-independent R6 libraries
29920 # (-lICE), since we may need -lsocket or whatever for X linking.
29922 if test "$ISC" = yes; then
29923 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29925 # Martyn Johnson says this is needed for Ultrix, if the X
29926 # libraries were built with DECnet support. And Karl Berry says
29927 # the Alpha needs dnet_stub (dnet does not exist).
29928 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29929 cat >conftest.
$ac_ext <<_ACEOF
29932 cat confdefs.h
>>conftest.
$ac_ext
29933 cat >>conftest.
$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29936 /* Override any gcc2 internal prototype to avoid an error. */
29940 /* We use char because int might match the return type of a gcc2
29941 builtin and then its argument prototype would still apply. */
29942 char XOpenDisplay ();
29951 rm -f conftest.
$ac_objext conftest
$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>conftest.er1
29955 grep -v '^ *+' conftest.er1
>conftest.err
29957 cat conftest.err
>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } &&
29960 { ac_try
='test -z "$ac_cxx_werror_flag"
29961 || test ! -s conftest.err'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; } &&
29967 { ac_try
='test -s conftest$ac_exeext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.
$ac_ext >&5
29978 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29979 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29980 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29983 ac_check_lib_save_LIBS
=$LIBS
29984 LIBS
="-ldnet $LIBS"
29985 cat >conftest.
$ac_ext <<_ACEOF
29988 cat confdefs.h
>>conftest.
$ac_ext
29989 cat >>conftest.
$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29992 /* Override any gcc2 internal prototype to avoid an error. */
29996 /* We use char because int might match the return type of a gcc2
29997 builtin and then its argument prototype would still apply. */
30007 rm -f conftest.
$ac_objext conftest
$ac_exeext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30009 (eval $ac_link) 2>conftest.er1
30011 grep -v '^ *+' conftest.er1
>conftest.err
30013 cat conftest.err
>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); } &&
30016 { ac_try
='test -z "$ac_cxx_werror_flag"
30017 || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try
='test -s conftest$ac_exeext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 ac_cv_lib_dnet_dnet_ntoa
=yes
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.
$ac_ext >&5
30034 ac_cv_lib_dnet_dnet_ntoa
=no
30036 rm -f conftest.err conftest.
$ac_objext \
30037 conftest
$ac_exeext conftest.
$ac_ext
30038 LIBS
=$ac_check_lib_save_LIBS
30040 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30041 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30042 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30046 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30047 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30048 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30049 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 ac_check_lib_save_LIBS
=$LIBS
30053 LIBS
="-ldnet_stub $LIBS"
30054 cat >conftest.
$ac_ext <<_ACEOF
30057 cat confdefs.h
>>conftest.
$ac_ext
30058 cat >>conftest.
$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30061 /* Override any gcc2 internal prototype to avoid an error. */
30065 /* We use char because int might match the return type of a gcc2
30066 builtin and then its argument prototype would still apply. */
30076 rm -f conftest.
$ac_objext conftest
$ac_exeext
30077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30078 (eval $ac_link) 2>conftest.er1
30080 grep -v '^ *+' conftest.er1
>conftest.err
30082 cat conftest.err
>&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } &&
30085 { ac_try
='test -z "$ac_cxx_werror_flag"
30086 || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try
='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.
$ac_ext >&5
30103 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30105 rm -f conftest.err conftest.
$ac_objext \
30106 conftest
$ac_exeext conftest.
$ac_ext
30107 LIBS
=$ac_check_lib_save_LIBS
30109 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30110 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30111 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30117 rm -f conftest.err conftest.
$ac_objext \
30118 conftest
$ac_exeext conftest.
$ac_ext
30119 LIBS
="$ac_xsave_LIBS"
30121 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30122 # to get the SysV transport functions.
30123 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30125 # The nsl library prevents programs from opening the X display
30126 # on Irix 5.2, according to T.E. Dickey.
30127 # The functions gethostbyname, getservbyname, and inet_addr are
30128 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30129 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30130 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30131 if test "${ac_cv_func_gethostbyname+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 cat >conftest.
$ac_ext <<_ACEOF
30137 cat confdefs.h
>>conftest.
$ac_ext
30138 cat >>conftest.
$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30140 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30142 #define gethostbyname innocuous_gethostbyname
30144 /* System header to define __stub macros and hopefully few prototypes,
30145 which can conflict with char gethostbyname (); below.
30146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30147 <limits.h> exists even on freestanding compilers. */
30150 # include <limits.h>
30152 # include <assert.h>
30155 #undef gethostbyname
30157 /* Override any gcc2 internal prototype to avoid an error. */
30162 /* We use char because int might match the return type of a gcc2
30163 builtin and then its argument prototype would still apply. */
30164 char gethostbyname ();
30165 /* The GNU C library defines this for functions which it implements
30166 to always fail with ENOSYS. Some functions are actually named
30167 something starting with __ and the normal name is an alias. */
30168 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30171 char (*f) () = gethostbyname;
30180 return f != gethostbyname;
30185 rm -f conftest.
$ac_objext conftest
$ac_exeext
30186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30187 (eval $ac_link) 2>conftest.er1
30189 grep -v '^ *+' conftest.er1
>conftest.err
30191 cat conftest.err
>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } &&
30194 { ac_try
='test -z "$ac_cxx_werror_flag"
30195 || test ! -s conftest.err'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; } &&
30201 { ac_try
='test -s conftest$ac_exeext'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; }; then
30207 ac_cv_func_gethostbyname
=yes
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.
$ac_ext >&5
30212 ac_cv_func_gethostbyname
=no
30214 rm -f conftest.err conftest.
$ac_objext \
30215 conftest
$ac_exeext conftest.
$ac_ext
30217 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30218 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30220 if test $ac_cv_func_gethostbyname = no
; then
30221 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30222 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 ac_check_lib_save_LIBS
=$LIBS
30228 cat >conftest.
$ac_ext <<_ACEOF
30231 cat confdefs.h
>>conftest.
$ac_ext
30232 cat >>conftest.
$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30235 /* Override any gcc2 internal prototype to avoid an error. */
30239 /* We use char because int might match the return type of a gcc2
30240 builtin and then its argument prototype would still apply. */
30241 char gethostbyname ();
30250 rm -f conftest.
$ac_objext conftest
$ac_exeext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30252 (eval $ac_link) 2>conftest.er1
30254 grep -v '^ *+' conftest.er1
>conftest.err
30256 cat conftest.err
>&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); } &&
30259 { ac_try
='test -z "$ac_cxx_werror_flag"
30260 || test ! -s conftest.err'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; } &&
30266 { ac_try
='test -s conftest$ac_exeext'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; }; then
30272 ac_cv_lib_nsl_gethostbyname
=yes
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.
$ac_ext >&5
30277 ac_cv_lib_nsl_gethostbyname
=no
30279 rm -f conftest.err conftest.
$ac_objext \
30280 conftest
$ac_exeext conftest.
$ac_ext
30281 LIBS
=$ac_check_lib_save_LIBS
30283 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30284 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30285 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30289 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30290 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30291 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30292 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30293 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 ac_check_lib_save_LIBS
=$LIBS
30297 cat >conftest.
$ac_ext <<_ACEOF
30300 cat confdefs.h
>>conftest.
$ac_ext
30301 cat >>conftest.
$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30304 /* Override any gcc2 internal prototype to avoid an error. */
30308 /* We use char because int might match the return type of a gcc2
30309 builtin and then its argument prototype would still apply. */
30310 char gethostbyname ();
30319 rm -f conftest.
$ac_objext conftest
$ac_exeext
30320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30321 (eval $ac_link) 2>conftest.er1
30323 grep -v '^ *+' conftest.er1
>conftest.err
30325 cat conftest.err
>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } &&
30328 { ac_try
='test -z "$ac_cxx_werror_flag"
30329 || test ! -s conftest.err'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; } &&
30335 { ac_try
='test -s conftest$ac_exeext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341 ac_cv_lib_bsd_gethostbyname
=yes
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.
$ac_ext >&5
30346 ac_cv_lib_bsd_gethostbyname
=no
30348 rm -f conftest.err conftest.
$ac_objext \
30349 conftest
$ac_exeext conftest.
$ac_ext
30350 LIBS
=$ac_check_lib_save_LIBS
30352 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30353 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30354 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30361 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30362 # socket/setsockopt and other routines are undefined under SCO ODT
30363 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30364 # on later versions), says Simon Leinen: it contains gethostby*
30365 # variants that don't use the name server (or something). -lsocket
30366 # must be given before -lnsl if both are needed. We assume that
30367 # if connect needs -lnsl, so does gethostbyname.
30368 echo "$as_me:$LINENO: checking for connect" >&5
30369 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30370 if test "${ac_cv_func_connect+set}" = set; then
30371 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 cat >conftest.
$ac_ext <<_ACEOF
30376 cat confdefs.h
>>conftest.
$ac_ext
30377 cat >>conftest.
$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30381 #define connect innocuous_connect
30383 /* System header to define __stub macros and hopefully few prototypes,
30384 which can conflict with char connect (); below.
30385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30386 <limits.h> exists even on freestanding compilers. */
30389 # include <limits.h>
30391 # include <assert.h>
30396 /* Override any gcc2 internal prototype to avoid an error. */
30401 /* We use char because int might match the return type of a gcc2
30402 builtin and then its argument prototype would still apply. */
30404 /* The GNU C library defines this for functions which it implements
30405 to always fail with ENOSYS. Some functions are actually named
30406 something starting with __ and the normal name is an alias. */
30407 #if defined (__stub_connect) || defined (__stub___connect)
30410 char (*f) () = connect;
30419 return f != connect;
30424 rm -f conftest.
$ac_objext conftest
$ac_exeext
30425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30426 (eval $ac_link) 2>conftest.er1
30428 grep -v '^ *+' conftest.er1
>conftest.err
30430 cat conftest.err
>&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); } &&
30433 { ac_try
='test -z "$ac_cxx_werror_flag"
30434 || test ! -s conftest.err'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; } &&
30440 { ac_try
='test -s conftest$ac_exeext'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; }; then
30446 ac_cv_func_connect
=yes
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.
$ac_ext >&5
30451 ac_cv_func_connect
=no
30453 rm -f conftest.err conftest.
$ac_objext \
30454 conftest
$ac_exeext conftest.
$ac_ext
30456 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30457 echo "${ECHO_T}$ac_cv_func_connect" >&6
30459 if test $ac_cv_func_connect = no
; then
30460 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30461 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30462 if test "${ac_cv_lib_socket_connect+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 ac_check_lib_save_LIBS
=$LIBS
30466 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30467 cat >conftest.
$ac_ext <<_ACEOF
30470 cat confdefs.h
>>conftest.
$ac_ext
30471 cat >>conftest.
$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30474 /* Override any gcc2 internal prototype to avoid an error. */
30478 /* We use char because int might match the return type of a gcc2
30479 builtin and then its argument prototype would still apply. */
30489 rm -f conftest.
$ac_objext conftest
$ac_exeext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30491 (eval $ac_link) 2>conftest.er1
30493 grep -v '^ *+' conftest.er1
>conftest.err
30495 cat conftest.err
>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try
='test -z "$ac_cxx_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try
='test -s conftest$ac_exeext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_cv_lib_socket_connect
=yes
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.
$ac_ext >&5
30516 ac_cv_lib_socket_connect
=no
30518 rm -f conftest.err conftest.
$ac_objext \
30519 conftest
$ac_exeext conftest.
$ac_ext
30520 LIBS
=$ac_check_lib_save_LIBS
30522 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30523 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30524 if test $ac_cv_lib_socket_connect = yes; then
30525 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30530 # Guillermo Gomez says -lposix is necessary on A/UX.
30531 echo "$as_me:$LINENO: checking for remove" >&5
30532 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30533 if test "${ac_cv_func_remove+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 cat >conftest.
$ac_ext <<_ACEOF
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544 #define remove innocuous_remove
30546 /* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char remove (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
30552 # include <limits.h>
30554 # include <assert.h>
30559 /* Override any gcc2 internal prototype to avoid an error. */
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined (__stub_remove) || defined (__stub___remove)
30573 char (*f) () = remove;
30582 return f != remove;
30587 rm -f conftest.
$ac_objext conftest
$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30591 grep -v '^ *+' conftest.er1
>conftest.err
30593 cat conftest.err
>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try
='test -z "$ac_cxx_werror_flag"
30597 || test ! -s conftest.err'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; } &&
30603 { ac_try
='test -s conftest$ac_exeext'
30604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 (eval $ac_try) 2>&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; }; then
30609 ac_cv_func_remove
=yes
30611 echo "$as_me: failed program was:" >&5
30612 sed 's/^/| /' conftest.
$ac_ext >&5
30614 ac_cv_func_remove
=no
30616 rm -f conftest.err conftest.
$ac_objext \
30617 conftest
$ac_exeext conftest.
$ac_ext
30619 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30620 echo "${ECHO_T}$ac_cv_func_remove" >&6
30622 if test $ac_cv_func_remove = no
; then
30623 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30624 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30625 if test "${ac_cv_lib_posix_remove+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30628 ac_check_lib_save_LIBS
=$LIBS
30629 LIBS
="-lposix $LIBS"
30630 cat >conftest.
$ac_ext <<_ACEOF
30633 cat confdefs.h
>>conftest.
$ac_ext
30634 cat >>conftest.
$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30637 /* Override any gcc2 internal prototype to avoid an error. */
30641 /* We use char because int might match the return type of a gcc2
30642 builtin and then its argument prototype would still apply. */
30652 rm -f conftest.
$ac_objext conftest
$ac_exeext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30654 (eval $ac_link) 2>conftest.er1
30656 grep -v '^ *+' conftest.er1
>conftest.err
30658 cat conftest.err
>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try
='test -z "$ac_cxx_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try
='test -s conftest$ac_exeext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 ac_cv_lib_posix_remove
=yes
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.
$ac_ext >&5
30679 ac_cv_lib_posix_remove
=no
30681 rm -f conftest.err conftest.
$ac_objext \
30682 conftest
$ac_exeext conftest.
$ac_ext
30683 LIBS
=$ac_check_lib_save_LIBS
30685 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30686 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30687 if test $ac_cv_lib_posix_remove = yes; then
30688 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30693 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30694 echo "$as_me:$LINENO: checking for shmat" >&5
30695 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30696 if test "${ac_cv_func_shmat+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 cat >conftest.
$ac_ext <<_ACEOF
30702 cat confdefs.h
>>conftest.
$ac_ext
30703 cat >>conftest.
$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30705 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30707 #define shmat innocuous_shmat
30709 /* System header to define __stub macros and hopefully few prototypes,
30710 which can conflict with char shmat (); below.
30711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30712 <limits.h> exists even on freestanding compilers. */
30715 # include <limits.h>
30717 # include <assert.h>
30722 /* Override any gcc2 internal prototype to avoid an error. */
30727 /* We use char because int might match the return type of a gcc2
30728 builtin and then its argument prototype would still apply. */
30730 /* The GNU C library defines this for functions which it implements
30731 to always fail with ENOSYS. Some functions are actually named
30732 something starting with __ and the normal name is an alias. */
30733 #if defined (__stub_shmat) || defined (__stub___shmat)
30736 char (*f) () = shmat;
30750 rm -f conftest.
$ac_objext conftest
$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30754 grep -v '^ *+' conftest.er1
>conftest.err
30756 cat conftest.err
>&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try
='test -z "$ac_cxx_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try
='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 ac_cv_func_shmat
=yes
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.
$ac_ext >&5
30777 ac_cv_func_shmat
=no
30779 rm -f conftest.err conftest.
$ac_objext \
30780 conftest
$ac_exeext conftest.
$ac_ext
30782 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30783 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30785 if test $ac_cv_func_shmat = no
; then
30786 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30787 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30788 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 ac_check_lib_save_LIBS
=$LIBS
30793 cat >conftest.
$ac_ext <<_ACEOF
30796 cat confdefs.h
>>conftest.
$ac_ext
30797 cat >>conftest.
$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30800 /* Override any gcc2 internal prototype to avoid an error. */
30804 /* We use char because int might match the return type of a gcc2
30805 builtin and then its argument prototype would still apply. */
30815 rm -f conftest.
$ac_objext conftest
$ac_exeext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30817 (eval $ac_link) 2>conftest.er1
30819 grep -v '^ *+' conftest.er1
>conftest.err
30821 cat conftest.err
>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try
='test -z "$ac_cxx_werror_flag"
30825 || test ! -s conftest.err'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try
='test -s conftest$ac_exeext'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; }; then
30837 ac_cv_lib_ipc_shmat
=yes
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.
$ac_ext >&5
30842 ac_cv_lib_ipc_shmat
=no
30844 rm -f conftest.err conftest.
$ac_objext \
30845 conftest
$ac_exeext conftest.
$ac_ext
30846 LIBS
=$ac_check_lib_save_LIBS
30848 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30849 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30850 if test $ac_cv_lib_ipc_shmat = yes; then
30851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30857 # Check for libraries that X11R6 Xt/Xaw programs need.
30858 ac_save_LDFLAGS
=$LDFLAGS
30859 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30860 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30861 # check for ICE first), but we must link in the order -lSM -lICE or
30862 # we get undefined symbols. So assume we have SM if we have ICE.
30863 # These have to be linked with before -lX11, unlike the other
30864 # libraries we check for below, so use a different variable.
30865 # John Interrante, Karl Berry
30866 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30867 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30868 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 ac_check_lib_save_LIBS
=$LIBS
30872 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30873 cat >conftest.
$ac_ext <<_ACEOF
30876 cat confdefs.h
>>conftest.
$ac_ext
30877 cat >>conftest.
$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30880 /* Override any gcc2 internal prototype to avoid an error. */
30884 /* We use char because int might match the return type of a gcc2
30885 builtin and then its argument prototype would still apply. */
30886 char IceConnectionNumber ();
30890 IceConnectionNumber ();
30895 rm -f conftest.
$ac_objext conftest
$ac_exeext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30897 (eval $ac_link) 2>conftest.er1
30899 grep -v '^ *+' conftest.er1
>conftest.err
30901 cat conftest.err
>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } &&
30904 { ac_try
='test -z "$ac_cxx_werror_flag"
30905 || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try
='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 ac_cv_lib_ICE_IceConnectionNumber
=yes
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.
$ac_ext >&5
30922 ac_cv_lib_ICE_IceConnectionNumber
=no
30924 rm -f conftest.err conftest.
$ac_objext \
30925 conftest
$ac_exeext conftest.
$ac_ext
30926 LIBS
=$ac_check_lib_save_LIBS
30928 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30929 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30930 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30931 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30934 LDFLAGS
=$ac_save_LDFLAGS
30939 if test "$no_x" = "yes"; then
30940 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30941 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30942 { (exit 1); exit 1; }; }
30945 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30946 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30947 AFMINSTALL
=afminstall
30948 COMPILED_X_PROGRAM
=0
30952 if test "$wxUSE_X11" = 1; then
30953 if test "$wxUSE_NANOX" = "yes"; then
30954 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30955 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30956 if test "x$MICROWIN" = x
; then
30957 echo "$as_me:$LINENO: result: not found" >&5
30958 echo "${ECHO_T}not found" >&6
30959 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30960 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30961 { (exit 1); exit 1; }; }
30963 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30964 echo "${ECHO_T}$MICROWIN" >&6
30965 cat >>confdefs.h
<<\_ACEOF
30966 #define wxUSE_NANOX 1
30972 if test "$wxUSE_UNICODE" = "yes"; then
30975 echo "$as_me:$LINENO: checking for PANGOX" >&5
30976 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30978 if test -n "$PKG_CONFIG"; then
30979 if test -n "$PANGOX_CFLAGS"; then
30980 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30982 if test -n "$PKG_CONFIG" && \
30983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30984 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; then
30988 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30996 if test -n "$PKG_CONFIG"; then
30997 if test -n "$PANGOX_LIBS"; then
30998 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31000 if test -n "$PKG_CONFIG" && \
31001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31002 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; then
31006 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31017 if test $pkg_failed = yes; then
31019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31020 _pkg_short_errors_supported
=yes
31022 _pkg_short_errors_supported
=no
31024 if test $_pkg_short_errors_supported = yes; then
31025 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31027 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31029 # Put the nasty error message in config.log where it belongs
31030 echo "$PANGOX_PKG_ERRORS" >&5
31033 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31034 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31035 { (exit 1); exit 1; }; }
31038 elif test $pkg_failed = untried
; then
31040 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31041 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31042 { (exit 1); exit 1; }; }
31046 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31047 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31048 echo "$as_me:$LINENO: result: yes" >&5
31049 echo "${ECHO_T}yes" >&6
31051 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31052 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31057 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31058 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31060 if test -n "$PKG_CONFIG"; then
31061 if test -n "$PANGOFT2_CFLAGS"; then
31062 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31064 if test -n "$PKG_CONFIG" && \
31065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31066 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; then
31070 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOFT2_LIBS"; then
31080 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31099 if test $pkg_failed = yes; then
31101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31102 _pkg_short_errors_supported
=yes
31104 _pkg_short_errors_supported
=no
31106 if test $_pkg_short_errors_supported = yes; then
31107 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31109 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31111 # Put the nasty error message in config.log where it belongs
31112 echo "$PANGOFT2_PKG_ERRORS" >&5
31115 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31116 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31117 wxUSE_PRINTING_ARCHITECTURE
="no"
31120 elif test $pkg_failed = untried
; then
31122 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31123 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31124 wxUSE_PRINTING_ARCHITECTURE
="no"
31128 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31129 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31130 echo "$as_me:$LINENO: result: yes" >&5
31131 echo "${ECHO_T}yes" >&6
31133 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31139 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31140 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31142 if test -n "$PKG_CONFIG"; then
31143 if test -n "$PANGOXFT_CFLAGS"; then
31144 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31146 if test -n "$PKG_CONFIG" && \
31147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31148 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; then
31152 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31160 if test -n "$PKG_CONFIG"; then
31161 if test -n "$PANGOXFT_LIBS"; then
31162 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31164 if test -n "$PKG_CONFIG" && \
31165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31166 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; then
31170 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31181 if test $pkg_failed = yes; then
31183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31184 _pkg_short_errors_supported
=yes
31186 _pkg_short_errors_supported
=no
31188 if test $_pkg_short_errors_supported = yes; then
31189 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31191 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31193 # Put the nasty error message in config.log where it belongs
31194 echo "$PANGOXFT_PKG_ERRORS" >&5
31197 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31198 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31201 elif test $pkg_failed = untried
; then
31203 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31204 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31208 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31209 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31210 echo "$as_me:$LINENO: result: yes" >&5
31211 echo "${ECHO_T}yes" >&6
31213 cat >>confdefs.h
<<\_ACEOF
31214 #define HAVE_PANGO_XFT 1
31217 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31218 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31221 save_CXXFLAGS
="$CXXFLAGS"
31223 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31224 LIBS
="$LIBS $PANGOX_LIBS"
31226 for ac_func
in pango_font_family_is_monospace
31228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31229 echo "$as_me:$LINENO: checking for $ac_func" >&5
31230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31231 if eval "test \"\${$as_ac_var+set}\" = set"; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31234 cat >conftest.
$ac_ext <<_ACEOF
31237 cat confdefs.h
>>conftest.
$ac_ext
31238 cat >>conftest.
$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31242 #define $ac_func innocuous_$ac_func
31244 /* System header to define __stub macros and hopefully few prototypes,
31245 which can conflict with char $ac_func (); below.
31246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31247 <limits.h> exists even on freestanding compilers. */
31250 # include <limits.h>
31252 # include <assert.h>
31257 /* Override any gcc2 internal prototype to avoid an error. */
31262 /* We use char because int might match the return type of a gcc2
31263 builtin and then its argument prototype would still apply. */
31265 /* The GNU C library defines this for functions which it implements
31266 to always fail with ENOSYS. Some functions are actually named
31267 something starting with __ and the normal name is an alias. */
31268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31271 char (*f) () = $ac_func;
31280 return f != $ac_func;
31285 rm -f conftest.
$ac_objext conftest
$ac_exeext
31286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31287 (eval $ac_link) 2>conftest.er1
31289 grep -v '^ *+' conftest.er1
>conftest.err
31291 cat conftest.err
>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } &&
31294 { ac_try
='test -z "$ac_cxx_werror_flag"
31295 || test ! -s conftest.err'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; } &&
31301 { ac_try
='test -s conftest$ac_exeext'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; }; then
31307 eval "$as_ac_var=yes"
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.
$ac_ext >&5
31312 eval "$as_ac_var=no"
31314 rm -f conftest.err conftest.
$ac_objext \
31315 conftest
$ac_exeext conftest.
$ac_ext
31317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31319 if test `eval echo '${'$as_ac_var'}'` = yes; then
31320 cat >>confdefs.h
<<_ACEOF
31321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31327 CXXFLAGS
="$save_CXXFLAGS"
31331 wxUSE_UNIVERSAL
="yes"
31333 if test "$wxUSE_NANOX" = "yes"; then
31334 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31335 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"
31336 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31338 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31345 if test "$wxUSE_MOTIF" = 1; then
31346 if test "$wxUSE_UNICODE" = "yes"; then
31347 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31348 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31349 { (exit 1); exit 1; }; }
31352 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31353 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31356 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31358 if test -f "$ac_dir/Xm/Xm.h"; then
31359 ac_find_includes
=$ac_dir
31364 if test "$ac_find_includes" != "" ; then
31365 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31366 echo "${ECHO_T}found in $ac_find_includes" >&6
31368 if test "x$ac_find_includes" = "x/usr/include"; then
31369 ac_path_to_include
=""
31371 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31373 if test $result = 0; then
31374 ac_path_to_include
=""
31376 ac_path_to_include
=" -I$ac_find_includes"
31380 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31382 save_CXXFLAGS
=$CXXFLAGS
31383 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31385 cat >conftest.
$ac_ext <<_ACEOF
31388 cat confdefs.h
>>conftest.
$ac_ext
31389 cat >>conftest.
$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31399 version = xmUseVersion;
31405 rm -f conftest.
$ac_objext
31406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31407 (eval $ac_compile) 2>conftest.er1
31409 grep -v '^ *+' conftest.er1
>conftest.err
31411 cat conftest.err
>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); } &&
31414 { ac_try
='test -z "$ac_cxx_werror_flag"
31415 || test ! -s conftest.err'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; } &&
31421 { ac_try
='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31428 echo "$as_me:$LINENO: result: found in default search path" >&5
31429 echo "${ECHO_T}found in default search path" >&6
31430 COMPILED_X_PROGRAM
=1
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.
$ac_ext >&5
31437 echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6
31439 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31440 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31441 { (exit 1); exit 1; }; }
31445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31447 CXXFLAGS
=$save_CXXFLAGS
31451 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31452 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31455 for ac_dir
in $SEARCH_LIB;
31457 for ac_extension
in a so sl dylib dll.a
; do
31458 if test -f "$ac_dir/libXm.$ac_extension"; then
31459 ac_find_libraries
=$ac_dir
31466 if test "x$ac_find_libraries" != "x" ; then
31467 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31468 echo "${ECHO_T}found in $ac_find_libraries" >&6
31471 if test "$ac_find_libraries" = "default location"; then
31474 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31476 if test $result = 0; then
31479 ac_path_to_link
=" -L$ac_find_libraries"
31483 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31485 save_CXXFLAGS
=$CXXFLAGS
31486 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31488 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31490 cat >conftest.
$ac_ext <<_ACEOF
31493 cat confdefs.h
>>conftest.
$ac_ext
31494 cat >>conftest.
$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31504 version = xmUseVersion;
31510 rm -f conftest.
$ac_objext conftest
$ac_exeext
31511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31512 (eval $ac_link) 2>conftest.er1
31514 grep -v '^ *+' conftest.er1
>conftest.err
31516 cat conftest.err
>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); } &&
31519 { ac_try
='test -z "$ac_cxx_werror_flag"
31520 || test ! -s conftest.err'
31521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522 (eval $ac_try) 2>&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; } &&
31526 { ac_try
='test -s conftest$ac_exeext'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; }; then
31533 echo "$as_me:$LINENO: result: found in default search path" >&5
31534 echo "${ECHO_T}found in default search path" >&6
31535 COMPILED_X_PROGRAM
=1
31538 echo "$as_me: failed program was:" >&5
31539 sed 's/^/| /' conftest.
$ac_ext >&5
31542 echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6
31544 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31545 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31546 { (exit 1); exit 1; }; }
31550 rm -f conftest.err conftest.
$ac_objext \
31551 conftest
$ac_exeext conftest.
$ac_ext
31553 CXXFLAGS
=$save_CXXFLAGS
31557 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31558 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31562 for libp
in "" " -lXp"; do
31563 if test "$libs_found" = "0"; then
31564 for libsm_ice
in "" " -lSM -lICE"; do
31565 if test "$libs_found" = "0"; then
31567 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31568 save_CXXFLAGS
=$CXXFLAGS
31569 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31571 cat >conftest.
$ac_ext <<_ACEOF
31574 cat confdefs.h
>>conftest.
$ac_ext
31575 cat >>conftest.
$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31579 #include <Xm/List.h>
31585 XmString string = NULL;
31588 XmListAddItem(w, string, position);
31594 rm -f conftest.
$ac_objext conftest
$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596 (eval $ac_link) 2>conftest.er1
31598 grep -v '^ *+' conftest.er1
>conftest.err
31600 cat conftest.err
>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try
='test -z "$ac_cxx_werror_flag"
31604 || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try
='test -s conftest$ac_exeext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31618 libsm_ice_link
="$libsm_ice"
31619 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31620 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.
$ac_ext >&5
31630 rm -f conftest.err conftest.
$ac_objext \
31631 conftest
$ac_exeext conftest.
$ac_ext
31634 CXXFLAGS
=$save_CXXFLAGS
31640 if test "$libs_found" = "0"; then
31641 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31642 echo "${ECHO_T}can't find the right libraries" >&6
31643 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31644 echo "$as_me: error: can't link a simple motif program" >&2;}
31645 { (exit 1); exit 1; }; }
31648 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31649 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31650 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 ac_check_lib_save_LIBS
=$LIBS
31655 cat >conftest.
$ac_ext <<_ACEOF
31658 cat confdefs.h
>>conftest.
$ac_ext
31659 cat >>conftest.
$ac_ext <<_ACEOF
31660 /* end confdefs.h. */
31662 /* Override any gcc2 internal prototype to avoid an error. */
31666 /* We use char because int might match the return type of a gcc2
31667 builtin and then its argument prototype would still apply. */
31668 char SgCreateList ();
31677 rm -f conftest.
$ac_objext conftest
$ac_exeext
31678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31679 (eval $ac_link) 2>conftest.er1
31681 grep -v '^ *+' conftest.er1
>conftest.err
31683 cat conftest.err
>&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } &&
31686 { ac_try
='test -z "$ac_cxx_werror_flag"
31687 || test ! -s conftest.err'
31688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689 (eval $ac_try) 2>&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; } &&
31693 { ac_try
='test -s conftest$ac_exeext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_cv_lib_Sgm_SgCreateList
=yes
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.
$ac_ext >&5
31704 ac_cv_lib_Sgm_SgCreateList
=no
31706 rm -f conftest.err conftest.
$ac_objext \
31707 conftest
$ac_exeext conftest.
$ac_ext
31708 LIBS
=$ac_check_lib_save_LIBS
31710 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31711 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31712 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31713 libsgm_link
=" -lSgm"
31717 save_CXXFLAGS
=$CXXFLAGS
31718 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31720 echo "$as_me:$LINENO: checking for Motif 2" >&5
31721 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31722 if test "${wx_cv_lib_motif2+set}" = set; then
31723 echo $ECHO_N "(cached) $ECHO_C" >&6
31725 cat >conftest.
$ac_ext <<_ACEOF
31728 cat confdefs.h
>>conftest.
$ac_ext
31729 cat >>conftest.
$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31738 #if XmVersion < 2000
31746 rm -f conftest.
$ac_objext
31747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31748 (eval $ac_compile) 2>conftest.er1
31750 grep -v '^ *+' conftest.er1
>conftest.err
31752 cat conftest.err
>&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); } &&
31755 { ac_try
='test -z "$ac_cxx_werror_flag"
31756 || test ! -s conftest.err'
31757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31758 (eval $ac_try) 2>&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); }; } &&
31762 { ac_try
='test -s conftest.$ac_objext'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; }; then
31768 wx_cv_lib_motif2
="yes"
31770 echo "$as_me: failed program was:" >&5
31771 sed 's/^/| /' conftest.
$ac_ext >&5
31773 wx_cv_lib_motif2
="no"
31775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31777 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31778 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31779 if test "$wx_cv_lib_motif2" = "yes"; then
31780 cat >>confdefs.h
<<\_ACEOF
31781 #define __WXMOTIF20__ 1
31785 cat >>confdefs.h
<<\_ACEOF
31786 #define __WXMOTIF20__ 0
31791 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31792 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31793 if test "${wx_cv_lib_lesstif+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31796 cat >conftest.
$ac_ext <<_ACEOF
31799 cat confdefs.h
>>conftest.
$ac_ext
31800 cat >>conftest.
$ac_ext <<_ACEOF
31801 /* end confdefs.h. */
31809 #if !defined(LesstifVersion) || LesstifVersion <= 0
31817 rm -f conftest.
$ac_objext
31818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31819 (eval $ac_compile) 2>conftest.er1
31821 grep -v '^ *+' conftest.er1
>conftest.err
31823 cat conftest.err
>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } &&
31826 { ac_try
='test -z "$ac_cxx_werror_flag"
31827 || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try
='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 wx_cv_lib_lesstif
="yes"
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.
$ac_ext >&5
31844 wx_cv_lib_lesstif
="no"
31846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31849 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31850 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31851 if test "$wx_cv_lib_lesstif" = "yes"; then
31852 cat >>confdefs.h
<<\_ACEOF
31853 #define __WXLESSTIF__ 1
31857 cat >>confdefs.h
<<\_ACEOF
31858 #define __WXLESSTIF__ 0
31863 CXXFLAGS
=$save_CXXFLAGS
31865 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31870 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31871 if test "$wxUSE_LIBXPM" = "sys"; then
31872 echo "$as_me:$LINENO: checking for Xpm library" >&5
31873 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31876 for ac_dir
in $SEARCH_LIB;
31878 for ac_extension
in a so sl dylib dll.a
; do
31879 if test -f "$ac_dir/libXpm.$ac_extension"; then
31880 ac_find_libraries
=$ac_dir
31886 if test "$ac_find_libraries" != "" ; then
31888 if test "$ac_find_libraries" = "default location"; then
31891 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31893 if test $result = 0; then
31896 ac_path_to_link
=" -L$ac_find_libraries"
31900 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31901 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31902 echo "${ECHO_T}found in $ac_find_libraries" >&6
31904 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31905 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31906 if test "${wx_cv_x11_xpm_h+set}" = set; then
31907 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 save_CXXFLAGS
=$CXXFLAGS
31911 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31913 cat >conftest.
$ac_ext <<_ACEOF
31916 cat confdefs.h
>>conftest.
$ac_ext
31917 cat >>conftest.
$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31920 #include <X11/xpm.h>
31927 version = XpmLibraryVersion();
31933 rm -f conftest.
$ac_objext
31934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31935 (eval $ac_compile) 2>conftest.er1
31937 grep -v '^ *+' conftest.er1
>conftest.err
31939 cat conftest.err
>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); } &&
31942 { ac_try
='test -z "$ac_cxx_werror_flag"
31943 || test ! -s conftest.err'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; } &&
31949 { ac_try
='test -s conftest.$ac_objext'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; }; then
31955 wx_cv_x11_xpm_h
=yes
31957 echo "$as_me: failed program was:" >&5
31958 sed 's/^/| /' conftest.
$ac_ext >&5
31963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31965 CXXFLAGS
=$save_CXXFLAGS
31969 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31970 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31972 if test $wx_cv_x11_xpm_h = "yes"; then
31973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31974 cat >>confdefs.h
<<\_ACEOF
31975 #define wxHAVE_LIB_XPM 1
31979 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31980 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31986 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31987 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31988 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31989 echo $ECHO_N "(cached) $ECHO_C" >&6
31991 ac_check_lib_save_LIBS
=$LIBS
31992 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31993 cat >conftest.
$ac_ext <<_ACEOF
31996 cat confdefs.h
>>conftest.
$ac_ext
31997 cat >>conftest.
$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
32000 /* Override any gcc2 internal prototype to avoid an error. */
32004 /* We use char because int might match the return type of a gcc2
32005 builtin and then its argument prototype would still apply. */
32006 char XShapeQueryExtension ();
32010 XShapeQueryExtension ();
32015 rm -f conftest.
$ac_objext conftest
$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>conftest.er1
32019 grep -v '^ *+' conftest.er1
>conftest.err
32021 cat conftest.err
>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try
='test -z "$ac_cxx_werror_flag"
32025 || test ! -s conftest.err'
32026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32027 (eval $ac_try) 2>&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); }; } &&
32031 { ac_try
='test -s conftest$ac_exeext'
32032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32033 (eval $ac_try) 2>&5
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); }; }; then
32037 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.
$ac_ext >&5
32042 ac_cv_lib_Xext_XShapeQueryExtension
=no
32044 rm -f conftest.err conftest.
$ac_objext \
32045 conftest
$ac_exeext conftest.
$ac_ext
32046 LIBS
=$ac_check_lib_save_LIBS
32048 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32049 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32050 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32052 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32058 if test "$wxHAVE_XEXT_LIB" = 1; then
32059 save_CXXFLAGS
="$CXXFLAGS"
32060 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32062 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32063 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32064 cat >conftest.
$ac_ext <<_ACEOF
32067 cat confdefs.h
>>conftest.
$ac_ext
32068 cat >>conftest.
$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32071 #include <X11/Xlib.h>
32072 #include <X11/extensions/shape.h>
32078 int dummy1, dummy2;
32079 XShapeQueryExtension((Display*)NULL,
32080 (int*)NULL, (int*)NULL);
32086 rm -f conftest.
$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32090 grep -v '^ *+' conftest.er1
>conftest.err
32092 cat conftest.err
>&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try
='test -z "$ac_cxx_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try
='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32109 cat >>confdefs.h
<<\_ACEOF
32110 #define HAVE_XSHAPE 1
32113 echo "$as_me:$LINENO: result: found" >&5
32114 echo "${ECHO_T}found" >&6
32117 echo "$as_me: failed program was:" >&5
32118 sed 's/^/| /' conftest.
$ac_ext >&5
32121 echo "$as_me:$LINENO: result: not found" >&5
32122 echo "${ECHO_T}not found" >&6
32125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32126 CXXFLAGS
="$save_CXXFLAGS"
32131 if test "$wxUSE_MAC" = 1; then
32132 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32133 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32134 if test "$GCC" = yes; then
32135 echo "$as_me:$LINENO: result: gcc" >&5
32136 echo "${ECHO_T}gcc" >&6
32137 CPPFLAGS_PASCAL
="-fpascal-strings"
32138 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32139 echo "$as_me:$LINENO: result: xlc" >&5
32140 echo "${ECHO_T}xlc" >&6
32141 CPPFLAGS_PASCAL
="-qmacpstr"
32143 echo "$as_me:$LINENO: result: none" >&5
32144 echo "${ECHO_T}none" >&6
32147 if test "x$wxUSE_UNIX" = "xyes"; then
32148 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32150 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32155 WXBASEPORT
="_carbon"
32158 if test "$wxUSE_COCOA" = 1; then
32163 if test "$wxUSE_PM" = 1; then
32166 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32167 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32168 if test "${wx_cv_spbcdata+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32172 cat >conftest.
$ac_ext <<_ACEOF
32175 cat confdefs.h
>>conftest.
$ac_ext
32176 cat >>conftest.
$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32192 rm -f conftest.
$ac_objext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32194 (eval $ac_compile) 2>conftest.er1
32196 grep -v '^ *+' conftest.er1
>conftest.err
32198 cat conftest.err
>&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try
='test -z "$ac_cxx_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try
='test -s conftest.$ac_objext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.
$ac_ext >&5
32222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32226 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32227 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32229 if test $wx_cv_spbcdata = "yes"; then
32230 cat >>confdefs.h
<<\_ACEOF
32231 #define HAVE_SPBCDATA 1
32237 if test "$TOOLKIT" = "PM" ; then
32240 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32243 if test "$wxUSE_UNIVERSAL" = "yes"; then
32244 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32248 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32249 DISTDIR
="wx\$(TOOLKIT)"
32255 if test "$USE_WIN32" = 1 ; then
32259 GUIDIST
="BASE_DIST"
32264 if test "$wxUSE_GUI" = "yes"; then
32265 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32267 for ac_header
in X
11/Xlib.h
32269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32271 echo "$as_me:$LINENO: checking for $ac_header" >&5
32272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32279 # Is the header compilable?
32280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32282 cat >conftest.
$ac_ext <<_ACEOF
32285 cat confdefs.h
>>conftest.
$ac_ext
32286 cat >>conftest.
$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32288 $ac_includes_default
32289 #include <$ac_header>
32291 rm -f conftest.
$ac_objext
32292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32293 (eval $ac_compile) 2>conftest.er1
32295 grep -v '^ *+' conftest.er1
>conftest.err
32297 cat conftest.err
>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try
='test -z "$ac_cxx_werror_flag"
32301 || test ! -s conftest.err'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; } &&
32307 { ac_try
='test -s conftest.$ac_objext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_header_compiler
=yes
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.
$ac_ext >&5
32318 ac_header_compiler
=no
32320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32322 echo "${ECHO_T}$ac_header_compiler" >&6
32324 # Is the header present?
32325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32327 cat >conftest.
$ac_ext <<_ACEOF
32330 cat confdefs.h
>>conftest.
$ac_ext
32331 cat >>conftest.
$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #include <$ac_header>
32335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32338 grep -v '^ *+' conftest.er1
>conftest.err
32340 cat conftest.err
>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } >/dev
/null
; then
32343 if test -s conftest.err
; then
32344 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32345 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32352 if test -z "$ac_cpp_err"; then
32353 ac_header_preproc
=yes
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.
$ac_ext >&5
32358 ac_header_preproc
=no
32360 rm -f conftest.err conftest.
$ac_ext
32361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32362 echo "${ECHO_T}$ac_header_preproc" >&6
32364 # So? What about this header?
32365 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32371 ac_header_preproc
=yes
32374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32388 ## ----------------------------------------- ##
32389 ## Report this to wx-dev@lists.wxwidgets.org ##
32390 ## ----------------------------------------- ##
32393 sed "s/^/$as_me: WARNING: /" >&2
32396 echo "$as_me:$LINENO: checking for $ac_header" >&5
32397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 eval "$as_ac_Header=\$ac_header_preproc"
32403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32408 cat >>confdefs.h
<<_ACEOF
32409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32417 for ac_header
in X
11/XKBlib.h
32419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32420 echo "$as_me:$LINENO: checking for $ac_header" >&5
32421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32423 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 cat >conftest.
$ac_ext <<_ACEOF
32428 cat confdefs.h
>>conftest.
$ac_ext
32429 cat >>conftest.
$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32432 #if HAVE_X11_XLIB_H
32433 #include <X11/Xlib.h>
32437 #include <$ac_header>
32439 rm -f conftest.
$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441 (eval $ac_compile) 2>conftest.er1
32443 grep -v '^ *+' conftest.er1
>conftest.err
32445 cat conftest.err
>&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } &&
32448 { ac_try
='test -z "$ac_cxx_werror_flag"
32449 || test ! -s conftest.err'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; } &&
32455 { ac_try
='test -s conftest.$ac_objext'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; }; then
32461 eval "$as_ac_Header=yes"
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.
$ac_ext >&5
32466 eval "$as_ac_Header=no"
32468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32473 cat >>confdefs.h
<<_ACEOF
32474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32489 if test "$TOOLKIT" != "MSW" ; then
32491 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32493 if test "${ac_cv_header_sql_h+set}" = set; then
32494 echo "$as_me:$LINENO: checking for sql.h" >&5
32495 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32496 if test "${ac_cv_header_sql_h+set}" = set; then
32497 echo $ECHO_N "(cached) $ECHO_C" >&6
32499 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32500 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32502 # Is the header compilable?
32503 echo "$as_me:$LINENO: checking sql.h usability" >&5
32504 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32505 cat >conftest.
$ac_ext <<_ACEOF
32508 cat confdefs.h
>>conftest.
$ac_ext
32509 cat >>conftest.
$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511 $ac_includes_default
32514 rm -f conftest.
$ac_objext
32515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32516 (eval $ac_compile) 2>conftest.er1
32518 grep -v '^ *+' conftest.er1
>conftest.err
32520 cat conftest.err
>&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } &&
32523 { ac_try
='test -z "$ac_cxx_werror_flag"
32524 || test ! -s conftest.err'
32525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32526 (eval $ac_try) 2>&5
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); }; } &&
32530 { ac_try
='test -s conftest.$ac_objext'
32531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32532 (eval $ac_try) 2>&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); }; }; then
32536 ac_header_compiler
=yes
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.
$ac_ext >&5
32541 ac_header_compiler
=no
32543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32545 echo "${ECHO_T}$ac_header_compiler" >&6
32547 # Is the header present?
32548 echo "$as_me:$LINENO: checking sql.h presence" >&5
32549 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32550 cat >conftest.
$ac_ext <<_ACEOF
32553 cat confdefs.h
>>conftest.
$ac_ext
32554 cat >>conftest.
$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32561 grep -v '^ *+' conftest.er1
>conftest.err
32563 cat conftest.err
>&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } >/dev
/null
; then
32566 if test -s conftest.err
; then
32567 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32568 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32575 if test -z "$ac_cpp_err"; then
32576 ac_header_preproc
=yes
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.
$ac_ext >&5
32581 ac_header_preproc
=no
32583 rm -f conftest.err conftest.
$ac_ext
32584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32585 echo "${ECHO_T}$ac_header_preproc" >&6
32587 # So? What about this header?
32588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32590 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32591 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32592 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32593 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32594 ac_header_preproc
=yes
32597 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32598 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32599 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32600 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32601 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32602 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32603 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32604 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32605 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32606 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32607 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32608 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32611 ## ----------------------------------------- ##
32612 ## Report this to wx-dev@lists.wxwidgets.org ##
32613 ## ----------------------------------------- ##
32616 sed "s/^/$as_me: WARNING: /" >&2
32619 echo "$as_me:$LINENO: checking for sql.h" >&5
32620 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32621 if test "${ac_cv_header_sql_h+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 ac_cv_header_sql_h
=$ac_header_preproc
32626 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32627 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32630 if test $ac_cv_header_sql_h = yes; then
32635 if test "x$found_sql_h" = "x1" ; then
32636 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32637 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32638 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 ac_check_lib_save_LIBS
=$LIBS
32642 LIBS
="-liodbc $LIBS"
32643 cat >conftest.
$ac_ext <<_ACEOF
32646 cat confdefs.h
>>conftest.
$ac_ext
32647 cat >>conftest.
$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32650 /* Override any gcc2 internal prototype to avoid an error. */
32654 /* We use char because int might match the return type of a gcc2
32655 builtin and then its argument prototype would still apply. */
32656 char SQLAllocEnv ();
32665 rm -f conftest.
$ac_objext conftest
$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667 (eval $ac_link) 2>conftest.er1
32669 grep -v '^ *+' conftest.er1
>conftest.err
32671 cat conftest.err
>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try
='test -z "$ac_cxx_werror_flag"
32675 || test ! -s conftest.err'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; } &&
32681 { ac_try
='test -s conftest$ac_exeext'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; }; then
32687 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.
$ac_ext >&5
32692 ac_cv_lib_iodbc_SQLAllocEnv
=no
32694 rm -f conftest.err conftest.
$ac_objext \
32695 conftest
$ac_exeext conftest.
$ac_ext
32696 LIBS
=$ac_check_lib_save_LIBS
32698 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32699 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32700 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32701 ODBC_LINK
=" -liodbc"
32704 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32705 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32706 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 ac_check_lib_save_LIBS
=$LIBS
32710 LIBS
="-lunixodbc $LIBS"
32711 cat >conftest.
$ac_ext <<_ACEOF
32714 cat confdefs.h
>>conftest.
$ac_ext
32715 cat >>conftest.
$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32718 /* Override any gcc2 internal prototype to avoid an error. */
32722 /* We use char because int might match the return type of a gcc2
32723 builtin and then its argument prototype would still apply. */
32724 char SQLAllocEnv ();
32733 rm -f conftest.
$ac_objext conftest
$ac_exeext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32735 (eval $ac_link) 2>conftest.er1
32737 grep -v '^ *+' conftest.er1
>conftest.err
32739 cat conftest.err
>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try
='test -z "$ac_cxx_werror_flag"
32743 || test ! -s conftest.err'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; } &&
32749 { ac_try
='test -s conftest$ac_exeext'
32750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32751 (eval $ac_try) 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; }; then
32755 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.
$ac_ext >&5
32760 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32762 rm -f conftest.err conftest.
$ac_objext \
32763 conftest
$ac_exeext conftest.
$ac_ext
32764 LIBS
=$ac_check_lib_save_LIBS
32766 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32767 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32768 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32769 ODBC_LINK
=" -lunixodbc"
32772 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32773 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32774 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32775 echo $ECHO_N "(cached) $ECHO_C" >&6
32777 ac_check_lib_save_LIBS
=$LIBS
32778 LIBS
="-lodbc $LIBS"
32779 cat >conftest.
$ac_ext <<_ACEOF
32782 cat confdefs.h
>>conftest.
$ac_ext
32783 cat >>conftest.
$ac_ext <<_ACEOF
32784 /* end confdefs.h. */
32786 /* Override any gcc2 internal prototype to avoid an error. */
32790 /* We use char because int might match the return type of a gcc2
32791 builtin and then its argument prototype would still apply. */
32792 char SQLAllocEnv ();
32801 rm -f conftest.
$ac_objext conftest
$ac_exeext
32802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32803 (eval $ac_link) 2>conftest.er1
32805 grep -v '^ *+' conftest.er1
>conftest.err
32807 cat conftest.err
>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } &&
32810 { ac_try
='test -z "$ac_cxx_werror_flag"
32811 || test ! -s conftest.err'
32812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32813 (eval $ac_try) 2>&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); }; } &&
32817 { ac_try
='test -s conftest$ac_exeext'
32818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32819 (eval $ac_try) 2>&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; }; then
32823 ac_cv_lib_odbc_SQLAllocEnv
=yes
32825 echo "$as_me: failed program was:" >&5
32826 sed 's/^/| /' conftest.
$ac_ext >&5
32828 ac_cv_lib_odbc_SQLAllocEnv
=no
32830 rm -f conftest.err conftest.
$ac_objext \
32831 conftest
$ac_exeext conftest.
$ac_ext
32832 LIBS
=$ac_check_lib_save_LIBS
32834 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32835 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32836 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32837 ODBC_LINK
=" -lodbc"
32847 if test "x$ODBC_LINK" = "x" ; then
32848 if test "$wxUSE_ODBC" = "sys" ; then
32849 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32850 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32851 { (exit 1); exit 1; }; }
32853 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32854 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32862 if test "$wxUSE_ODBC" = "builtin" ; then
32863 cat >>confdefs.h
<<\_ACEOF
32864 #define wxUSE_BUILTIN_IODBC 1
32870 if test "$wxUSE_ODBC" != "no" ; then
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_ODBC 1
32875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32877 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32881 if test "$wxUSE_DISPLAY" = "yes"; then
32882 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32883 echo "$as_me:$LINENO: checking for Xinerama" >&5
32884 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32887 for ac_dir
in $SEARCH_LIB;
32889 for ac_extension
in a so sl dylib dll.a
; do
32890 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32891 ac_find_libraries
=$ac_dir
32897 if test "$ac_find_libraries" != "" ; then
32899 if test "$ac_find_libraries" = "default location"; then
32902 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32904 if test $result = 0; then
32907 ac_path_to_link
=" -L$ac_find_libraries"
32911 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32912 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32914 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32915 echo "$as_me:$LINENO: result: yes" >&5
32916 echo "${ECHO_T}yes" >&6
32918 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32919 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32922 for ac_dir
in $SEARCH_LIB;
32924 for ac_extension
in a so sl dylib dll.a
; do
32925 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32926 ac_find_libraries
=$ac_dir
32932 if test "$ac_find_libraries" != "" ; then
32933 echo "$as_me:$LINENO: result: yes" >&5
32934 echo "${ECHO_T}yes" >&6
32936 for ac_header
in X
11/extensions
/xf86vmode.h
32938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32939 echo "$as_me:$LINENO: checking for $ac_header" >&5
32940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 cat >conftest.
$ac_ext <<_ACEOF
32947 cat confdefs.h
>>conftest.
$ac_ext
32948 cat >>conftest.
$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32951 #if HAVE_X11_XLIB_H
32952 #include <X11/Xlib.h>
32956 #include <$ac_header>
32958 rm -f conftest.
$ac_objext
32959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32960 (eval $ac_compile) 2>conftest.er1
32962 grep -v '^ *+' conftest.er1
>conftest.err
32964 cat conftest.err
>&5
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); } &&
32967 { ac_try
='test -z "$ac_cxx_werror_flag"
32968 || test ! -s conftest.err'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; } &&
32974 { ac_try
='test -s conftest.$ac_objext'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }; then
32980 eval "$as_ac_Header=yes"
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.
$ac_ext >&5
32985 eval "$as_ac_Header=no"
32987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32992 cat >>confdefs.h
<<_ACEOF
32993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32996 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33003 echo "$as_me:$LINENO: result: no" >&5
33004 echo "${ECHO_T}no" >&6
33008 echo "$as_me:$LINENO: result: no" >&5
33009 echo "${ECHO_T}no" >&6
33010 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33011 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33014 elif test "$wxUSE_MSW" = 1; then
33016 for ac_header
in ddraw.h
33018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33019 echo "$as_me:$LINENO: checking for $ac_header" >&5
33020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33024 cat >conftest.
$ac_ext <<_ACEOF
33027 cat confdefs.h
>>conftest.
$ac_ext
33028 cat >>conftest.
$ac_ext <<_ACEOF
33029 /* end confdefs.h. */
33030 #include <windows.h>
33032 #include <$ac_header>
33034 rm -f conftest.
$ac_objext
33035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33036 (eval $ac_compile) 2>conftest.er1
33038 grep -v '^ *+' conftest.er1
>conftest.err
33040 cat conftest.err
>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); } &&
33043 { ac_try
='test -z "$ac_cxx_werror_flag"
33044 || test ! -s conftest.err'
33045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046 (eval $ac_try) 2>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); }; } &&
33050 { ac_try
='test -s conftest.$ac_objext'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; }; then
33056 eval "$as_ac_Header=yes"
33058 echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.
$ac_ext >&5
33061 eval "$as_ac_Header=no"
33063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33068 cat >>confdefs.h
<<_ACEOF
33069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33081 if test "$wxUSE_OPENGL" = "yes"; then
33082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33083 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33084 elif test "$wxUSE_MSW" = 1; then
33085 OPENGL_LIBS
="-lopengl32 -lglu32"
33090 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33092 if test -f "$ac_dir/GL/gl.h"; then
33093 ac_find_includes
=$ac_dir
33098 if test "$ac_find_includes" != "" ; then
33099 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33100 echo "${ECHO_T}found in $ac_find_includes" >&6
33102 if test "x$ac_find_includes" = "x/usr/include"; then
33103 ac_path_to_include
=""
33105 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33107 if test $result = 0; then
33108 ac_path_to_include
=""
33110 ac_path_to_include
=" -I$ac_find_includes"
33114 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33117 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33118 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33119 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33120 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33123 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33124 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33126 # Is the header compilable?
33127 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33128 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33129 cat >conftest.
$ac_ext <<_ACEOF
33132 cat confdefs.h
>>conftest.
$ac_ext
33133 cat >>conftest.
$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135 $ac_includes_default
33138 rm -f conftest.
$ac_objext
33139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33140 (eval $ac_compile) 2>conftest.er1
33142 grep -v '^ *+' conftest.er1
>conftest.err
33144 cat conftest.err
>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } &&
33147 { ac_try
='test -z "$ac_cxx_werror_flag"
33148 || test ! -s conftest.err'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; } &&
33154 { ac_try
='test -s conftest.$ac_objext'
33155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33156 (eval $ac_try) 2>&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); }; }; then
33160 ac_header_compiler
=yes
33162 echo "$as_me: failed program was:" >&5
33163 sed 's/^/| /' conftest.
$ac_ext >&5
33165 ac_header_compiler
=no
33167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33169 echo "${ECHO_T}$ac_header_compiler" >&6
33171 # Is the header present?
33172 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33173 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33174 cat >conftest.
$ac_ext <<_ACEOF
33177 cat confdefs.h
>>conftest.
$ac_ext
33178 cat >>conftest.
$ac_ext <<_ACEOF
33179 /* end confdefs.h. */
33182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33185 grep -v '^ *+' conftest.er1
>conftest.err
33187 cat conftest.err
>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); } >/dev
/null
; then
33190 if test -s conftest.err
; then
33191 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33192 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33199 if test -z "$ac_cpp_err"; then
33200 ac_header_preproc
=yes
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.
$ac_ext >&5
33205 ac_header_preproc
=no
33207 rm -f conftest.err conftest.
$ac_ext
33208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33209 echo "${ECHO_T}$ac_header_preproc" >&6
33211 # So? What about this header?
33212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33215 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33216 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33217 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33218 ac_header_preproc
=yes
33221 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33222 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33223 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33224 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33226 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33228 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33230 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33231 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33232 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33235 ## ----------------------------------------- ##
33236 ## Report this to wx-dev@lists.wxwidgets.org ##
33237 ## ----------------------------------------- ##
33240 sed "s/^/$as_me: WARNING: /" >&2
33243 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33244 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33245 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 ac_cv_header_GL_gl_h
=$ac_header_preproc
33250 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33251 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33254 if test $ac_cv_header_GL_gl_h = yes; then
33258 echo "$as_me:$LINENO: checking for -lGL" >&5
33259 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33262 for ac_dir
in $SEARCH_LIB;
33264 for ac_extension
in a so sl dylib dll.a
; do
33265 if test -f "$ac_dir/libGL.$ac_extension"; then
33266 ac_find_libraries
=$ac_dir
33272 if test "$ac_find_libraries" != "" ; then
33273 echo "$as_me:$LINENO: result: yes" >&5
33274 echo "${ECHO_T}yes" >&6
33277 if test "$ac_find_libraries" = "default location"; then
33280 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33282 if test $result = 0; then
33285 ac_path_to_link
=" -L$ac_find_libraries"
33289 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33290 LDFLAGS_GL
="$ac_path_to_link"
33293 echo "$as_me:$LINENO: checking for -lGLU" >&5
33294 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33297 for ac_dir
in $SEARCH_LIB;
33299 for ac_extension
in a so sl dylib dll.a
; do
33300 if test -f "$ac_dir/libGLU.$ac_extension"; then
33301 ac_find_libraries
=$ac_dir
33307 if test "$ac_find_libraries" != "" ; then
33309 if test "$ac_find_libraries" = "default location"; then
33312 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33314 if test $result = 0; then
33317 ac_path_to_link
=" -L$ac_find_libraries"
33321 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33322 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33323 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33327 OPENGL_LIBS
="-lGL -lGLU"
33328 echo "$as_me:$LINENO: result: yes" >&5
33329 echo "${ECHO_T}yes" >&6
33331 echo "$as_me:$LINENO: result: no" >&5
33332 echo "${ECHO_T}no" >&6
33335 echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6
33339 if test "$found_gl" != 1; then
33340 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33341 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33344 for ac_dir
in $SEARCH_LIB;
33346 for ac_extension
in a so sl dylib dll.a
; do
33347 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33348 ac_find_libraries
=$ac_dir
33354 if test "$ac_find_libraries" != "" ; then
33356 if test "$ac_find_libraries" = "default location"; then
33359 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33361 if test $result = 0; then
33364 ac_path_to_link
=" -L$ac_find_libraries"
33368 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33369 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33370 echo "$as_me:$LINENO: result: yes" >&5
33371 echo "${ECHO_T}yes" >&6
33373 echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6
33382 if test "x$OPENGL_LIBS" = "x"; then
33383 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33384 echo "$as_me: error: OpenGL libraries not available" >&2;}
33385 { (exit 1); exit 1; }; }
33389 if test "$wxUSE_OPENGL" = "yes"; then
33391 cat >>confdefs.h
<<\_ACEOF
33392 #define wxUSE_OPENGL 1
33395 cat >>confdefs.h
<<\_ACEOF
33396 #define wxUSE_GLCANVAS 1
33399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33404 if test -n "$TOOLKIT" ; then
33405 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33410 if test "$wxUSE_SHARED" = "yes"; then
33414 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33415 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33420 if test "$wxUSE_SHARED" = "yes"; then
33423 found_versioning
=no
33426 if test $found_versioning = no
; then
33427 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33428 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33429 if test "${wx_cv_version_script+set}" = set; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33433 echo "VER_1 { *; };" >conftest.sym
33434 echo "int main() { return 0; }" >conftest.cpp
33437 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33438 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; } ; then
33444 if test -s conftest.stderr
; then
33445 wx_cv_version_script
=no
33447 wx_cv_version_script
=yes
33450 wx_cv_version_script
=no
33453 if test $wx_cv_version_script = yes
33455 echo "struct B { virtual ~B() { } }; \
33456 struct D : public B { }; \
33457 void F() { D d; }" > conftest.cpp
33460 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33461 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33468 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33469 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }
33477 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33478 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; }
33485 wx_cv_version_script
=yes
33487 wx_cv_version_script
=no
33492 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33493 rm -f conftest1.output conftest2.output conftest3.output
33496 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33497 echo "${ECHO_T}$wx_cv_version_script" >&6
33498 if test $wx_cv_version_script = yes ; then
33499 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33505 *-*-linux* | *-*-gnu* )
33506 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33507 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33511 if test "$GCC" = yes ; then
33512 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33514 saveLdflags
="$LDFLAGS"
33515 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33516 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33517 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33518 cat >conftest.
$ac_ext <<_ACEOF
33521 cat confdefs.h
>>conftest.
$ac_ext
33522 cat >>conftest.
$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33533 rm -f conftest.
$ac_objext conftest
$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33537 grep -v '^ *+' conftest.er1
>conftest.err
33539 cat conftest.err
>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try
='test -z "$ac_cxx_werror_flag"
33543 || test ! -s conftest.err'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } &&
33549 { ac_try
='test -s conftest$ac_exeext'
33550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33551 (eval $ac_try) 2>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); }; }; then
33556 echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6
33558 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33559 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.
$ac_ext >&5
33566 echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6
33568 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33569 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33570 LDFLAGS
="$saveLdflags -Wl,-R,/"
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33586 rm -f conftest.
$ac_objext conftest
$ac_exeext
33587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33588 (eval $ac_link) 2>conftest.er1
33590 grep -v '^ *+' conftest.er1
>conftest.err
33592 cat conftest.err
>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); } &&
33595 { ac_try
='test -z "$ac_cxx_werror_flag"
33596 || test ! -s conftest.err'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; } &&
33602 { ac_try
='test -s conftest$ac_exeext'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; }; then
33609 echo "$as_me:$LINENO: result: yes" >&5
33610 echo "${ECHO_T}yes" >&6
33611 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33612 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.
$ac_ext >&5
33619 echo "$as_me:$LINENO: result: no" >&5
33620 echo "${ECHO_T}no" >&6
33623 rm -f conftest.err conftest.
$ac_objext \
33624 conftest
$ac_exeext conftest.
$ac_ext
33627 rm -f conftest.err conftest.
$ac_objext \
33628 conftest
$ac_exeext conftest.
$ac_ext
33629 LDFLAGS
="$saveLdflags"
33631 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33632 WXCONFIG_RPATH
="-R\$libdir"
33637 install_name_tool
=`which install_name_tool`
33638 if test "$install_name_tool" -a -x "$install_name_tool"; then
33639 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33640 cat <<EOF >change-install-names
33642 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33643 inst_cmd="install_name_tool "
33644 for i in \${libnames} ; do
33645 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33649 chmod +x change
-install-names
33653 *-*-cygwin* | *-*-mingw32* )
33654 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33658 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33659 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33664 if test $wxUSE_RPATH = "no"; then
33665 SAMPLES_RPATH_FLAG
=''
33666 SAMPLES_RPATH_POSTLINK
=''
33674 config_linkage_component
="-static"
33681 lib_unicode_suffix
=
33683 if test "$wxUSE_UNICODE" = "yes"; then
33684 lib_unicode_suffix
=u
33685 WX_CHARTYPE
="unicode"
33690 WX_DEBUGTYPE
="release"
33692 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33694 WX_DEBUGTYPE
="debug"
33698 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33699 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33702 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33706 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33708 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33710 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33712 if test "$cross_compiling" = "yes"; then
33713 HOST_SUFFIX
="-$host_alias"
33714 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33715 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33718 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33719 if test "${TOOLKIT_DIR}" = "os2"; then
33720 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33722 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33727 if test "$wxUSE_COCOA" = 1; then
33731 ac_cpp
='$CPP $CPPFLAGS'
33732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33738 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33739 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33740 cat >conftest.
$ac_ext <<_ACEOF
33743 cat confdefs.h
>>conftest.
$ac_ext
33744 cat >>conftest.
$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 #include <AppKit/NSEvent.h>
33747 #include <CoreFoundation/CoreFoundation.h>
33757 rm -f conftest.
$ac_objext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33759 (eval $ac_compile) 2>conftest.er1
33761 grep -v '^ *+' conftest.er1
>conftest.err
33763 cat conftest.err
>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try
='test -z "$ac_c_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try
='test -s conftest.$ac_objext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6
33782 echo "$as_me: failed program was:" >&5
33783 sed 's/^/| /' conftest.
$ac_ext >&5
33785 echo "$as_me:$LINENO: result: yes" >&5
33786 echo "${ECHO_T}yes" >&6
33787 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33788 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33789 cat >conftest.
$ac_ext <<_ACEOF
33792 cat confdefs.h
>>conftest.
$ac_ext
33793 cat >>conftest.
$ac_ext <<_ACEOF
33794 /* end confdefs.h. */
33795 #define __Point__ 1
33796 #include <AppKit/NSEvent.h>
33797 #include <CoreFoundation/CoreFoundation.h>
33807 rm -f conftest.
$ac_objext
33808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33809 (eval $ac_compile) 2>conftest.er1
33811 grep -v '^ *+' conftest.er1
>conftest.err
33813 cat conftest.err
>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } &&
33816 { ac_try
='test -z "$ac_c_werror_flag"
33817 || test ! -s conftest.err'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; } &&
33823 { ac_try
='test -s conftest.$ac_objext'
33824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33825 (eval $ac_try) 2>&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); }; }; then
33829 echo "$as_me:$LINENO: result: yes" >&5
33830 echo "${ECHO_T}yes" >&6
33831 cat >>confdefs.h
<<\_ACEOF
33832 #define __Point__ 1
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.
$ac_ext >&5
33840 { { echo "$as_me:$LINENO: error: no
33841 See \`config.log' for more details." >&5
33842 echo "$as_me: error: no
33843 See \`config.log' for more details." >&2;}
33844 { (exit 1); exit 1; }; }
33847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33852 ac_cpp
='$CXXCPP $CPPFLAGS'
33853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33860 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33861 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33863 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33865 # Extract the first word of "Rez", so it can be a program name with args.
33866 set dummy Rez
; ac_word
=$2
33867 echo "$as_me:$LINENO: checking for $ac_word" >&5
33868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33869 if test "${ac_cv_prog_REZ+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 if test -n "$REZ"; then
33873 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33876 for as_dir
in $PATH
33879 test -z "$as_dir" && as_dir
=.
33880 for ac_exec_ext
in '' $ac_executable_extensions; do
33881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33882 ac_cv_prog_REZ
="Rez"
33883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33889 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33892 REZ
=$ac_cv_prog_REZ
33893 if test -n "$REZ"; then
33894 echo "$as_me:$LINENO: result: $REZ" >&5
33895 echo "${ECHO_T}$REZ" >&6
33897 echo "$as_me:$LINENO: result: no" >&5
33898 echo "${ECHO_T}no" >&6
33901 # Extract the first word of "DeRez", so it can be a program name with args.
33902 set dummy DeRez
; ac_word
=$2
33903 echo "$as_me:$LINENO: checking for $ac_word" >&5
33904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33905 if test "${ac_cv_prog_DEREZ+set}" = set; then
33906 echo $ECHO_N "(cached) $ECHO_C" >&6
33908 if test -n "$DEREZ"; then
33909 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33912 for as_dir
in $PATH
33915 test -z "$as_dir" && as_dir
=.
33916 for ac_exec_ext
in '' $ac_executable_extensions; do
33917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33918 ac_cv_prog_DEREZ
="DeRez"
33919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33925 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33928 DEREZ
=$ac_cv_prog_DEREZ
33929 if test -n "$DEREZ"; then
33930 echo "$as_me:$LINENO: result: $DEREZ" >&5
33931 echo "${ECHO_T}$DEREZ" >&6
33933 echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6
33937 # Extract the first word of "SetFile", so it can be a program name with args.
33938 set dummy SetFile
; ac_word
=$2
33939 echo "$as_me:$LINENO: checking for $ac_word" >&5
33940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33941 if test "${ac_cv_prog_SETFILE+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 if test -n "$SETFILE"; then
33945 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33948 for as_dir
in $PATH
33951 test -z "$as_dir" && as_dir
=.
33952 for ac_exec_ext
in '' $ac_executable_extensions; do
33953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33954 ac_cv_prog_SETFILE
="SetFile"
33955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33961 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33964 SETFILE
=$ac_cv_prog_SETFILE
33965 if test -n "$SETFILE"; then
33966 echo "$as_me:$LINENO: result: $SETFILE" >&5
33967 echo "${ECHO_T}$SETFILE" >&6
33969 echo "$as_me:$LINENO: result: no" >&5
33970 echo "${ECHO_T}no" >&6
33974 MACSETFILE
="\$(SETFILE)"
33976 if test "$wxUSE_MAC" = 1; then
33977 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33979 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33981 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33982 RESCOMP
="echo -n \| $REZ"
33983 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33989 if test "$wxUSE_PM" = 1; then
33991 WXCONFIG_RESFLAGS
="-ep"
33993 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33995 POSTLINK_COMMAND
="@true"
34002 echo "$as_me:$LINENO: checking for mode_t" >&5
34003 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34004 if test "${ac_cv_type_mode_t+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 cat >conftest.
$ac_ext <<_ACEOF
34010 cat confdefs.h
>>conftest.
$ac_ext
34011 cat >>conftest.
$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013 $ac_includes_default
34019 if (sizeof (mode_t))
34025 rm -f conftest.
$ac_objext
34026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34027 (eval $ac_compile) 2>conftest.er1
34029 grep -v '^ *+' conftest.er1
>conftest.err
34031 cat conftest.err
>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } &&
34034 { ac_try
='test -z "$ac_cxx_werror_flag"
34035 || test ! -s conftest.err'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; } &&
34041 { ac_try
='test -s conftest.$ac_objext'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; }; then
34047 ac_cv_type_mode_t
=yes
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.
$ac_ext >&5
34052 ac_cv_type_mode_t
=no
34054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34056 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34057 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34058 if test $ac_cv_type_mode_t = yes; then
34062 cat >>confdefs.h
<<_ACEOF
34068 echo "$as_me:$LINENO: checking for off_t" >&5
34069 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34070 if test "${ac_cv_type_off_t+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 cat >conftest.
$ac_ext <<_ACEOF
34076 cat confdefs.h
>>conftest.
$ac_ext
34077 cat >>conftest.
$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 $ac_includes_default
34085 if (sizeof (off_t))
34091 rm -f conftest.
$ac_objext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34093 (eval $ac_compile) 2>conftest.er1
34095 grep -v '^ *+' conftest.er1
>conftest.err
34097 cat conftest.err
>&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } &&
34100 { ac_try
='test -z "$ac_cxx_werror_flag"
34101 || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try
='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 ac_cv_type_off_t
=yes
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.
$ac_ext >&5
34118 ac_cv_type_off_t
=no
34120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34122 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34123 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34124 if test $ac_cv_type_off_t = yes; then
34128 cat >>confdefs.h
<<_ACEOF
34134 echo "$as_me:$LINENO: checking for pid_t" >&5
34135 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34136 if test "${ac_cv_type_pid_t+set}" = set; then
34137 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 cat >conftest.
$ac_ext <<_ACEOF
34142 cat confdefs.h
>>conftest.
$ac_ext
34143 cat >>conftest.
$ac_ext <<_ACEOF
34144 /* end confdefs.h. */
34145 $ac_includes_default
34151 if (sizeof (pid_t))
34157 rm -f conftest.
$ac_objext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34159 (eval $ac_compile) 2>conftest.er1
34161 grep -v '^ *+' conftest.er1
>conftest.err
34163 cat conftest.err
>&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } &&
34166 { ac_try
='test -z "$ac_cxx_werror_flag"
34167 || test ! -s conftest.err'
34168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169 (eval $ac_try) 2>&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); }; } &&
34173 { ac_try
='test -s conftest.$ac_objext'
34174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175 (eval $ac_try) 2>&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); }; }; then
34179 ac_cv_type_pid_t
=yes
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.
$ac_ext >&5
34184 ac_cv_type_pid_t
=no
34186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34188 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34189 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34190 if test $ac_cv_type_pid_t = yes; then
34194 cat >>confdefs.h
<<_ACEOF
34200 echo "$as_me:$LINENO: checking for size_t" >&5
34201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34202 if test "${ac_cv_type_size_t+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 cat >conftest.
$ac_ext <<_ACEOF
34208 cat confdefs.h
>>conftest.
$ac_ext
34209 cat >>conftest.
$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 $ac_includes_default
34217 if (sizeof (size_t))
34223 rm -f conftest.
$ac_objext
34224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34225 (eval $ac_compile) 2>conftest.er1
34227 grep -v '^ *+' conftest.er1
>conftest.err
34229 cat conftest.err
>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } &&
34232 { ac_try
='test -z "$ac_cxx_werror_flag"
34233 || test ! -s conftest.err'
34234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34235 (eval $ac_try) 2>&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); }; } &&
34239 { ac_try
='test -s conftest.$ac_objext'
34240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34241 (eval $ac_try) 2>&5
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); }; }; then
34245 ac_cv_type_size_t
=yes
34247 echo "$as_me: failed program was:" >&5
34248 sed 's/^/| /' conftest.
$ac_ext >&5
34250 ac_cv_type_size_t
=no
34252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34254 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34255 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34256 if test $ac_cv_type_size_t = yes; then
34260 cat >>confdefs.h
<<_ACEOF
34261 #define size_t unsigned
34266 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34267 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34268 if test "${ac_cv_type_uid_t+set}" = set; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 cat >conftest.
$ac_ext <<_ACEOF
34274 cat confdefs.h
>>conftest.
$ac_ext
34275 cat >>conftest.
$ac_ext <<_ACEOF
34276 /* end confdefs.h. */
34277 #include <sys/types.h>
34280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34281 $EGREP "uid_t" >/dev
/null
2>&1; then
34282 ac_cv_type_uid_t
=yes
34284 ac_cv_type_uid_t
=no
34289 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34290 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34291 if test $ac_cv_type_uid_t = no
; then
34293 cat >>confdefs.h
<<\_ACEOF
34298 cat >>confdefs.h
<<\_ACEOF
34305 echo "$as_me:$LINENO: checking for ssize_t" >&5
34306 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34307 if test "${ac_cv_type_ssize_t+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 cat >conftest.
$ac_ext <<_ACEOF
34313 cat confdefs.h
>>conftest.
$ac_ext
34314 cat >>conftest.
$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34316 $ac_includes_default
34322 if (sizeof (ssize_t))
34328 rm -f conftest.
$ac_objext
34329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34330 (eval $ac_compile) 2>conftest.er1
34332 grep -v '^ *+' conftest.er1
>conftest.err
34334 cat conftest.err
>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } &&
34337 { ac_try
='test -z "$ac_cxx_werror_flag"
34338 || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try
='test -s conftest.$ac_objext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 ac_cv_type_ssize_t
=yes
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.
$ac_ext >&5
34355 ac_cv_type_ssize_t
=no
34357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34359 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34360 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34361 if test $ac_cv_type_ssize_t = yes; then
34363 cat >>confdefs.h
<<_ACEOF
34364 #define HAVE_SSIZE_T 1
34371 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34372 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34373 if test "${wx_cv_size_t_is_uint+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 cat >conftest.
$ac_ext <<_ACEOF
34380 cat confdefs.h
>>conftest.
$ac_ext
34381 cat >>conftest.
$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383 #include <stddef.h>
34390 struct Foo { void foo(size_t); void foo(unsigned int); };
34398 rm -f conftest.
$ac_objext
34399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34400 (eval $ac_compile) 2>conftest.er1
34402 grep -v '^ *+' conftest.er1
>conftest.err
34404 cat conftest.err
>&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } &&
34407 { ac_try
='test -z "$ac_cxx_werror_flag"
34408 || test ! -s conftest.err'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; } &&
34414 { ac_try
='test -s conftest.$ac_objext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 wx_cv_size_t_is_uint
=no
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.
$ac_ext >&5
34425 wx_cv_size_t_is_uint
=yes
34428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34432 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34433 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34435 if test "$wx_cv_size_t_is_uint" = "yes"; then
34436 cat >>confdefs.h
<<\_ACEOF
34437 #define wxSIZE_T_IS_UINT 1
34441 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34442 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34443 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 cat >conftest.
$ac_ext <<_ACEOF
34449 cat confdefs.h
>>conftest.
$ac_ext
34450 cat >>conftest.
$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 #include <stddef.h>
34459 struct Foo { void foo(size_t); void foo(unsigned long); };
34467 rm -f conftest.
$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34471 grep -v '^ *+' conftest.er1
>conftest.err
34473 cat conftest.err
>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try
='test -z "$ac_cxx_werror_flag"
34477 || test ! -s conftest.err'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; } &&
34483 { ac_try
='test -s conftest.$ac_objext'
34484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34485 (eval $ac_try) 2>&5
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); }; }; then
34489 wx_cv_size_t_is_ulong
=no
34491 echo "$as_me: failed program was:" >&5
34492 sed 's/^/| /' conftest.
$ac_ext >&5
34494 wx_cv_size_t_is_ulong
=yes
34497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34500 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34501 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34503 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34504 cat >>confdefs.h
<<\_ACEOF
34505 #define wxSIZE_T_IS_ULONG 1
34512 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34513 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34514 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 cat >conftest.
$ac_ext <<_ACEOF
34521 cat confdefs.h
>>conftest.
$ac_ext
34522 cat >>conftest.
$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34537 rm -f conftest.
$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>conftest.er1
34541 grep -v '^ *+' conftest.er1
>conftest.err
34543 cat conftest.err
>&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try
='test -z "$ac_cxx_werror_flag"
34547 || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try
='test -s conftest.$ac_objext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34560 wx_cv_struct_pw_gecos
=yes
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.
$ac_ext >&5
34567 wx_cv_struct_pw_gecos
=no
34571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34575 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34576 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34578 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34579 cat >>confdefs.h
<<\_ACEOF
34580 #define HAVE_PW_GECOS 1
34586 if test "$wxUSE_WCHAR_T" = "yes"; then
34587 cat >>confdefs.h
<<\_ACEOF
34588 #define wxUSE_WCHAR_T 1
34595 for ac_func
in wcslen
34597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34598 echo "$as_me:$LINENO: checking for $ac_func" >&5
34599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34600 if eval "test \"\${$as_ac_var+set}\" = set"; then
34601 echo $ECHO_N "(cached) $ECHO_C" >&6
34603 cat >conftest.
$ac_ext <<_ACEOF
34606 cat confdefs.h
>>conftest.
$ac_ext
34607 cat >>conftest.
$ac_ext <<_ACEOF
34608 /* end confdefs.h. */
34609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34611 #define $ac_func innocuous_$ac_func
34613 /* System header to define __stub macros and hopefully few prototypes,
34614 which can conflict with char $ac_func (); below.
34615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34616 <limits.h> exists even on freestanding compilers. */
34619 # include <limits.h>
34621 # include <assert.h>
34626 /* Override any gcc2 internal prototype to avoid an error. */
34631 /* We use char because int might match the return type of a gcc2
34632 builtin and then its argument prototype would still apply. */
34634 /* The GNU C library defines this for functions which it implements
34635 to always fail with ENOSYS. Some functions are actually named
34636 something starting with __ and the normal name is an alias. */
34637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34640 char (*f) () = $ac_func;
34649 return f != $ac_func;
34654 rm -f conftest.
$ac_objext conftest
$ac_exeext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34656 (eval $ac_link) 2>conftest.er1
34658 grep -v '^ *+' conftest.er1
>conftest.err
34660 cat conftest.err
>&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try
='test -z "$ac_cxx_werror_flag"
34664 || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try
='test -s conftest$ac_exeext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 eval "$as_ac_var=yes"
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.
$ac_ext >&5
34681 eval "$as_ac_var=no"
34683 rm -f conftest.err conftest.
$ac_objext \
34684 conftest
$ac_exeext conftest.
$ac_ext
34686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34688 if test `eval echo '${'$as_ac_var'}'` = yes; then
34689 cat >>confdefs.h
<<_ACEOF
34690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34697 if test "$WCSLEN_FOUND" = 0; then
34698 if test "$TOOLKIT" = "MSW"; then
34699 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34700 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34701 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34702 echo $ECHO_N "(cached) $ECHO_C" >&6
34704 ac_check_lib_save_LIBS
=$LIBS
34705 LIBS
="-lmsvcrt $LIBS"
34706 cat >conftest.
$ac_ext <<_ACEOF
34709 cat confdefs.h
>>conftest.
$ac_ext
34710 cat >>conftest.
$ac_ext <<_ACEOF
34711 /* end confdefs.h. */
34713 /* Override any gcc2 internal prototype to avoid an error. */
34717 /* We use char because int might match the return type of a gcc2
34718 builtin and then its argument prototype would still apply. */
34728 rm -f conftest.
$ac_objext conftest
$ac_exeext
34729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34730 (eval $ac_link) 2>conftest.er1
34732 grep -v '^ *+' conftest.er1
>conftest.err
34734 cat conftest.err
>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } &&
34737 { ac_try
='test -z "$ac_cxx_werror_flag"
34738 || test ! -s conftest.err'
34739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740 (eval $ac_try) 2>&5
34742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743 (exit $ac_status); }; } &&
34744 { ac_try
='test -s conftest$ac_exeext'
34745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34746 (eval $ac_try) 2>&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); }; }; then
34750 ac_cv_lib_msvcrt_wcslen
=yes
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.
$ac_ext >&5
34755 ac_cv_lib_msvcrt_wcslen
=no
34757 rm -f conftest.err conftest.
$ac_objext \
34758 conftest
$ac_exeext conftest.
$ac_ext
34759 LIBS
=$ac_check_lib_save_LIBS
34761 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34762 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34763 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34768 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34769 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34770 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34771 echo $ECHO_N "(cached) $ECHO_C" >&6
34773 ac_check_lib_save_LIBS
=$LIBS
34775 cat >conftest.
$ac_ext <<_ACEOF
34778 cat confdefs.h
>>conftest.
$ac_ext
34779 cat >>conftest.
$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34782 /* Override any gcc2 internal prototype to avoid an error. */
34786 /* We use char because int might match the return type of a gcc2
34787 builtin and then its argument prototype would still apply. */
34797 rm -f conftest.
$ac_objext conftest
$ac_exeext
34798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34799 (eval $ac_link) 2>conftest.er1
34801 grep -v '^ *+' conftest.er1
>conftest.err
34803 cat conftest.err
>&5
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); } &&
34806 { ac_try
='test -z "$ac_cxx_werror_flag"
34807 || test ! -s conftest.err'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; } &&
34813 { ac_try
='test -s conftest$ac_exeext'
34814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815 (eval $ac_try) 2>&5
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; }; then
34819 ac_cv_lib_w_wcslen
=yes
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.
$ac_ext >&5
34824 ac_cv_lib_w_wcslen
=no
34826 rm -f conftest.err conftest.
$ac_objext \
34827 conftest
$ac_exeext conftest.
$ac_ext
34828 LIBS
=$ac_check_lib_save_LIBS
34830 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34831 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34832 if test $ac_cv_lib_w_wcslen = yes; then
34842 if test "$WCSLEN_FOUND" = 1; then
34843 cat >>confdefs.h
<<\_ACEOF
34844 #define HAVE_WCSLEN 1
34849 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34850 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34853 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34854 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34855 if test "${ac_cv_type_mbstate_t+set}" = set; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34869 if ((mbstate_t *) 0)
34871 if (sizeof (mbstate_t))
34877 rm -f conftest.
$ac_objext
34878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34879 (eval $ac_compile) 2>conftest.er1
34881 grep -v '^ *+' conftest.er1
>conftest.err
34883 cat conftest.err
>&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } &&
34886 { ac_try
='test -z "$ac_cxx_werror_flag"
34887 || test ! -s conftest.err'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; } &&
34893 { ac_try
='test -s conftest.$ac_objext'
34894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34895 (eval $ac_try) 2>&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); }; }; then
34899 ac_cv_type_mbstate_t
=yes
34901 echo "$as_me: failed program was:" >&5
34902 sed 's/^/| /' conftest.
$ac_ext >&5
34904 ac_cv_type_mbstate_t
=no
34906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34908 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34909 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34910 if test $ac_cv_type_mbstate_t = yes; then
34912 cat >>confdefs.h
<<_ACEOF
34913 #define HAVE_MBSTATE_T 1
34917 for ac_func
in wcsrtombs
34919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34920 echo "$as_me:$LINENO: checking for $ac_func" >&5
34921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34922 if eval "test \"\${$as_ac_var+set}\" = set"; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 cat >conftest.
$ac_ext <<_ACEOF
34928 cat confdefs.h
>>conftest.
$ac_ext
34929 cat >>conftest.
$ac_ext <<_ACEOF
34930 /* end confdefs.h. */
34931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34933 #define $ac_func innocuous_$ac_func
34935 /* System header to define __stub macros and hopefully few prototypes,
34936 which can conflict with char $ac_func (); below.
34937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34938 <limits.h> exists even on freestanding compilers. */
34941 # include <limits.h>
34943 # include <assert.h>
34948 /* Override any gcc2 internal prototype to avoid an error. */
34953 /* We use char because int might match the return type of a gcc2
34954 builtin and then its argument prototype would still apply. */
34956 /* The GNU C library defines this for functions which it implements
34957 to always fail with ENOSYS. Some functions are actually named
34958 something starting with __ and the normal name is an alias. */
34959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34962 char (*f) () = $ac_func;
34971 return f != $ac_func;
34976 rm -f conftest.
$ac_objext conftest
$ac_exeext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34978 (eval $ac_link) 2>conftest.er1
34980 grep -v '^ *+' conftest.er1
>conftest.err
34982 cat conftest.err
>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try
='test -z "$ac_cxx_werror_flag"
34986 || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try
='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 eval "$as_ac_var=yes"
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35003 eval "$as_ac_var=no"
35005 rm -f conftest.err conftest.
$ac_objext \
35006 conftest
$ac_exeext conftest.
$ac_ext
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011 cat >>confdefs.h
<<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35021 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35022 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35027 for ac_func
in snprintf vsnprintf
35029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 cat >conftest.
$ac_ext <<_ACEOF
35038 cat confdefs.h
>>conftest.
$ac_ext
35039 cat >>conftest.
$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35043 #define $ac_func innocuous_$ac_func
35045 /* System header to define __stub macros and hopefully few prototypes,
35046 which can conflict with char $ac_func (); below.
35047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35048 <limits.h> exists even on freestanding compilers. */
35051 # include <limits.h>
35053 # include <assert.h>
35058 /* Override any gcc2 internal prototype to avoid an error. */
35063 /* We use char because int might match the return type of a gcc2
35064 builtin and then its argument prototype would still apply. */
35066 /* The GNU C library defines this for functions which it implements
35067 to always fail with ENOSYS. Some functions are actually named
35068 something starting with __ and the normal name is an alias. */
35069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35072 char (*f) () = $ac_func;
35081 return f != $ac_func;
35086 rm -f conftest.
$ac_objext conftest
$ac_exeext
35087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35088 (eval $ac_link) 2>conftest.er1
35090 grep -v '^ *+' conftest.er1
>conftest.err
35092 cat conftest.err
>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); } &&
35095 { ac_try
='test -z "$ac_cxx_werror_flag"
35096 || test ! -s conftest.err'
35097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35098 (eval $ac_try) 2>&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); }; } &&
35102 { ac_try
='test -s conftest$ac_exeext'
35103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35104 (eval $ac_try) 2>&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); }; }; then
35108 eval "$as_ac_var=yes"
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.
$ac_ext >&5
35113 eval "$as_ac_var=no"
35115 rm -f conftest.err conftest.
$ac_objext \
35116 conftest
$ac_exeext conftest.
$ac_ext
35118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35120 if test `eval echo '${'$as_ac_var'}'` = yes; then
35121 cat >>confdefs.h
<<_ACEOF
35122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35129 if test "$ac_cv_func_vsnprintf" = "yes"; then
35130 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35131 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35132 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35144 #include <stdarg.h>
35146 #if __MSL__ >= 0x6000
35148 using namespace std;
35158 vsnprintf(buf, 10u, "%s", ap);
35164 rm -f conftest.
$ac_objext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35166 (eval $ac_compile) 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try
='test -z "$ac_cxx_werror_flag"
35174 || test ! -s conftest.err'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; } &&
35180 { ac_try
='test -s conftest.$ac_objext'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; }; then
35186 wx_cv_func_vsnprintf_decl
=yes
35188 echo "$as_me: failed program was:" >&5
35189 sed 's/^/| /' conftest.
$ac_ext >&5
35191 wx_cv_func_vsnprintf_decl
=no
35194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35198 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35199 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35201 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35202 cat >>confdefs.h
<<\_ACEOF
35203 #define HAVE_VSNPRINTF_DECL 1
35207 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35208 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35209 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35213 cat >conftest.
$ac_ext <<_ACEOF
35216 cat confdefs.h
>>conftest.
$ac_ext
35217 cat >>conftest.
$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35221 #include <stdarg.h>
35223 #if __MSL__ >= 0x6000
35225 using namespace std;
35235 const char *fmt = "%s";
35236 vsnprintf(buf, 10u, fmt, ap);
35242 rm -f conftest.
$ac_objext
35243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35244 (eval $ac_compile) 2>conftest.er1
35246 grep -v '^ *+' conftest.er1
>conftest.err
35248 cat conftest.err
>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try
='test -z "$ac_cxx_werror_flag"
35252 || test ! -s conftest.err'
35253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35254 (eval $ac_try) 2>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; } &&
35258 { ac_try
='test -s conftest.$ac_objext'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; }; then
35264 wx_cv_func_broken_vsnprintf_decl
=no
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.
$ac_ext >&5
35269 wx_cv_func_broken_vsnprintf_decl
=yes
35272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35276 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35277 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35279 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35280 cat >>confdefs.h
<<\_ACEOF
35281 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35288 if test "$ac_cv_func_snprintf" = "yes"; then
35289 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35290 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35291 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35295 cat >conftest.
$ac_ext <<_ACEOF
35298 cat confdefs.h
>>conftest.
$ac_ext
35299 cat >>conftest.
$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35303 #include <stdarg.h>
35305 #if __MSL__ >= 0x6000
35307 using namespace std;
35316 snprintf(buf, 10u, "%s", "wx");
35322 rm -f conftest.
$ac_objext
35323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35324 (eval $ac_compile) 2>conftest.er1
35326 grep -v '^ *+' conftest.er1
>conftest.err
35328 cat conftest.err
>&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); } &&
35331 { ac_try
='test -z "$ac_cxx_werror_flag"
35332 || test ! -s conftest.err'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; } &&
35338 { ac_try
='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35344 wx_cv_func_snprintf_decl
=yes
35346 echo "$as_me: failed program was:" >&5
35347 sed 's/^/| /' conftest.
$ac_ext >&5
35349 wx_cv_func_snprintf_decl
=no
35352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35356 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35357 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35359 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35360 cat >>confdefs.h
<<\_ACEOF
35361 #define HAVE_SNPRINTF_DECL 1
35365 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35366 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35367 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35371 cat >conftest.
$ac_ext <<_ACEOF
35374 cat confdefs.h
>>conftest.
$ac_ext
35375 cat >>conftest.
$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35379 #include <stdarg.h>
35381 #if __MSL__ >= 0x6000
35383 using namespace std;
35392 const char *fmt = "%s";
35393 snprintf(buf, 10u, fmt, "wx");
35399 rm -f conftest.
$ac_objext
35400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35401 (eval $ac_compile) 2>conftest.er1
35403 grep -v '^ *+' conftest.er1
>conftest.err
35405 cat conftest.err
>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } &&
35408 { ac_try
='test -z "$ac_cxx_werror_flag"
35409 || test ! -s conftest.err'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; } &&
35415 { ac_try
='test -s conftest.$ac_objext'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; }; then
35421 wx_cv_func_broken_snprintf_decl
=no
35423 echo "$as_me: failed program was:" >&5
35424 sed 's/^/| /' conftest.
$ac_ext >&5
35426 wx_cv_func_broken_snprintf_decl
=yes
35429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35433 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35434 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35436 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35437 cat >>confdefs.h
<<\_ACEOF
35438 #define HAVE_BROKEN_SNPRINTF_DECL 1
35444 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35446 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35447 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35448 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35452 if test "$cross_compiling" = yes; then
35454 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35455 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35456 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35457 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35458 wx_cv_func_snprintf_pos_params
=no
35462 cat >conftest.
$ac_ext <<_ACEOF
35465 cat confdefs.h
>>conftest.
$ac_ext
35466 cat >>conftest.
$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35474 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35475 if (strcmp ("2 3 1", buffer) == 0)
35481 rm -f conftest
$ac_exeext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35483 (eval $ac_link) 2>&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; }; then
35492 wx_cv_func_snprintf_pos_params
=no
35494 echo "$as_me: program exited with status $ac_status" >&5
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.
$ac_ext >&5
35498 ( exit $ac_status )
35499 wx_cv_func_snprintf_pos_params
=yes
35501 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35506 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35507 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35509 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35510 cat >>confdefs.h
<<\_ACEOF
35511 #define HAVE_UNIX98_PRINTF 1
35518 if test "$wxUSE_UNICODE" = yes; then
35521 for ac_func
in swprintf
35523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35524 echo "$as_me:$LINENO: checking for $ac_func" >&5
35525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35526 if eval "test \"\${$as_ac_var+set}\" = set"; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 cat >conftest.
$ac_ext <<_ACEOF
35532 cat confdefs.h
>>conftest.
$ac_ext
35533 cat >>conftest.
$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35537 #define $ac_func innocuous_$ac_func
35539 /* System header to define __stub macros and hopefully few prototypes,
35540 which can conflict with char $ac_func (); below.
35541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35542 <limits.h> exists even on freestanding compilers. */
35545 # include <limits.h>
35547 # include <assert.h>
35552 /* Override any gcc2 internal prototype to avoid an error. */
35557 /* We use char because int might match the return type of a gcc2
35558 builtin and then its argument prototype would still apply. */
35560 /* The GNU C library defines this for functions which it implements
35561 to always fail with ENOSYS. Some functions are actually named
35562 something starting with __ and the normal name is an alias. */
35563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35566 char (*f) () = $ac_func;
35575 return f != $ac_func;
35580 rm -f conftest.
$ac_objext conftest
$ac_exeext
35581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35582 (eval $ac_link) 2>conftest.er1
35584 grep -v '^ *+' conftest.er1
>conftest.err
35586 cat conftest.err
>&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } &&
35589 { ac_try
='test -z "$ac_cxx_werror_flag"
35590 || test ! -s conftest.err'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try
='test -s conftest$ac_exeext'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; }; then
35602 eval "$as_ac_var=yes"
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.
$ac_ext >&5
35607 eval "$as_ac_var=no"
35609 rm -f conftest.err conftest.
$ac_objext \
35610 conftest
$ac_exeext conftest.
$ac_ext
35612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35614 if test `eval echo '${'$as_ac_var'}'` = yes; then
35615 cat >>confdefs.h
<<_ACEOF
35616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35623 if test "$ac_cv_func_swprintf" = "yes"; then
35624 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35625 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35626 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35627 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 cat >conftest.
$ac_ext <<_ACEOF
35633 cat confdefs.h
>>conftest.
$ac_ext
35634 cat >>conftest.
$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35638 #include <stdarg.h>
35646 const wchar_t *fmt = L"test";
35647 swprintf(buf, 10u, fmt);
35653 rm -f conftest.
$ac_objext
35654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35655 (eval $ac_compile) 2>conftest.er1
35657 grep -v '^ *+' conftest.er1
>conftest.err
35659 cat conftest.err
>&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); } &&
35662 { ac_try
='test -z "$ac_cxx_werror_flag"
35663 || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try
='test -s conftest.$ac_objext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 wx_cv_func_broken_swprintf_decl
=no
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.
$ac_ext >&5
35680 wx_cv_func_broken_swprintf_decl
=yes
35683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35687 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35688 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35690 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define HAVE_BROKEN_SWPRINTF_DECL 1
35704 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35707 echo "$as_me:$LINENO: checking for $ac_func" >&5
35708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35709 if eval "test \"\${$as_ac_var+set}\" = set"; then
35710 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 cat >conftest.
$ac_ext <<_ACEOF
35715 cat confdefs.h
>>conftest.
$ac_ext
35716 cat >>conftest.
$ac_ext <<_ACEOF
35717 /* end confdefs.h. */
35718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35720 #define $ac_func innocuous_$ac_func
35722 /* System header to define __stub macros and hopefully few prototypes,
35723 which can conflict with char $ac_func (); below.
35724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35725 <limits.h> exists even on freestanding compilers. */
35728 # include <limits.h>
35730 # include <assert.h>
35735 /* Override any gcc2 internal prototype to avoid an error. */
35740 /* We use char because int might match the return type of a gcc2
35741 builtin and then its argument prototype would still apply. */
35743 /* The GNU C library defines this for functions which it implements
35744 to always fail with ENOSYS. Some functions are actually named
35745 something starting with __ and the normal name is an alias. */
35746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35749 char (*f) () = $ac_func;
35758 return f != $ac_func;
35763 rm -f conftest.
$ac_objext conftest
$ac_exeext
35764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35765 (eval $ac_link) 2>conftest.er1
35767 grep -v '^ *+' conftest.er1
>conftest.err
35769 cat conftest.err
>&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); } &&
35772 { ac_try
='test -z "$ac_cxx_werror_flag"
35773 || test ! -s conftest.err'
35774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35775 (eval $ac_try) 2>&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); }; } &&
35779 { ac_try
='test -s conftest$ac_exeext'
35780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35781 (eval $ac_try) 2>&5
35783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35784 (exit $ac_status); }; }; then
35785 eval "$as_ac_var=yes"
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.
$ac_ext >&5
35790 eval "$as_ac_var=no"
35792 rm -f conftest.err conftest.
$ac_objext \
35793 conftest
$ac_exeext conftest.
$ac_ext
35795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35797 if test `eval echo '${'$as_ac_var'}'` = yes; then
35798 cat >>confdefs.h
<<_ACEOF
35799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35806 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35807 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35808 cat >conftest.
$ac_ext <<_ACEOF
35811 cat confdefs.h
>>conftest.
$ac_ext
35812 cat >>conftest.
$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35823 rm -f conftest.
$ac_objext
35824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35825 (eval $ac_compile) 2>conftest.er1
35827 grep -v '^ *+' conftest.er1
>conftest.err
35829 cat conftest.err
>&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } &&
35832 { ac_try
='test -z "$ac_cxx_werror_flag"
35833 || test ! -s conftest.err'
35834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35835 (eval $ac_try) 2>&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); }; } &&
35839 { ac_try
='test -s conftest.$ac_objext'
35840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35841 (eval $ac_try) 2>&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); }; }; then
35845 echo "$as_me:$LINENO: result: yes" >&5
35846 echo "${ECHO_T}yes" >&6
35847 cat >>confdefs.h
<<\_ACEOF
35848 #define HAVE__VSNWPRINTF 1
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.
$ac_ext >&5
35855 echo "$as_me:$LINENO: result: no" >&5
35856 echo "${ECHO_T}no" >&6
35858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35861 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35863 for ac_func
in fnmatch
35865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35866 echo "$as_me:$LINENO: checking for $ac_func" >&5
35867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35868 if eval "test \"\${$as_ac_var+set}\" = set"; then
35869 echo $ECHO_N "(cached) $ECHO_C" >&6
35871 cat >conftest.
$ac_ext <<_ACEOF
35874 cat confdefs.h
>>conftest.
$ac_ext
35875 cat >>conftest.
$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35879 #define $ac_func innocuous_$ac_func
35881 /* System header to define __stub macros and hopefully few prototypes,
35882 which can conflict with char $ac_func (); below.
35883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35884 <limits.h> exists even on freestanding compilers. */
35887 # include <limits.h>
35889 # include <assert.h>
35894 /* Override any gcc2 internal prototype to avoid an error. */
35899 /* We use char because int might match the return type of a gcc2
35900 builtin and then its argument prototype would still apply. */
35902 /* The GNU C library defines this for functions which it implements
35903 to always fail with ENOSYS. Some functions are actually named
35904 something starting with __ and the normal name is an alias. */
35905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35908 char (*f) () = $ac_func;
35917 return f != $ac_func;
35922 rm -f conftest.
$ac_objext conftest
$ac_exeext
35923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35924 (eval $ac_link) 2>conftest.er1
35926 grep -v '^ *+' conftest.er1
>conftest.err
35928 cat conftest.err
>&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } &&
35931 { ac_try
='test -z "$ac_cxx_werror_flag"
35932 || test ! -s conftest.err'
35933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934 (eval $ac_try) 2>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); }; } &&
35938 { ac_try
='test -s conftest$ac_exeext'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; }; then
35944 eval "$as_ac_var=yes"
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.
$ac_ext >&5
35949 eval "$as_ac_var=no"
35951 rm -f conftest.err conftest.
$ac_objext \
35952 conftest
$ac_exeext conftest.
$ac_ext
35954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35956 if test `eval echo '${'$as_ac_var'}'` = yes; then
35957 cat >>confdefs.h
<<_ACEOF
35958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35966 if test "$wxUSE_FILE" = "yes"; then
35968 for ac_func
in fsync
35970 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35971 echo "$as_me:$LINENO: checking for $ac_func" >&5
35972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35973 if eval "test \"\${$as_ac_var+set}\" = set"; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 cat >conftest.
$ac_ext <<_ACEOF
35979 cat confdefs.h
>>conftest.
$ac_ext
35980 cat >>conftest.
$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35984 #define $ac_func innocuous_$ac_func
35986 /* System header to define __stub macros and hopefully few prototypes,
35987 which can conflict with char $ac_func (); below.
35988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35989 <limits.h> exists even on freestanding compilers. */
35992 # include <limits.h>
35994 # include <assert.h>
35999 /* Override any gcc2 internal prototype to avoid an error. */
36004 /* We use char because int might match the return type of a gcc2
36005 builtin and then its argument prototype would still apply. */
36007 /* The GNU C library defines this for functions which it implements
36008 to always fail with ENOSYS. Some functions are actually named
36009 something starting with __ and the normal name is an alias. */
36010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36013 char (*f) () = $ac_func;
36022 return f != $ac_func;
36027 rm -f conftest.
$ac_objext conftest
$ac_exeext
36028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36029 (eval $ac_link) 2>conftest.er1
36031 grep -v '^ *+' conftest.er1
>conftest.err
36033 cat conftest.err
>&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); } &&
36036 { ac_try
='test -z "$ac_cxx_werror_flag"
36037 || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try
='test -s conftest$ac_exeext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 eval "$as_ac_var=yes"
36051 echo "$as_me: failed program was:" >&5
36052 sed 's/^/| /' conftest.
$ac_ext >&5
36054 eval "$as_ac_var=no"
36056 rm -f conftest.err conftest.
$ac_objext \
36057 conftest
$ac_exeext conftest.
$ac_ext
36059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36061 if test `eval echo '${'$as_ac_var'}'` = yes; then
36062 cat >>confdefs.h
<<_ACEOF
36063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36072 for ac_func
in round
36074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36075 echo "$as_me:$LINENO: checking for $ac_func" >&5
36076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36077 if eval "test \"\${$as_ac_var+set}\" = set"; then
36078 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 cat >conftest.
$ac_ext <<_ACEOF
36083 cat confdefs.h
>>conftest.
$ac_ext
36084 cat >>conftest.
$ac_ext <<_ACEOF
36085 /* end confdefs.h. */
36086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36088 #define $ac_func innocuous_$ac_func
36090 /* System header to define __stub macros and hopefully few prototypes,
36091 which can conflict with char $ac_func (); below.
36092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36093 <limits.h> exists even on freestanding compilers. */
36096 # include <limits.h>
36098 # include <assert.h>
36103 /* Override any gcc2 internal prototype to avoid an error. */
36108 /* We use char because int might match the return type of a gcc2
36109 builtin and then its argument prototype would still apply. */
36111 /* The GNU C library defines this for functions which it implements
36112 to always fail with ENOSYS. Some functions are actually named
36113 something starting with __ and the normal name is an alias. */
36114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36117 char (*f) () = $ac_func;
36126 return f != $ac_func;
36131 rm -f conftest.
$ac_objext conftest
$ac_exeext
36132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36133 (eval $ac_link) 2>conftest.er1
36135 grep -v '^ *+' conftest.er1
>conftest.err
36137 cat conftest.err
>&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try
='test -z "$ac_cxx_werror_flag"
36141 || test ! -s conftest.err'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; } &&
36147 { ac_try
='test -s conftest$ac_exeext'
36148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36149 (eval $ac_try) 2>&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); }; }; then
36153 eval "$as_ac_var=yes"
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.
$ac_ext >&5
36158 eval "$as_ac_var=no"
36160 rm -f conftest.err conftest.
$ac_objext \
36161 conftest
$ac_exeext conftest.
$ac_ext
36163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36165 if test `eval echo '${'$as_ac_var'}'` = yes; then
36166 cat >>confdefs.h
<<_ACEOF
36167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36173 if test "$ac_cv_func_round" = yes; then
36174 echo "$as_me:$LINENO: checking whether round is declared" >&5
36175 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36176 if test "${ac_cv_have_decl_round+set}" = set; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 cat >conftest.
$ac_ext <<_ACEOF
36182 cat confdefs.h
>>conftest.
$ac_ext
36183 cat >>conftest.
$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36191 char *p = (char *) round;
36198 rm -f conftest.
$ac_objext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36200 (eval $ac_compile) 2>conftest.er1
36202 grep -v '^ *+' conftest.er1
>conftest.err
36204 cat conftest.err
>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try
='test -z "$ac_cxx_werror_flag"
36208 || test ! -s conftest.err'
36209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36210 (eval $ac_try) 2>&5
36212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213 (exit $ac_status); }; } &&
36214 { ac_try
='test -s conftest.$ac_objext'
36215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36216 (eval $ac_try) 2>&5
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); }; }; then
36220 ac_cv_have_decl_round
=yes
36222 echo "$as_me: failed program was:" >&5
36223 sed 's/^/| /' conftest.
$ac_ext >&5
36225 ac_cv_have_decl_round
=no
36227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36229 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36230 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36231 if test $ac_cv_have_decl_round = yes; then
36233 cat >>confdefs.h
<<_ACEOF
36234 #define HAVE_DECL_ROUND 1
36239 cat >>confdefs.h
<<_ACEOF
36240 #define HAVE_DECL_ROUND 0
36250 if test "$TOOLKIT" != "MSW"; then
36256 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36257 if test "${with_libiconv_prefix+set}" = set; then
36258 withval
="$with_libiconv_prefix"
36260 for dir
in `echo "$withval" | tr : ' '`; do
36261 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36262 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36267 echo "$as_me:$LINENO: checking for iconv" >&5
36268 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36269 if test "${am_cv_func_iconv+set}" = set; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 am_cv_func_iconv
="no, consider installing GNU libiconv"
36275 cat >conftest.
$ac_ext <<_ACEOF
36278 cat confdefs.h
>>conftest.
$ac_ext
36279 cat >>conftest.
$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281 #include <stdlib.h>
36286 iconv_t cd = iconv_open("","");
36287 iconv(cd,NULL,NULL,NULL,NULL);
36293 rm -f conftest.
$ac_objext conftest
$ac_exeext
36294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36295 (eval $ac_link) 2>conftest.er1
36297 grep -v '^ *+' conftest.er1
>conftest.err
36299 cat conftest.err
>&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); } &&
36302 { ac_try
='test -z "$ac_cxx_werror_flag"
36303 || test ! -s conftest.err'
36304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305 (eval $ac_try) 2>&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; } &&
36309 { ac_try
='test -s conftest$ac_exeext'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; }; then
36315 am_cv_func_iconv
=yes
36317 echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.
$ac_ext >&5
36321 rm -f conftest.err conftest.
$ac_objext \
36322 conftest
$ac_exeext conftest.
$ac_ext
36323 if test "$am_cv_func_iconv" != yes; then
36324 am_save_LIBS
="$LIBS"
36325 LIBS
="$LIBS -liconv"
36326 cat >conftest.
$ac_ext <<_ACEOF
36329 cat confdefs.h
>>conftest.
$ac_ext
36330 cat >>conftest.
$ac_ext <<_ACEOF
36331 /* end confdefs.h. */
36332 #include <stdlib.h>
36337 iconv_t cd = iconv_open("","");
36338 iconv(cd,NULL,NULL,NULL,NULL);
36344 rm -f conftest.
$ac_objext conftest
$ac_exeext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36346 (eval $ac_link) 2>conftest.er1
36348 grep -v '^ *+' conftest.er1
>conftest.err
36350 cat conftest.err
>&5
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); } &&
36353 { ac_try
='test -z "$ac_cxx_werror_flag"
36354 || test ! -s conftest.err'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; } &&
36360 { ac_try
='test -s conftest$ac_exeext'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; }; then
36366 am_cv_lib_iconv
=yes
36367 am_cv_func_iconv
=yes
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.
$ac_ext >&5
36373 rm -f conftest.err conftest.
$ac_objext \
36374 conftest
$ac_exeext conftest.
$ac_ext
36375 LIBS
="$am_save_LIBS"
36379 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36380 echo "${ECHO_T}$am_cv_func_iconv" >&6
36381 if test "$am_cv_func_iconv" = yes; then
36383 cat >>confdefs.h
<<\_ACEOF
36384 #define HAVE_ICONV 1
36387 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36388 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36389 if test "${wx_cv_func_iconv_const+set}" = set; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 cat >conftest.
$ac_ext <<_ACEOF
36395 cat confdefs.h
>>conftest.
$ac_ext
36396 cat >>conftest.
$ac_ext <<_ACEOF
36397 /* end confdefs.h. */
36399 #include <stdlib.h>
36405 #if defined(__STDC__) || defined(__cplusplus)
36406 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36419 rm -f conftest.
$ac_objext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36421 (eval $ac_compile) 2>conftest.er1
36423 grep -v '^ *+' conftest.er1
>conftest.err
36425 cat conftest.err
>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try
='test -z "$ac_cxx_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try
='test -s conftest.$ac_objext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 wx_cv_func_iconv_const
="no"
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.
$ac_ext >&5
36446 wx_cv_func_iconv_const
="yes"
36449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36452 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36453 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36456 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36457 iconv_const
="const"
36461 cat >>confdefs.h
<<_ACEOF
36462 #define ICONV_CONST $iconv_const
36467 if test "$am_cv_lib_iconv" = yes; then
36472 LIBS
="$LIBICONV $LIBS"
36474 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36476 for ac_func
in sigaction
36478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36479 echo "$as_me:$LINENO: checking for $ac_func" >&5
36480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36481 if eval "test \"\${$as_ac_var+set}\" = set"; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 cat >conftest.
$ac_ext <<_ACEOF
36487 cat confdefs.h
>>conftest.
$ac_ext
36488 cat >>conftest.
$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36492 #define $ac_func innocuous_$ac_func
36494 /* System header to define __stub macros and hopefully few prototypes,
36495 which can conflict with char $ac_func (); below.
36496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36497 <limits.h> exists even on freestanding compilers. */
36500 # include <limits.h>
36502 # include <assert.h>
36507 /* Override any gcc2 internal prototype to avoid an error. */
36512 /* We use char because int might match the return type of a gcc2
36513 builtin and then its argument prototype would still apply. */
36515 /* The GNU C library defines this for functions which it implements
36516 to always fail with ENOSYS. Some functions are actually named
36517 something starting with __ and the normal name is an alias. */
36518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36521 char (*f) () = $ac_func;
36530 return f != $ac_func;
36535 rm -f conftest.
$ac_objext conftest
$ac_exeext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36537 (eval $ac_link) 2>conftest.er1
36539 grep -v '^ *+' conftest.er1
>conftest.err
36541 cat conftest.err
>&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } &&
36544 { ac_try
='test -z "$ac_cxx_werror_flag"
36545 || test ! -s conftest.err'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; } &&
36551 { ac_try
='test -s conftest$ac_exeext'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; }; then
36557 eval "$as_ac_var=yes"
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.
$ac_ext >&5
36562 eval "$as_ac_var=no"
36564 rm -f conftest.err conftest.
$ac_objext \
36565 conftest
$ac_exeext conftest.
$ac_ext
36567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36569 if test `eval echo '${'$as_ac_var'}'` = yes; then
36570 cat >>confdefs.h
<<_ACEOF
36571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36578 if test "$ac_cv_func_sigaction" = "no"; then
36579 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36580 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36581 wxUSE_ON_FATAL_EXCEPTION
=no
36584 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36585 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36586 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36587 if test "${wx_cv_type_sa_handler+set}" = set; then
36588 echo $ECHO_N "(cached) $ECHO_C" >&6
36591 cat >conftest.
$ac_ext <<_ACEOF
36594 cat confdefs.h
>>conftest.
$ac_ext
36595 cat >>conftest.
$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597 #include <signal.h>
36602 extern void testSigHandler(int);
36604 struct sigaction sa;
36605 sa.sa_handler = testSigHandler;
36611 rm -f conftest.
$ac_objext
36612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36613 (eval $ac_compile) 2>conftest.er1
36615 grep -v '^ *+' conftest.er1
>conftest.err
36617 cat conftest.err
>&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); } &&
36620 { ac_try
='test -z "$ac_cxx_werror_flag"
36621 || test ! -s conftest.err'
36622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36623 (eval $ac_try) 2>&5
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); }; } &&
36627 { ac_try
='test -s conftest.$ac_objext'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; }; then
36634 wx_cv_type_sa_handler
=int
36637 echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.
$ac_ext >&5
36641 wx_cv_type_sa_handler
=void
36644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36647 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36648 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36650 cat >>confdefs.h
<<_ACEOF
36651 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36657 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36658 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36659 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36660 if test "${wx_cv_func_backtrace+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36664 cat >conftest.
$ac_ext <<_ACEOF
36667 cat confdefs.h
>>conftest.
$ac_ext
36668 cat >>conftest.
$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <execinfo.h>
36678 backtrace(trace, 1);
36679 messages = backtrace_symbols(trace, 1);
36685 rm -f conftest.
$ac_objext
36686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36687 (eval $ac_compile) 2>conftest.er1
36689 grep -v '^ *+' conftest.er1
>conftest.err
36691 cat conftest.err
>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } &&
36694 { ac_try
='test -z "$ac_cxx_werror_flag"
36695 || test ! -s conftest.err'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; } &&
36701 { ac_try
='test -s conftest.$ac_objext'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; }; then
36707 wx_cv_func_backtrace
=yes
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.
$ac_ext >&5
36712 wx_cv_func_backtrace
=no
36715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36719 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36720 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36723 if test "$wx_cv_func_backtrace" = "no"; then
36724 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36725 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36726 wxUSE_STACKWALKER
=no
36728 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36729 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36730 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36734 cat >conftest.
$ac_ext <<_ACEOF
36737 cat confdefs.h
>>conftest.
$ac_ext
36738 cat >>conftest.
$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740 #include <cxxabi.h>
36746 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36752 rm -f conftest.
$ac_objext conftest
$ac_exeext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36754 (eval $ac_link) 2>conftest.er1
36756 grep -v '^ *+' conftest.er1
>conftest.err
36758 cat conftest.err
>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try
='test -z "$ac_cxx_werror_flag"
36762 || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try
='test -s conftest$ac_exeext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 wx_cv_func_cxa_demangle
=yes
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.
$ac_ext >&5
36779 wx_cv_func_cxa_demangle
=no
36782 rm -f conftest.err conftest.
$ac_objext \
36783 conftest
$ac_exeext conftest.
$ac_ext
36787 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36788 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36790 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36791 cat >>confdefs.h
<<\_ACEOF
36792 #define HAVE_CXA_DEMANGLE 1
36799 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36800 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36801 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36802 wxUSE_STACKWALKER
=no
36808 for ac_func
in mkstemp mktemp
36810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36811 echo "$as_me:$LINENO: checking for $ac_func" >&5
36812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36813 if eval "test \"\${$as_ac_var+set}\" = set"; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 cat >conftest.
$ac_ext <<_ACEOF
36819 cat confdefs.h
>>conftest.
$ac_ext
36820 cat >>conftest.
$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36824 #define $ac_func innocuous_$ac_func
36826 /* System header to define __stub macros and hopefully few prototypes,
36827 which can conflict with char $ac_func (); below.
36828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36829 <limits.h> exists even on freestanding compilers. */
36832 # include <limits.h>
36834 # include <assert.h>
36839 /* Override any gcc2 internal prototype to avoid an error. */
36844 /* We use char because int might match the return type of a gcc2
36845 builtin and then its argument prototype would still apply. */
36847 /* The GNU C library defines this for functions which it implements
36848 to always fail with ENOSYS. Some functions are actually named
36849 something starting with __ and the normal name is an alias. */
36850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36853 char (*f) () = $ac_func;
36862 return f != $ac_func;
36867 rm -f conftest.
$ac_objext conftest
$ac_exeext
36868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36869 (eval $ac_link) 2>conftest.er1
36871 grep -v '^ *+' conftest.er1
>conftest.err
36873 cat conftest.err
>&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } &&
36876 { ac_try
='test -z "$ac_cxx_werror_flag"
36877 || test ! -s conftest.err'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try
='test -s conftest$ac_exeext'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36889 eval "$as_ac_var=yes"
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.
$ac_ext >&5
36894 eval "$as_ac_var=no"
36896 rm -f conftest.err conftest.
$ac_objext \
36897 conftest
$ac_exeext conftest.
$ac_ext
36899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36901 if test `eval echo '${'$as_ac_var'}'` = yes; then
36902 cat >>confdefs.h
<<_ACEOF
36903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36910 echo "$as_me:$LINENO: checking for statfs" >&5
36911 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36912 if test "${wx_cv_func_statfs+set}" = set; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 cat >conftest.
$ac_ext <<_ACEOF
36918 cat confdefs.h
>>conftest.
$ac_ext
36919 cat >>conftest.
$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36922 #if defined(__BSD__)
36923 #include <sys/param.h>
36924 #include <sys/mount.h>
36926 #include <sys/vfs.h>
36944 rm -f conftest.
$ac_objext
36945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36946 (eval $ac_compile) 2>conftest.er1
36948 grep -v '^ *+' conftest.er1
>conftest.err
36950 cat conftest.err
>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } &&
36953 { ac_try
='test -z "$ac_cxx_werror_flag"
36954 || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try
='test -s conftest.$ac_objext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 wx_cv_func_statfs
=yes
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.
$ac_ext >&5
36971 wx_cv_func_statfs
=no
36974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36977 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36978 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36980 if test "$wx_cv_func_statfs" = "yes"; then
36981 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36982 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36983 if test "${wx_cv_func_statfs_decl+set}" = set; then
36984 echo $ECHO_N "(cached) $ECHO_C" >&6
36986 cat >conftest.
$ac_ext <<_ACEOF
36989 cat confdefs.h
>>conftest.
$ac_ext
36990 cat >>conftest.
$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36993 #if defined(__BSD__)
36994 #include <sys/param.h>
36995 #include <sys/mount.h>
36997 #include <sys/vfs.h>
37011 rm -f conftest.
$ac_objext
37012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37013 (eval $ac_compile) 2>conftest.er1
37015 grep -v '^ *+' conftest.er1
>conftest.err
37017 cat conftest.err
>&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } &&
37020 { ac_try
='test -z "$ac_cxx_werror_flag"
37021 || test ! -s conftest.err'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; } &&
37027 { ac_try
='test -s conftest.$ac_objext'
37028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029 (eval $ac_try) 2>&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); }; }; then
37033 wx_cv_func_statfs_decl
=yes
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.
$ac_ext >&5
37038 wx_cv_func_statfs_decl
=no
37041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37044 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37045 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37047 if test "$wx_cv_func_statfs_decl" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define HAVE_STATFS_DECL 1
37054 wx_cv_type_statvfs_t
="struct statfs"
37055 cat >>confdefs.h
<<\_ACEOF
37056 #define HAVE_STATFS 1
37060 echo "$as_me:$LINENO: checking for statvfs" >&5
37061 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37062 if test "${wx_cv_func_statvfs+set}" = set; then
37063 echo $ECHO_N "(cached) $ECHO_C" >&6
37065 cat >conftest.
$ac_ext <<_ACEOF
37068 cat confdefs.h
>>conftest.
$ac_ext
37069 cat >>conftest.
$ac_ext <<_ACEOF
37070 /* end confdefs.h. */
37072 #include <stddef.h>
37073 #include <sys/statvfs.h>
37079 statvfs("/", NULL);
37085 rm -f conftest.
$ac_objext
37086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37087 (eval $ac_compile) 2>conftest.er1
37089 grep -v '^ *+' conftest.er1
>conftest.err
37091 cat conftest.err
>&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } &&
37094 { ac_try
='test -z "$ac_cxx_werror_flag"
37095 || test ! -s conftest.err'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; } &&
37101 { ac_try
='test -s conftest.$ac_objext'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; }; then
37107 wx_cv_func_statvfs
=yes
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.
$ac_ext >&5
37112 wx_cv_func_statvfs
=no
37115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37118 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37119 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37121 if test "$wx_cv_func_statvfs" = "yes"; then
37122 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37123 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37124 if test "${wx_cv_type_statvfs_t+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 cat >conftest.
$ac_ext <<_ACEOF
37130 cat confdefs.h
>>conftest.
$ac_ext
37131 cat >>conftest.
$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37134 #include <sys/statvfs.h>
37151 rm -f conftest.
$ac_objext
37152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37153 (eval $ac_compile) 2>conftest.er1
37155 grep -v '^ *+' conftest.er1
>conftest.err
37157 cat conftest.err
>&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } &&
37160 { ac_try
='test -z "$ac_cxx_werror_flag"
37161 || test ! -s conftest.err'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; } &&
37167 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
37173 wx_cv_type_statvfs_t
=statvfs_t
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.
$ac_ext >&5
37179 cat >conftest.
$ac_ext <<_ACEOF
37182 cat confdefs.h
>>conftest.
$ac_ext
37183 cat >>conftest.
$ac_ext <<_ACEOF
37184 /* end confdefs.h. */
37186 #include <sys/statvfs.h>
37203 rm -f conftest.
$ac_objext
37204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37205 (eval $ac_compile) 2>conftest.er1
37207 grep -v '^ *+' conftest.er1
>conftest.err
37209 cat conftest.err
>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); } &&
37212 { ac_try
='test -z "$ac_cxx_werror_flag"
37213 || test ! -s conftest.err'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; } &&
37219 { ac_try
='test -s conftest.$ac_objext'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; }; then
37225 wx_cv_type_statvfs_t
="struct statvfs"
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.
$ac_ext >&5
37230 wx_cv_type_statvfs_t
="unknown"
37233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37240 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37241 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37243 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37244 cat >>confdefs.h
<<\_ACEOF
37245 #define HAVE_STATVFS 1
37250 wx_cv_type_statvfs_t
="unknown"
37254 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37255 cat >>confdefs.h
<<_ACEOF
37256 #define WX_STATFS_T $wx_cv_type_statvfs_t
37260 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37261 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37264 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37267 for ac_func
in fcntl flock
37269 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37270 echo "$as_me:$LINENO: checking for $ac_func" >&5
37271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37272 if eval "test \"\${$as_ac_var+set}\" = set"; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37275 cat >conftest.
$ac_ext <<_ACEOF
37278 cat confdefs.h
>>conftest.
$ac_ext
37279 cat >>conftest.
$ac_ext <<_ACEOF
37280 /* end confdefs.h. */
37281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37283 #define $ac_func innocuous_$ac_func
37285 /* System header to define __stub macros and hopefully few prototypes,
37286 which can conflict with char $ac_func (); below.
37287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37288 <limits.h> exists even on freestanding compilers. */
37291 # include <limits.h>
37293 # include <assert.h>
37298 /* Override any gcc2 internal prototype to avoid an error. */
37303 /* We use char because int might match the return type of a gcc2
37304 builtin and then its argument prototype would still apply. */
37306 /* The GNU C library defines this for functions which it implements
37307 to always fail with ENOSYS. Some functions are actually named
37308 something starting with __ and the normal name is an alias. */
37309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37312 char (*f) () = $ac_func;
37321 return f != $ac_func;
37326 rm -f conftest.
$ac_objext conftest
$ac_exeext
37327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37328 (eval $ac_link) 2>conftest.er1
37330 grep -v '^ *+' conftest.er1
>conftest.err
37332 cat conftest.err
>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); } &&
37335 { ac_try
='test -z "$ac_cxx_werror_flag"
37336 || test ! -s conftest.err'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; } &&
37342 { ac_try
='test -s conftest$ac_exeext'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; }; then
37348 eval "$as_ac_var=yes"
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.
$ac_ext >&5
37353 eval "$as_ac_var=no"
37355 rm -f conftest.err conftest.
$ac_objext \
37356 conftest
$ac_exeext conftest.
$ac_ext
37358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37360 if test `eval echo '${'$as_ac_var'}'` = yes; then
37361 cat >>confdefs.h
<<_ACEOF
37362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37369 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37370 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37371 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37372 wxUSE_SNGLINST_CHECKER
=no
37377 for ac_func
in timegm
37379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37380 echo "$as_me:$LINENO: checking for $ac_func" >&5
37381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37382 if eval "test \"\${$as_ac_var+set}\" = set"; then
37383 echo $ECHO_N "(cached) $ECHO_C" >&6
37385 cat >conftest.
$ac_ext <<_ACEOF
37388 cat confdefs.h
>>conftest.
$ac_ext
37389 cat >>conftest.
$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37393 #define $ac_func innocuous_$ac_func
37395 /* System header to define __stub macros and hopefully few prototypes,
37396 which can conflict with char $ac_func (); below.
37397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37398 <limits.h> exists even on freestanding compilers. */
37401 # include <limits.h>
37403 # include <assert.h>
37408 /* Override any gcc2 internal prototype to avoid an error. */
37413 /* We use char because int might match the return type of a gcc2
37414 builtin and then its argument prototype would still apply. */
37416 /* The GNU C library defines this for functions which it implements
37417 to always fail with ENOSYS. Some functions are actually named
37418 something starting with __ and the normal name is an alias. */
37419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37422 char (*f) () = $ac_func;
37431 return f != $ac_func;
37436 rm -f conftest.
$ac_objext conftest
$ac_exeext
37437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37438 (eval $ac_link) 2>conftest.er1
37440 grep -v '^ *+' conftest.er1
>conftest.err
37442 cat conftest.err
>&5
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); } &&
37445 { ac_try
='test -z "$ac_cxx_werror_flag"
37446 || test ! -s conftest.err'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; } &&
37452 { ac_try
='test -s conftest$ac_exeext'
37453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454 (eval $ac_try) 2>&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; }; then
37458 eval "$as_ac_var=yes"
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.
$ac_ext >&5
37463 eval "$as_ac_var=no"
37465 rm -f conftest.err conftest.
$ac_objext \
37466 conftest
$ac_exeext conftest.
$ac_ext
37468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h
<<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37481 for ac_func
in putenv setenv
37483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37484 echo "$as_me:$LINENO: checking for $ac_func" >&5
37485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37486 if eval "test \"\${$as_ac_var+set}\" = set"; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 cat >conftest.
$ac_ext <<_ACEOF
37492 cat confdefs.h
>>conftest.
$ac_ext
37493 cat >>conftest.
$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37497 #define $ac_func innocuous_$ac_func
37499 /* System header to define __stub macros and hopefully few prototypes,
37500 which can conflict with char $ac_func (); below.
37501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37502 <limits.h> exists even on freestanding compilers. */
37505 # include <limits.h>
37507 # include <assert.h>
37512 /* Override any gcc2 internal prototype to avoid an error. */
37517 /* We use char because int might match the return type of a gcc2
37518 builtin and then its argument prototype would still apply. */
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37526 char (*f) () = $ac_func;
37535 return f != $ac_func;
37540 rm -f conftest.
$ac_objext conftest
$ac_exeext
37541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37542 (eval $ac_link) 2>conftest.er1
37544 grep -v '^ *+' conftest.er1
>conftest.err
37546 cat conftest.err
>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } &&
37549 { ac_try
='test -z "$ac_cxx_werror_flag"
37550 || test ! -s conftest.err'
37551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552 (eval $ac_try) 2>&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); }; } &&
37556 { ac_try
='test -s conftest$ac_exeext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 eval "$as_ac_var=yes"
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.
$ac_ext >&5
37567 eval "$as_ac_var=no"
37569 rm -f conftest.err conftest.
$ac_objext \
37570 conftest
$ac_exeext conftest.
$ac_ext
37572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37574 if test `eval echo '${'$as_ac_var'}'` = yes; then
37575 cat >>confdefs.h
<<_ACEOF
37576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37583 HAVE_SOME_SLEEP_FUNC
=0
37584 if test "$USE_BEOS" = 1; then
37585 cat >>confdefs.h
<<\_ACEOF
37586 #define HAVE_SLEEP 1
37589 HAVE_SOME_SLEEP_FUNC
=1
37592 if test "$USE_DARWIN" = 1; then
37593 cat >>confdefs.h
<<\_ACEOF
37594 #define HAVE_USLEEP 1
37597 HAVE_SOME_SLEEP_FUNC
=1
37600 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37603 for ac_func
in nanosleep
37605 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37606 echo "$as_me:$LINENO: checking for $ac_func" >&5
37607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37608 if eval "test \"\${$as_ac_var+set}\" = set"; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37611 cat >conftest.
$ac_ext <<_ACEOF
37614 cat confdefs.h
>>conftest.
$ac_ext
37615 cat >>conftest.
$ac_ext <<_ACEOF
37616 /* end confdefs.h. */
37617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37619 #define $ac_func innocuous_$ac_func
37621 /* System header to define __stub macros and hopefully few prototypes,
37622 which can conflict with char $ac_func (); below.
37623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37624 <limits.h> exists even on freestanding compilers. */
37627 # include <limits.h>
37629 # include <assert.h>
37634 /* Override any gcc2 internal prototype to avoid an error. */
37639 /* We use char because int might match the return type of a gcc2
37640 builtin and then its argument prototype would still apply. */
37642 /* The GNU C library defines this for functions which it implements
37643 to always fail with ENOSYS. Some functions are actually named
37644 something starting with __ and the normal name is an alias. */
37645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37648 char (*f) () = $ac_func;
37657 return f != $ac_func;
37662 rm -f conftest.
$ac_objext conftest
$ac_exeext
37663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37664 (eval $ac_link) 2>conftest.er1
37666 grep -v '^ *+' conftest.er1
>conftest.err
37668 cat conftest.err
>&5
37669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37670 (exit $ac_status); } &&
37671 { ac_try
='test -z "$ac_cxx_werror_flag"
37672 || test ! -s conftest.err'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; } &&
37678 { ac_try
='test -s conftest$ac_exeext'
37679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37680 (eval $ac_try) 2>&5
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); }; }; then
37684 eval "$as_ac_var=yes"
37686 echo "$as_me: failed program was:" >&5
37687 sed 's/^/| /' conftest.
$ac_ext >&5
37689 eval "$as_ac_var=no"
37691 rm -f conftest.err conftest.
$ac_objext \
37692 conftest
$ac_exeext conftest.
$ac_ext
37694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37696 if test `eval echo '${'$as_ac_var'}'` = yes; then
37697 cat >>confdefs.h
<<_ACEOF
37698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37700 cat >>confdefs.h
<<\_ACEOF
37701 #define HAVE_NANOSLEEP 1
37706 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37707 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37708 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 ac_check_lib_save_LIBS
=$LIBS
37712 LIBS
="-lposix4 $LIBS"
37713 cat >conftest.
$ac_ext <<_ACEOF
37716 cat confdefs.h
>>conftest.
$ac_ext
37717 cat >>conftest.
$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37720 /* Override any gcc2 internal prototype to avoid an error. */
37724 /* We use char because int might match the return type of a gcc2
37725 builtin and then its argument prototype would still apply. */
37735 rm -f conftest.
$ac_objext conftest
$ac_exeext
37736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37737 (eval $ac_link) 2>conftest.er1
37739 grep -v '^ *+' conftest.er1
>conftest.err
37741 cat conftest.err
>&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); } &&
37744 { ac_try
='test -z "$ac_cxx_werror_flag"
37745 || test ! -s conftest.err'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; } &&
37751 { ac_try
='test -s conftest$ac_exeext'
37752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37753 (eval $ac_try) 2>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); }; }; then
37757 ac_cv_lib_posix4_nanosleep
=yes
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.
$ac_ext >&5
37762 ac_cv_lib_posix4_nanosleep
=no
37764 rm -f conftest.err conftest.
$ac_objext \
37765 conftest
$ac_exeext conftest.
$ac_ext
37766 LIBS
=$ac_check_lib_save_LIBS
37768 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37769 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37770 if test $ac_cv_lib_posix4_nanosleep = yes; then
37772 cat >>confdefs.h
<<\_ACEOF
37773 #define HAVE_NANOSLEEP 1
37776 POSIX4_LINK
=" -lposix4"
37781 for ac_func
in usleep
37783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37784 echo "$as_me:$LINENO: checking for $ac_func" >&5
37785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37786 if eval "test \"\${$as_ac_var+set}\" = set"; then
37787 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 cat >conftest.
$ac_ext <<_ACEOF
37792 cat confdefs.h
>>conftest.
$ac_ext
37793 cat >>conftest.
$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37797 #define $ac_func innocuous_$ac_func
37799 /* System header to define __stub macros and hopefully few prototypes,
37800 which can conflict with char $ac_func (); below.
37801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37802 <limits.h> exists even on freestanding compilers. */
37805 # include <limits.h>
37807 # include <assert.h>
37812 /* Override any gcc2 internal prototype to avoid an error. */
37817 /* We use char because int might match the return type of a gcc2
37818 builtin and then its argument prototype would still apply. */
37820 /* The GNU C library defines this for functions which it implements
37821 to always fail with ENOSYS. Some functions are actually named
37822 something starting with __ and the normal name is an alias. */
37823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37826 char (*f) () = $ac_func;
37835 return f != $ac_func;
37840 rm -f conftest.
$ac_objext conftest
$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37844 grep -v '^ *+' conftest.er1
>conftest.err
37846 cat conftest.err
>&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try
='test -z "$ac_cxx_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try
='test -s conftest$ac_exeext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 eval "$as_ac_var=yes"
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.
$ac_ext >&5
37867 eval "$as_ac_var=no"
37869 rm -f conftest.err conftest.
$ac_objext \
37870 conftest
$ac_exeext conftest.
$ac_ext
37872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37874 if test `eval echo '${'$as_ac_var'}'` = yes; then
37875 cat >>confdefs.h
<<_ACEOF
37876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37878 cat >>confdefs.h
<<\_ACEOF
37879 #define HAVE_USLEEP 1
37883 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37884 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37902 for ac_func
in uname gethostname
37904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37905 echo "$as_me:$LINENO: checking for $ac_func" >&5
37906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37907 if eval "test \"\${$as_ac_var+set}\" = set"; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 cat >conftest.
$ac_ext <<_ACEOF
37913 cat confdefs.h
>>conftest.
$ac_ext
37914 cat >>conftest.
$ac_ext <<_ACEOF
37915 /* end confdefs.h. */
37916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37918 #define $ac_func innocuous_$ac_func
37920 /* System header to define __stub macros and hopefully few prototypes,
37921 which can conflict with char $ac_func (); below.
37922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37923 <limits.h> exists even on freestanding compilers. */
37926 # include <limits.h>
37928 # include <assert.h>
37933 /* Override any gcc2 internal prototype to avoid an error. */
37938 /* We use char because int might match the return type of a gcc2
37939 builtin and then its argument prototype would still apply. */
37941 /* The GNU C library defines this for functions which it implements
37942 to always fail with ENOSYS. Some functions are actually named
37943 something starting with __ and the normal name is an alias. */
37944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37947 char (*f) () = $ac_func;
37956 return f != $ac_func;
37961 rm -f conftest.
$ac_objext conftest
$ac_exeext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37963 (eval $ac_link) 2>conftest.er1
37965 grep -v '^ *+' conftest.er1
>conftest.err
37967 cat conftest.err
>&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try
='test -z "$ac_cxx_werror_flag"
37971 || test ! -s conftest.err'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; } &&
37977 { ac_try
='test -s conftest$ac_exeext'
37978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37979 (eval $ac_try) 2>&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); }; }; then
37983 eval "$as_ac_var=yes"
37985 echo "$as_me: failed program was:" >&5
37986 sed 's/^/| /' conftest.
$ac_ext >&5
37988 eval "$as_ac_var=no"
37990 rm -f conftest.err conftest.
$ac_objext \
37991 conftest
$ac_exeext conftest.
$ac_ext
37993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37995 if test `eval echo '${'$as_ac_var'}'` = yes; then
37996 cat >>confdefs.h
<<_ACEOF
37997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38005 for wx_func
in strtok_r
38007 echo "$as_me:$LINENO: checking for $wx_func" >&5
38008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38009 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38010 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 cat >conftest.
$ac_ext <<_ACEOF
38017 cat confdefs.h
>>conftest.
$ac_ext
38018 cat >>conftest.
$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38022 $ac_includes_default
38038 rm -f conftest.
$ac_objext conftest
$ac_exeext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38040 (eval $ac_link) 2>conftest.er1
38042 grep -v '^ *+' conftest.er1
>conftest.err
38044 cat conftest.err
>&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try
='test -z "$ac_cxx_werror_flag"
38048 || test ! -s conftest.err'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; } &&
38054 { ac_try
='test -s conftest$ac_exeext'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; }; then
38060 eval wx_cv_func_
$wx_func=yes
38062 echo "$as_me: failed program was:" >&5
38063 sed 's/^/| /' conftest.
$ac_ext >&5
38065 eval wx_cv_func_
$wx_func=no
38067 rm -f conftest.err conftest.
$ac_objext \
38068 conftest
$ac_exeext conftest.
$ac_ext
38071 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38072 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38074 if eval test \
$wx_cv_func_$wx_func = yes
38076 cat >>confdefs.h
<<_ACEOF
38077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38090 for ac_func
in inet_addr
38092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38093 echo "$as_me:$LINENO: checking for $ac_func" >&5
38094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38095 if eval "test \"\${$as_ac_var+set}\" = set"; then
38096 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 cat >conftest.
$ac_ext <<_ACEOF
38101 cat confdefs.h
>>conftest.
$ac_ext
38102 cat >>conftest.
$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38106 #define $ac_func innocuous_$ac_func
38108 /* System header to define __stub macros and hopefully few prototypes,
38109 which can conflict with char $ac_func (); below.
38110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38111 <limits.h> exists even on freestanding compilers. */
38114 # include <limits.h>
38116 # include <assert.h>
38121 /* Override any gcc2 internal prototype to avoid an error. */
38126 /* We use char because int might match the return type of a gcc2
38127 builtin and then its argument prototype would still apply. */
38129 /* The GNU C library defines this for functions which it implements
38130 to always fail with ENOSYS. Some functions are actually named
38131 something starting with __ and the normal name is an alias. */
38132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38135 char (*f) () = $ac_func;
38144 return f != $ac_func;
38149 rm -f conftest.
$ac_objext conftest
$ac_exeext
38150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38151 (eval $ac_link) 2>conftest.er1
38153 grep -v '^ *+' conftest.er1
>conftest.err
38155 cat conftest.err
>&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } &&
38158 { ac_try
='test -z "$ac_cxx_werror_flag"
38159 || test ! -s conftest.err'
38160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38161 (eval $ac_try) 2>&5
38163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38164 (exit $ac_status); }; } &&
38165 { ac_try
='test -s conftest$ac_exeext'
38166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38167 (eval $ac_try) 2>&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); }; }; then
38171 eval "$as_ac_var=yes"
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.
$ac_ext >&5
38176 eval "$as_ac_var=no"
38178 rm -f conftest.err conftest.
$ac_objext \
38179 conftest
$ac_exeext conftest.
$ac_ext
38181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38183 if test `eval echo '${'$as_ac_var'}'` = yes; then
38184 cat >>confdefs.h
<<_ACEOF
38185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38187 cat >>confdefs.h
<<\_ACEOF
38188 #define HAVE_INET_ADDR 1
38193 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38194 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38195 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 ac_check_lib_save_LIBS
=$LIBS
38200 cat >conftest.
$ac_ext <<_ACEOF
38203 cat confdefs.h
>>conftest.
$ac_ext
38204 cat >>conftest.
$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38207 /* Override any gcc2 internal prototype to avoid an error. */
38211 /* We use char because int might match the return type of a gcc2
38212 builtin and then its argument prototype would still apply. */
38222 rm -f conftest.
$ac_objext conftest
$ac_exeext
38223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38224 (eval $ac_link) 2>conftest.er1
38226 grep -v '^ *+' conftest.er1
>conftest.err
38228 cat conftest.err
>&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } &&
38231 { ac_try
='test -z "$ac_cxx_werror_flag"
38232 || test ! -s conftest.err'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; } &&
38238 { ac_try
='test -s conftest$ac_exeext'
38239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38240 (eval $ac_try) 2>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); }; }; then
38244 ac_cv_lib_nsl_inet_addr
=yes
38246 echo "$as_me: failed program was:" >&5
38247 sed 's/^/| /' conftest.
$ac_ext >&5
38249 ac_cv_lib_nsl_inet_addr
=no
38251 rm -f conftest.err conftest.
$ac_objext \
38252 conftest
$ac_exeext conftest.
$ac_ext
38253 LIBS
=$ac_check_lib_save_LIBS
38255 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38256 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38257 if test $ac_cv_lib_nsl_inet_addr = yes; then
38261 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38262 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38263 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38266 ac_check_lib_save_LIBS
=$LIBS
38267 LIBS
="-lresolv $LIBS"
38268 cat >conftest.
$ac_ext <<_ACEOF
38271 cat confdefs.h
>>conftest.
$ac_ext
38272 cat >>conftest.
$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38275 /* Override any gcc2 internal prototype to avoid an error. */
38279 /* We use char because int might match the return type of a gcc2
38280 builtin and then its argument prototype would still apply. */
38290 rm -f conftest.
$ac_objext conftest
$ac_exeext
38291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38292 (eval $ac_link) 2>conftest.er1
38294 grep -v '^ *+' conftest.er1
>conftest.err
38296 cat conftest.err
>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } &&
38299 { ac_try
='test -z "$ac_cxx_werror_flag"
38300 || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try
='test -s conftest$ac_exeext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 ac_cv_lib_resolv_inet_addr
=yes
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.
$ac_ext >&5
38317 ac_cv_lib_resolv_inet_addr
=no
38319 rm -f conftest.err conftest.
$ac_objext \
38320 conftest
$ac_exeext conftest.
$ac_ext
38321 LIBS
=$ac_check_lib_save_LIBS
38323 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38325 if test $ac_cv_lib_resolv_inet_addr = yes; then
38329 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38334 ac_check_lib_save_LIBS
=$LIBS
38335 LIBS
="-lsocket $LIBS"
38336 cat >conftest.
$ac_ext <<_ACEOF
38339 cat confdefs.h
>>conftest.
$ac_ext
38340 cat >>conftest.
$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38343 /* Override any gcc2 internal prototype to avoid an error. */
38347 /* We use char because int might match the return type of a gcc2
38348 builtin and then its argument prototype would still apply. */
38358 rm -f conftest.
$ac_objext conftest
$ac_exeext
38359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38360 (eval $ac_link) 2>conftest.er1
38362 grep -v '^ *+' conftest.er1
>conftest.err
38364 cat conftest.err
>&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } &&
38367 { ac_try
='test -z "$ac_cxx_werror_flag"
38368 || test ! -s conftest.err'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; } &&
38374 { ac_try
='test -s conftest$ac_exeext'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; }; then
38380 ac_cv_lib_socket_inet_addr
=yes
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.
$ac_ext >&5
38385 ac_cv_lib_socket_inet_addr
=no
38387 rm -f conftest.err conftest.
$ac_objext \
38388 conftest
$ac_exeext conftest.
$ac_ext
38389 LIBS
=$ac_check_lib_save_LIBS
38391 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38392 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38393 if test $ac_cv_lib_socket_inet_addr = yes; then
38413 for ac_func
in inet_aton
38415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38416 echo "$as_me:$LINENO: checking for $ac_func" >&5
38417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38418 if eval "test \"\${$as_ac_var+set}\" = set"; then
38419 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 cat >conftest.
$ac_ext <<_ACEOF
38424 cat confdefs.h
>>conftest.
$ac_ext
38425 cat >>conftest.
$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38429 #define $ac_func innocuous_$ac_func
38431 /* System header to define __stub macros and hopefully few prototypes,
38432 which can conflict with char $ac_func (); below.
38433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38434 <limits.h> exists even on freestanding compilers. */
38437 # include <limits.h>
38439 # include <assert.h>
38444 /* Override any gcc2 internal prototype to avoid an error. */
38449 /* We use char because int might match the return type of a gcc2
38450 builtin and then its argument prototype would still apply. */
38452 /* The GNU C library defines this for functions which it implements
38453 to always fail with ENOSYS. Some functions are actually named
38454 something starting with __ and the normal name is an alias. */
38455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38458 char (*f) () = $ac_func;
38467 return f != $ac_func;
38472 rm -f conftest.
$ac_objext conftest
$ac_exeext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38474 (eval $ac_link) 2>conftest.er1
38476 grep -v '^ *+' conftest.er1
>conftest.err
38478 cat conftest.err
>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try
='test -z "$ac_cxx_werror_flag"
38482 || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try
='test -s conftest$ac_exeext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 eval "$as_ac_var=yes"
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.
$ac_ext >&5
38499 eval "$as_ac_var=no"
38501 rm -f conftest.err conftest.
$ac_objext \
38502 conftest
$ac_exeext conftest.
$ac_ext
38504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38506 if test `eval echo '${'$as_ac_var'}'` = yes; then
38507 cat >>confdefs.h
<<_ACEOF
38508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38510 cat >>confdefs.h
<<\_ACEOF
38511 #define HAVE_INET_ATON 1
38516 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38517 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38518 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38519 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 ac_check_lib_save_LIBS
=$LIBS
38523 LIBS
="-l$INET_LINK $LIBS"
38524 cat >conftest.
$ac_ext <<_ACEOF
38527 cat confdefs.h
>>conftest.
$ac_ext
38528 cat >>conftest.
$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38531 /* Override any gcc2 internal prototype to avoid an error. */
38535 /* We use char because int might match the return type of a gcc2
38536 builtin and then its argument prototype would still apply. */
38546 rm -f conftest.
$ac_objext conftest
$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38550 grep -v '^ *+' conftest.er1
>conftest.err
38552 cat conftest.err
>&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try
='test -z "$ac_cxx_werror_flag"
38556 || test ! -s conftest.err'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; } &&
38562 { ac_try
='test -s conftest$ac_exeext'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; }; then
38568 eval "$as_ac_Lib=yes"
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.
$ac_ext >&5
38573 eval "$as_ac_Lib=no"
38575 rm -f conftest.err conftest.
$ac_objext \
38576 conftest
$ac_exeext conftest.
$ac_ext
38577 LIBS
=$ac_check_lib_save_LIBS
38579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38580 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38581 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38582 cat >>confdefs.h
<<\_ACEOF
38583 #define HAVE_INET_ATON 1
38593 if test "x$INET_LINK" != "x"; then
38594 cat >>confdefs.h
<<\_ACEOF
38595 #define HAVE_INET_ADDR 1
38598 INET_LINK
=" -l$INET_LINK"
38606 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38607 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38608 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38611 ac_check_lib_save_LIBS
=$LIBS
38613 cat >conftest.
$ac_ext <<_ACEOF
38616 cat confdefs.h
>>conftest.
$ac_ext
38617 cat >>conftest.
$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38620 /* Override any gcc2 internal prototype to avoid an error. */
38624 /* We use char because int might match the return type of a gcc2
38625 builtin and then its argument prototype would still apply. */
38635 rm -f conftest.
$ac_objext conftest
$ac_exeext
38636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38637 (eval $ac_link) 2>conftest.er1
38639 grep -v '^ *+' conftest.er1
>conftest.err
38641 cat conftest.err
>&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } &&
38644 { ac_try
='test -z "$ac_cxx_werror_flag"
38645 || test ! -s conftest.err'
38646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38647 (eval $ac_try) 2>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); }; } &&
38651 { ac_try
='test -s conftest$ac_exeext'
38652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38653 (eval $ac_try) 2>&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); }; }; then
38657 ac_cv_lib_esd_esd_close
=yes
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.
$ac_ext >&5
38662 ac_cv_lib_esd_esd_close
=no
38664 rm -f conftest.err conftest.
$ac_objext \
38665 conftest
$ac_exeext conftest.
$ac_ext
38666 LIBS
=$ac_check_lib_save_LIBS
38668 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38669 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38670 if test $ac_cv_lib_esd_esd_close = yes; then
38673 for ac_header
in esd.h
38675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38677 echo "$as_me:$LINENO: checking for $ac_header" >&5
38678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38685 # Is the header compilable?
38686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38688 cat >conftest.
$ac_ext <<_ACEOF
38691 cat confdefs.h
>>conftest.
$ac_ext
38692 cat >>conftest.
$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694 $ac_includes_default
38695 #include <$ac_header>
38697 rm -f conftest.
$ac_objext
38698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38699 (eval $ac_compile) 2>conftest.er1
38701 grep -v '^ *+' conftest.er1
>conftest.err
38703 cat conftest.err
>&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } &&
38706 { ac_try
='test -z "$ac_cxx_werror_flag"
38707 || test ! -s conftest.err'
38708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38709 (eval $ac_try) 2>&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); }; } &&
38713 { ac_try
='test -s conftest.$ac_objext'
38714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38715 (eval $ac_try) 2>&5
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); }; }; then
38719 ac_header_compiler
=yes
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.
$ac_ext >&5
38724 ac_header_compiler
=no
38726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38728 echo "${ECHO_T}$ac_header_compiler" >&6
38730 # Is the header present?
38731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38733 cat >conftest.
$ac_ext <<_ACEOF
38736 cat confdefs.h
>>conftest.
$ac_ext
38737 cat >>conftest.
$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739 #include <$ac_header>
38741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38744 grep -v '^ *+' conftest.er1
>conftest.err
38746 cat conftest.err
>&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } >/dev
/null
; then
38749 if test -s conftest.err
; then
38750 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38751 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38758 if test -z "$ac_cpp_err"; then
38759 ac_header_preproc
=yes
38761 echo "$as_me: failed program was:" >&5
38762 sed 's/^/| /' conftest.
$ac_ext >&5
38764 ac_header_preproc
=no
38766 rm -f conftest.err conftest.
$ac_ext
38767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38768 echo "${ECHO_T}$ac_header_preproc" >&6
38770 # So? What about this header?
38771 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38777 ac_header_preproc
=yes
38780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38794 ## ----------------------------------------- ##
38795 ## Report this to wx-dev@lists.wxwidgets.org ##
38796 ## ----------------------------------------- ##
38799 sed "s/^/$as_me: WARNING: /" >&2
38802 echo "$as_me:$LINENO: checking for $ac_header" >&5
38803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 eval "$as_ac_Header=\$ac_header_preproc"
38809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38814 cat >>confdefs.h
<<_ACEOF
38815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38818 EXTRALIBS_ESD
="-lesd"
38829 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38830 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38831 cat >conftest.
$ac_ext <<_ACEOF
38834 cat confdefs.h
>>conftest.
$ac_ext
38835 cat >>conftest.
$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38838 #include <linux/cdrom.h>
38841 #include <sys/cdio.h>
38847 struct cdrom_tocentry entry, old_entry;
38852 rm -f conftest.
$ac_objext
38853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38854 (eval $ac_compile) 2>conftest.er1
38856 grep -v '^ *+' conftest.er1
>conftest.err
38858 cat conftest.err
>&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } &&
38861 { ac_try
='test -z "$ac_cxx_werror_flag"
38862 || test ! -s conftest.err'
38863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864 (eval $ac_try) 2>&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); }; } &&
38868 { ac_try
='test -s conftest.$ac_objext'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; }; then
38874 echo "$as_me:$LINENO: result: yes" >&5
38875 echo "${ECHO_T}yes" >&6
38876 cat >>confdefs.h
<<\_ACEOF
38877 #define HAVE_KNOWN_CDROM_INTERFACE 1
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.
$ac_ext >&5
38884 echo "$as_me:$LINENO: result: no" >&5
38885 echo "${ECHO_T}no" >&6
38887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38890 cat >confcache
<<\_ACEOF
38891 # This file is a shell script that caches the results of configure
38892 # tests run on this system so they can be shared between configure
38893 # scripts and configure runs, see configure's option --config-cache.
38894 # It is not useful on other systems. If it contains results you don't
38895 # want to keep, you may remove or edit it.
38897 # config.status only pays attention to the cache file if you give it
38898 # the --recheck option to rerun configure.
38900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38902 # following values.
38906 # The following way of writing the cache mishandles newlines in values,
38907 # but we know of no workaround that is simple, portable, and efficient.
38908 # So, don't put newlines in cache variables' values.
38909 # Ultrix sh set writes to stderr and can't be redirected directly,
38910 # and sets the high bit in the cache file unless we assign to the vars.
38913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38915 # `set' does not quote correctly, so add quotes (double-quote
38916 # substitution turns \\\\ into \\, and sed turns \\ into \).
38919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38922 # `set' quotes correctly as required by POSIX, so do not add quotes.
38924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38935 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38936 if test -w $cache_file; then
38937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38938 cat confcache
>$cache_file
38940 echo "not updating unwritable cache $cache_file"
38946 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38952 if test "$wxUSE_THREADS" = "yes" ; then
38953 if test "$USE_BEOS" = 1; then
38954 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38955 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38960 if test "$wxUSE_THREADS" = "yes" ; then
38963 THREAD_OPTS
="-pthread"
38965 *-*-solaris2* | *-*-sunos4* )
38966 if test "x$GCC" = "xyes"; then
38967 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38969 THREAD_OPTS
="-mt $THREAD_OPTS"
38973 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38975 *-*-darwin* | *-*-cygwin* )
38979 THREAD_OPTS
="pthreads"
38982 if test "x$GCC" = "xyes"; then
38983 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38991 if test "x$GCC" = "xyes"; then
38997 if test "x$GCC" != "xyes"; then
38998 THREAD_OPTS
="-Ethread"
39003 THREAD_OPTS
="$THREAD_OPTS pthread none"
39006 for flag
in $THREAD_OPTS; do
39009 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39010 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39014 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39015 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39016 THREADS_CXXFLAGS
="$flag"
39020 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39021 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39022 THREADS_LINK
="-l$flag"
39027 save_CXXFLAGS
="$CXXFLAGS"
39028 LIBS
="$THREADS_LINK $LIBS"
39029 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39031 cat >conftest.
$ac_ext <<_ACEOF
39034 cat confdefs.h
>>conftest.
$ac_ext
39035 cat >>conftest.
$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 #include <pthread.h>
39041 pthread_create(0,0,0,0);
39046 rm -f conftest.
$ac_objext conftest
$ac_exeext
39047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39048 (eval $ac_link) 2>conftest.er1
39050 grep -v '^ *+' conftest.er1
>conftest.err
39052 cat conftest.err
>&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } &&
39055 { ac_try
='test -z "$ac_cxx_werror_flag"
39056 || test ! -s conftest.err'
39057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058 (eval $ac_try) 2>&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); }; } &&
39062 { ac_try
='test -s conftest$ac_exeext'
39063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39064 (eval $ac_try) 2>&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); }; }; then
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.
$ac_ext >&5
39074 rm -f conftest.err conftest.
$ac_objext \
39075 conftest
$ac_exeext conftest.
$ac_ext
39078 CXXFLAGS
="$save_CXXFLAGS"
39080 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39081 echo "${ECHO_T}$THREADS_OK" >&6
39082 if test "x$THREADS_OK" = "xyes"; then
39087 THREADS_CXXFLAGS
=""
39090 if test "x$THREADS_OK" != "xyes"; then
39092 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39093 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39095 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39096 LIBS
="$THREADS_LINK $LIBS"
39098 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39099 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39103 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39104 flag
="-D_THREAD_SAFE"
39107 flag
="-D_THREAD_SAFE"
39110 flag
="-D_REENTRANT"
39111 if test "x$GCC" != "xyes"; then
39112 flag
="$flag -D_RWSTD_MULTI_THREAD"
39115 *solaris
* | alpha
*-osf*)
39116 flag
="-D_REENTRANT"
39119 echo "$as_me:$LINENO: result: ${flag}" >&5
39120 echo "${ECHO_T}${flag}" >&6
39121 if test "x$flag" != xno
; then
39122 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39125 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39129 if test "$wxUSE_THREADS" = "yes" ; then
39131 for ac_func
in thr_setconcurrency
39133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39134 echo "$as_me:$LINENO: checking for $ac_func" >&5
39135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_var+set}\" = set"; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 cat >conftest.
$ac_ext <<_ACEOF
39142 cat confdefs.h
>>conftest.
$ac_ext
39143 cat >>conftest.
$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39147 #define $ac_func innocuous_$ac_func
39149 /* System header to define __stub macros and hopefully few prototypes,
39150 which can conflict with char $ac_func (); below.
39151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39152 <limits.h> exists even on freestanding compilers. */
39155 # include <limits.h>
39157 # include <assert.h>
39162 /* Override any gcc2 internal prototype to avoid an error. */
39167 /* We use char because int might match the return type of a gcc2
39168 builtin and then its argument prototype would still apply. */
39170 /* The GNU C library defines this for functions which it implements
39171 to always fail with ENOSYS. Some functions are actually named
39172 something starting with __ and the normal name is an alias. */
39173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39176 char (*f) () = $ac_func;
39185 return f != $ac_func;
39190 rm -f conftest.
$ac_objext conftest
$ac_exeext
39191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39192 (eval $ac_link) 2>conftest.er1
39194 grep -v '^ *+' conftest.er1
>conftest.err
39196 cat conftest.err
>&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } &&
39199 { ac_try
='test -z "$ac_cxx_werror_flag"
39200 || test ! -s conftest.err'
39201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202 (eval $ac_try) 2>&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); }; } &&
39206 { ac_try
='test -s conftest$ac_exeext'
39207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208 (eval $ac_try) 2>&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); }; }; then
39212 eval "$as_ac_var=yes"
39214 echo "$as_me: failed program was:" >&5
39215 sed 's/^/| /' conftest.
$ac_ext >&5
39217 eval "$as_ac_var=no"
39219 rm -f conftest.err conftest.
$ac_objext \
39220 conftest
$ac_exeext conftest.
$ac_ext
39222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39224 if test `eval echo '${'$as_ac_var'}'` = yes; then
39225 cat >>confdefs.h
<<_ACEOF
39226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39233 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39234 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39235 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39236 echo $ECHO_N "(cached) $ECHO_C" >&6
39239 cat >conftest.
$ac_ext <<_ACEOF
39242 cat confdefs.h
>>conftest.
$ac_ext
39243 cat >>conftest.
$ac_ext <<_ACEOF
39244 /* end confdefs.h. */
39245 #include <pthread.h>
39246 void ThreadCleanupFunc(void *p);
39253 pthread_cleanup_push(ThreadCleanupFunc, p);
39254 pthread_cleanup_pop(0);
39260 rm -f conftest.
$ac_objext
39261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39262 (eval $ac_compile) 2>conftest.er1
39264 grep -v '^ *+' conftest.er1
>conftest.err
39266 cat conftest.err
>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } &&
39269 { ac_try
='test -z "$ac_cxx_werror_flag"
39270 || test ! -s conftest.err'
39271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39272 (eval $ac_try) 2>&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); }; } &&
39276 { ac_try
='test -s conftest.$ac_objext'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; }; then
39283 wx_cv_func_pthread_cleanup
=yes
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.
$ac_ext >&5
39290 wx_cv_func_pthread_cleanup
=no
39294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39297 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39298 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39299 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39300 cat >>confdefs.h
<<\_ACEOF
39301 #define wxHAVE_PTHREAD_CLEANUP 1
39307 for ac_header
in sched.h
39309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39311 echo "$as_me:$LINENO: checking for $ac_header" >&5
39312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39319 # Is the header compilable?
39320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39322 cat >conftest.
$ac_ext <<_ACEOF
39325 cat confdefs.h
>>conftest.
$ac_ext
39326 cat >>conftest.
$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 $ac_includes_default
39329 #include <$ac_header>
39331 rm -f conftest.
$ac_objext
39332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39333 (eval $ac_compile) 2>conftest.er1
39335 grep -v '^ *+' conftest.er1
>conftest.err
39337 cat conftest.err
>&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); } &&
39340 { ac_try
='test -z "$ac_cxx_werror_flag"
39341 || test ! -s conftest.err'
39342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39343 (eval $ac_try) 2>&5
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); }; } &&
39347 { ac_try
='test -s conftest.$ac_objext'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; }; then
39353 ac_header_compiler
=yes
39355 echo "$as_me: failed program was:" >&5
39356 sed 's/^/| /' conftest.
$ac_ext >&5
39358 ac_header_compiler
=no
39360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39362 echo "${ECHO_T}$ac_header_compiler" >&6
39364 # Is the header present?
39365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39367 cat >conftest.
$ac_ext <<_ACEOF
39370 cat confdefs.h
>>conftest.
$ac_ext
39371 cat >>conftest.
$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39373 #include <$ac_header>
39375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39378 grep -v '^ *+' conftest.er1
>conftest.err
39380 cat conftest.err
>&5
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); } >/dev
/null
; then
39383 if test -s conftest.err
; then
39384 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39385 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39392 if test -z "$ac_cpp_err"; then
39393 ac_header_preproc
=yes
39395 echo "$as_me: failed program was:" >&5
39396 sed 's/^/| /' conftest.
$ac_ext >&5
39398 ac_header_preproc
=no
39400 rm -f conftest.err conftest.
$ac_ext
39401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39402 echo "${ECHO_T}$ac_header_preproc" >&6
39404 # So? What about this header?
39405 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39411 ac_header_preproc
=yes
39414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39428 ## ----------------------------------------- ##
39429 ## Report this to wx-dev@lists.wxwidgets.org ##
39430 ## ----------------------------------------- ##
39433 sed "s/^/$as_me: WARNING: /" >&2
39436 echo "$as_me:$LINENO: checking for $ac_header" >&5
39437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39439 echo $ECHO_N "(cached) $ECHO_C" >&6
39441 eval "$as_ac_Header=\$ac_header_preproc"
39443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39448 cat >>confdefs.h
<<_ACEOF
39449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39456 if test "$ac_cv_header_sched_h" = "yes"; then
39457 echo "$as_me:$LINENO: checking for sched_yield" >&5
39458 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39459 if test "${ac_cv_func_sched_yield+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39462 cat >conftest.
$ac_ext <<_ACEOF
39465 cat confdefs.h
>>conftest.
$ac_ext
39466 cat >>conftest.
$ac_ext <<_ACEOF
39467 /* end confdefs.h. */
39468 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39470 #define sched_yield innocuous_sched_yield
39472 /* System header to define __stub macros and hopefully few prototypes,
39473 which can conflict with char sched_yield (); below.
39474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39475 <limits.h> exists even on freestanding compilers. */
39478 # include <limits.h>
39480 # include <assert.h>
39485 /* Override any gcc2 internal prototype to avoid an error. */
39490 /* We use char because int might match the return type of a gcc2
39491 builtin and then its argument prototype would still apply. */
39492 char sched_yield ();
39493 /* The GNU C library defines this for functions which it implements
39494 to always fail with ENOSYS. Some functions are actually named
39495 something starting with __ and the normal name is an alias. */
39496 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39499 char (*f) () = sched_yield;
39508 return f != sched_yield;
39513 rm -f conftest.
$ac_objext conftest
$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39517 grep -v '^ *+' conftest.er1
>conftest.err
39519 cat conftest.err
>&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try
='test -z "$ac_cxx_werror_flag"
39523 || test ! -s conftest.err'
39524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39525 (eval $ac_try) 2>&5
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); }; } &&
39529 { ac_try
='test -s conftest$ac_exeext'
39530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39531 (eval $ac_try) 2>&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); }; }; then
39535 ac_cv_func_sched_yield
=yes
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.
$ac_ext >&5
39540 ac_cv_func_sched_yield
=no
39542 rm -f conftest.err conftest.
$ac_objext \
39543 conftest
$ac_exeext conftest.
$ac_ext
39545 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39546 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39547 if test $ac_cv_func_sched_yield = yes; then
39548 cat >>confdefs.h
<<\_ACEOF
39549 #define HAVE_SCHED_YIELD 1
39554 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39555 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39556 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 ac_check_lib_save_LIBS
=$LIBS
39560 LIBS
="-lposix4 $LIBS"
39561 cat >conftest.
$ac_ext <<_ACEOF
39564 cat confdefs.h
>>conftest.
$ac_ext
39565 cat >>conftest.
$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39568 /* Override any gcc2 internal prototype to avoid an error. */
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39574 char sched_yield ();
39583 rm -f conftest.
$ac_objext conftest
$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39587 grep -v '^ *+' conftest.er1
>conftest.err
39589 cat conftest.err
>&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try
='test -z "$ac_cxx_werror_flag"
39593 || test ! -s conftest.err'
39594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39595 (eval $ac_try) 2>&5
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); }; } &&
39599 { ac_try
='test -s conftest$ac_exeext'
39600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39601 (eval $ac_try) 2>&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; }; then
39605 ac_cv_lib_posix4_sched_yield
=yes
39607 echo "$as_me: failed program was:" >&5
39608 sed 's/^/| /' conftest.
$ac_ext >&5
39610 ac_cv_lib_posix4_sched_yield
=no
39612 rm -f conftest.err conftest.
$ac_objext \
39613 conftest
$ac_exeext conftest.
$ac_ext
39614 LIBS
=$ac_check_lib_save_LIBS
39616 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39617 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39618 if test $ac_cv_lib_posix4_sched_yield = yes; then
39619 cat >>confdefs.h
<<\_ACEOF
39620 #define HAVE_SCHED_YIELD 1
39622 POSIX4_LINK
=" -lposix4"
39624 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39625 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39636 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39637 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39638 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39641 cat >conftest.
$ac_ext <<_ACEOF
39644 cat confdefs.h
>>conftest.
$ac_ext
39645 cat >>conftest.
$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39649 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39651 /* System header to define __stub macros and hopefully few prototypes,
39652 which can conflict with char pthread_attr_getschedpolicy (); below.
39653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654 <limits.h> exists even on freestanding compilers. */
39657 # include <limits.h>
39659 # include <assert.h>
39662 #undef pthread_attr_getschedpolicy
39664 /* Override any gcc2 internal prototype to avoid an error. */
39669 /* We use char because int might match the return type of a gcc2
39670 builtin and then its argument prototype would still apply. */
39671 char pthread_attr_getschedpolicy ();
39672 /* The GNU C library defines this for functions which it implements
39673 to always fail with ENOSYS. Some functions are actually named
39674 something starting with __ and the normal name is an alias. */
39675 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39678 char (*f) () = pthread_attr_getschedpolicy;
39687 return f != pthread_attr_getschedpolicy;
39692 rm -f conftest.
$ac_objext conftest
$ac_exeext
39693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39694 (eval $ac_link) 2>conftest.er1
39696 grep -v '^ *+' conftest.er1
>conftest.err
39698 cat conftest.err
>&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); } &&
39701 { ac_try
='test -z "$ac_cxx_werror_flag"
39702 || test ! -s conftest.err'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; } &&
39708 { ac_try
='test -s conftest$ac_exeext'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; }; then
39714 ac_cv_func_pthread_attr_getschedpolicy
=yes
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.
$ac_ext >&5
39719 ac_cv_func_pthread_attr_getschedpolicy
=no
39721 rm -f conftest.err conftest.
$ac_objext \
39722 conftest
$ac_exeext conftest.
$ac_ext
39724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39725 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39726 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39727 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39728 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39729 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 cat >conftest.
$ac_ext <<_ACEOF
39735 cat confdefs.h
>>conftest.
$ac_ext
39736 cat >>conftest.
$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39738 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39740 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39742 /* System header to define __stub macros and hopefully few prototypes,
39743 which can conflict with char pthread_attr_setschedparam (); below.
39744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39745 <limits.h> exists even on freestanding compilers. */
39748 # include <limits.h>
39750 # include <assert.h>
39753 #undef pthread_attr_setschedparam
39755 /* Override any gcc2 internal prototype to avoid an error. */
39760 /* We use char because int might match the return type of a gcc2
39761 builtin and then its argument prototype would still apply. */
39762 char pthread_attr_setschedparam ();
39763 /* The GNU C library defines this for functions which it implements
39764 to always fail with ENOSYS. Some functions are actually named
39765 something starting with __ and the normal name is an alias. */
39766 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39769 char (*f) () = pthread_attr_setschedparam;
39778 return f != pthread_attr_setschedparam;
39783 rm -f conftest.
$ac_objext conftest
$ac_exeext
39784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39785 (eval $ac_link) 2>conftest.er1
39787 grep -v '^ *+' conftest.er1
>conftest.err
39789 cat conftest.err
>&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); } &&
39792 { ac_try
='test -z "$ac_cxx_werror_flag"
39793 || test ! -s conftest.err'
39794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39795 (eval $ac_try) 2>&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); }; } &&
39799 { ac_try
='test -s conftest$ac_exeext'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; }; then
39805 ac_cv_func_pthread_attr_setschedparam
=yes
39807 echo "$as_me: failed program was:" >&5
39808 sed 's/^/| /' conftest.
$ac_ext >&5
39810 ac_cv_func_pthread_attr_setschedparam
=no
39812 rm -f conftest.err conftest.
$ac_objext \
39813 conftest
$ac_exeext conftest.
$ac_ext
39815 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39816 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39817 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39818 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39819 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39820 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39821 echo $ECHO_N "(cached) $ECHO_C" >&6
39823 cat >conftest.
$ac_ext <<_ACEOF
39826 cat confdefs.h
>>conftest.
$ac_ext
39827 cat >>conftest.
$ac_ext <<_ACEOF
39828 /* end confdefs.h. */
39829 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39831 #define sched_get_priority_max innocuous_sched_get_priority_max
39833 /* System header to define __stub macros and hopefully few prototypes,
39834 which can conflict with char sched_get_priority_max (); below.
39835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39836 <limits.h> exists even on freestanding compilers. */
39839 # include <limits.h>
39841 # include <assert.h>
39844 #undef sched_get_priority_max
39846 /* Override any gcc2 internal prototype to avoid an error. */
39851 /* We use char because int might match the return type of a gcc2
39852 builtin and then its argument prototype would still apply. */
39853 char sched_get_priority_max ();
39854 /* The GNU C library defines this for functions which it implements
39855 to always fail with ENOSYS. Some functions are actually named
39856 something starting with __ and the normal name is an alias. */
39857 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39860 char (*f) () = sched_get_priority_max;
39869 return f != sched_get_priority_max;
39874 rm -f conftest.
$ac_objext conftest
$ac_exeext
39875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39876 (eval $ac_link) 2>conftest.er1
39878 grep -v '^ *+' conftest.er1
>conftest.err
39880 cat conftest.err
>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } &&
39883 { ac_try
='test -z "$ac_cxx_werror_flag"
39884 || test ! -s conftest.err'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; } &&
39890 { ac_try
='test -s conftest$ac_exeext'
39891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39892 (eval $ac_try) 2>&5
39894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39895 (exit $ac_status); }; }; then
39896 ac_cv_func_sched_get_priority_max
=yes
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.
$ac_ext >&5
39901 ac_cv_func_sched_get_priority_max
=no
39903 rm -f conftest.err conftest.
$ac_objext \
39904 conftest
$ac_exeext conftest.
$ac_ext
39906 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39907 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39908 if test $ac_cv_func_sched_get_priority_max = yes; then
39911 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39912 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39913 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 ac_check_lib_save_LIBS
=$LIBS
39917 LIBS
="-lposix4 $LIBS"
39918 cat >conftest.
$ac_ext <<_ACEOF
39921 cat confdefs.h
>>conftest.
$ac_ext
39922 cat >>conftest.
$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39925 /* Override any gcc2 internal prototype to avoid an error. */
39929 /* We use char because int might match the return type of a gcc2
39930 builtin and then its argument prototype would still apply. */
39931 char sched_get_priority_max ();
39935 sched_get_priority_max ();
39940 rm -f conftest.
$ac_objext conftest
$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39944 grep -v '^ *+' conftest.er1
>conftest.err
39946 cat conftest.err
>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try
='test -z "$ac_cxx_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try
='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 ac_cv_lib_posix4_sched_get_priority_max
=yes
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.
$ac_ext >&5
39967 ac_cv_lib_posix4_sched_get_priority_max
=no
39969 rm -f conftest.err conftest.
$ac_objext \
39970 conftest
$ac_exeext conftest.
$ac_ext
39971 LIBS
=$ac_check_lib_save_LIBS
39973 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39974 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39975 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39978 POSIX4_LINK
=" -lposix4"
39992 if test "$HAVE_PRIOR_FUNCS" = 1; then
39993 cat >>confdefs.h
<<\_ACEOF
39994 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39998 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39999 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40002 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40003 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40004 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40005 echo $ECHO_N "(cached) $ECHO_C" >&6
40007 cat >conftest.
$ac_ext <<_ACEOF
40010 cat confdefs.h
>>conftest.
$ac_ext
40011 cat >>conftest.
$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40013 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40015 #define pthread_cancel innocuous_pthread_cancel
40017 /* System header to define __stub macros and hopefully few prototypes,
40018 which can conflict with char pthread_cancel (); below.
40019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40020 <limits.h> exists even on freestanding compilers. */
40023 # include <limits.h>
40025 # include <assert.h>
40028 #undef pthread_cancel
40030 /* Override any gcc2 internal prototype to avoid an error. */
40035 /* We use char because int might match the return type of a gcc2
40036 builtin and then its argument prototype would still apply. */
40037 char pthread_cancel ();
40038 /* The GNU C library defines this for functions which it implements
40039 to always fail with ENOSYS. Some functions are actually named
40040 something starting with __ and the normal name is an alias. */
40041 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40044 char (*f) () = pthread_cancel;
40053 return f != pthread_cancel;
40058 rm -f conftest.
$ac_objext conftest
$ac_exeext
40059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40060 (eval $ac_link) 2>conftest.er1
40062 grep -v '^ *+' conftest.er1
>conftest.err
40064 cat conftest.err
>&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); } &&
40067 { ac_try
='test -z "$ac_cxx_werror_flag"
40068 || test ! -s conftest.err'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; } &&
40074 { ac_try
='test -s conftest$ac_exeext'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; }; then
40080 ac_cv_func_pthread_cancel
=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.
$ac_ext >&5
40085 ac_cv_func_pthread_cancel
=no
40087 rm -f conftest.err conftest.
$ac_objext \
40088 conftest
$ac_exeext conftest.
$ac_ext
40090 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40091 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40092 if test $ac_cv_func_pthread_cancel = yes; then
40093 cat >>confdefs.h
<<\_ACEOF
40094 #define HAVE_PTHREAD_CANCEL 1
40098 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40099 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40103 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40104 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40105 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40106 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 cat >conftest.
$ac_ext <<_ACEOF
40111 cat confdefs.h
>>conftest.
$ac_ext
40112 cat >>conftest.
$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char pthread_attr_setstacksize (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40124 # include <limits.h>
40126 # include <assert.h>
40129 #undef pthread_attr_setstacksize
40131 /* Override any gcc2 internal prototype to avoid an error. */
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char pthread_attr_setstacksize ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40145 char (*f) () = pthread_attr_setstacksize;
40154 return f != pthread_attr_setstacksize;
40159 rm -f conftest.
$ac_objext conftest
$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40163 grep -v '^ *+' conftest.er1
>conftest.err
40165 cat conftest.err
>&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try
='test -z "$ac_cxx_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try
='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 ac_cv_func_pthread_attr_setstacksize
=yes
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.
$ac_ext >&5
40186 ac_cv_func_pthread_attr_setstacksize
=no
40188 rm -f conftest.err conftest.
$ac_objext \
40189 conftest
$ac_exeext conftest.
$ac_ext
40191 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40192 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40193 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40194 cat >>confdefs.h
<<\_ACEOF
40195 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40202 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40203 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40204 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40205 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 cat >conftest.
$ac_ext <<_ACEOF
40211 cat confdefs.h
>>conftest.
$ac_ext
40212 cat >>conftest.
$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 #include <pthread.h>
40219 pthread_mutexattr_t attr;
40220 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40226 rm -f conftest.
$ac_objext
40227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40228 (eval $ac_compile) 2>conftest.er1
40230 grep -v '^ *+' conftest.er1
>conftest.err
40232 cat conftest.err
>&5
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); } &&
40235 { ac_try
='test -z "$ac_cxx_werror_flag"
40236 || test ! -s conftest.err'
40237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40238 (eval $ac_try) 2>&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); }; } &&
40242 { ac_try
='test -s conftest.$ac_objext'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; }; then
40248 wx_cv_type_pthread_mutexattr_t
=yes
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.
$ac_ext >&5
40253 wx_cv_type_pthread_mutexattr_t
=no
40256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40259 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40260 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40262 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40263 cat >>confdefs.h
<<\_ACEOF
40264 #define HAVE_PTHREAD_MUTEXATTR_T 1
40268 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40269 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40270 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40274 cat >conftest.
$ac_ext <<_ACEOF
40277 cat confdefs.h
>>conftest.
$ac_ext
40278 cat >>conftest.
$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 #include <pthread.h>
40285 pthread_mutexattr_t attr;
40286 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40292 rm -f conftest.
$ac_objext
40293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40294 (eval $ac_compile) 2>conftest.er1
40296 grep -v '^ *+' conftest.er1
>conftest.err
40298 cat conftest.err
>&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } &&
40301 { ac_try
='test -z "$ac_cxx_werror_flag"
40302 || test ! -s conftest.err'
40303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40304 (eval $ac_try) 2>&5
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); }; } &&
40308 { ac_try
='test -s conftest.$ac_objext'
40309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40310 (eval $ac_try) 2>&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; }; then
40314 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40316 echo "$as_me: failed program was:" >&5
40317 sed 's/^/| /' conftest.
$ac_ext >&5
40319 wx_cv_func_pthread_mutexattr_settype_decl
=no
40322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40325 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40326 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40327 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40328 cat >>confdefs.h
<<\_ACEOF
40329 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40334 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40335 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40336 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 cat >conftest.
$ac_ext <<_ACEOF
40343 cat confdefs.h
>>conftest.
$ac_ext
40344 cat >>conftest.
$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 #include <pthread.h>
40351 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40357 rm -f conftest.
$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40361 grep -v '^ *+' conftest.er1
>conftest.err
40363 cat conftest.err
>&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try
='test -z "$ac_cxx_werror_flag"
40367 || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try
='test -s conftest.$ac_objext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40380 wx_cv_type_pthread_rec_mutex_init
=yes
40383 echo "$as_me: failed program was:" >&5
40384 sed 's/^/| /' conftest.
$ac_ext >&5
40387 wx_cv_type_pthread_rec_mutex_init
=no
40391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40394 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40395 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40396 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40397 cat >>confdefs.h
<<\_ACEOF
40398 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40402 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40403 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40409 if test "$wxUSE_THREADS" = "yes" ; then
40412 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40413 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40414 if test "${wx_cv_cflags_mthread+set}" = set; then
40415 echo $ECHO_N "(cached) $ECHO_C" >&6
40418 CXXFLAGS_OLD
="$CXXFLAGS"
40419 CXXFLAGS
="-mthreads $CXXFLAGS"
40420 cat >conftest.
$ac_ext <<_ACEOF
40423 cat confdefs.h
>>conftest.
$ac_ext
40424 cat >>conftest.
$ac_ext <<_ACEOF
40425 /* end confdefs.h. */
40435 rm -f conftest.
$ac_objext
40436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40437 (eval $ac_compile) 2>conftest.er1
40439 grep -v '^ *+' conftest.er1
>conftest.err
40441 cat conftest.err
>&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } &&
40444 { ac_try
='test -z "$ac_cxx_werror_flag"
40445 || test ! -s conftest.err'
40446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40447 (eval $ac_try) 2>&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); }; } &&
40451 { ac_try
='test -s conftest.$ac_objext'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; }; then
40457 wx_cv_cflags_mthread
=yes
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.
$ac_ext >&5
40462 wx_cv_cflags_mthread
=no
40465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40469 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40470 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40472 if test "$wx_cv_cflags_mthread" = "yes"; then
40473 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40474 LDFLAGS
="$LDFLAGS -mthreads"
40476 CXXFLAGS
="$CXXFLAGS_OLD"
40480 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40481 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40482 LDFLAGS
="$LDFLAGS -Zmt"
40488 echo "$as_me:$LINENO: checking for localtime_r" >&5
40489 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40490 if test "${ac_cv_func_localtime_r+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40493 cat >conftest.
$ac_ext <<_ACEOF
40496 cat confdefs.h
>>conftest.
$ac_ext
40497 cat >>conftest.
$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define localtime_r innocuous_localtime_r
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char localtime_r (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40509 # include <limits.h>
40511 # include <assert.h>
40516 /* Override any gcc2 internal prototype to avoid an error. */
40521 /* We use char because int might match the return type of a gcc2
40522 builtin and then its argument prototype would still apply. */
40523 char localtime_r ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40530 char (*f) () = localtime_r;
40539 return f != localtime_r;
40544 rm -f conftest.
$ac_objext conftest
$ac_exeext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40546 (eval $ac_link) 2>conftest.er1
40548 grep -v '^ *+' conftest.er1
>conftest.err
40550 cat conftest.err
>&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try
='test -z "$ac_cxx_werror_flag"
40554 || test ! -s conftest.err'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; } &&
40560 { ac_try
='test -s conftest$ac_exeext'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; }; then
40566 ac_cv_func_localtime_r
=yes
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.
$ac_ext >&5
40571 ac_cv_func_localtime_r
=no
40573 rm -f conftest.err conftest.
$ac_objext \
40574 conftest
$ac_exeext conftest.
$ac_ext
40576 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40577 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40578 if test $ac_cv_func_localtime_r = yes; then
40579 cat >>confdefs.h
<<\_ACEOF
40580 #define HAVE_LOCALTIME_R 1
40585 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40586 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40587 if test "${ac_cv_func_gmtime_r+set}" = set; then
40588 echo $ECHO_N "(cached) $ECHO_C" >&6
40590 cat >conftest.
$ac_ext <<_ACEOF
40593 cat confdefs.h
>>conftest.
$ac_ext
40594 cat >>conftest.
$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40598 #define gmtime_r innocuous_gmtime_r
40600 /* System header to define __stub macros and hopefully few prototypes,
40601 which can conflict with char gmtime_r (); below.
40602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40603 <limits.h> exists even on freestanding compilers. */
40606 # include <limits.h>
40608 # include <assert.h>
40613 /* Override any gcc2 internal prototype to avoid an error. */
40618 /* We use char because int might match the return type of a gcc2
40619 builtin and then its argument prototype would still apply. */
40621 /* The GNU C library defines this for functions which it implements
40622 to always fail with ENOSYS. Some functions are actually named
40623 something starting with __ and the normal name is an alias. */
40624 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40627 char (*f) () = gmtime_r;
40636 return f != gmtime_r;
40641 rm -f conftest.
$ac_objext conftest
$ac_exeext
40642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40643 (eval $ac_link) 2>conftest.er1
40645 grep -v '^ *+' conftest.er1
>conftest.err
40647 cat conftest.err
>&5
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); } &&
40650 { ac_try
='test -z "$ac_cxx_werror_flag"
40651 || test ! -s conftest.err'
40652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40653 (eval $ac_try) 2>&5
40655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656 (exit $ac_status); }; } &&
40657 { ac_try
='test -s conftest$ac_exeext'
40658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40659 (eval $ac_try) 2>&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); }; }; then
40663 ac_cv_func_gmtime_r
=yes
40665 echo "$as_me: failed program was:" >&5
40666 sed 's/^/| /' conftest.
$ac_ext >&5
40668 ac_cv_func_gmtime_r
=no
40670 rm -f conftest.err conftest.
$ac_objext \
40671 conftest
$ac_exeext conftest.
$ac_ext
40673 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40674 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40675 if test $ac_cv_func_gmtime_r = yes; then
40676 cat >>confdefs.h
<<\_ACEOF
40677 #define HAVE_GMTIME_R 1
40682 echo "$as_me:$LINENO: checking for readdir_r" >&5
40683 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40684 if test "${ac_cv_func_readdir_r+set}" = set; then
40685 echo $ECHO_N "(cached) $ECHO_C" >&6
40687 cat >conftest.
$ac_ext <<_ACEOF
40690 cat confdefs.h
>>conftest.
$ac_ext
40691 cat >>conftest.
$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40693 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40695 #define readdir_r innocuous_readdir_r
40697 /* System header to define __stub macros and hopefully few prototypes,
40698 which can conflict with char readdir_r (); below.
40699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40700 <limits.h> exists even on freestanding compilers. */
40703 # include <limits.h>
40705 # include <assert.h>
40710 /* Override any gcc2 internal prototype to avoid an error. */
40715 /* We use char because int might match the return type of a gcc2
40716 builtin and then its argument prototype would still apply. */
40718 /* The GNU C library defines this for functions which it implements
40719 to always fail with ENOSYS. Some functions are actually named
40720 something starting with __ and the normal name is an alias. */
40721 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40724 char (*f) () = readdir_r;
40733 return f != readdir_r;
40738 rm -f conftest.
$ac_objext conftest
$ac_exeext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40740 (eval $ac_link) 2>conftest.er1
40742 grep -v '^ *+' conftest.er1
>conftest.err
40744 cat conftest.err
>&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try
='test -z "$ac_cxx_werror_flag"
40748 || test ! -s conftest.err'
40749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750 (eval $ac_try) 2>&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); }; } &&
40754 { ac_try
='test -s conftest$ac_exeext'
40755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40756 (eval $ac_try) 2>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; }; then
40760 ac_cv_func_readdir_r
=yes
40762 echo "$as_me: failed program was:" >&5
40763 sed 's/^/| /' conftest.
$ac_ext >&5
40765 ac_cv_func_readdir_r
=no
40767 rm -f conftest.err conftest.
$ac_objext \
40768 conftest
$ac_exeext conftest.
$ac_ext
40770 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40771 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40772 if test $ac_cv_func_readdir_r = yes; then
40773 cat >>confdefs.h
<<\_ACEOF
40774 #define HAVE_READDIR_R 1
40783 ac_cpp
='$CPP $CPPFLAGS'
40784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40788 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40789 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40791 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40796 ################################################################
40798 ac_cv_func_which_gethostbyname_r
=unknown
40801 # ONE ARGUMENT (sanity check)
40804 # This should fail, as there is no variant of gethostbyname_r() that takes
40805 # a single argument. If it actually compiles, then we can assume that
40806 # netdb.h is not declaring the function, and the compiler is thereby
40807 # assuming an implicit prototype. In which case, we're out of luck.
40809 cat >conftest.
$ac_ext <<_ACEOF
40812 cat confdefs.h
>>conftest.
$ac_ext
40813 cat >>conftest.
$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40820 char *name = "www.gnu.org";
40821 (void)gethostbyname_r(name) /* ; */
40827 rm -f conftest.
$ac_objext
40828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40829 (eval $ac_compile) 2>conftest.er1
40831 grep -v '^ *+' conftest.er1
>conftest.err
40833 cat conftest.err
>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); } &&
40836 { ac_try
='test -z "$ac_c_werror_flag"
40837 || test ! -s conftest.err'
40838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40839 (eval $ac_try) 2>&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); }; } &&
40843 { ac_try
='test -s conftest.$ac_objext'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; }; then
40849 ac_cv_func_which_gethostbyname_r
=no
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.
$ac_ext >&5
40855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40862 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40864 cat >conftest.
$ac_ext <<_ACEOF
40867 cat confdefs.h
>>conftest.
$ac_ext
40868 cat >>conftest.
$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40875 char *name = "www.gnu.org";
40876 struct hostent ret, *retp;
40880 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40886 rm -f conftest.
$ac_objext
40887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40888 (eval $ac_compile) 2>conftest.er1
40890 grep -v '^ *+' conftest.er1
>conftest.err
40892 cat conftest.err
>&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } &&
40895 { ac_try
='test -z "$ac_c_werror_flag"
40896 || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try
='test -s conftest.$ac_objext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 ac_cv_func_which_gethostbyname_r
=six
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.
$ac_ext >&5
40914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40923 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40925 cat >conftest.
$ac_ext <<_ACEOF
40928 cat confdefs.h
>>conftest.
$ac_ext
40929 cat >>conftest.
$ac_ext <<_ACEOF
40930 /* end confdefs.h. */
40936 char *name = "www.gnu.org";
40937 struct hostent ret;
40941 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40947 rm -f conftest.
$ac_objext
40948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40949 (eval $ac_compile) 2>conftest.er1
40951 grep -v '^ *+' conftest.er1
>conftest.err
40953 cat conftest.err
>&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } &&
40956 { ac_try
='test -z "$ac_c_werror_flag"
40957 || test ! -s conftest.err'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try
='test -s conftest.$ac_objext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 ac_cv_func_which_gethostbyname_r
=five
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.
$ac_ext >&5
40975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40981 # (e.g. AIX, HP-UX, Tru64)
40984 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40986 cat >conftest.
$ac_ext <<_ACEOF
40989 cat confdefs.h
>>conftest.
$ac_ext
40990 cat >>conftest.
$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40997 char *name = "www.gnu.org";
40998 struct hostent ret;
40999 struct hostent_data data;
41000 (void)gethostbyname_r(name, &ret, &data) /* ; */
41006 rm -f conftest.
$ac_objext
41007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41008 (eval $ac_compile) 2>conftest.er1
41010 grep -v '^ *+' conftest.er1
>conftest.err
41012 cat conftest.err
>&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } &&
41015 { ac_try
='test -z "$ac_c_werror_flag"
41016 || test ! -s conftest.err'
41017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41018 (eval $ac_try) 2>&5
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); }; } &&
41022 { ac_try
='test -s conftest.$ac_objext'
41023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41024 (eval $ac_try) 2>&5
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); }; }; then
41028 ac_cv_func_which_gethostbyname_r
=three
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.
$ac_ext >&5
41034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41038 ################################################################
41043 case "$ac_cv_func_which_gethostbyname_r" in
41045 echo "$as_me:$LINENO: result: three" >&5
41046 echo "${ECHO_T}three" >&6
41047 cat >>confdefs.h
<<\_ACEOF
41048 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41054 echo "$as_me:$LINENO: result: five" >&5
41055 echo "${ECHO_T}five" >&6
41056 cat >>confdefs.h
<<\_ACEOF
41057 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41063 echo "$as_me:$LINENO: result: six" >&5
41064 echo "${ECHO_T}six" >&6
41065 cat >>confdefs.h
<<\_ACEOF
41066 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41072 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41073 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41077 echo "$as_me:$LINENO: result: can't tell" >&5
41078 echo "${ECHO_T}can't tell" >&6
41082 { { echo "$as_me:$LINENO: error: internal error" >&5
41083 echo "$as_me: error: internal error" >&2;}
41084 { (exit 1); exit 1; }; }
41089 ac_cpp
='$CXXCPP $CPPFLAGS'
41090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41096 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41097 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41098 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41099 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41100 if test "${ac_cv_func_gethostbyname+set}" = set; then
41101 echo $ECHO_N "(cached) $ECHO_C" >&6
41103 cat >conftest.
$ac_ext <<_ACEOF
41106 cat confdefs.h
>>conftest.
$ac_ext
41107 cat >>conftest.
$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41109 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41111 #define gethostbyname innocuous_gethostbyname
41113 /* System header to define __stub macros and hopefully few prototypes,
41114 which can conflict with char gethostbyname (); below.
41115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41116 <limits.h> exists even on freestanding compilers. */
41119 # include <limits.h>
41121 # include <assert.h>
41124 #undef gethostbyname
41126 /* Override any gcc2 internal prototype to avoid an error. */
41131 /* We use char because int might match the return type of a gcc2
41132 builtin and then its argument prototype would still apply. */
41133 char gethostbyname ();
41134 /* The GNU C library defines this for functions which it implements
41135 to always fail with ENOSYS. Some functions are actually named
41136 something starting with __ and the normal name is an alias. */
41137 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41140 char (*f) () = gethostbyname;
41149 return f != gethostbyname;
41154 rm -f conftest.
$ac_objext conftest
$ac_exeext
41155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41156 (eval $ac_link) 2>conftest.er1
41158 grep -v '^ *+' conftest.er1
>conftest.err
41160 cat conftest.err
>&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); } &&
41163 { ac_try
='test -z "$ac_cxx_werror_flag"
41164 || test ! -s conftest.err'
41165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166 (eval $ac_try) 2>&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; } &&
41170 { ac_try
='test -s conftest$ac_exeext'
41171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41172 (eval $ac_try) 2>&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); }; }; then
41176 ac_cv_func_gethostbyname
=yes
41178 echo "$as_me: failed program was:" >&5
41179 sed 's/^/| /' conftest.
$ac_ext >&5
41181 ac_cv_func_gethostbyname
=no
41183 rm -f conftest.err conftest.
$ac_objext \
41184 conftest
$ac_exeext conftest.
$ac_ext
41186 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41187 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41188 if test $ac_cv_func_gethostbyname = yes; then
41189 cat >>confdefs.h
<<\_ACEOF
41190 #define HAVE_GETHOSTBYNAME 1
41197 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41198 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41199 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41203 cat >conftest.
$ac_ext <<_ACEOF
41206 cat confdefs.h
>>conftest.
$ac_ext
41207 cat >>conftest.
$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41216 struct servent *se, *res;
41219 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41225 rm -f conftest.
$ac_objext
41226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41227 (eval $ac_compile) 2>conftest.er1
41229 grep -v '^ *+' conftest.er1
>conftest.err
41231 cat conftest.err
>&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } &&
41234 { ac_try
='test -z "$ac_cxx_werror_flag"
41235 || test ! -s conftest.err'
41236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41237 (eval $ac_try) 2>&5
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); }; } &&
41241 { ac_try
='test -s conftest.$ac_objext'
41242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41243 (eval $ac_try) 2>&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); }; }; then
41247 ac_cv_func_which_getservbyname_r
=six
41249 echo "$as_me: failed program was:" >&5
41250 sed 's/^/| /' conftest.
$ac_ext >&5
41253 cat >conftest.
$ac_ext <<_ACEOF
41256 cat confdefs.h
>>conftest.
$ac_ext
41257 cat >>conftest.
$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41266 struct servent *se;
41269 (void) getservbyname_r(name, proto, se, buffer, buflen)
41275 rm -f conftest.
$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277 (eval $ac_compile) 2>conftest.er1
41279 grep -v '^ *+' conftest.er1
>conftest.err
41281 cat conftest.err
>&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } &&
41284 { ac_try
='test -z "$ac_cxx_werror_flag"
41285 || test ! -s conftest.err'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; } &&
41291 { ac_try
='test -s conftest.$ac_objext'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; }; then
41297 ac_cv_func_which_getservbyname_r
=five
41299 echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.
$ac_ext >&5
41303 cat >conftest.
$ac_ext <<_ACEOF
41306 cat confdefs.h
>>conftest.
$ac_ext
41307 cat >>conftest.
$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41316 struct servent *se;
41317 struct servent_data data;
41318 (void) getservbyname_r(name, proto, se, &data);
41324 rm -f conftest.
$ac_objext
41325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41326 (eval $ac_compile) 2>conftest.er1
41328 grep -v '^ *+' conftest.er1
>conftest.err
41330 cat conftest.err
>&5
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); } &&
41333 { ac_try
='test -z "$ac_cxx_werror_flag"
41334 || test ! -s conftest.err'
41335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41336 (eval $ac_try) 2>&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); }; } &&
41340 { ac_try
='test -s conftest.$ac_objext'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; }; then
41346 ac_cv_func_which_getservbyname_r
=four
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.
$ac_ext >&5
41351 ac_cv_func_which_getservbyname_r
=no
41354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41366 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41367 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41369 if test $ac_cv_func_which_getservbyname_r = six
; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41374 elif test $ac_cv_func_which_getservbyname_r = five
; then
41375 cat >>confdefs.h
<<\_ACEOF
41376 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41379 elif test $ac_cv_func_which_getservbyname_r = four
; then
41380 cat >>confdefs.h
<<\_ACEOF
41381 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41387 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41388 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41390 for ac_func
in getservbyname
41392 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41393 echo "$as_me:$LINENO: checking for $ac_func" >&5
41394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41395 if eval "test \"\${$as_ac_var+set}\" = set"; then
41396 echo $ECHO_N "(cached) $ECHO_C" >&6
41398 cat >conftest.
$ac_ext <<_ACEOF
41401 cat confdefs.h
>>conftest.
$ac_ext
41402 cat >>conftest.
$ac_ext <<_ACEOF
41403 /* end confdefs.h. */
41404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41406 #define $ac_func innocuous_$ac_func
41408 /* System header to define __stub macros and hopefully few prototypes,
41409 which can conflict with char $ac_func (); below.
41410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41411 <limits.h> exists even on freestanding compilers. */
41414 # include <limits.h>
41416 # include <assert.h>
41421 /* Override any gcc2 internal prototype to avoid an error. */
41426 /* We use char because int might match the return type of a gcc2
41427 builtin and then its argument prototype would still apply. */
41429 /* The GNU C library defines this for functions which it implements
41430 to always fail with ENOSYS. Some functions are actually named
41431 something starting with __ and the normal name is an alias. */
41432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41435 char (*f) () = $ac_func;
41444 return f != $ac_func;
41449 rm -f conftest.
$ac_objext conftest
$ac_exeext
41450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41451 (eval $ac_link) 2>conftest.er1
41453 grep -v '^ *+' conftest.er1
>conftest.err
41455 cat conftest.err
>&5
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); } &&
41458 { ac_try
='test -z "$ac_cxx_werror_flag"
41459 || test ! -s conftest.err'
41460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461 (eval $ac_try) 2>&5
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; } &&
41465 { ac_try
='test -s conftest$ac_exeext'
41466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41467 (eval $ac_try) 2>&5
41469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470 (exit $ac_status); }; }; then
41471 eval "$as_ac_var=yes"
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.
$ac_ext >&5
41476 eval "$as_ac_var=no"
41478 rm -f conftest.err conftest.
$ac_objext \
41479 conftest
$ac_exeext conftest.
$ac_ext
41481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41483 if test `eval echo '${'$as_ac_var'}'` = yes; then
41484 cat >>confdefs.h
<<_ACEOF
41485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41487 cat >>confdefs.h
<<\_ACEOF
41488 #define HAVE_GETSERVBYNAME 1
41496 if test "$wxUSE_THREADS" = "yes"; then
41497 cat >>confdefs.h
<<\_ACEOF
41498 #define wxUSE_THREADS 1
41502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41504 if test "$wx_cv_func_strtok_r" = "yes"; then
41505 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41506 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41507 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41508 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41509 echo "$as_me:$LINENO: result: yes" >&5
41510 echo "${ECHO_T}yes" >&6
41512 echo "$as_me:$LINENO: result: no" >&5
41513 echo "${ECHO_T}no" >&6
41518 if test "$WXGTK20" = 1 ; then
41519 cat >>confdefs.h
<<_ACEOF
41520 #define __WXGTK20__ $WXGTK20
41526 if test "$WXGTK12" = 1 ; then
41527 cat >>confdefs.h
<<_ACEOF
41528 #define __WXGTK12__ $WXGTK12
41533 if test "$WXGTK127" = 1 ; then
41534 cat >>confdefs.h
<<_ACEOF
41535 #define __WXGTK127__ $WXGTK127
41540 if test "$WXGPE" = 1 ; then
41541 cat >>confdefs.h
<<_ACEOF
41542 #define __WXGPE__ $WXGPE
41548 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41553 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41554 wxUSE_DEBUG_INFO
=yes
41555 if test "$GCC" = yes; then
41556 DEBUG_CFLAGS
="-ggdb"
41560 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41561 cat >>confdefs.h
<<\_ACEOF
41565 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41567 if test "$wxUSE_GTK" = 1 ; then
41568 if test "x$wxGTK_VERSION" = "x1" ; then
41569 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41574 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41575 cat >>confdefs.h
<<\_ACEOF
41576 #define wxUSE_MEMORY_TRACING 1
41579 cat >>confdefs.h
<<\_ACEOF
41580 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41583 cat >>confdefs.h
<<\_ACEOF
41584 #define wxUSE_DEBUG_NEW_ALWAYS 1
41587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41590 if test "$wxUSE_DMALLOC" = "yes" ; then
41591 DMALLOC_LIBS
="-ldmallocthcxx"
41595 if test "$wxUSE_PROFILE" = "yes" ; then
41596 PROFILE_FLAGS
=" -pg"
41599 if test "$GCC" = "yes" ; then
41600 if test "$wxUSE_NO_RTTI" = "yes" ; then
41601 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41604 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41607 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41612 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41615 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41621 if test "$wxUSE_OPTIMISE" = "no" ; then
41622 if test "$GCC" = yes ; then
41623 OPTIMISE_CFLAGS
="-O0"
41626 if test "$GCC" = yes ; then
41628 *-pc-os2_emx | *-pc-os2-emx )
41629 OPTIMISE_CFLAGS
="-O2"
41632 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41636 OPTIMISE_CFLAGS
="-O"
41641 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41642 cat >>confdefs.h
<<\_ACEOF
41643 #define WXWIN_COMPATIBILITY_2_4 1
41647 WXWIN_COMPATIBILITY_2_6
="yes"
41650 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41651 cat >>confdefs.h
<<\_ACEOF
41652 #define WXWIN_COMPATIBILITY_2_6 1
41658 if test "$wxUSE_GUI" = "yes"; then
41659 cat >>confdefs.h
<<\_ACEOF
41660 #define wxUSE_GUI 1
41667 if test "$wxUSE_UNIX" = "yes"; then
41668 cat >>confdefs.h
<<\_ACEOF
41669 #define wxUSE_UNIX 1
41675 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41679 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41680 if test "$USE_DARWIN" = 1; then
41682 elif test "$USE_DOS" = 1; then
41686 for ac_func
in dlopen
41688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41689 echo "$as_me:$LINENO: checking for $ac_func" >&5
41690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41691 if eval "test \"\${$as_ac_var+set}\" = set"; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 cat >conftest.
$ac_ext <<_ACEOF
41697 cat confdefs.h
>>conftest.
$ac_ext
41698 cat >>conftest.
$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41702 #define $ac_func innocuous_$ac_func
41704 /* System header to define __stub macros and hopefully few prototypes,
41705 which can conflict with char $ac_func (); below.
41706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41707 <limits.h> exists even on freestanding compilers. */
41710 # include <limits.h>
41712 # include <assert.h>
41717 /* Override any gcc2 internal prototype to avoid an error. */
41722 /* We use char because int might match the return type of a gcc2
41723 builtin and then its argument prototype would still apply. */
41725 /* The GNU C library defines this for functions which it implements
41726 to always fail with ENOSYS. Some functions are actually named
41727 something starting with __ and the normal name is an alias. */
41728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41731 char (*f) () = $ac_func;
41740 return f != $ac_func;
41745 rm -f conftest.
$ac_objext conftest
$ac_exeext
41746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41747 (eval $ac_link) 2>conftest.er1
41749 grep -v '^ *+' conftest.er1
>conftest.err
41751 cat conftest.err
>&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } &&
41754 { ac_try
='test -z "$ac_cxx_werror_flag"
41755 || test ! -s conftest.err'
41756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41757 (eval $ac_try) 2>&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); }; } &&
41761 { ac_try
='test -s conftest$ac_exeext'
41762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763 (eval $ac_try) 2>&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; }; then
41767 eval "$as_ac_var=yes"
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.
$ac_ext >&5
41772 eval "$as_ac_var=no"
41774 rm -f conftest.err conftest.
$ac_objext \
41775 conftest
$ac_exeext conftest.
$ac_ext
41777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41779 if test `eval echo '${'$as_ac_var'}'` = yes; then
41780 cat >>confdefs.h
<<_ACEOF
41781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41784 cat >>confdefs.h
<<\_ACEOF
41785 #define HAVE_DLOPEN 1
41792 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41793 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41794 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41795 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 ac_check_lib_save_LIBS
=$LIBS
41799 cat >conftest.
$ac_ext <<_ACEOF
41802 cat confdefs.h
>>conftest.
$ac_ext
41803 cat >>conftest.
$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41806 /* Override any gcc2 internal prototype to avoid an error. */
41810 /* We use char because int might match the return type of a gcc2
41811 builtin and then its argument prototype would still apply. */
41821 rm -f conftest.
$ac_objext conftest
$ac_exeext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41823 (eval $ac_link) 2>conftest.er1
41825 grep -v '^ *+' conftest.er1
>conftest.err
41827 cat conftest.err
>&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try
='test -z "$ac_cxx_werror_flag"
41831 || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try
='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 ac_cv_lib_dl_dlopen
=yes
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.
$ac_ext >&5
41848 ac_cv_lib_dl_dlopen
=no
41850 rm -f conftest.err conftest.
$ac_objext \
41851 conftest
$ac_exeext conftest.
$ac_ext
41852 LIBS
=$ac_check_lib_save_LIBS
41854 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41855 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41856 if test $ac_cv_lib_dl_dlopen = yes; then
41858 cat >>confdefs.h
<<\_ACEOF
41859 #define HAVE_DLOPEN 1
41863 DL_LINK
=" -ldl$DL_LINK"
41868 for ac_func
in shl_load
41870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41871 echo "$as_me:$LINENO: checking for $ac_func" >&5
41872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41873 if eval "test \"\${$as_ac_var+set}\" = set"; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41876 cat >conftest.
$ac_ext <<_ACEOF
41879 cat confdefs.h
>>conftest.
$ac_ext
41880 cat >>conftest.
$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41884 #define $ac_func innocuous_$ac_func
41886 /* System header to define __stub macros and hopefully few prototypes,
41887 which can conflict with char $ac_func (); below.
41888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41889 <limits.h> exists even on freestanding compilers. */
41892 # include <limits.h>
41894 # include <assert.h>
41899 /* Override any gcc2 internal prototype to avoid an error. */
41904 /* We use char because int might match the return type of a gcc2
41905 builtin and then its argument prototype would still apply. */
41907 /* The GNU C library defines this for functions which it implements
41908 to always fail with ENOSYS. Some functions are actually named
41909 something starting with __ and the normal name is an alias. */
41910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41913 char (*f) () = $ac_func;
41922 return f != $ac_func;
41927 rm -f conftest.
$ac_objext conftest
$ac_exeext
41928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41929 (eval $ac_link) 2>conftest.er1
41931 grep -v '^ *+' conftest.er1
>conftest.err
41933 cat conftest.err
>&5
41934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935 (exit $ac_status); } &&
41936 { ac_try
='test -z "$ac_cxx_werror_flag"
41937 || test ! -s conftest.err'
41938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41939 (eval $ac_try) 2>&5
41941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41942 (exit $ac_status); }; } &&
41943 { ac_try
='test -s conftest$ac_exeext'
41944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41945 (eval $ac_try) 2>&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); }; }; then
41949 eval "$as_ac_var=yes"
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.
$ac_ext >&5
41954 eval "$as_ac_var=no"
41956 rm -f conftest.err conftest.
$ac_objext \
41957 conftest
$ac_exeext conftest.
$ac_ext
41959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41961 if test `eval echo '${'$as_ac_var'}'` = yes; then
41962 cat >>confdefs.h
<<_ACEOF
41963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41966 cat >>confdefs.h
<<\_ACEOF
41967 #define HAVE_SHL_LOAD 1
41974 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41975 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41976 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 ac_check_lib_save_LIBS
=$LIBS
41980 LIBS
="-lshl_load $LIBS"
41981 cat >conftest.
$ac_ext <<_ACEOF
41984 cat confdefs.h
>>conftest.
$ac_ext
41985 cat >>conftest.
$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41988 /* Override any gcc2 internal prototype to avoid an error. */
41992 /* We use char because int might match the return type of a gcc2
41993 builtin and then its argument prototype would still apply. */
42003 rm -f conftest.
$ac_objext conftest
$ac_exeext
42004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42005 (eval $ac_link) 2>conftest.er1
42007 grep -v '^ *+' conftest.er1
>conftest.err
42009 cat conftest.err
>&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); } &&
42012 { ac_try
='test -z "$ac_cxx_werror_flag"
42013 || test ! -s conftest.err'
42014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42015 (eval $ac_try) 2>&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); }; } &&
42019 { ac_try
='test -s conftest$ac_exeext'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; }; then
42025 ac_cv_lib_shl_load_dld
=yes
42027 echo "$as_me: failed program was:" >&5
42028 sed 's/^/| /' conftest.
$ac_ext >&5
42030 ac_cv_lib_shl_load_dld
=no
42032 rm -f conftest.err conftest.
$ac_objext \
42033 conftest
$ac_exeext conftest.
$ac_ext
42034 LIBS
=$ac_check_lib_save_LIBS
42036 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42037 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42038 if test $ac_cv_lib_shl_load_dld = yes; then
42041 DL_LINK
=" -ldld$DL_LINK"
42057 if test "$HAVE_DL_FUNCS" = 1; then
42059 for ac_func
in dlerror
42061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42062 echo "$as_me:$LINENO: checking for $ac_func" >&5
42063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42064 if eval "test \"\${$as_ac_var+set}\" = set"; then
42065 echo $ECHO_N "(cached) $ECHO_C" >&6
42067 cat >conftest.
$ac_ext <<_ACEOF
42070 cat confdefs.h
>>conftest.
$ac_ext
42071 cat >>conftest.
$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42075 #define $ac_func innocuous_$ac_func
42077 /* System header to define __stub macros and hopefully few prototypes,
42078 which can conflict with char $ac_func (); below.
42079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42080 <limits.h> exists even on freestanding compilers. */
42083 # include <limits.h>
42085 # include <assert.h>
42090 /* Override any gcc2 internal prototype to avoid an error. */
42095 /* We use char because int might match the return type of a gcc2
42096 builtin and then its argument prototype would still apply. */
42098 /* The GNU C library defines this for functions which it implements
42099 to always fail with ENOSYS. Some functions are actually named
42100 something starting with __ and the normal name is an alias. */
42101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42104 char (*f) () = $ac_func;
42113 return f != $ac_func;
42118 rm -f conftest.
$ac_objext conftest
$ac_exeext
42119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42120 (eval $ac_link) 2>conftest.er1
42122 grep -v '^ *+' conftest.er1
>conftest.err
42124 cat conftest.err
>&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } &&
42127 { ac_try
='test -z "$ac_cxx_werror_flag"
42128 || test ! -s conftest.err'
42129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42130 (eval $ac_try) 2>&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); }; } &&
42134 { ac_try
='test -s conftest$ac_exeext'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; }; then
42140 eval "$as_ac_var=yes"
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.
$ac_ext >&5
42145 eval "$as_ac_var=no"
42147 rm -f conftest.err conftest.
$ac_objext \
42148 conftest
$ac_exeext conftest.
$ac_ext
42150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42152 if test `eval echo '${'$as_ac_var'}'` = yes; then
42153 cat >>confdefs.h
<<_ACEOF
42154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42156 cat >>confdefs.h
<<\_ACEOF
42157 #define HAVE_DLERROR 1
42162 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42163 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42164 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 ac_check_lib_save_LIBS
=$LIBS
42169 cat >conftest.
$ac_ext <<_ACEOF
42172 cat confdefs.h
>>conftest.
$ac_ext
42173 cat >>conftest.
$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42176 /* Override any gcc2 internal prototype to avoid an error. */
42180 /* We use char because int might match the return type of a gcc2
42181 builtin and then its argument prototype would still apply. */
42191 rm -f conftest.
$ac_objext conftest
$ac_exeext
42192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42193 (eval $ac_link) 2>conftest.er1
42195 grep -v '^ *+' conftest.er1
>conftest.err
42197 cat conftest.err
>&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } &&
42200 { ac_try
='test -z "$ac_cxx_werror_flag"
42201 || test ! -s conftest.err'
42202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42203 (eval $ac_try) 2>&5
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); }; } &&
42207 { ac_try
='test -s conftest$ac_exeext'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; }; then
42213 ac_cv_lib_dl_dlerror
=yes
42215 echo "$as_me: failed program was:" >&5
42216 sed 's/^/| /' conftest.
$ac_ext >&5
42218 ac_cv_lib_dl_dlerror
=no
42220 rm -f conftest.err conftest.
$ac_objext \
42221 conftest
$ac_exeext conftest.
$ac_ext
42222 LIBS
=$ac_check_lib_save_LIBS
42224 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42225 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42226 if test $ac_cv_lib_dl_dlerror = yes; then
42227 cat >>confdefs.h
<<\_ACEOF
42228 #define HAVE_DLERROR 1
42241 if test "$HAVE_DL_FUNCS" = 0; then
42242 if test "$HAVE_SHL_FUNCS" = 0; then
42243 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42244 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42245 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42246 wxUSE_DYNAMIC_LOADER
=no
42247 wxUSE_DYNLIB_CLASS
=no
42249 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42250 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42257 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42258 cat >>confdefs.h
<<\_ACEOF
42259 #define wxUSE_DYNAMIC_LOADER 1
42263 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42264 cat >>confdefs.h
<<\_ACEOF
42265 #define wxUSE_DYNLIB_CLASS 1
42272 if test "$wxUSE_PLUGINS" = "yes" ; then
42273 if test "$wxUSE_SHARED" = "no" ; then
42274 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42275 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42278 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42279 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42280 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42283 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42284 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42285 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42288 if test "$wxUSE_PLUGINS" = "yes" ; then
42289 cat >>confdefs.h
<<\_ACEOF
42290 #define wxUSE_PLUGINS 1
42297 if test "$wxUSE_STL" = "yes"; then
42298 cat >>confdefs.h
<<\_ACEOF
42299 #define wxUSE_STL 1
42304 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42305 cat >>confdefs.h
<<\_ACEOF
42306 #define wxUSE_APPLE_IEEE 1
42311 if test "$wxUSE_TIMER" = "yes"; then
42312 cat >>confdefs.h
<<\_ACEOF
42313 #define wxUSE_TIMER 1
42318 if test "$USE_UNIX" = "1" ; then
42319 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42320 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42321 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42322 echo $ECHO_N "(cached) $ECHO_C" >&6
42325 cat >conftest.
$ac_ext <<_ACEOF
42328 cat confdefs.h
>>conftest.
$ac_ext
42329 cat >>conftest.
$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42332 #include <sys/ioctl.h>
42333 #include <sys/soundcard.h>
42339 ioctl(0, SNDCTL_DSP_SPEED, 0);
42345 rm -f conftest.
$ac_objext conftest
$ac_exeext
42346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42347 (eval $ac_link) 2>conftest.er1
42349 grep -v '^ *+' conftest.er1
>conftest.err
42351 cat conftest.err
>&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); } &&
42354 { ac_try
='test -z "$ac_cxx_werror_flag"
42355 || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try
='test -s conftest$ac_exeext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42367 ac_cv_header_sys_soundcard
=yes
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.
$ac_ext >&5
42374 LIBS
="$saveLibs -lossaudio"
42375 cat >conftest.
$ac_ext <<_ACEOF
42378 cat confdefs.h
>>conftest.
$ac_ext
42379 cat >>conftest.
$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42382 #include <sys/ioctl.h>
42383 #include <sys/soundcard.h>
42389 ioctl(0, SNDCTL_DSP_SPEED, 0);
42395 rm -f conftest.
$ac_objext conftest
$ac_exeext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42397 (eval $ac_link) 2>conftest.er1
42399 grep -v '^ *+' conftest.er1
>conftest.err
42401 cat conftest.err
>&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); } &&
42404 { ac_try
='test -z "$ac_cxx_werror_flag"
42405 || test ! -s conftest.err'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; } &&
42411 { ac_try
='test -s conftest$ac_exeext'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; }; then
42417 ac_cv_header_sys_soundcard
=yes
42419 echo "$as_me: failed program was:" >&5
42420 sed 's/^/| /' conftest.
$ac_ext >&5
42424 ac_cv_header_sys_soundcard
=no
42428 rm -f conftest.err conftest.
$ac_objext \
42429 conftest
$ac_exeext conftest.
$ac_ext
42433 rm -f conftest.err conftest.
$ac_objext \
42434 conftest
$ac_exeext conftest.
$ac_ext
42437 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42438 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42440 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42441 cat >>confdefs.h
<<\_ACEOF
42442 #define HAVE_SYS_SOUNDCARD_H 1
42446 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42450 if test "$wxUSE_SOUND" = "yes"; then
42451 if test "$USE_UNIX" = "1" ; then
42452 if test "$wxUSE_LIBSDL" != "no"; then
42454 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42455 if test "${with_sdl_prefix+set}" = set; then
42456 withval
="$with_sdl_prefix"
42457 sdl_prefix
="$withval"
42462 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42463 if test "${with_sdl_exec_prefix+set}" = set; then
42464 withval
="$with_sdl_exec_prefix"
42465 sdl_exec_prefix
="$withval"
42469 # Check whether --enable-sdltest or --disable-sdltest was given.
42470 if test "${enable_sdltest+set}" = set; then
42471 enableval
="$enable_sdltest"
42477 if test x
$sdl_exec_prefix != x
; then
42478 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42479 if test x
${SDL_CONFIG+set} != xset
; then
42480 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42483 if test x
$sdl_prefix != x
; then
42484 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42485 if test x
${SDL_CONFIG+set} != xset
; then
42486 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42490 if test "x$prefix" != xNONE
; then
42491 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42493 # Extract the first word of "sdl-config", so it can be a program name with args.
42494 set dummy sdl
-config; ac_word
=$2
42495 echo "$as_me:$LINENO: checking for $ac_word" >&5
42496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42497 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42498 echo $ECHO_N "(cached) $ECHO_C" >&6
42500 case $SDL_CONFIG in
42502 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42506 for as_dir
in $PATH
42509 test -z "$as_dir" && as_dir
=.
42510 for ac_exec_ext
in '' $ac_executable_extensions; do
42511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42512 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42519 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42523 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42525 if test -n "$SDL_CONFIG"; then
42526 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42527 echo "${ECHO_T}$SDL_CONFIG" >&6
42529 echo "$as_me:$LINENO: result: no" >&5
42530 echo "${ECHO_T}no" >&6
42533 min_sdl_version
=1.2.0
42534 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42535 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42537 if test "$SDL_CONFIG" = "no" ; then
42540 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42541 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42543 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42545 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42547 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42549 if test "x$enable_sdltest" = "xyes" ; then
42550 ac_save_CFLAGS
="$CFLAGS"
42551 ac_save_CXXFLAGS
="$CXXFLAGS"
42552 ac_save_LIBS
="$LIBS"
42553 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42554 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42555 LIBS
="$LIBS $SDL_LIBS"
42557 if test "$cross_compiling" = yes; then
42558 echo $ac_n "cross compiling; assumed OK... $ac_c"
42560 cat >conftest.
$ac_ext <<_ACEOF
42563 cat confdefs.h
>>conftest.
$ac_ext
42564 cat >>conftest.
$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42568 #include <stdlib.h>
42569 #include <string.h>
42573 my_strdup (char *str)
42579 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42580 strcpy (new_str, str);
42588 int main (int argc, char *argv[])
42590 int major, minor, micro;
42593 /* This hangs on some systems (?)
42594 system ("touch conf.sdltest");
42596 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42598 /* HP/UX 9 (%@#!) writes to sscanf strings */
42599 tmp_version = my_strdup("$min_sdl_version");
42600 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42601 printf("%s, bad version string\n", "$min_sdl_version");
42605 if (($sdl_major_version > major) ||
42606 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42607 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42613 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42614 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42615 printf("*** best to upgrade to the required version.\n");
42616 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42617 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42618 printf("*** config.cache before re-running configure\n");
42625 rm -f conftest
$ac_exeext
42626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42627 (eval $ac_link) 2>&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; }; then
42638 echo "$as_me: program exited with status $ac_status" >&5
42639 echo "$as_me: failed program was:" >&5
42640 sed 's/^/| /' conftest.
$ac_ext >&5
42642 ( exit $ac_status )
42645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42647 CFLAGS
="$ac_save_CFLAGS"
42648 CXXFLAGS
="$ac_save_CXXFLAGS"
42649 LIBS
="$ac_save_LIBS"
42652 if test "x$no_sdl" = x
; then
42653 echo "$as_me:$LINENO: result: yes" >&5
42654 echo "${ECHO_T}yes" >&6
42656 EXTRALIBS_SDL
="$SDL_LIBS"
42657 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42658 cat >>confdefs.h
<<\_ACEOF
42659 #define wxUSE_LIBSDL 1
42664 echo "$as_me:$LINENO: result: no" >&5
42665 echo "${ECHO_T}no" >&6
42666 if test "$SDL_CONFIG" = "no" ; then
42667 echo "*** The sdl-config script installed by SDL could not be found"
42668 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42669 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42670 echo "*** full path to sdl-config."
42672 if test -f conf.sdltest
; then
42675 echo "*** Could not run SDL test program, checking why..."
42676 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42677 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42678 LIBS
="$LIBS $SDL_LIBS"
42679 cat >conftest.
$ac_ext <<_ACEOF
42682 cat confdefs.h
>>conftest.
$ac_ext
42683 cat >>conftest.
$ac_ext <<_ACEOF
42684 /* end confdefs.h. */
42689 int main(int argc, char *argv[])
42692 #define main K_and_R_C_main
42702 rm -f conftest.
$ac_objext conftest
$ac_exeext
42703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42704 (eval $ac_link) 2>conftest.er1
42706 grep -v '^ *+' conftest.er1
>conftest.err
42708 cat conftest.err
>&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } &&
42711 { ac_try
='test -z "$ac_cxx_werror_flag"
42712 || test ! -s conftest.err'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; } &&
42718 { ac_try
='test -s conftest$ac_exeext'
42719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42720 (eval $ac_try) 2>&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); }; }; then
42724 echo "*** The test program compiled, but did not run. This usually means"
42725 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42726 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42727 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42728 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42729 echo "*** is required on your system"
42731 echo "*** If you have an old version installed, it is best to remove it, although"
42732 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42734 echo "$as_me: failed program was:" >&5
42735 sed 's/^/| /' conftest.
$ac_ext >&5
42737 echo "*** The test program failed to compile or link. See the file config.log for the"
42738 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42739 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42740 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42742 rm -f conftest.err conftest.
$ac_objext \
42743 conftest
$ac_exeext conftest.
$ac_ext
42744 CFLAGS
="$ac_save_CFLAGS"
42745 CXXFLAGS
="$ac_save_CXXFLAGS"
42746 LIBS
="$ac_save_LIBS"
42757 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42763 cat >>confdefs.h
<<\_ACEOF
42764 #define wxUSE_SOUND 1
42767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42770 if test "$WXGTK20" = 1; then
42771 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42772 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42776 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42777 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42779 if test -n "$PKG_CONFIG"; then
42780 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42781 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42783 if test -n "$PKG_CONFIG" && \
42784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42785 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; then
42789 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42797 if test -n "$PKG_CONFIG"; then
42798 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42799 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42801 if test -n "$PKG_CONFIG" && \
42802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42803 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); }; then
42807 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42818 if test $pkg_failed = yes; then
42820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42821 _pkg_short_errors_supported
=yes
42823 _pkg_short_errors_supported
=no
42825 if test $_pkg_short_errors_supported = yes; then
42826 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42828 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42830 # Put the nasty error message in config.log where it belongs
42831 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42834 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42835 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42836 wxUSE_LIBGNOMEPRINT
="no"
42839 elif test $pkg_failed = untried
; then
42841 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42842 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42843 wxUSE_LIBGNOMEPRINT
="no"
42847 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42848 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42849 echo "$as_me:$LINENO: result: yes" >&5
42850 echo "${ECHO_T}yes" >&6
42852 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42853 cat >>confdefs.h
<<\_ACEOF
42854 #define wxUSE_LIBGNOMEPRINT 1
42863 if test "$WXGTK20" = 1; then
42864 if test "$wxUSE_MIMETYPE" = "yes" ; then
42865 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42869 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42870 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42872 if test -n "$PKG_CONFIG"; then
42873 if test -n "$GNOMEVFS_CFLAGS"; then
42874 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42876 if test -n "$PKG_CONFIG" && \
42877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42878 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; then
42882 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42890 if test -n "$PKG_CONFIG"; then
42891 if test -n "$GNOMEVFS_LIBS"; then
42892 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42894 if test -n "$PKG_CONFIG" && \
42895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42896 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); }; then
42900 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42911 if test $pkg_failed = yes; then
42913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42914 _pkg_short_errors_supported
=yes
42916 _pkg_short_errors_supported
=no
42918 if test $_pkg_short_errors_supported = yes; then
42919 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42921 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42923 # Put the nasty error message in config.log where it belongs
42924 echo "$GNOMEVFS_PKG_ERRORS" >&5
42927 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42928 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42929 wxUSE_LIBGNOMEVFS
="no"
42932 elif test $pkg_failed = untried
; then
42934 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42935 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42936 wxUSE_LIBGNOMEVFS
="no"
42940 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42941 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42942 echo "$as_me:$LINENO: result: yes" >&5
42943 echo "${ECHO_T}yes" >&6
42945 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42946 cat >>confdefs.h
<<\_ACEOF
42947 #define wxUSE_LIBGNOMEVFS 1
42956 if test "$WXGTK20" = 1; then
42957 if test "$wxUSE_LIBHILDON" = "yes" ; then
42960 echo "$as_me:$LINENO: checking for HILDON" >&5
42961 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42963 if test -n "$PKG_CONFIG"; then
42964 if test -n "$HILDON_CFLAGS"; then
42965 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42967 if test -n "$PKG_CONFIG" && \
42968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42969 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; then
42973 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42981 if test -n "$PKG_CONFIG"; then
42982 if test -n "$HILDON_LIBS"; then
42983 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42985 if test -n "$PKG_CONFIG" && \
42986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42987 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; then
42991 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43002 if test $pkg_failed = yes; then
43004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43005 _pkg_short_errors_supported
=yes
43007 _pkg_short_errors_supported
=no
43009 if test $_pkg_short_errors_supported = yes; then
43010 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43012 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43014 # Put the nasty error message in config.log where it belongs
43015 echo "$HILDON_PKG_ERRORS" >&5
43018 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43019 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43020 wxUSE_LIBHILDON
="no"
43023 elif test $pkg_failed = untried
; then
43025 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43026 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43027 wxUSE_LIBHILDON
="no"
43031 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43032 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43033 echo "$as_me:$LINENO: result: yes" >&5
43034 echo "${ECHO_T}yes" >&6
43036 EXTRALIBS_HILDON
="$HILDON_LIBS"
43037 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43038 cat >>confdefs.h
<<\_ACEOF
43039 #define wxUSE_LIBHILDON 1
43047 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43048 cat >>confdefs.h
<<\_ACEOF
43049 #define wxUSE_CMDLINE_PARSER 1
43054 if test "$wxUSE_STOPWATCH" = "yes"; then
43055 cat >>confdefs.h
<<\_ACEOF
43056 #define wxUSE_STOPWATCH 1
43061 if test "$wxUSE_DATETIME" = "yes"; then
43062 cat >>confdefs.h
<<\_ACEOF
43063 #define wxUSE_DATETIME 1
43068 if test "$wxUSE_FILE" = "yes"; then
43069 cat >>confdefs.h
<<\_ACEOF
43070 #define wxUSE_FILE 1
43075 if test "$wxUSE_FFILE" = "yes"; then
43076 cat >>confdefs.h
<<\_ACEOF
43077 #define wxUSE_FFILE 1
43082 if test "$wxUSE_FILESYSTEM" = "yes"; then
43083 cat >>confdefs.h
<<\_ACEOF
43084 #define wxUSE_FILESYSTEM 1
43089 if test "$wxUSE_FS_ZIP" = "yes"; then
43090 cat >>confdefs.h
<<\_ACEOF
43091 #define wxUSE_FS_ZIP 1
43096 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define wxUSE_ARCHIVE_STREAMS 1
43103 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43104 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43105 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43106 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43107 elif test "$wxUSE_ZLIB" = "no"; then
43108 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43109 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43111 cat >>confdefs.h
<<\_ACEOF
43112 #define wxUSE_ZIPSTREAM 1
43118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43119 if test "$USE_UNIX" != 1; then
43120 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43121 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43122 wxUSE_ON_FATAL_EXCEPTION
=no
43124 cat >>confdefs.h
<<\_ACEOF
43125 #define wxUSE_ON_FATAL_EXCEPTION 1
43131 if test "$wxUSE_STACKWALKER" = "yes"; then
43132 cat >>confdefs.h
<<\_ACEOF
43133 #define wxUSE_STACKWALKER 1
43138 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43139 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43140 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43141 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43142 wxUSE_DEBUGREPORT
=no
43144 cat >>confdefs.h
<<\_ACEOF
43145 #define wxUSE_DEBUGREPORT 1
43148 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43154 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43155 cat >>confdefs.h
<<\_ACEOF
43156 #define wxUSE_SNGLINST_CHECKER 1
43161 if test "$wxUSE_BUSYINFO" = "yes"; then
43162 cat >>confdefs.h
<<\_ACEOF
43163 #define wxUSE_BUSYINFO 1
43168 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43169 cat >>confdefs.h
<<\_ACEOF
43170 #define wxUSE_STD_IOSTREAM 1
43175 if test "$wxUSE_STD_STRING" = "yes"; then
43176 cat >>confdefs.h
<<\_ACEOF
43177 #define wxUSE_STD_STRING 1
43182 if test "$wxUSE_STDPATHS" = "yes"; then
43183 cat >>confdefs.h
<<\_ACEOF
43184 #define wxUSE_STDPATHS 1
43189 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43190 cat >>confdefs.h
<<\_ACEOF
43191 #define wxUSE_TEXTBUFFER 1
43196 if test "$wxUSE_TEXTFILE" = "yes"; then
43197 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43198 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43199 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43201 cat >>confdefs.h
<<\_ACEOF
43202 #define wxUSE_TEXTFILE 1
43208 if test "$wxUSE_CONFIG" = "yes" ; then
43209 if test "$wxUSE_TEXTFILE" != "yes"; then
43210 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43211 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43213 cat >>confdefs.h
<<\_ACEOF
43214 #define wxUSE_CONFIG 1
43217 cat >>confdefs.h
<<\_ACEOF
43218 #define wxUSE_CONFIG_NATIVE 1
43221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43225 if test "$wxUSE_INTL" = "yes" ; then
43226 if test "$wxUSE_FILE" != "yes"; then
43227 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43228 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_INTL 1
43234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43235 GUIDIST
="$GUIDIST INTL_DIST"
43239 if test "$wxUSE_LOG" = "yes"; then
43240 cat >>confdefs.h
<<\_ACEOF
43241 #define wxUSE_LOG 1
43245 if test "$wxUSE_LOGGUI" = "yes"; then
43246 cat >>confdefs.h
<<\_ACEOF
43247 #define wxUSE_LOGGUI 1
43252 if test "$wxUSE_LOGWINDOW" = "yes"; then
43253 cat >>confdefs.h
<<\_ACEOF
43254 #define wxUSE_LOGWINDOW 1
43259 if test "$wxUSE_LOGDIALOG" = "yes"; then
43260 cat >>confdefs.h
<<\_ACEOF
43261 #define wxUSE_LOG_DIALOG 1
43266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43269 if test "$wxUSE_LONGLONG" = "yes"; then
43270 cat >>confdefs.h
<<\_ACEOF
43271 #define wxUSE_LONGLONG 1
43276 if test "$wxUSE_GEOMETRY" = "yes"; then
43277 cat >>confdefs.h
<<\_ACEOF
43278 #define wxUSE_GEOMETRY 1
43283 if test "$wxUSE_STREAMS" = "yes" ; then
43284 cat >>confdefs.h
<<\_ACEOF
43285 #define wxUSE_STREAMS 1
43290 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define wxUSE_PRINTF_POS_PARAMS 1
43299 if test "$wxUSE_DATETIME" = "yes"; then
43301 for ac_func
in strptime
43303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 echo "$as_me:$LINENO: checking for $ac_func" >&5
43305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43306 if eval "test \"\${$as_ac_var+set}\" = set"; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 cat >conftest.
$ac_ext <<_ACEOF
43312 cat confdefs.h
>>conftest.
$ac_ext
43313 cat >>conftest.
$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43317 #define $ac_func innocuous_$ac_func
43319 /* System header to define __stub macros and hopefully few prototypes,
43320 which can conflict with char $ac_func (); below.
43321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43322 <limits.h> exists even on freestanding compilers. */
43325 # include <limits.h>
43327 # include <assert.h>
43332 /* Override any gcc2 internal prototype to avoid an error. */
43337 /* We use char because int might match the return type of a gcc2
43338 builtin and then its argument prototype would still apply. */
43340 /* The GNU C library defines this for functions which it implements
43341 to always fail with ENOSYS. Some functions are actually named
43342 something starting with __ and the normal name is an alias. */
43343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43346 char (*f) () = $ac_func;
43355 return f != $ac_func;
43360 rm -f conftest.
$ac_objext conftest
$ac_exeext
43361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43362 (eval $ac_link) 2>conftest.er1
43364 grep -v '^ *+' conftest.er1
>conftest.err
43366 cat conftest.err
>&5
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); } &&
43369 { ac_try
='test -z "$ac_cxx_werror_flag"
43370 || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try
='test -s conftest$ac_exeext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 eval "$as_ac_var=yes"
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.
$ac_ext >&5
43387 eval "$as_ac_var=no"
43389 rm -f conftest.err conftest.
$ac_objext \
43390 conftest
$ac_exeext conftest.
$ac_ext
43392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43394 if test `eval echo '${'$as_ac_var'}'` = yes; then
43395 cat >>confdefs.h
<<_ACEOF
43396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43402 if test "$ac_cv_func_strptime" = "yes"; then
43403 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43404 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43405 if test "${wx_cv_func_strptime_decl+set}" = set; then
43406 echo $ECHO_N "(cached) $ECHO_C" >&6
43409 cat >conftest.
$ac_ext <<_ACEOF
43412 cat confdefs.h
>>conftest.
$ac_ext
43413 cat >>conftest.
$ac_ext <<_ACEOF
43414 /* end confdefs.h. */
43423 strptime("foo", "bar", &t);
43429 rm -f conftest.
$ac_objext
43430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43431 (eval $ac_compile) 2>conftest.er1
43433 grep -v '^ *+' conftest.er1
>conftest.err
43435 cat conftest.err
>&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try
='test -z "$ac_cxx_werror_flag"
43439 || test ! -s conftest.err'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; } &&
43445 { ac_try
='test -s conftest.$ac_objext'
43446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43447 (eval $ac_try) 2>&5
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); }; }; then
43451 wx_cv_func_strptime_decl
=yes
43453 echo "$as_me: failed program was:" >&5
43454 sed 's/^/| /' conftest.
$ac_ext >&5
43456 wx_cv_func_strptime_decl
=no
43459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43463 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43464 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43466 if test "$wx_cv_func_strptime_decl" = "yes"; then
43467 cat >>confdefs.h
<<\_ACEOF
43468 #define HAVE_STRPTIME_DECL 1
43473 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43474 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43475 if test "${wx_cv_var_timezone+set}" = set; then
43476 echo $ECHO_N "(cached) $ECHO_C" >&6
43479 cat >conftest.
$ac_ext <<_ACEOF
43482 cat confdefs.h
>>conftest.
$ac_ext
43483 cat >>conftest.
$ac_ext <<_ACEOF
43484 /* end confdefs.h. */
43499 rm -f conftest.
$ac_objext
43500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43501 (eval $ac_compile) 2>conftest.er1
43503 grep -v '^ *+' conftest.er1
>conftest.err
43505 cat conftest.err
>&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } &&
43508 { ac_try
='test -z "$ac_cxx_werror_flag"
43509 || test ! -s conftest.err'
43510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43511 (eval $ac_try) 2>&5
43513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43514 (exit $ac_status); }; } &&
43515 { ac_try
='test -s conftest.$ac_objext'
43516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43517 (eval $ac_try) 2>&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); }; }; then
43522 wx_cv_var_timezone
=timezone
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.
$ac_ext >&5
43529 cat >conftest.
$ac_ext <<_ACEOF
43532 cat confdefs.h
>>conftest.
$ac_ext
43533 cat >>conftest.
$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43549 rm -f conftest.
$ac_objext
43550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43551 (eval $ac_compile) 2>conftest.er1
43553 grep -v '^ *+' conftest.er1
>conftest.err
43555 cat conftest.err
>&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); } &&
43558 { ac_try
='test -z "$ac_cxx_werror_flag"
43559 || test ! -s conftest.err'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; } &&
43565 { ac_try
='test -s conftest.$ac_objext'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; }; then
43572 wx_cv_var_timezone
=_timezone
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.
$ac_ext >&5
43579 cat >conftest.
$ac_ext <<_ACEOF
43582 cat confdefs.h
>>conftest.
$ac_ext
43583 cat >>conftest.
$ac_ext <<_ACEOF
43584 /* end confdefs.h. */
43599 rm -f conftest.
$ac_objext
43600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43601 (eval $ac_compile) 2>conftest.er1
43603 grep -v '^ *+' conftest.er1
>conftest.err
43605 cat conftest.err
>&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); } &&
43608 { ac_try
='test -z "$ac_cxx_werror_flag"
43609 || test ! -s conftest.err'
43610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43611 (eval $ac_try) 2>&5
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); }; } &&
43615 { ac_try
='test -s conftest.$ac_objext'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; }; then
43622 wx_cv_var_timezone
=__timezone
43625 echo "$as_me: failed program was:" >&5
43626 sed 's/^/| /' conftest.
$ac_ext >&5
43629 if test "$USE_DOS" = 0 ; then
43630 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43631 echo "$as_me: WARNING: no timezone variable" >&2;}
43636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43648 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43649 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43651 if test "x$wx_cv_var_timezone" != x
; then
43652 cat >>confdefs.h
<<_ACEOF
43653 #define WX_TIMEZONE $wx_cv_var_timezone
43659 for ac_func
in localtime
43661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43662 echo "$as_me:$LINENO: checking for $ac_func" >&5
43663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43664 if eval "test \"\${$as_ac_var+set}\" = set"; then
43665 echo $ECHO_N "(cached) $ECHO_C" >&6
43667 cat >conftest.
$ac_ext <<_ACEOF
43670 cat confdefs.h
>>conftest.
$ac_ext
43671 cat >>conftest.
$ac_ext <<_ACEOF
43672 /* end confdefs.h. */
43673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43675 #define $ac_func innocuous_$ac_func
43677 /* System header to define __stub macros and hopefully few prototypes,
43678 which can conflict with char $ac_func (); below.
43679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43680 <limits.h> exists even on freestanding compilers. */
43683 # include <limits.h>
43685 # include <assert.h>
43690 /* Override any gcc2 internal prototype to avoid an error. */
43695 /* We use char because int might match the return type of a gcc2
43696 builtin and then its argument prototype would still apply. */
43698 /* The GNU C library defines this for functions which it implements
43699 to always fail with ENOSYS. Some functions are actually named
43700 something starting with __ and the normal name is an alias. */
43701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43704 char (*f) () = $ac_func;
43713 return f != $ac_func;
43718 rm -f conftest.
$ac_objext conftest
$ac_exeext
43719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43720 (eval $ac_link) 2>conftest.er1
43722 grep -v '^ *+' conftest.er1
>conftest.err
43724 cat conftest.err
>&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } &&
43727 { ac_try
='test -z "$ac_cxx_werror_flag"
43728 || test ! -s conftest.err'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; } &&
43734 { ac_try
='test -s conftest$ac_exeext'
43735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736 (eval $ac_try) 2>&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; }; then
43740 eval "$as_ac_var=yes"
43742 echo "$as_me: failed program was:" >&5
43743 sed 's/^/| /' conftest.
$ac_ext >&5
43745 eval "$as_ac_var=no"
43747 rm -f conftest.err conftest.
$ac_objext \
43748 conftest
$ac_exeext conftest.
$ac_ext
43750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43752 if test `eval echo '${'$as_ac_var'}'` = yes; then
43753 cat >>confdefs.h
<<_ACEOF
43754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43761 if test "$ac_cv_func_localtime" = "yes"; then
43762 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43763 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43764 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43768 cat >conftest.
$ac_ext <<_ACEOF
43771 cat confdefs.h
>>conftest.
$ac_ext
43772 cat >>conftest.
$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43788 rm -f conftest.
$ac_objext
43789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43790 (eval $ac_compile) 2>conftest.er1
43792 grep -v '^ *+' conftest.er1
>conftest.err
43794 cat conftest.err
>&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } &&
43797 { ac_try
='test -z "$ac_cxx_werror_flag"
43798 || test ! -s conftest.err'
43799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43800 (eval $ac_try) 2>&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); }; } &&
43804 { ac_try
='test -s conftest.$ac_objext'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; }; then
43811 wx_cv_struct_tm_has_gmtoff
=yes
43814 echo "$as_me: failed program was:" >&5
43815 sed 's/^/| /' conftest.
$ac_ext >&5
43817 wx_cv_struct_tm_has_gmtoff
=no
43820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43823 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43824 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43827 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define WX_GMTOFF_IN_TM 1
43836 for ac_func
in gettimeofday ftime
43838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43839 echo "$as_me:$LINENO: checking for $ac_func" >&5
43840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43841 if eval "test \"\${$as_ac_var+set}\" = set"; then
43842 echo $ECHO_N "(cached) $ECHO_C" >&6
43844 cat >conftest.
$ac_ext <<_ACEOF
43847 cat confdefs.h
>>conftest.
$ac_ext
43848 cat >>conftest.
$ac_ext <<_ACEOF
43849 /* end confdefs.h. */
43850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43852 #define $ac_func innocuous_$ac_func
43854 /* System header to define __stub macros and hopefully few prototypes,
43855 which can conflict with char $ac_func (); below.
43856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43857 <limits.h> exists even on freestanding compilers. */
43860 # include <limits.h>
43862 # include <assert.h>
43867 /* Override any gcc2 internal prototype to avoid an error. */
43872 /* We use char because int might match the return type of a gcc2
43873 builtin and then its argument prototype would still apply. */
43875 /* The GNU C library defines this for functions which it implements
43876 to always fail with ENOSYS. Some functions are actually named
43877 something starting with __ and the normal name is an alias. */
43878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43881 char (*f) () = $ac_func;
43890 return f != $ac_func;
43895 rm -f conftest.
$ac_objext conftest
$ac_exeext
43896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43897 (eval $ac_link) 2>conftest.er1
43899 grep -v '^ *+' conftest.er1
>conftest.err
43901 cat conftest.err
>&5
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); } &&
43904 { ac_try
='test -z "$ac_cxx_werror_flag"
43905 || test ! -s conftest.err'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; } &&
43911 { ac_try
='test -s conftest$ac_exeext'
43912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43913 (eval $ac_try) 2>&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); }; }; then
43917 eval "$as_ac_var=yes"
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.
$ac_ext >&5
43922 eval "$as_ac_var=no"
43924 rm -f conftest.err conftest.
$ac_objext \
43925 conftest
$ac_exeext conftest.
$ac_ext
43927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43929 if test `eval echo '${'$as_ac_var'}'` = yes; then
43930 cat >>confdefs.h
<<_ACEOF
43931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43938 if test "$ac_cv_func_gettimeofday" = "yes"; then
43939 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43940 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43941 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43942 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 cat >conftest.
$ac_ext <<_ACEOF
43948 cat confdefs.h
>>conftest.
$ac_ext
43949 cat >>conftest.
$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43952 #include <sys/time.h>
43953 #include <unistd.h>
43960 gettimeofday(&tv, NULL);
43966 rm -f conftest.
$ac_objext
43967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43968 (eval $ac_compile) 2>conftest.er1
43970 grep -v '^ *+' conftest.er1
>conftest.err
43972 cat conftest.err
>&5
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); } &&
43975 { ac_try
='test -z "$ac_cxx_werror_flag"
43976 || test ! -s conftest.err'
43977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43978 (eval $ac_try) 2>&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); }; } &&
43982 { ac_try
='test -s conftest.$ac_objext'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; }; then
43988 wx_cv_func_gettimeofday_has_2_args
=yes
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.
$ac_ext >&5
43993 cat >conftest.
$ac_ext <<_ACEOF
43996 cat confdefs.h
>>conftest.
$ac_ext
43997 cat >>conftest.
$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
44000 #include <sys/time.h>
44001 #include <unistd.h>
44014 rm -f conftest.
$ac_objext
44015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44016 (eval $ac_compile) 2>conftest.er1
44018 grep -v '^ *+' conftest.er1
>conftest.err
44020 cat conftest.err
>&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } &&
44023 { ac_try
='test -z "$ac_cxx_werror_flag"
44024 || test ! -s conftest.err'
44025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44026 (eval $ac_try) 2>&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); }; } &&
44030 { ac_try
='test -s conftest.$ac_objext'
44031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44032 (eval $ac_try) 2>&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; }; then
44036 wx_cv_func_gettimeofday_has_2_args
=no
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.
$ac_ext >&5
44042 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44043 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44044 wx_cv_func_gettimeofday_has_2_args
=unknown
44048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44054 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44055 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44057 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44058 cat >>confdefs.h
<<\_ACEOF
44059 #define WX_GETTIMEOFDAY_NO_TZ 1
44065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44069 if test "$wxUSE_SOCKETS" = "yes"; then
44070 if test "$wxUSE_MGL" = "1"; then
44071 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44072 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44077 if test "$wxUSE_SOCKETS" = "yes"; then
44078 if test "$TOOLKIT" != "MSW"; then
44079 echo "$as_me:$LINENO: checking for socket" >&5
44080 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44081 if test "${ac_cv_func_socket+set}" = set; then
44082 echo $ECHO_N "(cached) $ECHO_C" >&6
44084 cat >conftest.
$ac_ext <<_ACEOF
44087 cat confdefs.h
>>conftest.
$ac_ext
44088 cat >>conftest.
$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44092 #define socket innocuous_socket
44094 /* System header to define __stub macros and hopefully few prototypes,
44095 which can conflict with char socket (); below.
44096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44097 <limits.h> exists even on freestanding compilers. */
44100 # include <limits.h>
44102 # include <assert.h>
44107 /* Override any gcc2 internal prototype to avoid an error. */
44112 /* We use char because int might match the return type of a gcc2
44113 builtin and then its argument prototype would still apply. */
44115 /* The GNU C library defines this for functions which it implements
44116 to always fail with ENOSYS. Some functions are actually named
44117 something starting with __ and the normal name is an alias. */
44118 #if defined (__stub_socket) || defined (__stub___socket)
44121 char (*f) () = socket;
44130 return f != socket;
44135 rm -f conftest.
$ac_objext conftest
$ac_exeext
44136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44137 (eval $ac_link) 2>conftest.er1
44139 grep -v '^ *+' conftest.er1
>conftest.err
44141 cat conftest.err
>&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); } &&
44144 { ac_try
='test -z "$ac_cxx_werror_flag"
44145 || test ! -s conftest.err'
44146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44147 (eval $ac_try) 2>&5
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); }; } &&
44151 { ac_try
='test -s conftest$ac_exeext'
44152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44153 (eval $ac_try) 2>&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; }; then
44157 ac_cv_func_socket
=yes
44159 echo "$as_me: failed program was:" >&5
44160 sed 's/^/| /' conftest.
$ac_ext >&5
44162 ac_cv_func_socket
=no
44164 rm -f conftest.err conftest.
$ac_objext \
44165 conftest
$ac_exeext conftest.
$ac_ext
44167 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44168 echo "${ECHO_T}$ac_cv_func_socket" >&6
44169 if test $ac_cv_func_socket = yes; then
44173 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44174 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44175 if test "${ac_cv_lib_socket_socket+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44178 ac_check_lib_save_LIBS
=$LIBS
44179 LIBS
="-lsocket $LIBS"
44180 cat >conftest.
$ac_ext <<_ACEOF
44183 cat confdefs.h
>>conftest.
$ac_ext
44184 cat >>conftest.
$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44187 /* Override any gcc2 internal prototype to avoid an error. */
44191 /* We use char because int might match the return type of a gcc2
44192 builtin and then its argument prototype would still apply. */
44202 rm -f conftest.
$ac_objext conftest
$ac_exeext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44204 (eval $ac_link) 2>conftest.er1
44206 grep -v '^ *+' conftest.er1
>conftest.err
44208 cat conftest.err
>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try
='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try
='test -s conftest$ac_exeext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 ac_cv_lib_socket_socket
=yes
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.
$ac_ext >&5
44229 ac_cv_lib_socket_socket
=no
44231 rm -f conftest.err conftest.
$ac_objext \
44232 conftest
$ac_exeext conftest.
$ac_ext
44233 LIBS
=$ac_check_lib_save_LIBS
44235 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44236 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44237 if test $ac_cv_lib_socket_socket = yes; then
44238 if test "$INET_LINK" != " -lsocket"; then
44239 INET_LINK
="$INET_LINK -lsocket"
44243 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44244 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44257 if test "$wxUSE_SOCKETS" = "yes" ; then
44258 if test "$TOOLKIT" != "MSW"; then
44259 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44260 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44261 if test "${wx_cv_type_getsockname3+set}" = set; then
44262 echo $ECHO_N "(cached) $ECHO_C" >&6
44265 cat >conftest.
$ac_ext <<_ACEOF
44268 cat confdefs.h
>>conftest.
$ac_ext
44269 cat >>conftest.
$ac_ext <<_ACEOF
44270 /* end confdefs.h. */
44272 #include <sys/types.h>
44273 #include <sys/socket.h>
44280 getsockname(0, 0, &len);
44286 rm -f conftest.
$ac_objext
44287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44288 (eval $ac_compile) 2>conftest.er1
44290 grep -v '^ *+' conftest.er1
>conftest.err
44292 cat conftest.err
>&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); } &&
44295 { ac_try
='test -z "$ac_cxx_werror_flag"
44296 || test ! -s conftest.err'
44297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44298 (eval $ac_try) 2>&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); }; } &&
44302 { ac_try
='test -s conftest.$ac_objext'
44303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44304 (eval $ac_try) 2>&5
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); }; }; then
44308 wx_cv_type_getsockname3
=socklen_t
44310 echo "$as_me: failed program was:" >&5
44311 sed 's/^/| /' conftest.
$ac_ext >&5
44314 CXXFLAGS_OLD
="$CXXFLAGS"
44315 if test "$GCC" = yes ; then
44316 CXXFLAGS
="-Werror $CXXFLAGS"
44319 cat >conftest.
$ac_ext <<_ACEOF
44322 cat confdefs.h
>>conftest.
$ac_ext
44323 cat >>conftest.
$ac_ext <<_ACEOF
44324 /* end confdefs.h. */
44326 #include <sys/types.h>
44327 #include <sys/socket.h>
44334 getsockname(0, 0, &len);
44340 rm -f conftest.
$ac_objext
44341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44342 (eval $ac_compile) 2>conftest.er1
44344 grep -v '^ *+' conftest.er1
>conftest.err
44346 cat conftest.err
>&5
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); } &&
44349 { ac_try
='test -z "$ac_cxx_werror_flag"
44350 || test ! -s conftest.err'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; } &&
44356 { ac_try
='test -s conftest.$ac_objext'
44357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358 (eval $ac_try) 2>&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); }; }; then
44362 wx_cv_type_getsockname3
=size_t
44364 echo "$as_me: failed program was:" >&5
44365 sed 's/^/| /' conftest.
$ac_ext >&5
44367 cat >conftest.
$ac_ext <<_ACEOF
44370 cat confdefs.h
>>conftest.
$ac_ext
44371 cat >>conftest.
$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44374 #include <sys/types.h>
44375 #include <sys/socket.h>
44382 getsockname(0, 0, &len);
44388 rm -f conftest.
$ac_objext
44389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44390 (eval $ac_compile) 2>conftest.er1
44392 grep -v '^ *+' conftest.er1
>conftest.err
44394 cat conftest.err
>&5
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); } &&
44397 { ac_try
='test -z "$ac_cxx_werror_flag"
44398 || test ! -s conftest.err'
44399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44400 (eval $ac_try) 2>&5
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); }; } &&
44404 { ac_try
='test -s conftest.$ac_objext'
44405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44406 (eval $ac_try) 2>&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; }; then
44410 wx_cv_type_getsockname3
=int
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.
$ac_ext >&5
44415 wx_cv_type_getsockname3
=unknown
44418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44423 CXXFLAGS
="$CXXFLAGS_OLD"
44427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44430 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44431 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44433 if test "$wx_cv_type_getsockname3" = "unknown"; then
44435 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44436 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44438 cat >>confdefs.h
<<_ACEOF
44439 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44443 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44444 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44445 if test "${wx_cv_type_getsockopt5+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44449 cat >conftest.
$ac_ext <<_ACEOF
44452 cat confdefs.h
>>conftest.
$ac_ext
44453 cat >>conftest.
$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44456 #include <sys/types.h>
44457 #include <sys/socket.h>
44464 getsockopt(0, 0, 0, 0, &len);
44470 rm -f conftest.
$ac_objext
44471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44472 (eval $ac_compile) 2>conftest.er1
44474 grep -v '^ *+' conftest.er1
>conftest.err
44476 cat conftest.err
>&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } &&
44479 { ac_try
='test -z "$ac_cxx_werror_flag"
44480 || test ! -s conftest.err'
44481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44482 (eval $ac_try) 2>&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); }; } &&
44486 { ac_try
='test -s conftest.$ac_objext'
44487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488 (eval $ac_try) 2>&5
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); }; }; then
44492 wx_cv_type_getsockopt5
=socklen_t
44494 echo "$as_me: failed program was:" >&5
44495 sed 's/^/| /' conftest.
$ac_ext >&5
44498 CXXFLAGS_OLD
="$CXXFLAGS"
44499 if test "$GCC" = yes ; then
44500 CXXFLAGS
="-Werror $CXXFLAGS"
44503 cat >conftest.
$ac_ext <<_ACEOF
44506 cat confdefs.h
>>conftest.
$ac_ext
44507 cat >>conftest.
$ac_ext <<_ACEOF
44508 /* end confdefs.h. */
44510 #include <sys/types.h>
44511 #include <sys/socket.h>
44518 getsockopt(0, 0, 0, 0, &len);
44524 rm -f conftest.
$ac_objext
44525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44526 (eval $ac_compile) 2>conftest.er1
44528 grep -v '^ *+' conftest.er1
>conftest.err
44530 cat conftest.err
>&5
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); } &&
44533 { ac_try
='test -z "$ac_cxx_werror_flag"
44534 || test ! -s conftest.err'
44535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44536 (eval $ac_try) 2>&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); }; } &&
44540 { ac_try
='test -s conftest.$ac_objext'
44541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44542 (eval $ac_try) 2>&5
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); }; }; then
44546 wx_cv_type_getsockopt5
=size_t
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.
$ac_ext >&5
44551 cat >conftest.
$ac_ext <<_ACEOF
44554 cat confdefs.h
>>conftest.
$ac_ext
44555 cat >>conftest.
$ac_ext <<_ACEOF
44556 /* end confdefs.h. */
44558 #include <sys/types.h>
44559 #include <sys/socket.h>
44566 getsockopt(0, 0, 0, 0, &len);
44572 rm -f conftest.
$ac_objext
44573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44574 (eval $ac_compile) 2>conftest.er1
44576 grep -v '^ *+' conftest.er1
>conftest.err
44578 cat conftest.err
>&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } &&
44581 { ac_try
='test -z "$ac_cxx_werror_flag"
44582 || test ! -s conftest.err'
44583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44584 (eval $ac_try) 2>&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); }; } &&
44588 { ac_try
='test -s conftest.$ac_objext'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; }; then
44594 wx_cv_type_getsockopt5
=int
44596 echo "$as_me: failed program was:" >&5
44597 sed 's/^/| /' conftest.
$ac_ext >&5
44599 wx_cv_type_getsockopt5
=unknown
44602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44607 CXXFLAGS
="$CXXFLAGS_OLD"
44611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44615 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44617 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44622 cat >>confdefs.h
<<_ACEOF
44623 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44630 if test "$wxUSE_SOCKETS" = "yes" ; then
44631 cat >>confdefs.h
<<\_ACEOF
44632 #define wxUSE_SOCKETS 1
44635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44638 if test "$wxUSE_PROTOCOL" = "yes"; then
44639 if test "$wxUSE_SOCKETS" != "yes"; then
44640 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44641 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44646 if test "$wxUSE_PROTOCOL" = "yes"; then
44647 cat >>confdefs.h
<<\_ACEOF
44648 #define wxUSE_PROTOCOL 1
44652 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44653 cat >>confdefs.h
<<\_ACEOF
44654 #define wxUSE_PROTOCOL_HTTP 1
44658 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_PROTOCOL_FTP 1
44664 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44665 cat >>confdefs.h
<<\_ACEOF
44666 #define wxUSE_PROTOCOL_FILE 1
44671 if test "$wxUSE_FS_INET" = "yes"; then
44672 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44673 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44678 if test "$wxUSE_URL" = "yes"; then
44679 if test "$wxUSE_PROTOCOL" != "yes"; then
44680 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44681 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44684 if test "$wxUSE_URL" = "yes"; then
44685 cat >>confdefs.h
<<\_ACEOF
44686 #define wxUSE_URL 1
44692 if test "$wxUSE_VARIANT" = "yes"; then
44693 cat >>confdefs.h
<<\_ACEOF
44694 #define wxUSE_VARIANT 1
44699 if test "$wxUSE_FS_INET" = "yes"; then
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_FS_INET 1
44707 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44710 if test "$TOOLKIT" = "MSW"; then
44713 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44714 if test "$USE_DARWIN" = 1; then
44715 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44716 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44717 cat >conftest.
$ac_ext <<_ACEOF
44720 cat confdefs.h
>>conftest.
$ac_ext
44721 cat >>conftest.
$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723 #include <IOKit/hid/IOHIDLib.h>
44727 IOHIDQueueInterface *qi = NULL;
44728 IOHIDCallbackFunction cb = NULL;
44729 qi->setEventCallout(NULL, cb, NULL, NULL);
44734 rm -f conftest.
$ac_objext
44735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44736 (eval $ac_compile) 2>conftest.er1
44738 grep -v '^ *+' conftest.er1
>conftest.err
44740 cat conftest.err
>&5
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); } &&
44743 { ac_try
='test -z "$ac_cxx_werror_flag"
44744 || test ! -s conftest.err'
44745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44746 (eval $ac_try) 2>&5
44748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44749 (exit $ac_status); }; } &&
44750 { ac_try
='test -s conftest.$ac_objext'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; }; then
44759 echo "$as_me: failed program was:" >&5
44760 sed 's/^/| /' conftest.
$ac_ext >&5
44763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44764 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44765 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44770 for ac_header
in linux
/joystick.h
44772 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44774 echo "$as_me:$LINENO: checking for $ac_header" >&5
44775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44777 echo $ECHO_N "(cached) $ECHO_C" >&6
44779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44782 # Is the header compilable?
44783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44785 cat >conftest.
$ac_ext <<_ACEOF
44788 cat confdefs.h
>>conftest.
$ac_ext
44789 cat >>conftest.
$ac_ext <<_ACEOF
44790 /* end confdefs.h. */
44791 $ac_includes_default
44792 #include <$ac_header>
44794 rm -f conftest.
$ac_objext
44795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44796 (eval $ac_compile) 2>conftest.er1
44798 grep -v '^ *+' conftest.er1
>conftest.err
44800 cat conftest.err
>&5
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); } &&
44803 { ac_try
='test -z "$ac_cxx_werror_flag"
44804 || test ! -s conftest.err'
44805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44806 (eval $ac_try) 2>&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); }; } &&
44810 { ac_try
='test -s conftest.$ac_objext'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; }; then
44816 ac_header_compiler
=yes
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.
$ac_ext >&5
44821 ac_header_compiler
=no
44823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44825 echo "${ECHO_T}$ac_header_compiler" >&6
44827 # Is the header present?
44828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44830 cat >conftest.
$ac_ext <<_ACEOF
44833 cat confdefs.h
>>conftest.
$ac_ext
44834 cat >>conftest.
$ac_ext <<_ACEOF
44835 /* end confdefs.h. */
44836 #include <$ac_header>
44838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44841 grep -v '^ *+' conftest.er1
>conftest.err
44843 cat conftest.err
>&5
44844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845 (exit $ac_status); } >/dev
/null
; then
44846 if test -s conftest.err
; then
44847 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44848 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44855 if test -z "$ac_cpp_err"; then
44856 ac_header_preproc
=yes
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.
$ac_ext >&5
44861 ac_header_preproc
=no
44863 rm -f conftest.err conftest.
$ac_ext
44864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44865 echo "${ECHO_T}$ac_header_preproc" >&6
44867 # So? What about this header?
44868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44874 ac_header_preproc
=yes
44877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44891 ## ----------------------------------------- ##
44892 ## Report this to wx-dev@lists.wxwidgets.org ##
44893 ## ----------------------------------------- ##
44896 sed "s/^/$as_me: WARNING: /" >&2
44899 echo "$as_me:$LINENO: checking for $ac_header" >&5
44900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44902 echo $ECHO_N "(cached) $ECHO_C" >&6
44904 eval "$as_ac_Header=\$ac_header_preproc"
44906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44911 cat >>confdefs.h
<<_ACEOF
44912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44921 if test "$wxUSE_JOYSTICK" = "yes"; then
44922 cat >>confdefs.h
<<\_ACEOF
44923 #define wxUSE_JOYSTICK 1
44926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44928 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44929 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44935 if test "$wxUSE_FONTMAP" = "yes" ; then
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_FONTMAP 1
44942 if test "$wxUSE_UNICODE" = "yes" ; then
44943 cat >>confdefs.h
<<\_ACEOF
44944 #define wxUSE_UNICODE 1
44948 if test "$USE_WIN32" != 1; then
44949 wxUSE_UNICODE_MSLU
=no
44952 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44953 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44954 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44955 if test "${ac_cv_lib_unicows_main+set}" = set; then
44956 echo $ECHO_N "(cached) $ECHO_C" >&6
44958 ac_check_lib_save_LIBS
=$LIBS
44959 LIBS
="-lunicows $LIBS"
44960 cat >conftest.
$ac_ext <<_ACEOF
44963 cat confdefs.h
>>conftest.
$ac_ext
44964 cat >>conftest.
$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44976 rm -f conftest.
$ac_objext conftest
$ac_exeext
44977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44978 (eval $ac_link) 2>conftest.er1
44980 grep -v '^ *+' conftest.er1
>conftest.err
44982 cat conftest.err
>&5
44983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984 (exit $ac_status); } &&
44985 { ac_try
='test -z "$ac_cxx_werror_flag"
44986 || test ! -s conftest.err'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; } &&
44992 { ac_try
='test -s conftest$ac_exeext'
44993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44994 (eval $ac_try) 2>&5
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; }; then
44998 ac_cv_lib_unicows_main
=yes
45000 echo "$as_me: failed program was:" >&5
45001 sed 's/^/| /' conftest.
$ac_ext >&5
45003 ac_cv_lib_unicows_main
=no
45005 rm -f conftest.err conftest.
$ac_objext \
45006 conftest
$ac_exeext conftest.
$ac_ext
45007 LIBS
=$ac_check_lib_save_LIBS
45009 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45010 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45011 if test $ac_cv_lib_unicows_main = yes; then
45013 cat >>confdefs.h
<<\_ACEOF
45014 #define wxUSE_UNICODE_MSLU 1
45020 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45021 Applications will only run on Windows NT/2000/XP!" >&5
45022 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45023 Applications will only run on Windows NT/2000/XP!" >&2;}
45024 wxUSE_UNICODE_MSLU
=no
45031 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45032 cat >>confdefs.h
<<\_ACEOF
45033 #define wxUSE_EXPERIMENTAL_PRINTF 1
45039 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_POSTSCRIPT 1
45046 cat >>confdefs.h
<<\_ACEOF
45047 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45051 cat >>confdefs.h
<<\_ACEOF
45052 #define wxUSE_NORMALIZED_PS_FONTS 1
45057 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45058 cat >>confdefs.h
<<\_ACEOF
45059 #define wxUSE_CONSTRAINTS 1
45062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45065 if test "$wxUSE_MDI" = "yes"; then
45066 cat >>confdefs.h
<<\_ACEOF
45067 #define wxUSE_MDI 1
45071 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45072 cat >>confdefs.h
<<\_ACEOF
45073 #define wxUSE_MDI_ARCHITECTURE 1
45076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45080 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45081 cat >>confdefs.h
<<\_ACEOF
45082 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45086 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45091 if test "$wxUSE_HELP" = "yes"; then
45092 cat >>confdefs.h
<<\_ACEOF
45093 #define wxUSE_HELP 1
45096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45098 if test "$wxUSE_MSW" = 1; then
45099 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45100 cat >>confdefs.h
<<\_ACEOF
45101 #define wxUSE_MS_HTML_HELP 1
45107 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45108 if test "$wxUSE_HTML" = "yes"; then
45109 cat >>confdefs.h
<<\_ACEOF
45110 #define wxUSE_WXHTML_HELP 1
45114 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45115 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45116 wxUSE_WXHTML_HELP
=no
45121 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45122 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45123 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45124 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_PRINTING_ARCHITECTURE 1
45131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45134 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45135 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45136 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45137 { (exit 1); exit 1; }; }
45141 if test "$wxUSE_METAFILE" = "yes"; then
45142 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45143 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45144 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45150 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45151 -o "$wxUSE_CLIPBOARD" = "yes" \
45152 -o "$wxUSE_OLE" = "yes" \
45153 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45155 for ac_header
in ole2.h
45157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45159 echo "$as_me:$LINENO: checking for $ac_header" >&5
45160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45162 echo $ECHO_N "(cached) $ECHO_C" >&6
45164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45167 # Is the header compilable?
45168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45170 cat >conftest.
$ac_ext <<_ACEOF
45173 cat confdefs.h
>>conftest.
$ac_ext
45174 cat >>conftest.
$ac_ext <<_ACEOF
45175 /* end confdefs.h. */
45176 $ac_includes_default
45177 #include <$ac_header>
45179 rm -f conftest.
$ac_objext
45180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45181 (eval $ac_compile) 2>conftest.er1
45183 grep -v '^ *+' conftest.er1
>conftest.err
45185 cat conftest.err
>&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); } &&
45188 { ac_try
='test -z "$ac_cxx_werror_flag"
45189 || test ! -s conftest.err'
45190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45191 (eval $ac_try) 2>&5
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; } &&
45195 { ac_try
='test -s conftest.$ac_objext'
45196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45197 (eval $ac_try) 2>&5
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); }; }; then
45201 ac_header_compiler
=yes
45203 echo "$as_me: failed program was:" >&5
45204 sed 's/^/| /' conftest.
$ac_ext >&5
45206 ac_header_compiler
=no
45208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45210 echo "${ECHO_T}$ac_header_compiler" >&6
45212 # Is the header present?
45213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45215 cat >conftest.
$ac_ext <<_ACEOF
45218 cat confdefs.h
>>conftest.
$ac_ext
45219 cat >>conftest.
$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45221 #include <$ac_header>
45223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45226 grep -v '^ *+' conftest.er1
>conftest.err
45228 cat conftest.err
>&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } >/dev
/null
; then
45231 if test -s conftest.err
; then
45232 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45233 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45240 if test -z "$ac_cpp_err"; then
45241 ac_header_preproc
=yes
45243 echo "$as_me: failed program was:" >&5
45244 sed 's/^/| /' conftest.
$ac_ext >&5
45246 ac_header_preproc
=no
45248 rm -f conftest.err conftest.
$ac_ext
45249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45250 echo "${ECHO_T}$ac_header_preproc" >&6
45252 # So? What about this header?
45253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45259 ac_header_preproc
=yes
45262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45276 ## ----------------------------------------- ##
45277 ## Report this to wx-dev@lists.wxwidgets.org ##
45278 ## ----------------------------------------- ##
45281 sed "s/^/$as_me: WARNING: /" >&2
45284 echo "$as_me:$LINENO: checking for $ac_header" >&5
45285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45289 eval "$as_ac_Header=\$ac_header_preproc"
45291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45296 cat >>confdefs.h
<<_ACEOF
45297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45305 if test "$ac_cv_header_ole2_h" = "yes" ; then
45306 if test "$GCC" = yes ; then
45307 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45308 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45309 cat >conftest.
$ac_ext <<_ACEOF
45312 cat confdefs.h
>>conftest.
$ac_ext
45313 cat >>conftest.
$ac_ext <<_ACEOF
45314 /* end confdefs.h. */
45315 #include <windows.h>
45325 rm -f conftest.
$ac_objext
45326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45327 (eval $ac_compile) 2>conftest.er1
45329 grep -v '^ *+' conftest.er1
>conftest.err
45331 cat conftest.err
>&5
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); } &&
45334 { ac_try
='test -z "$ac_cxx_werror_flag"
45335 || test ! -s conftest.err'
45336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45337 (eval $ac_try) 2>&5
45339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45340 (exit $ac_status); }; } &&
45341 { ac_try
='test -s conftest.$ac_objext'
45342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45343 (eval $ac_try) 2>&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); }; }; then
45347 echo "$as_me:$LINENO: result: no" >&5
45348 echo "${ECHO_T}no" >&6
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.
$ac_ext >&5
45353 echo "$as_me:$LINENO: result: yes" >&5
45354 echo "${ECHO_T}yes" >&6
45355 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45358 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45359 if test "$wxUSE_OLE" = "yes" ; then
45360 cat >>confdefs.h
<<\_ACEOF
45361 #define wxUSE_OLE 1
45364 cat >>confdefs.h
<<\_ACEOF
45365 #define wxUSE_OLE_AUTOMATION 1
45368 cat >>confdefs.h
<<\_ACEOF
45369 #define wxUSE_OLE_ACTIVEX 1
45372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45376 if test "$wxUSE_DATAOBJ" = "yes" ; then
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_DATAOBJ 1
45383 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45384 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45387 wxUSE_DRAG_AND_DROP
=no
45392 if test "$wxUSE_METAFILE" = "yes"; then
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_METAFILE 1
45398 cat >>confdefs.h
<<\_ACEOF
45399 #define wxUSE_ENH_METAFILE 1
45405 if test "$wxUSE_IPC" = "yes"; then
45406 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45407 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45408 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45412 if test "$wxUSE_IPC" = "yes"; then
45413 cat >>confdefs.h
<<\_ACEOF
45414 #define wxUSE_IPC 1
45417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45421 if test "$wxUSE_DATAOBJ" = "yes"; then
45422 if test "$wxUSE_MGL" = 1; then
45423 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45424 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45427 cat >>confdefs.h
<<\_ACEOF
45428 #define wxUSE_DATAOBJ 1
45433 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45434 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45436 wxUSE_DRAG_AND_DROP
=no
45439 if test "$wxUSE_CLIPBOARD" = "yes"; then
45440 if test "$wxUSE_MGL" = 1; then
45441 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45442 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45446 if test "$wxUSE_CLIPBOARD" = "yes"; then
45447 cat >>confdefs.h
<<\_ACEOF
45448 #define wxUSE_CLIPBOARD 1
45454 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45455 if test "$wxUSE_GTK" = 1; then
45456 if test "$WXGTK12" != 1; then
45457 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45458 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45459 wxUSE_DRAG_AND_DROP
=no
45463 if test "$wxUSE_MOTIF" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45465 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45466 wxUSE_DRAG_AND_DROP
=no
45469 if test "$wxUSE_X11" = 1; then
45470 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45471 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45472 wxUSE_DRAG_AND_DROP
=no
45475 if test "$wxUSE_MGL" = 1; then
45476 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45477 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45478 wxUSE_DRAG_AND_DROP
=no
45481 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45482 cat >>confdefs.h
<<\_ACEOF
45483 #define wxUSE_DRAG_AND_DROP 1
45490 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45494 if test "$wxUSE_SPLINES" = "yes" ; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_SPLINES 1
45501 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45502 cat >>confdefs.h
<<\_ACEOF
45503 #define wxUSE_MOUSEWHEEL 1
45510 if test "$wxUSE_CONTROLS" = "yes"; then
45514 if test "$wxUSE_ACCEL" = "yes"; then
45515 cat >>confdefs.h
<<\_ACEOF
45516 #define wxUSE_ACCEL 1
45522 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_ANIMATIONCTRL 1
45528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45531 if test "$wxUSE_BUTTON" = "yes"; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_BUTTON 1
45539 if test "$wxUSE_BMPBUTTON" = "yes"; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_BMPBUTTON 1
45547 if test "$wxUSE_CALCTRL" = "yes"; then
45548 cat >>confdefs.h
<<\_ACEOF
45549 #define wxUSE_CALENDARCTRL 1
45553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45556 if test "$wxUSE_CARET" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_CARET 1
45562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45565 if test "$wxUSE_COMBOBOX" = "yes"; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_COMBOBOX 1
45573 if test "$wxUSE_COMBOCTRL" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_COMBOCTRL 1
45581 if test "$wxUSE_CHOICE" = "yes"; then
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_CHOICE 1
45589 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_CHOICEBOOK 1
45597 if test "$wxUSE_CHECKBOX" = "yes"; then
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define wxUSE_CHECKBOX 1
45605 if test "$wxUSE_CHECKLST" = "yes"; then
45606 cat >>confdefs.h
<<\_ACEOF
45607 #define wxUSE_CHECKLISTBOX 1
45611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45614 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_COLOURPICKERCTRL 1
45622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45623 cat >>confdefs.h
<<\_ACEOF
45624 #define wxUSE_DATEPICKCTRL 1
45630 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45631 cat >>confdefs.h
<<\_ACEOF
45632 #define wxUSE_DIRPICKERCTRL 1
45638 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45639 cat >>confdefs.h
<<\_ACEOF
45640 #define wxUSE_FILEPICKERCTRL 1
45646 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45647 cat >>confdefs.h
<<\_ACEOF
45648 #define wxUSE_FONTPICKERCTRL 1
45654 if test "$wxUSE_DISPLAY" = "yes"; then
45655 cat >>confdefs.h
<<\_ACEOF
45656 #define wxUSE_DISPLAY 1
45659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45662 if test "$wxUSE_GAUGE" = "yes"; then
45663 cat >>confdefs.h
<<\_ACEOF
45664 #define wxUSE_GAUGE 1
45670 if test "$wxUSE_GRID" = "yes"; then
45671 cat >>confdefs.h
<<\_ACEOF
45672 #define wxUSE_GRID 1
45676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45679 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45680 cat >>confdefs.h
<<\_ACEOF
45681 #define wxUSE_HYPERLINKCTRL 1
45687 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_BITMAPCOMBOBOX 1
45695 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45696 cat >>confdefs.h
<<\_ACEOF
45697 #define wxUSE_DATAVIEWCTRL 1
45701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45704 if test "$wxUSE_IMAGLIST" = "yes"; then
45705 cat >>confdefs.h
<<\_ACEOF
45706 #define wxUSE_IMAGLIST 1
45711 if test "$wxUSE_LISTBOOK" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_LISTBOOK 1
45719 if test "$wxUSE_LISTBOX" = "yes"; then
45720 cat >>confdefs.h
<<\_ACEOF
45721 #define wxUSE_LISTBOX 1
45725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45728 if test "$wxUSE_LISTCTRL" = "yes"; then
45729 if test "$wxUSE_IMAGLIST" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_LISTCTRL 1
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45737 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45738 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45742 if test "$wxUSE_NOTEBOOK" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_NOTEBOOK 1
45748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45751 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45752 cat >>confdefs.h
<<\_ACEOF
45753 #define wxUSE_ODCOMBOBOX 1
45757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45761 if test "$wxUSE_RADIOBOX" = "yes"; then
45762 cat >>confdefs.h
<<\_ACEOF
45763 #define wxUSE_RADIOBOX 1
45769 if test "$wxUSE_RADIOBTN" = "yes"; then
45770 cat >>confdefs.h
<<\_ACEOF
45771 #define wxUSE_RADIOBTN 1
45777 if test "$wxUSE_SASH" = "yes"; then
45778 cat >>confdefs.h
<<\_ACEOF
45779 #define wxUSE_SASH 1
45782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45785 if test "$wxUSE_SCROLLBAR" = "yes"; then
45786 cat >>confdefs.h
<<\_ACEOF
45787 #define wxUSE_SCROLLBAR 1
45791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45794 if test "$wxUSE_SLIDER" = "yes"; then
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_SLIDER 1
45802 if test "$wxUSE_SPINBTN" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_SPINBTN 1
45810 if test "$wxUSE_SPINCTRL" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_SPINCTRL 1
45818 if test "$wxUSE_SPLITTER" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_SPLITTER 1
45823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45826 if test "$wxUSE_STATBMP" = "yes"; then
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_STATBMP 1
45834 if test "$wxUSE_STATBOX" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_STATBOX 1
45842 if test "$wxUSE_STATTEXT" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_STATTEXT 1
45850 if test "$wxUSE_STATLINE" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_STATLINE 1
45858 if test "$wxUSE_STATUSBAR" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_NATIVE_STATUSBAR 1
45863 cat >>confdefs.h
<<\_ACEOF
45864 #define wxUSE_STATUSBAR 1
45869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45872 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_TAB_DIALOG 1
45879 if test "$wxUSE_TEXTCTRL" = "yes"; then
45880 cat >>confdefs.h
<<\_ACEOF
45881 #define wxUSE_TEXTCTRL 1
45885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45888 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45889 if test "$wxUSE_COCOA" = 1 ; then
45890 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45891 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45895 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45896 cat >>confdefs.h
<<\_ACEOF
45897 #define wxUSE_TOGGLEBTN 1
45904 if test "$wxUSE_TOOLBAR" = "yes"; then
45905 cat >>confdefs.h
<<\_ACEOF
45906 #define wxUSE_TOOLBAR 1
45911 if test "$wxUSE_UNIVERSAL" = "yes"; then
45912 wxUSE_TOOLBAR_NATIVE
="no"
45914 wxUSE_TOOLBAR_NATIVE
="yes"
45915 cat >>confdefs.h
<<\_ACEOF
45916 #define wxUSE_TOOLBAR_NATIVE 1
45921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45924 if test "$wxUSE_TOOLTIPS" = "yes"; then
45925 if test "$wxUSE_MOTIF" = 1; then
45926 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45927 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45929 if test "$wxUSE_UNIVERSAL" = "yes"; then
45930 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45931 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45933 cat >>confdefs.h
<<\_ACEOF
45934 #define wxUSE_TOOLTIPS 1
45941 if test "$wxUSE_TREEBOOK" = "yes"; then
45942 cat >>confdefs.h
<<\_ACEOF
45943 #define wxUSE_TREEBOOK 1
45949 if test "$wxUSE_TOOLBOOK" = "yes"; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_TOOLBOOK 1
45957 if test "$wxUSE_TREECTRL" = "yes"; then
45958 if test "$wxUSE_IMAGLIST" = "yes"; then
45959 cat >>confdefs.h
<<\_ACEOF
45960 #define wxUSE_TREECTRL 1
45964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45966 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45967 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45971 if test "$wxUSE_POPUPWIN" = "yes"; then
45972 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45973 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45974 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45976 if test "$wxUSE_PM" = 1; then
45977 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45978 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_POPUPWIN 1
45984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45991 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45992 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45993 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45994 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45996 cat >>confdefs.h
<<\_ACEOF
45997 #define wxUSE_DIALUP_MANAGER 1
46000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46004 if test "$wxUSE_TIPWINDOW" = "yes"; then
46005 if test "$wxUSE_PM" = 1; then
46006 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46007 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46009 cat >>confdefs.h
<<\_ACEOF
46010 #define wxUSE_TIPWINDOW 1
46016 if test "$USES_CONTROLS" = 1; then
46017 cat >>confdefs.h
<<\_ACEOF
46018 #define wxUSE_CONTROLS 1
46024 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46025 cat >>confdefs.h
<<\_ACEOF
46026 #define wxUSE_ACCESSIBILITY 1
46029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46032 if test "$wxUSE_DC_CACHEING" = "yes"; then
46033 cat >>confdefs.h
<<\_ACEOF
46034 #define wxUSE_DC_CACHEING 1
46039 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46040 cat >>confdefs.h
<<\_ACEOF
46041 #define wxUSE_DRAGIMAGE 1
46044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46047 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46048 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46049 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46050 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46052 cat >>confdefs.h
<<\_ACEOF
46053 #define wxUSE_EXCEPTIONS 1
46056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46061 if test "$wxUSE_HTML" = "yes"; then
46062 cat >>confdefs.h
<<\_ACEOF
46063 #define wxUSE_HTML 1
46067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46068 if test "$wxUSE_MAC" = 1; then
46069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46072 if test "$wxUSE_WEBKIT" = "yes"; then
46073 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46074 old_CPPFLAGS
="$CPPFLAGS"
46075 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46076 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46077 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46078 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 cat >conftest.
$ac_ext <<_ACEOF
46084 cat confdefs.h
>>conftest.
$ac_ext
46085 cat >>conftest.
$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087 #include <Carbon/Carbon.h>
46089 #include <WebKit/HIWebView.h>
46091 rm -f conftest.
$ac_objext
46092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46093 (eval $ac_compile) 2>conftest.er1
46095 grep -v '^ *+' conftest.er1
>conftest.err
46097 cat conftest.err
>&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } &&
46100 { ac_try
='test -z "$ac_cxx_werror_flag"
46101 || test ! -s conftest.err'
46102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103 (eval $ac_try) 2>&5
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; } &&
46107 { ac_try
='test -s conftest.$ac_objext'
46108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46109 (eval $ac_try) 2>&5
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); }; }; then
46113 ac_cv_header_WebKit_HIWebView_h
=yes
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.
$ac_ext >&5
46118 ac_cv_header_WebKit_HIWebView_h
=no
46120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46122 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46123 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46124 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_WEBKIT 1
46130 WEBKIT_LINK
="-framework WebKit"
46134 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46135 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46141 CPPFLAGS
="$old_CPPFLAGS"
46142 elif test "$wxUSE_COCOA" = 1; then
46143 cat >>confdefs.h
<<\_ACEOF
46144 #define wxUSE_WEBKIT 1
46153 if test "$wxUSE_XRC" = "yes"; then
46154 if test "$wxUSE_XML" != "yes"; then
46155 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46156 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46159 cat >>confdefs.h
<<\_ACEOF
46160 #define wxUSE_XRC 1
46164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46169 if test "$wxUSE_AUI" = "yes"; then
46170 cat >>confdefs.h
<<\_ACEOF
46171 #define wxUSE_AUI 1
46175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46178 if test "$wxUSE_MENUS" = "yes"; then
46179 cat >>confdefs.h
<<\_ACEOF
46180 #define wxUSE_MENUS 1
46183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46186 if test "$wxUSE_METAFILE" = "yes"; then
46187 cat >>confdefs.h
<<\_ACEOF
46188 #define wxUSE_METAFILE 1
46193 if test "$wxUSE_MIMETYPE" = "yes"; then
46194 cat >>confdefs.h
<<\_ACEOF
46195 #define wxUSE_MIMETYPE 1
46200 if test "$wxUSE_MINIFRAME" = "yes"; then
46201 cat >>confdefs.h
<<\_ACEOF
46202 #define wxUSE_MINIFRAME 1
46205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46208 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46209 cat >>confdefs.h
<<\_ACEOF
46210 #define wxUSE_SYSTEM_OPTIONS 1
46213 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46214 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46220 if test "$wxUSE_VALIDATORS" = "yes"; then
46221 cat >>confdefs.h
<<\_ACEOF
46222 #define wxUSE_VALIDATORS 1
46225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46228 if test "$wxUSE_PALETTE" = "yes" ; then
46229 cat >>confdefs.h
<<\_ACEOF
46230 #define wxUSE_PALETTE 1
46235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46236 LIBS
=" -lunicows $LIBS"
46240 if test "$wxUSE_RICHTEXT" = "yes"; then
46241 cat >>confdefs.h
<<\_ACEOF
46242 #define wxUSE_RICHTEXT 1
46246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46249 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46250 cat >>confdefs.h
<<\_ACEOF
46251 #define wxUSE_GRAPHICS_CONTEXT 1
46257 if test "$wxUSE_IMAGE" = "yes" ; then
46258 cat >>confdefs.h
<<\_ACEOF
46259 #define wxUSE_IMAGE 1
46263 if test "$wxUSE_GIF" = "yes" ; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_GIF 1
46270 if test "$wxUSE_PCX" = "yes" ; then
46271 cat >>confdefs.h
<<\_ACEOF
46272 #define wxUSE_PCX 1
46277 if test "$wxUSE_IFF" = "yes" ; then
46278 cat >>confdefs.h
<<\_ACEOF
46279 #define wxUSE_IFF 1
46284 if test "$wxUSE_PNM" = "yes" ; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_PNM 1
46291 if test "$wxUSE_XPM" = "yes" ; then
46292 cat >>confdefs.h
<<\_ACEOF
46293 #define wxUSE_XPM 1
46298 if test "$wxUSE_ICO_CUR" = "yes" ; then
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_ICO_CUR 1
46307 if test "$wxUSE_ABOUTDLG" = "yes"; then
46308 cat >>confdefs.h
<<\_ACEOF
46309 #define wxUSE_ABOUTDLG 1
46314 if test "$wxUSE_CHOICEDLG" = "yes"; then
46315 cat >>confdefs.h
<<\_ACEOF
46316 #define wxUSE_CHOICEDLG 1
46321 if test "$wxUSE_COLOURDLG" = "yes"; then
46322 cat >>confdefs.h
<<\_ACEOF
46323 #define wxUSE_COLOURDLG 1
46328 if test "$wxUSE_FILEDLG" = "yes"; then
46329 cat >>confdefs.h
<<\_ACEOF
46330 #define wxUSE_FILEDLG 1
46335 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46336 cat >>confdefs.h
<<\_ACEOF
46337 #define wxUSE_FINDREPLDLG 1
46342 if test "$wxUSE_FONTDLG" = "yes"; then
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_FONTDLG 1
46349 if test "$wxUSE_DIRDLG" = "yes"; then
46350 if test "$wxUSE_TREECTRL" != "yes"; then
46351 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46352 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46354 cat >>confdefs.h
<<\_ACEOF
46355 #define wxUSE_DIRDLG 1
46361 if test "$wxUSE_MSGDLG" = "yes"; then
46362 cat >>confdefs.h
<<\_ACEOF
46363 #define wxUSE_MSGDLG 1
46368 if test "$wxUSE_NUMBERDLG" = "yes"; then
46369 cat >>confdefs.h
<<\_ACEOF
46370 #define wxUSE_NUMBERDLG 1
46375 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46376 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46377 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46378 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46380 cat >>confdefs.h
<<\_ACEOF
46381 #define wxUSE_PROGRESSDLG 1
46387 if test "$wxUSE_SPLASH" = "yes"; then
46388 cat >>confdefs.h
<<\_ACEOF
46389 #define wxUSE_SPLASH 1
46392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46395 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46396 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46397 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46398 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46400 cat >>confdefs.h
<<\_ACEOF
46401 #define wxUSE_STARTUP_TIPS 1
46407 if test "$wxUSE_TEXTDLG" = "yes"; then
46408 cat >>confdefs.h
<<\_ACEOF
46409 #define wxUSE_TEXTDLG 1
46414 if test "$wxUSE_WIZARDDLG" = "yes"; then
46415 cat >>confdefs.h
<<\_ACEOF
46416 #define wxUSE_WIZARDDLG 1
46419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46425 if test "$wxUSE_MEDIACTRL" = "yes"; then
46428 if test "$wxUSE_GTK" = 1; then
46429 wxUSE_GSTREAMER
="no"
46431 GST_VERSION_MAJOR
=0
46432 GST_VERSION_MINOR
=10
46433 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46435 if test "$wxUSE_GSTREAMER8" = "no"; then
46438 echo "$as_me:$LINENO: checking for GST" >&5
46439 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46441 if test -n "$PKG_CONFIG"; then
46442 if test -n "$GST_CFLAGS"; then
46443 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46445 if test -n "$PKG_CONFIG" && \
46446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46447 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); }; then
46451 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46459 if test -n "$PKG_CONFIG"; then
46460 if test -n "$GST_LIBS"; then
46461 pkg_cv_GST_LIBS
="$GST_LIBS"
46463 if test -n "$PKG_CONFIG" && \
46464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46465 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; then
46469 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46480 if test $pkg_failed = yes; then
46482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46483 _pkg_short_errors_supported
=yes
46485 _pkg_short_errors_supported
=no
46487 if test $_pkg_short_errors_supported = yes; then
46488 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46490 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46492 # Put the nasty error message in config.log where it belongs
46493 echo "$GST_PKG_ERRORS" >&5
46496 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46497 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46498 GST_VERSION_MINOR
=8
46501 elif test $pkg_failed = untried
; then
46503 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46504 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46505 GST_VERSION_MINOR
=8
46509 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46510 GST_LIBS
=$pkg_cv_GST_LIBS
46511 echo "$as_me:$LINENO: result: yes" >&5
46512 echo "${ECHO_T}yes" >&6
46514 wxUSE_GSTREAMER
="yes"
46515 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46519 GST_VERSION_MINOR
=8
46522 if test $GST_VERSION_MINOR = "8"; then
46523 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46526 echo "$as_me:$LINENO: checking for GST" >&5
46527 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46529 if test -n "$PKG_CONFIG"; then
46530 if test -n "$GST_CFLAGS"; then
46531 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46533 if test -n "$PKG_CONFIG" && \
46534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46535 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46538 (exit $ac_status); }; then
46539 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46547 if test -n "$PKG_CONFIG"; then
46548 if test -n "$GST_LIBS"; then
46549 pkg_cv_GST_LIBS
="$GST_LIBS"
46551 if test -n "$PKG_CONFIG" && \
46552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46553 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556 (exit $ac_status); }; then
46557 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46568 if test $pkg_failed = yes; then
46570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46571 _pkg_short_errors_supported
=yes
46573 _pkg_short_errors_supported
=no
46575 if test $_pkg_short_errors_supported = yes; then
46576 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46578 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46580 # Put the nasty error message in config.log where it belongs
46581 echo "$GST_PKG_ERRORS" >&5
46584 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46585 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46587 elif test $pkg_failed = untried
; then
46589 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46590 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46593 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46594 GST_LIBS
=$pkg_cv_GST_LIBS
46595 echo "$as_me:$LINENO: result: yes" >&5
46596 echo "${ECHO_T}yes" >&6
46597 wxUSE_GSTREAMER
="yes"
46602 if test "$wxUSE_GSTREAMER" = "yes"; then
46605 if "$GCC" = yes; then
46606 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46607 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46611 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46612 LIBS
="$GST_LIBS $LIBS"
46614 cat >>confdefs.h
<<\_ACEOF
46615 #define wxUSE_GSTREAMER 1
46623 if test $USE_MEDIA = 1; then
46624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46625 cat >>confdefs.h
<<\_ACEOF
46626 #define wxUSE_MEDIACTRL 1
46633 if test "$cross_compiling" = "yes"; then
46636 OSINFO
=`uname -s -r -m`
46637 OSINFO
="\"$OSINFO\""
46640 cat >>confdefs.h
<<_ACEOF
46641 #define WXWIN_OS_DESCRIPTION $OSINFO
46646 if test "x$prefix" != "xNONE"; then
46649 wxPREFIX
=$ac_default_prefix
46652 cat >>confdefs.h
<<_ACEOF
46653 #define wxINSTALL_PREFIX "$wxPREFIX"
46659 CORE_BASE_LIBS
="net base"
46660 CORE_GUI_LIBS
="adv core"
46662 if test "$wxUSE_XML" = "yes" ; then
46663 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46665 if test "$wxUSE_ODBC" != "no" ; then
46666 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46667 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46669 if test "$wxUSE_HTML" = "yes" ; then
46670 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46672 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46673 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46675 if test "$wxUSE_XRC" = "yes" ; then
46676 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46678 if test "$wxUSE_AUI" = "yes" ; then
46679 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46682 if test "$wxUSE_GUI" != "yes"; then
46691 ac_cpp
='$CPP $CPPFLAGS'
46692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46698 if test "$wxUSE_MAC" = 1 ; then
46699 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46700 if test "$USE_DARWIN" = 1; then
46701 LDFLAGS
="$LDFLAGS -framework QuickTime"
46703 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46706 if test "$USE_DARWIN" = 1; then
46707 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46709 LDFLAGS
="$LDFLAGS -lCarbonLib"
46712 if test "$wxUSE_COCOA" = 1 ; then
46713 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46714 if test "$wxUSE_MEDIACTRL" = "yes"; then
46715 LDFLAGS
="$LDFLAGS -framework QuickTime"
46718 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46719 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46722 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46724 if test "$wxUSE_GUI" = "yes"; then
46727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46728 dynamic erase event exec font image minimal mobile \
46729 mobile/wxedit mobile/styles propsize render \
46730 rotate shaped vscroll widgets"
46732 if test "$wxUSE_MONOLITHIC" != "yes"; then
46733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46735 if test "$TOOLKIT" = "MSW"; then
46736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46737 if test "$wxUSE_UNIVERSAL" != "yes"; then
46738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46741 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46745 SAMPLES_SUBDIRS
="console"
46749 if test "x$INTELCC" = "xyes" ; then
46750 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46751 elif test "$GCC" = yes ; then
46752 CWARNINGS
="-Wall -Wundef"
46755 if test "x$INTELCXX" = "xyes" ; then
46756 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46757 elif test "$GXX" = yes ; then
46758 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46762 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46763 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46766 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46767 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46768 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46771 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46772 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46773 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46775 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46778 if test "x$MWCC" = "xyes"; then
46780 CC
="$CC -cwd source -I-"
46781 CXX
="$CXX -cwd source -I-"
46786 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46787 EXTRALIBS_XML
="$EXPAT_LINK"
46788 EXTRALIBS_HTML
="$MSPACK_LINK"
46789 EXTRALIBS_ODBC
="$ODBC_LINK"
46790 if test "$wxUSE_GUI" = "yes"; then
46791 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46793 if test "$wxUSE_OPENGL" = "yes"; then
46794 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46797 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46799 WXCONFIG_LIBS
="$LIBS"
46801 if test "$wxUSE_REGEX" = "builtin" ; then
46802 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46804 if test "$wxUSE_EXPAT" = "builtin" ; then
46805 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46807 if test "$wxUSE_ODBC" = "builtin" ; then
46808 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46810 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46811 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46813 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46814 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46816 if test "$wxUSE_LIBPNG" = "builtin" ; then
46817 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46819 if test "$wxUSE_ZLIB" = "builtin" ; then
46820 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46823 for i
in $wxconfig_3rdparty ; do
46824 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46828 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46831 case "$wxUNIV_THEMES" in
46833 cat >>confdefs.h
<<\_ACEOF
46834 #define wxUSE_ALL_THEMES 1
46840 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46841 cat >>confdefs.h
<<_ACEOF
46842 #define wxUSE_THEME_$t 1
46859 if test $wxUSE_MONOLITHIC = "yes" ; then
46865 if test $wxUSE_PLUGINS = "yes" ; then
46871 if test $wxUSE_ODBC != "no" ; then
46877 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46883 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46913 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46924 TOOLKIT_DESC
="GTK+"
46925 if test "$WXGTK20" = 1; then
46926 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46927 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46928 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46930 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46931 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46933 if test "$wxUSE_LIBHILDON" = "yes"; then
46934 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46937 if test "$TOOLKIT_EXTRA" != ""; then
46938 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46944 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46948 TOOLKIT_DESC
="base only"
46952 if test "$wxUSE_WINE" = "yes"; then
46953 BAKEFILE_FORCE_PLATFORM
=win32
46956 if test "$wxUSE_MAC" = 1 ; then
46957 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46958 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46959 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46961 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46963 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46964 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46965 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46966 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46969 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46970 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46976 if test "x$BAKEFILE_HOST" = "x"; then
46977 if test "x${host}" = "x" ; then
46978 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46979 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46980 { (exit 1); exit 1; }; }
46983 BAKEFILE_HOST
="${host}"
46986 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46988 if test -n "$ac_tool_prefix"; then
46989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46990 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46991 echo "$as_me:$LINENO: checking for $ac_word" >&5
46992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46993 if test "${ac_cv_prog_RANLIB+set}" = set; then
46994 echo $ECHO_N "(cached) $ECHO_C" >&6
46996 if test -n "$RANLIB"; then
46997 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47000 for as_dir
in $PATH
47003 test -z "$as_dir" && as_dir
=.
47004 for ac_exec_ext
in '' $ac_executable_extensions; do
47005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47006 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47015 RANLIB
=$ac_cv_prog_RANLIB
47016 if test -n "$RANLIB"; then
47017 echo "$as_me:$LINENO: result: $RANLIB" >&5
47018 echo "${ECHO_T}$RANLIB" >&6
47020 echo "$as_me:$LINENO: result: no" >&5
47021 echo "${ECHO_T}no" >&6
47025 if test -z "$ac_cv_prog_RANLIB"; then
47026 ac_ct_RANLIB
=$RANLIB
47027 # Extract the first word of "ranlib", so it can be a program name with args.
47028 set dummy ranlib
; ac_word
=$2
47029 echo "$as_me:$LINENO: checking for $ac_word" >&5
47030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47031 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47032 echo $ECHO_N "(cached) $ECHO_C" >&6
47034 if test -n "$ac_ct_RANLIB"; then
47035 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47038 for as_dir
in $PATH
47041 test -z "$as_dir" && as_dir
=.
47042 for ac_exec_ext
in '' $ac_executable_extensions; do
47043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47044 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47051 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47054 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47055 if test -n "$ac_ct_RANLIB"; then
47056 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47057 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47059 echo "$as_me:$LINENO: result: no" >&5
47060 echo "${ECHO_T}no" >&6
47063 RANLIB
=$ac_ct_RANLIB
47065 RANLIB
="$ac_cv_prog_RANLIB"
47068 # Find a good install program. We prefer a C program (faster),
47069 # so one script is as good as another. But avoid the broken or
47070 # incompatible versions:
47071 # SysV /etc/install, /usr/sbin/install
47072 # SunOS /usr/etc/install
47073 # IRIX /sbin/install
47075 # AmigaOS /C/install, which installs bootblocks on floppy discs
47076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47079 # OS/2's system install, which has a completely different semantic
47080 # ./install, which can be erroneously created by make from ./install.sh.
47081 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47082 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47083 if test -z "$INSTALL"; then
47084 if test "${ac_cv_path_install+set}" = set; then
47085 echo $ECHO_N "(cached) $ECHO_C" >&6
47087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47088 for as_dir
in $PATH
47091 test -z "$as_dir" && as_dir
=.
47092 # Account for people who put trailing slashes in PATH elements.
47094 .
/ | .
// | /cC
/* | \
47095 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47096 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47099 # OSF1 and SCO ODT 3.0 have their own names for install.
47100 # Don't use installbsd from OSF since it installs stuff as root
47102 for ac_prog
in ginstall scoinst
install; do
47103 for ac_exec_ext
in '' $ac_executable_extensions; do
47104 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47105 if test $ac_prog = install &&
47106 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47107 # AIX install. It has an incompatible calling convention.
47109 elif test $ac_prog = install &&
47110 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47111 # program-specific install script used by HP pwplus--don't use.
47114 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47126 if test "${ac_cv_path_install+set}" = set; then
47127 INSTALL
=$ac_cv_path_install
47129 # As a last resort, use the slow shell script. We don't cache a
47130 # path for INSTALL within a source directory, because that will
47131 # break other packages using the cache if that directory is
47132 # removed, or if the path is relative.
47133 INSTALL
=$ac_install_sh
47136 echo "$as_me:$LINENO: result: $INSTALL" >&5
47137 echo "${ECHO_T}$INSTALL" >&6
47139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47140 # It thinks the first close brace ends the variable substitution.
47141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47145 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47147 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47150 if test "$LN_S" = "ln -s"; then
47151 echo "$as_me:$LINENO: result: yes" >&5
47152 echo "${ECHO_T}yes" >&6
47154 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47155 echo "${ECHO_T}no, using $LN_S" >&6
47159 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47161 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47162 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47165 cat >conftest.
make <<\_ACEOF
47167 @
echo 'ac_maketemp="$(MAKE)"'
47169 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47170 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47171 if test -n "$ac_maketemp"; then
47172 eval ac_cv_prog_make_
${ac_make}_set
=yes
47174 eval ac_cv_prog_make_
${ac_make}_set
=no
47176 rm -f conftest.
make
47178 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47179 echo "$as_me:$LINENO: result: yes" >&5
47180 echo "${ECHO_T}yes" >&6
47183 echo "$as_me:$LINENO: result: no" >&5
47184 echo "${ECHO_T}no" >&6
47185 SET_MAKE
="MAKE=${MAKE-make}"
47190 if test -n "$ac_tool_prefix"; then
47191 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47192 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47193 echo "$as_me:$LINENO: checking for $ac_word" >&5
47194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47195 if test "${ac_cv_prog_AR+set}" = set; then
47196 echo $ECHO_N "(cached) $ECHO_C" >&6
47198 if test -n "$AR"; then
47199 ac_cv_prog_AR
="$AR" # Let the user override the test.
47201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47202 for as_dir
in $PATH
47205 test -z "$as_dir" && as_dir
=.
47206 for ac_exec_ext
in '' $ac_executable_extensions; do
47207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47208 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47218 if test -n "$AR"; then
47219 echo "$as_me:$LINENO: result: $AR" >&5
47220 echo "${ECHO_T}$AR" >&6
47222 echo "$as_me:$LINENO: result: no" >&5
47223 echo "${ECHO_T}no" >&6
47227 if test -z "$ac_cv_prog_AR"; then
47229 # Extract the first word of "ar", so it can be a program name with args.
47230 set dummy
ar; ac_word
=$2
47231 echo "$as_me:$LINENO: checking for $ac_word" >&5
47232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47233 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47236 if test -n "$ac_ct_AR"; then
47237 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47240 for as_dir
in $PATH
47243 test -z "$as_dir" && as_dir
=.
47244 for ac_exec_ext
in '' $ac_executable_extensions; do
47245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47246 ac_cv_prog_ac_ct_AR
="ar"
47247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47253 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47256 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47257 if test -n "$ac_ct_AR"; then
47258 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47259 echo "${ECHO_T}$ac_ct_AR" >&6
47261 echo "$as_me:$LINENO: result: no" >&5
47262 echo "${ECHO_T}no" >&6
47267 AR
="$ac_cv_prog_AR"
47270 if test -n "$ac_tool_prefix"; then
47271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47272 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47273 echo "$as_me:$LINENO: checking for $ac_word" >&5
47274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47275 if test "${ac_cv_prog_STRIP+set}" = set; then
47276 echo $ECHO_N "(cached) $ECHO_C" >&6
47278 if test -n "$STRIP"; then
47279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47282 for as_dir
in $PATH
47285 test -z "$as_dir" && as_dir
=.
47286 for ac_exec_ext
in '' $ac_executable_extensions; do
47287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47288 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47297 STRIP
=$ac_cv_prog_STRIP
47298 if test -n "$STRIP"; then
47299 echo "$as_me:$LINENO: result: $STRIP" >&5
47300 echo "${ECHO_T}$STRIP" >&6
47302 echo "$as_me:$LINENO: result: no" >&5
47303 echo "${ECHO_T}no" >&6
47307 if test -z "$ac_cv_prog_STRIP"; then
47309 # Extract the first word of "strip", so it can be a program name with args.
47310 set dummy strip
; ac_word
=$2
47311 echo "$as_me:$LINENO: checking for $ac_word" >&5
47312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 if test -n "$ac_ct_STRIP"; then
47317 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47320 for as_dir
in $PATH
47323 test -z "$as_dir" && as_dir
=.
47324 for ac_exec_ext
in '' $ac_executable_extensions; do
47325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47326 ac_cv_prog_ac_ct_STRIP
="strip"
47327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47333 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47336 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47337 if test -n "$ac_ct_STRIP"; then
47338 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47339 echo "${ECHO_T}$ac_ct_STRIP" >&6
47341 echo "$as_me:$LINENO: result: no" >&5
47342 echo "${ECHO_T}no" >&6
47347 STRIP
="$ac_cv_prog_STRIP"
47350 if test -n "$ac_tool_prefix"; then
47351 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47352 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47353 echo "$as_me:$LINENO: checking for $ac_word" >&5
47354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47355 if test "${ac_cv_prog_NM+set}" = set; then
47356 echo $ECHO_N "(cached) $ECHO_C" >&6
47358 if test -n "$NM"; then
47359 ac_cv_prog_NM
="$NM" # Let the user override the test.
47361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47362 for as_dir
in $PATH
47365 test -z "$as_dir" && as_dir
=.
47366 for ac_exec_ext
in '' $ac_executable_extensions; do
47367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47368 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47378 if test -n "$NM"; then
47379 echo "$as_me:$LINENO: result: $NM" >&5
47380 echo "${ECHO_T}$NM" >&6
47382 echo "$as_me:$LINENO: result: no" >&5
47383 echo "${ECHO_T}no" >&6
47387 if test -z "$ac_cv_prog_NM"; then
47389 # Extract the first word of "nm", so it can be a program name with args.
47390 set dummy nm
; ac_word
=$2
47391 echo "$as_me:$LINENO: checking for $ac_word" >&5
47392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47393 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47394 echo $ECHO_N "(cached) $ECHO_C" >&6
47396 if test -n "$ac_ct_NM"; then
47397 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47400 for as_dir
in $PATH
47403 test -z "$as_dir" && as_dir
=.
47404 for ac_exec_ext
in '' $ac_executable_extensions; do
47405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47406 ac_cv_prog_ac_ct_NM
="nm"
47407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47413 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47416 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47417 if test -n "$ac_ct_NM"; then
47418 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47419 echo "${ECHO_T}$ac_ct_NM" >&6
47421 echo "$as_me:$LINENO: result: no" >&5
47422 echo "${ECHO_T}no" >&6
47427 NM
="$ac_cv_prog_NM"
47431 case ${BAKEFILE_HOST} in
47433 INSTALL_DIR
="mkdir -p"
47435 *) INSTALL_DIR
="$INSTALL -d"
47441 case ${BAKEFILE_HOST} in
47442 *-*-cygwin* | *-*-mingw32* )
47443 LDFLAGS_GUI
="-mwindows"
47449 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47450 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47451 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47452 echo $ECHO_N "(cached) $ECHO_C" >&6
47455 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47456 egrep -s GNU
> /dev
/null
); then
47457 bakefile_cv_prog_makeisgnu
="yes"
47459 bakefile_cv_prog_makeisgnu
="no"
47463 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47464 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47466 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47483 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47484 case "${BAKEFILE_HOST}" in
47491 *-pc-os2_emx | *-pc-os2-emx )
47501 powerpc
-apple-macos* )
47510 case "$BAKEFILE_FORCE_PLATFORM" in
47531 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47532 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47533 { (exit 1); exit 1; }; }
47548 # Check whether --enable-omf or --disable-omf was given.
47549 if test "${enable_omf+set}" = set; then
47550 enableval
="$enable_omf"
47551 bk_os2_use_omf
="$enableval"
47554 case "${BAKEFILE_HOST}" in
47556 if test "x$GCC" = "xyes"; then
47557 CFLAGS
="$CFLAGS -fno-common"
47558 CXXFLAGS
="$CXXFLAGS -fno-common"
47560 if test "x$XLCC" = "xyes"; then
47561 CFLAGS
="$CFLAGS -qnocommon"
47562 CXXFLAGS
="$CXXFLAGS -qnocommon"
47566 *-pc-os2_emx | *-pc-os2-emx )
47567 if test "x$bk_os2_use_omf" = "xyes" ; then
47570 LDFLAGS
="-Zomf $LDFLAGS"
47571 CFLAGS
="-Zomf $CFLAGS"
47572 CXXFLAGS
="-Zomf $CXXFLAGS"
47580 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47586 SO_SUFFIX_MODULE
="so"
47591 DLLPREFIX_MODULE
=""
47595 case "${BAKEFILE_HOST}" in
47598 SO_SUFFIX_MODULE
="sl"
47602 SO_SUFFIX_MODULE
="a"
47606 SO_SUFFIX_MODULE
="dll"
47607 DLLIMP_SUFFIX
="dll.a"
47614 SO_SUFFIX_MODULE
="dll"
47615 DLLIMP_SUFFIX
="dll.a"
47625 *-pc-os2_emx | *-pc-os2-emx )
47627 SO_SUFFIX_MODULE
="dll"
47628 DLLIMP_SUFFIX
=$OS2_LIBEXT
47632 LIBEXT
=".$OS2_LIBEXT"
47637 SO_SUFFIX_MODULE
="bundle"
47641 if test "x$DLLIMP_SUFFIX" = "x" ; then
47642 DLLIMP_SUFFIX
="$SO_SUFFIX"
47657 if test "x$GCC" = "xyes"; then
47661 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47662 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47665 case "${BAKEFILE_HOST}" in
47667 if test "x$GCC" != "xyes"; then
47668 LDFLAGS
="$LDFLAGS -L/usr/lib"
47670 SHARED_LD_CC
="${CC} -b -o"
47671 SHARED_LD_CXX
="${CXX} -b -o"
47677 if test "x$GCC" != "xyes"; then
47678 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47679 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47680 if test "${bakefile_cv_prog_icc+set}" = set; then
47681 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 cat >conftest.
$ac_ext <<_ACEOF
47687 cat confdefs.h
>>conftest.
$ac_ext
47688 cat >>conftest.
$ac_ext <<_ACEOF
47689 /* end confdefs.h. */
47695 #ifndef __INTEL_COMPILER
47703 rm -f conftest.
$ac_objext
47704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47705 (eval $ac_compile) 2>conftest.er1
47707 grep -v '^ *+' conftest.er1
>conftest.err
47709 cat conftest.err
>&5
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); } &&
47712 { ac_try
='test -z "$ac_c_werror_flag"
47713 || test ! -s conftest.err'
47714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47715 (eval $ac_try) 2>&5
47717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47718 (exit $ac_status); }; } &&
47719 { ac_try
='test -s conftest.$ac_objext'
47720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721 (eval $ac_try) 2>&5
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); }; }; then
47725 bakefile_cv_prog_icc
=yes
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.
$ac_ext >&5
47730 bakefile_cv_prog_icc
=no
47733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47736 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47737 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47738 if test "$bakefile_cv_prog_icc" = "yes"; then
47745 if test "x$GCC" != xyes
; then
47746 SHARED_LD_CC
="${CC} -G -o"
47747 SHARED_LD_CXX
="${CXX} -G -o"
47755 cat <<EOF >shared-ld-sh
47757 #-----------------------------------------------------------------------------
47758 #-- Name: distrib/mac/shared-ld-sh
47759 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47760 #-- Author: Gilles Depeyrot
47761 #-- Copyright: (c) 2002 Gilles Depeyrot
47762 #-- Licence: any use permitted
47763 #-----------------------------------------------------------------------------
47768 linking_flag="-dynamiclib"
47769 ldargs="-r -keep_private_externs -nostdlib"
47771 while test ${D}# -gt 0; do
47778 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47779 # collect these options and values
47780 args="${D}{args} ${D}1 ${D}2"
47785 # collect these load args
47786 ldargs="${D}{ldargs} ${D}1"
47789 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47790 # collect these options
47791 args="${D}{args} ${D}1"
47794 -dynamiclib|-bundle)
47795 linking_flag="${D}1"
47799 echo "shared-ld: unhandled option '${D}1'"
47803 *.o | *.a | *.dylib)
47804 # collect object files
47805 objects="${D}{objects} ${D}1"
47809 echo "shared-ld: unhandled argument '${D}1'"
47820 # Link one module containing all the others
47822 if test ${D}{verbose} = 1; then
47823 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47825 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47829 # Link the shared library from the single module created, but only if the
47830 # previous command didn't fail:
47832 if test ${D}{status} = 0; then
47833 if test ${D}{verbose} = 1; then
47834 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47836 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47841 # Remove intermediate module
47843 rm -f master.${D}${D}.o
47848 chmod +x shared
-ld-sh
47850 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47851 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47854 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47855 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47856 if test "${bakefile_cv_gcc31+set}" = set; then
47857 echo $ECHO_N "(cached) $ECHO_C" >&6
47860 cat >conftest.
$ac_ext <<_ACEOF
47863 cat confdefs.h
>>conftest.
$ac_ext
47864 cat >>conftest.
$ac_ext <<_ACEOF
47865 /* end confdefs.h. */
47871 #if (__GNUC__ < 3) || \
47872 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47880 rm -f conftest.
$ac_objext
47881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47882 (eval $ac_compile) 2>conftest.er1
47884 grep -v '^ *+' conftest.er1
>conftest.err
47886 cat conftest.err
>&5
47887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888 (exit $ac_status); } &&
47889 { ac_try
='test -z "$ac_c_werror_flag"
47890 || test ! -s conftest.err'
47891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47892 (eval $ac_try) 2>&5
47894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47895 (exit $ac_status); }; } &&
47896 { ac_try
='test -s conftest.$ac_objext'
47897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47898 (eval $ac_try) 2>&5
47900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47901 (exit $ac_status); }; }; then
47903 bakefile_cv_gcc31
=yes
47906 echo "$as_me: failed program was:" >&5
47907 sed 's/^/| /' conftest.
$ac_ext >&5
47910 bakefile_cv_gcc31
=no
47914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47917 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47918 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47919 if test "$bakefile_cv_gcc31" = "no"; then
47920 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47921 SHARED_LD_CXX
="$SHARED_LD_CC"
47923 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47924 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47927 if test "x$GCC" == "xyes"; then
47928 PIC_FLAG
="-dynamic -fPIC"
47930 if test "x$XLCC" = "xyes"; then
47931 PIC_FLAG
="-dynamic -DPIC"
47936 if test "x$GCC" = "xyes"; then
47939 case "${BAKEFILE_HOST}" in
47941 LD_EXPFULL
="-Wl,-bexpfull"
47945 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47946 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47948 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47949 set dummy makeC
++SharedLib
; ac_word
=$2
47950 echo "$as_me:$LINENO: checking for $ac_word" >&5
47951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47952 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47953 echo $ECHO_N "(cached) $ECHO_C" >&6
47955 if test -n "$AIX_CXX_LD"; then
47956 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47959 for as_dir
in $PATH
47962 test -z "$as_dir" && as_dir
=.
47963 for ac_exec_ext
in '' $ac_executable_extensions; do
47964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47965 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47972 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47975 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47976 if test -n "$AIX_CXX_LD"; then
47977 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47978 echo "${ECHO_T}$AIX_CXX_LD" >&6
47980 echo "$as_me:$LINENO: result: no" >&5
47981 echo "${ECHO_T}no" >&6
47984 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47985 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47990 SHARED_LD_CC
="${LD} -nostart -o"
47991 SHARED_LD_CXX
="${LD} -nostart -o"
47995 if test "x$GCC" != "xyes"; then
48000 *-*-cygwin* | *-*-mingw32* )
48002 SHARED_LD_CC
="\$(CC) -shared -o"
48003 SHARED_LD_CXX
="\$(CXX) -shared -o"
48007 *-pc-os2_emx | *-pc-os2-emx )
48008 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48009 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48013 cat <<EOF >dllar.sh
48016 # dllar - a tool to build both a .dll and an .a file
48017 # from a set of object (.o) files for EMX/OS2.
48019 # Written by Andrew Zabolotny, bit@freya.etu.ru
48020 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48022 # This script will accept a set of files on the command line.
48023 # All the public symbols from the .o files will be exported into
48024 # a .DEF file, then linker will be run (through gcc) against them to
48025 # build a shared library consisting of all given .o files. All libraries
48026 # (.a) will be first decompressed into component .o files then act as
48027 # described above. You can optionally give a description (-d "description")
48028 # which will be put into .DLL. To see the list of accepted options (as well
48029 # as command-line format) simply run this program without options. The .DLL
48030 # is built to be imported by name (there is no guarantee that new versions
48031 # of the library you build will have same ordinals for same symbols).
48033 # dllar is free software; you can redistribute it and/or modify
48034 # it under the terms of the GNU General Public License as published by
48035 # the Free Software Foundation; either version 2, or (at your option)
48036 # any later version.
48038 # dllar is distributed in the hope that it will be useful,
48039 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48040 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48041 # GNU General Public License for more details.
48043 # You should have received a copy of the GNU General Public License
48044 # along with dllar; see the file COPYING. If not, write to the Free
48045 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48048 # To successfuly run this program you will need:
48049 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48050 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48052 # (used to build the .dll)
48054 # (used to create .def file from .o files)
48056 # (used to create .a file from .def file)
48057 # - GNU text utilites (cat, sort, uniq)
48058 # used to process emxexp output
48059 # - GNU file utilities (mv, rm)
48061 # - lxlite (optional, see flag below)
48062 # (used for general .dll cleanup)
48069 # basnam, variant of basename, which does _not_ remove the path, _iff_
48070 # second argument (suffix to remove) is given
48074 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48077 echo ${D}1 | sed 's/'${D}2'${D}//'
48080 echo "error in basnam ${D}*"
48086 # Cleanup temporary files and output
48089 for i in ${D}inputFiles ; do
48092 rm -rf \`basnam ${D}i !\`
48099 # Kill result in case of failure as there is just to many stupid make/nmake
48100 # things out there which doesn't do this.
48101 if [ ${D}# -eq 0 ]; then
48102 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48106 # Print usage and exit script with rc=1.
48108 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48109 echo ' [-name-mangler-script script.sh]'
48110 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48111 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48112 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48113 echo ' [*.o] [*.a]'
48114 echo '*> "output_file" should have no extension.'
48115 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48116 echo ' The import library name is derived from this and is set to "name".a,'
48117 echo ' unless overridden by -import'
48118 echo '*> "importlib_name" should have no extension.'
48119 echo ' If it has the .o, or .a extension, it is automatically removed.'
48120 echo ' This name is used as the import library name and may be longer and'
48121 echo ' more descriptive than the DLL name which has to follow the old '
48122 echo ' 8.3 convention of FAT.'
48123 echo '*> "script.sh may be given to override the output_file name by a'
48124 echo ' different name. It is mainly useful if the regular make process'
48125 echo ' of some package does not take into account OS/2 restriction of'
48126 echo ' DLL name lengths. It takes the importlib name as input and is'
48127 echo ' supposed to procude a shorter name as output. The script should'
48128 echo ' expect to get importlib_name without extension and should produce'
48129 echo ' a (max.) 8 letter name without extension.'
48130 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48131 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48132 echo ' These flags will be put at the start of GCC command line.'
48133 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48134 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48135 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48136 echo ' If the last character of a symbol is "*", all symbols beginning'
48137 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48138 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48139 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48140 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48141 echo ' C runtime DLLs.'
48142 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48143 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48144 echo ' unchanged to GCC at the end of command line.'
48145 echo '*> If you create a DLL from a library and you do not specify -o,'
48146 echo ' the basename for DLL and import library will be set to library name,'
48147 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48148 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48149 echo ' library will be renamed into gcc_s.a.'
48152 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48153 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48158 # Execute a command.
48159 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48160 # @Uses Whatever CleanUp() uses.
48166 if [ ${D}rcCmd -ne 0 ]; then
48167 echo "command failed, exit code="${D}rcCmd
48182 CFLAGS="-s -Zcrtdll"
48184 EXPORT_BY_ORDINALS=0
48189 case ${D}curDirS in
48193 curDirS=${D}{curDirS}"/"
48196 # Parse commandline
48199 while [ ${D}1 ]; do
48202 EXPORT_BY_ORDINALS=1;
48212 -name-mangler-script)
48233 exclude_symbols=${D}{exclude_symbols}${D}1" "
48237 library_flags=${D}{library_flags}${D}1" "
48256 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48259 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48260 if [ ${D}omfLinking -eq 1 ]; then
48261 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48263 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48268 if [ ${D}libsToLink -ne 0 ]; then
48269 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48271 for file in ${D}1 ; do
48272 if [ -f ${D}file ]; then
48273 inputFiles="${D}{inputFiles} ${D}file"
48277 if [ ${D}found -eq 0 ]; then
48278 echo "ERROR: No file(s) found: "${D}1
48285 done # iterate cmdline words
48288 if [ -z "${D}inputFiles" ]; then
48289 echo "dllar: no input files"
48293 # Now extract all .o files from .a files
48295 for file in ${D}inputFiles ; do
48306 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48311 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48313 if [ ${D}? -ne 0 ]; then
48314 echo "Failed to create subdirectory ./${D}dirname"
48318 # Append '!' to indicate archive
48319 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48320 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48323 for subfile in ${D}dirname/*.o* ; do
48324 if [ -f ${D}subfile ]; then
48326 if [ -s ${D}subfile ]; then
48327 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48328 newInputFiles="${D}newInputFiles ${D}subfile"
48332 if [ ${D}found -eq 0 ]; then
48333 echo "WARNING: there are no files in archive \\'${D}file\\'"
48337 newInputFiles="${D}{newInputFiles} ${D}file"
48341 inputFiles="${D}newInputFiles"
48343 # Output filename(s).
48345 if [ -z ${D}outFile ]; then
48347 set outFile ${D}inputFiles; outFile=${D}2
48350 # If it is an archive, remove the '!' and the '_%' suffixes
48351 case ${D}outFile in
48353 outFile=\`basnam ${D}outFile _%!\`
48358 case ${D}outFile in
48360 outFile=\`basnam ${D}outFile .dll\`
48363 outFile=\`basnam ${D}outFile .DLL\`
48366 outFile=\`basnam ${D}outFile .o\`
48369 outFile=\`basnam ${D}outFile .obj\`
48372 outFile=\`basnam ${D}outFile .a\`
48375 outFile=\`basnam ${D}outFile .lib\`
48380 case ${D}outimpFile in
48382 outimpFile=\`basnam ${D}outimpFile .a\`
48385 outimpFile=\`basnam ${D}outimpFile .lib\`
48390 if [ -z ${D}outimpFile ]; then
48391 outimpFile=${D}outFile
48393 defFile="${D}{outFile}.def"
48394 arcFile="${D}{outimpFile}.a"
48395 arcFile2="${D}{outimpFile}.lib"
48397 #create ${D}dllFile as something matching 8.3 restrictions,
48398 if [ -z ${D}renameScript ] ; then
48399 dllFile="${D}outFile"
48401 dllFile=\`${D}renameScript ${D}outimpFile\`
48404 if [ ${D}do_backup -ne 0 ] ; then
48405 if [ -f ${D}arcFile ] ; then
48406 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48408 if [ -f ${D}arcFile2 ] ; then
48409 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48413 # Extract public symbols from all the object files.
48414 tmpdefFile=${D}{defFile}_%
48415 rm -f ${D}tmpdefFile
48416 for file in ${D}inputFiles ; do
48421 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48426 # Create the def file.
48428 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48429 dllFile="${D}{dllFile}.dll"
48430 if [ ! -z ${D}description ]; then
48431 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48433 echo "EXPORTS" >> ${D}defFile
48435 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48436 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48438 # Checks if the export is ok or not.
48439 for word in ${D}exclude_symbols; do
48440 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48441 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48445 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48446 sed "=" < ${D}tmpdefFile | \\
48450 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48452 ' > ${D}{tmpdefFile}%
48453 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48455 rm -f ${D}{tmpdefFile}%
48457 cat ${D}tmpdefFile >> ${D}defFile
48458 rm -f ${D}tmpdefFile
48460 # Do linking, create implib, and apply lxlite.
48462 for file in ${D}inputFiles ; do
48467 gccCmdl="${D}gccCmdl ${D}file"
48471 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48472 touch "${D}{outFile}.dll"
48474 doCommand "emximp -o ${D}arcFile ${D}defFile"
48475 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48477 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48480 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48482 doCommand "emxomf -s -l ${D}arcFile"
48492 powerpc
-apple-macos* | \
48493 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48504 if test "x$PIC_FLAG" != "x" ; then
48505 PIC_FLAG
="$PIC_FLAG -DPIC"
48508 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48509 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48511 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48512 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48531 case "${BAKEFILE_HOST}" in
48532 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48533 SONAME_FLAG
="-Wl,-soname,"
48567 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48568 if test "${enable_dependency_tracking+set}" = set; then
48569 enableval
="$enable_dependency_tracking"
48570 bk_use_trackdeps
="$enableval"
48573 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48574 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48576 if test "x$bk_use_trackdeps" = "xno" ; then
48578 echo "$as_me:$LINENO: result: disabled" >&5
48579 echo "${ECHO_T}disabled" >&6
48583 if test "x$GCC" = "xyes"; then
48585 case "${BAKEFILE_HOST}" in
48587 DEPSFLAG
="-no-cpp-precomp -MMD"
48593 echo "$as_me:$LINENO: result: gcc" >&5
48594 echo "${ECHO_T}gcc" >&6
48595 elif test "x$MWCC" = "xyes"; then
48598 echo "$as_me:$LINENO: result: mwcc" >&5
48599 echo "${ECHO_T}mwcc" >&6
48600 elif test "x$SUNCC" = "xyes"; then
48603 echo "$as_me:$LINENO: result: Sun cc" >&5
48604 echo "${ECHO_T}Sun cc" >&6
48605 elif test "x$SGICC" = "xyes"; then
48608 echo "$as_me:$LINENO: result: SGI cc" >&5
48609 echo "${ECHO_T}SGI cc" >&6
48610 elif test "x$HPCC" = "xyes"; then
48613 echo "$as_me:$LINENO: result: HP cc" >&5
48614 echo "${ECHO_T}HP cc" >&6
48615 elif test "x$COMPAQCC" = "xyes"; then
48618 echo "$as_me:$LINENO: result: Compaq cc" >&5
48619 echo "${ECHO_T}Compaq cc" >&6
48622 echo "$as_me:$LINENO: result: none" >&5
48623 echo "${ECHO_T}none" >&6
48626 if test $DEPS_TRACKING = 1 ; then
48632 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48633 # script. It is used to track C/C++ files dependencies in portable way.
48635 # Permission is given to use this file in any way.
48637 DEPSMODE=${DEPSMODE}
48639 DEPSFLAG="${DEPSFLAG}"
48641 mkdir -p ${D}DEPSDIR
48643 if test ${D}DEPSMODE = gcc ; then
48644 ${D}* ${D}{DEPSFLAG}
48646 if test ${D}{status} != 0 ; then
48649 # move created file to the location we want it in:
48650 while test ${D}# -gt 0; do
48664 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48665 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48666 if test -f ${D}depfile ; then
48667 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48670 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48671 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48672 if test ! -f ${D}depfile ; then
48673 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48674 depfile="${D}objfile.d"
48676 if test -f ${D}depfile ; then
48677 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48682 elif test ${D}DEPSMODE = mwcc ; then
48683 ${D}* || exit ${D}?
48684 # Run mwcc again with -MM and redirect into the dep file we want
48685 # NOTE: We can't use shift here because we need ${D}* to be valid
48687 for arg in ${D}* ; do
48688 if test "${D}prevarg" = "-o"; then
48701 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48703 elif test ${D}DEPSMODE = unixcc; then
48704 ${D}* || exit ${D}?
48705 # Run compiler again with deps flag and redirect into the dep file.
48706 # It doesn't work if the '-o FILE' option is used, but without it the
48707 # dependency file will contain the wrong name for the object. So it is
48708 # removed from the command line, and the dep file is fixed with sed.
48710 while test ${D}# -gt 0; do
48717 eval arg${D}#=\\${D}1
48718 cmd="${D}cmd \\${D}arg${D}#"
48723 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48738 case ${BAKEFILE_HOST} in
48739 *-*-cygwin* | *-*-mingw32* )
48740 if test -n "$ac_tool_prefix"; then
48741 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48742 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48743 echo "$as_me:$LINENO: checking for $ac_word" >&5
48744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48745 if test "${ac_cv_prog_WINDRES+set}" = set; then
48746 echo $ECHO_N "(cached) $ECHO_C" >&6
48748 if test -n "$WINDRES"; then
48749 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48752 for as_dir
in $PATH
48755 test -z "$as_dir" && as_dir
=.
48756 for ac_exec_ext
in '' $ac_executable_extensions; do
48757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48758 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48767 WINDRES
=$ac_cv_prog_WINDRES
48768 if test -n "$WINDRES"; then
48769 echo "$as_me:$LINENO: result: $WINDRES" >&5
48770 echo "${ECHO_T}$WINDRES" >&6
48772 echo "$as_me:$LINENO: result: no" >&5
48773 echo "${ECHO_T}no" >&6
48777 if test -z "$ac_cv_prog_WINDRES"; then
48778 ac_ct_WINDRES
=$WINDRES
48779 # Extract the first word of "windres", so it can be a program name with args.
48780 set dummy windres
; ac_word
=$2
48781 echo "$as_me:$LINENO: checking for $ac_word" >&5
48782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48783 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48784 echo $ECHO_N "(cached) $ECHO_C" >&6
48786 if test -n "$ac_ct_WINDRES"; then
48787 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48790 for as_dir
in $PATH
48793 test -z "$as_dir" && as_dir
=.
48794 for ac_exec_ext
in '' $ac_executable_extensions; do
48795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48796 ac_cv_prog_ac_ct_WINDRES
="windres"
48797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48805 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48806 if test -n "$ac_ct_WINDRES"; then
48807 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48808 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48810 echo "$as_me:$LINENO: result: no" >&5
48811 echo "${ECHO_T}no" >&6
48814 WINDRES
=$ac_ct_WINDRES
48816 WINDRES
="$ac_cv_prog_WINDRES"
48821 *-*-darwin* | powerpc
-apple-macos* )
48822 # Extract the first word of "Rez", so it can be a program name with args.
48823 set dummy Rez
; ac_word
=$2
48824 echo "$as_me:$LINENO: checking for $ac_word" >&5
48825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48826 if test "${ac_cv_prog_REZ+set}" = set; then
48827 echo $ECHO_N "(cached) $ECHO_C" >&6
48829 if test -n "$REZ"; then
48830 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48833 for as_dir
in $PATH
48836 test -z "$as_dir" && as_dir
=.
48837 for ac_exec_ext
in '' $ac_executable_extensions; do
48838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48839 ac_cv_prog_REZ
="Rez"
48840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48846 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48849 REZ
=$ac_cv_prog_REZ
48850 if test -n "$REZ"; then
48851 echo "$as_me:$LINENO: result: $REZ" >&5
48852 echo "${ECHO_T}$REZ" >&6
48854 echo "$as_me:$LINENO: result: no" >&5
48855 echo "${ECHO_T}no" >&6
48858 # Extract the first word of "SetFile", so it can be a program name with args.
48859 set dummy SetFile
; ac_word
=$2
48860 echo "$as_me:$LINENO: checking for $ac_word" >&5
48861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48862 if test "${ac_cv_prog_SETFILE+set}" = set; then
48863 echo $ECHO_N "(cached) $ECHO_C" >&6
48865 if test -n "$SETFILE"; then
48866 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48869 for as_dir
in $PATH
48872 test -z "$as_dir" && as_dir
=.
48873 for ac_exec_ext
in '' $ac_executable_extensions; do
48874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48875 ac_cv_prog_SETFILE
="SetFile"
48876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48882 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48885 SETFILE
=$ac_cv_prog_SETFILE
48886 if test -n "$SETFILE"; then
48887 echo "$as_me:$LINENO: result: $SETFILE" >&5
48888 echo "${ECHO_T}$SETFILE" >&6
48890 echo "$as_me:$LINENO: result: no" >&5
48891 echo "${ECHO_T}no" >&6
48902 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48905 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48909 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48910 if test "${enable_precomp_headers+set}" = set; then
48911 enableval
="$enable_precomp_headers"
48912 bk_use_pch
="$enableval"
48919 case ${BAKEFILE_HOST} in
48925 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48926 if test "x$GCC" = "xyes"; then
48927 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48928 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48929 cat >conftest.
$ac_ext <<_ACEOF
48932 cat confdefs.h
>>conftest.
$ac_ext
48933 cat >>conftest.
$ac_ext <<_ACEOF
48934 /* end confdefs.h. */
48940 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48941 There is no PCH support
48944 There is no PCH support
48946 #if (__GNUC__ == 3) && \
48947 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48948 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48949 ( defined(__INTEL_COMPILER) )
48950 There is no PCH support
48957 rm -f conftest.
$ac_objext
48958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48959 (eval $ac_compile) 2>conftest.er1
48961 grep -v '^ *+' conftest.er1
>conftest.err
48963 cat conftest.err
>&5
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); } &&
48966 { ac_try
='test -z "$ac_c_werror_flag"
48967 || test ! -s conftest.err'
48968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969 (eval $ac_try) 2>&5
48971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972 (exit $ac_status); }; } &&
48973 { ac_try
='test -s conftest.$ac_objext'
48974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975 (eval $ac_try) 2>&5
48977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 (exit $ac_status); }; }; then
48980 echo "$as_me:$LINENO: result: yes" >&5
48981 echo "${ECHO_T}yes" >&6
48985 echo "$as_me: failed program was:" >&5
48986 sed 's/^/| /' conftest.
$ac_ext >&5
48989 cat >conftest.
$ac_ext <<_ACEOF
48992 cat confdefs.h
>>conftest.
$ac_ext
48993 cat >>conftest.
$ac_ext <<_ACEOF
48994 /* end confdefs.h. */
49000 #if !defined(__INTEL_COMPILER) || \
49001 (__INTEL_COMPILER < 800)
49002 There is no PCH support
49009 rm -f conftest.
$ac_objext
49010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49011 (eval $ac_compile) 2>conftest.er1
49013 grep -v '^ *+' conftest.er1
>conftest.err
49015 cat conftest.err
>&5
49016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49017 (exit $ac_status); } &&
49018 { ac_try
='test -z "$ac_c_werror_flag"
49019 || test ! -s conftest.err'
49020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49021 (eval $ac_try) 2>&5
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; } &&
49025 { ac_try
='test -s conftest.$ac_objext'
49026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49027 (eval $ac_try) 2>&5
49029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49030 (exit $ac_status); }; }; then
49032 echo "$as_me:$LINENO: result: yes" >&5
49033 echo "${ECHO_T}yes" >&6
49037 echo "$as_me: failed program was:" >&5
49038 sed 's/^/| /' conftest.
$ac_ext >&5
49041 echo "$as_me:$LINENO: result: no" >&5
49042 echo "${ECHO_T}no" >&6
49045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49049 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49053 cat <<EOF >bk-make-pch
49056 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49057 # script. It is used to generated precompiled headers.
49059 # Permission is given to use this file in any way.
49069 while test ${D}{#} -gt 0; do
49073 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49074 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49075 headerfile="${D}{incdir}/${D}{header}"
49078 -use-pch|-use_pch )
49083 if test ${D}add_to_cmdline = 1 ; then
49084 compiler="${D}{compiler} ${D}{1}"
49089 if test "x${D}{headerfile}" = "x" ; then
49090 echo "error: can't find header ${D}{header} in include paths" >&2
49092 if test -f ${D}{outfile} ; then
49093 rm -f ${D}{outfile}
49095 mkdir -p \`dirname ${D}{outfile}\`
49097 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49099 if test "x${GCC_PCH}" = "x1" ; then
49100 # can do this because gcc is >= 3.4:
49101 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49102 elif test "x${ICC_PCH}" = "x1" ; then
49103 filename=pch_gen-${D}${D}
49104 file=${D}{filename}.c
49105 dfile=${D}{filename}.d
49106 cat > ${D}file <<EOT
49107 #include "${D}header"
49109 # using -MF icc complains about differing command lines in creation/use
49110 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49111 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49112 rm -f ${D}file ${D}dfile ${D}{filename}.o
49118 chmod +x bk
-make-pch
49126 COND_BUILD_DEBUG
="#"
49127 if test "x$BUILD" = "xdebug" ; then
49128 COND_BUILD_DEBUG
=""
49131 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49132 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49133 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49136 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49137 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49138 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49141 COND_BUILD_DEBUG_UNICODE_0
="#"
49142 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49143 COND_BUILD_DEBUG_UNICODE_0
=""
49146 COND_BUILD_DEBUG_UNICODE_1
="#"
49147 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49148 COND_BUILD_DEBUG_UNICODE_1
=""
49151 COND_BUILD_RELEASE
="#"
49152 if test "x$BUILD" = "xrelease" ; then
49153 COND_BUILD_RELEASE
=""
49156 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49157 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49158 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49161 COND_BUILD_RELEASE_UNICODE_0
="#"
49162 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49163 COND_BUILD_RELEASE_UNICODE_0
=""
49166 COND_BUILD_RELEASE_UNICODE_1
="#"
49167 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49168 COND_BUILD_RELEASE_UNICODE_1
=""
49171 COND_DEBUG_FLAG_1
="#"
49172 if test "x$DEBUG_FLAG" = "x1" ; then
49173 COND_DEBUG_FLAG_1
=""
49176 COND_DEBUG_INFO_0
="#"
49177 if test "x$DEBUG_INFO" = "x0" ; then
49178 COND_DEBUG_INFO_0
=""
49181 COND_DEBUG_INFO_1
="#"
49182 if test "x$DEBUG_INFO" = "x1" ; then
49183 COND_DEBUG_INFO_1
=""
49186 COND_DEPS_TRACKING_0
="#"
49187 if test "x$DEPS_TRACKING" = "x0" ; then
49188 COND_DEPS_TRACKING_0
=""
49191 COND_DEPS_TRACKING_1
="#"
49192 if test "x$DEPS_TRACKING" = "x1" ; then
49193 COND_DEPS_TRACKING_1
=""
49197 if test "x$GCC_PCH" = "x1" ; then
49202 if test "x$ICC_PCH" = "x1" ; then
49206 COND_MONOLITHIC_0
="#"
49207 if test "x$MONOLITHIC" = "x0" ; then
49208 COND_MONOLITHIC_0
=""
49211 COND_MONOLITHIC_0_SHARED_0
="#"
49212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49213 COND_MONOLITHIC_0_SHARED_0
=""
49216 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49218 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49221 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49226 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49228 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49231 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49233 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49236 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49238 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49241 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49243 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49246 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49248 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49251 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49253 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49256 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49258 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49261 COND_MONOLITHIC_0_SHARED_1
="#"
49262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49263 COND_MONOLITHIC_0_SHARED_1
=""
49266 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49268 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49271 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49273 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49286 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49288 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49293 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49296 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49298 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49301 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49303 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49306 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49308 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49311 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49312 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49313 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49316 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49317 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49318 COND_MONOLITHIC_0_USE_ODBC_1
=""
49321 COND_MONOLITHIC_1
="#"
49322 if test "x$MONOLITHIC" = "x1" ; then
49323 COND_MONOLITHIC_1
=""
49326 COND_MONOLITHIC_1_SHARED_0
="#"
49327 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49328 COND_MONOLITHIC_1_SHARED_0
=""
49331 COND_MONOLITHIC_1_SHARED_1
="#"
49332 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49333 COND_MONOLITHIC_1_SHARED_1
=""
49336 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49337 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49338 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49341 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49342 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49343 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49346 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49347 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49348 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49351 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49352 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49353 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49356 COND_PLATFORM_MACOSX_1
="#"
49357 if test "x$PLATFORM_MACOSX" = "x1" ; then
49358 COND_PLATFORM_MACOSX_1
=""
49361 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49362 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49363 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49366 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49367 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49368 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49371 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49372 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49373 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49376 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49377 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49378 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49381 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49382 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49383 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49386 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49387 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49388 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49391 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49392 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49393 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49396 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49397 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49398 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49401 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49402 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49403 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49406 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49407 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49408 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49411 COND_PLATFORM_MACOS_1
="#"
49412 if test "x$PLATFORM_MACOS" = "x1" ; then
49413 COND_PLATFORM_MACOS_1
=""
49416 COND_PLATFORM_MAC_1
="#"
49417 if test "x$PLATFORM_MAC" = "x1" ; then
49418 COND_PLATFORM_MAC_1
=""
49421 COND_PLATFORM_MSDOS_0
="#"
49422 if test "x$PLATFORM_MSDOS" = "x0" ; then
49423 COND_PLATFORM_MSDOS_0
=""
49426 COND_PLATFORM_MSDOS_1
="#"
49427 if test "x$PLATFORM_MSDOS" = "x1" ; then
49428 COND_PLATFORM_MSDOS_1
=""
49431 COND_PLATFORM_OS2_1
="#"
49432 if test "x$PLATFORM_OS2" = "x1" ; then
49433 COND_PLATFORM_OS2_1
=""
49436 COND_PLATFORM_UNIX_0
="#"
49437 if test "x$PLATFORM_UNIX" = "x0" ; then
49438 COND_PLATFORM_UNIX_0
=""
49441 COND_PLATFORM_UNIX_1
="#"
49442 if test "x$PLATFORM_UNIX" = "x1" ; then
49443 COND_PLATFORM_UNIX_1
=""
49446 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49447 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49448 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49451 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49452 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49453 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49456 COND_PLATFORM_WIN32_0
="#"
49457 if test "x$PLATFORM_WIN32" = "x0" ; then
49458 COND_PLATFORM_WIN32_0
=""
49461 COND_PLATFORM_WIN32_1
="#"
49462 if test "x$PLATFORM_WIN32" = "x1" ; then
49463 COND_PLATFORM_WIN32_1
=""
49467 if test "x$SHARED" = "x0" ; then
49471 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49472 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49473 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49476 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49477 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49478 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49481 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49482 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49483 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49486 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49487 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49488 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49491 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49492 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49493 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49496 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49497 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49498 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49501 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49502 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49503 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49506 COND_SHARED_0_USE_XRC_1
="#"
49507 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49508 COND_SHARED_0_USE_XRC_1
=""
49511 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49512 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49513 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49516 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49517 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49518 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49521 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49522 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49523 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49526 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49527 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49528 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49532 if test "x$SHARED" = "x1" ; then
49536 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49537 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49538 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49541 COND_SHARED_1_USE_XRC_1
="#"
49542 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49543 COND_SHARED_1_USE_XRC_1
=""
49547 if test "x$TOOLKIT" = "x" ; then
49551 COND_TOOLKIT_COCOA
="#"
49552 if test "x$TOOLKIT" = "xCOCOA" ; then
49553 COND_TOOLKIT_COCOA
=""
49556 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49557 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49558 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49561 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49562 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49563 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49566 COND_TOOLKIT_DFB
="#"
49567 if test "x$TOOLKIT" = "xDFB" ; then
49568 COND_TOOLKIT_DFB
=""
49571 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49572 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49573 COND_TOOLKIT_DFB_USE_GUI_1
=""
49576 COND_TOOLKIT_GTK
="#"
49577 if test "x$TOOLKIT" = "xGTK" ; then
49578 COND_TOOLKIT_GTK
=""
49581 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49582 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49583 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49586 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49587 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49588 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49592 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49596 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49597 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49598 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49601 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49602 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49603 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49606 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49607 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49608 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49611 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49612 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49613 COND_TOOLKIT_GTK_USE_GUI_1
=""
49616 COND_TOOLKIT_MAC
="#"
49617 if test "x$TOOLKIT" = "xMAC" ; then
49618 COND_TOOLKIT_MAC
=""
49621 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49622 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49623 COND_TOOLKIT_MAC_USE_GUI_1
=""
49626 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49627 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49628 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49631 COND_TOOLKIT_MGL
="#"
49632 if test "x$TOOLKIT" = "xMGL" ; then
49633 COND_TOOLKIT_MGL
=""
49636 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49637 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49638 COND_TOOLKIT_MGL_USE_GUI_1
=""
49641 COND_TOOLKIT_MOTIF
="#"
49642 if test "x$TOOLKIT" = "xMOTIF" ; then
49643 COND_TOOLKIT_MOTIF
=""
49646 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49647 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49648 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49651 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49652 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49653 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49656 COND_TOOLKIT_MSW
="#"
49657 if test "x$TOOLKIT" = "xMSW" ; then
49658 COND_TOOLKIT_MSW
=""
49661 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49662 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49663 COND_TOOLKIT_MSW_USE_GUI_1
=""
49666 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49667 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49668 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49671 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49672 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49673 COND_TOOLKIT_MSW_WXUNIV_0
=""
49676 COND_TOOLKIT_PM
="#"
49677 if test "x$TOOLKIT" = "xPM" ; then
49681 COND_TOOLKIT_PM_USE_GUI_1
="#"
49682 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49683 COND_TOOLKIT_PM_USE_GUI_1
=""
49686 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49687 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49688 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49691 COND_TOOLKIT_WINCE
="#"
49692 if test "x$TOOLKIT" = "xWINCE" ; then
49693 COND_TOOLKIT_WINCE
=""
49696 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49697 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49698 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49701 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49702 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49703 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49706 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49707 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49708 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49711 COND_TOOLKIT_X11
="#"
49712 if test "x$TOOLKIT" = "xX11" ; then
49713 COND_TOOLKIT_X11
=""
49716 COND_TOOLKIT_X11_USE_GUI_1
="#"
49717 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49718 COND_TOOLKIT_X11_USE_GUI_1
=""
49722 if test "x$UNICODE" = "x1" ; then
49726 COND_USE_EXCEPTIONS_0
="#"
49727 if test "x$USE_EXCEPTIONS" = "x0" ; then
49728 COND_USE_EXCEPTIONS_0
=""
49731 COND_USE_EXCEPTIONS_1
="#"
49732 if test "x$USE_EXCEPTIONS" = "x1" ; then
49733 COND_USE_EXCEPTIONS_1
=""
49737 if test "x$USE_GUI" = "x0" ; then
49742 if test "x$USE_GUI" = "x1" ; then
49746 COND_USE_GUI_1_WXUNIV_0
="#"
49747 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49748 COND_USE_GUI_1_WXUNIV_0
=""
49751 COND_USE_GUI_1_WXUNIV_1
="#"
49752 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49753 COND_USE_GUI_1_WXUNIV_1
=""
49756 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49757 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49758 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49761 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49762 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49763 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49766 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49767 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49768 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49771 COND_USE_ODBC_1
="#"
49772 if test "x$USE_ODBC" = "x1" ; then
49776 COND_USE_OPENGL_1
="#"
49777 if test "x$USE_OPENGL" = "x1" ; then
49778 COND_USE_OPENGL_1
=""
49782 if test "x$USE_PCH" = "x1" ; then
49786 COND_USE_PLUGINS_0
="#"
49787 if test "x$USE_PLUGINS" = "x0" ; then
49788 COND_USE_PLUGINS_0
=""
49791 COND_USE_RTTI_0
="#"
49792 if test "x$USE_RTTI" = "x0" ; then
49796 COND_USE_RTTI_1
="#"
49797 if test "x$USE_RTTI" = "x1" ; then
49801 COND_USE_SOSYMLINKS_1
="#"
49802 if test "x$USE_SOSYMLINKS" = "x1" ; then
49803 COND_USE_SOSYMLINKS_1
=""
49806 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49807 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49808 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49811 COND_USE_SOVERLINUX_1
="#"
49812 if test "x$USE_SOVERLINUX" = "x1" ; then
49813 COND_USE_SOVERLINUX_1
=""
49816 COND_USE_SOVERSION_0
="#"
49817 if test "x$USE_SOVERSION" = "x0" ; then
49818 COND_USE_SOVERSION_0
=""
49821 COND_USE_SOVERSOLARIS_1
="#"
49822 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49823 COND_USE_SOVERSOLARIS_1
=""
49826 COND_USE_THREADS_0
="#"
49827 if test "x$USE_THREADS" = "x0" ; then
49828 COND_USE_THREADS_0
=""
49831 COND_USE_THREADS_1
="#"
49832 if test "x$USE_THREADS" = "x1" ; then
49833 COND_USE_THREADS_1
=""
49837 if test "x$USE_XRC" = "x1" ; then
49841 COND_WINDOWS_IMPLIB_1
="#"
49842 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49843 COND_WINDOWS_IMPLIB_1
=""
49846 COND_WITH_PLUGIN_SDL_1
="#"
49847 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49848 COND_WITH_PLUGIN_SDL_1
=""
49852 if test "x$WXUNIV" = "x0" ; then
49857 if test "x$WXUNIV" = "x1" ; then
49861 COND_WXUSE_EXPAT_BUILTIN
="#"
49862 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49863 COND_WXUSE_EXPAT_BUILTIN
=""
49866 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49867 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49868 COND_WXUSE_LIBJPEG_BUILTIN
=""
49871 COND_WXUSE_LIBPNG_BUILTIN
="#"
49872 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49873 COND_WXUSE_LIBPNG_BUILTIN
=""
49876 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49877 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49878 COND_WXUSE_LIBTIFF_BUILTIN
=""
49881 COND_WXUSE_ODBC_BUILTIN
="#"
49882 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49883 COND_WXUSE_ODBC_BUILTIN
=""
49886 COND_WXUSE_REGEX_BUILTIN
="#"
49887 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49888 COND_WXUSE_REGEX_BUILTIN
=""
49891 COND_WXUSE_ZLIB_BUILTIN
="#"
49892 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49893 COND_WXUSE_ZLIB_BUILTIN
=""
49898 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49899 { { 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
49900 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;}
49901 { (exit 1); exit 1; }; }
49904 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49905 { { 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
49906 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;}
49907 { (exit 1); exit 1; }; }
49912 if test "$wxUSE_MAC" = 1 ; then
49913 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49914 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49920 if test "$wxUSE_SHARED" = "yes"; then
49922 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49923 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49926 *-pc-os2_emx | *-pc-os2-emx )
49927 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49928 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49929 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49930 cp -p ${srcdir}/src
/os
2/dllar.sh .
49935 EXE_LINKER
="$CXX -o"
49938 if test "$wxUSE_OMF" = "yes"; then
49940 *-pc-os2_emx | *-pc-os2-emx )
49941 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49942 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49943 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49948 if test $GCC_PCH = 1 ; then
49949 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49952 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49954 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50016 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50017 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50018 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50019 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50020 echo $ECHO_N "(cached) $ECHO_C" >&6
50022 cat >conftest.
make <<\_ACEOF
50024 @
echo 'ac_maketemp="$(MAKE)"'
50026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50027 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50028 if test -n "$ac_maketemp"; then
50029 eval ac_cv_prog_make_
${ac_make}_set
=yes
50031 eval ac_cv_prog_make_
${ac_make}_set
=no
50033 rm -f conftest.
make
50035 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50036 echo "$as_me:$LINENO: result: yes" >&5
50037 echo "${ECHO_T}yes" >&6
50040 echo "$as_me:$LINENO: result: no" >&5
50041 echo "${ECHO_T}no" >&6
50042 SET_MAKE
="MAKE=${MAKE-make}"
50047 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50050 if test "$USE_WIN32" = 1; then
50051 ac_config_commands
="$ac_config_commands
50057 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50060 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50063 ac_config_files
="$ac_config_files version-script Makefile"
50066 ac_config_commands
="$ac_config_commands wx-config"
50070 if test "$wxWITH_SUBDIRS" != "no"; then
50071 if test "$wxUSE_GUI" = "yes"; then
50072 SUBDIRS
="samples demos utils contrib"
50073 else SUBDIRS
="samples utils"
50078 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50079 if test "${with_cppunit_prefix+set}" = set; then
50080 withval
="$with_cppunit_prefix"
50081 cppunit_config_prefix
="$withval"
50083 cppunit_config_prefix
=""
50086 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50087 if test "${with_cppunit_exec_prefix+set}" = set; then
50088 withval
="$with_cppunit_exec_prefix"
50089 cppunit_config_exec_prefix
="$withval"
50091 cppunit_config_exec_prefix
=""
50094 if test x
$cppunit_config_exec_prefix != x
; then
50095 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50096 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50097 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50100 if test x
$cppunit_config_prefix != x
; then
50101 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50102 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50103 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50107 # Extract the first word of "cppunit-config", so it can be a program name with args.
50108 set dummy cppunit
-config; ac_word
=$2
50109 echo "$as_me:$LINENO: checking for $ac_word" >&5
50110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50111 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50112 echo $ECHO_N "(cached) $ECHO_C" >&6
50114 case $CPPUNIT_CONFIG in
50116 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50120 for as_dir
in $PATH
50123 test -z "$as_dir" && as_dir
=.
50124 for ac_exec_ext
in '' $ac_executable_extensions; do
50125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50126 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50133 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50137 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50139 if test -n "$CPPUNIT_CONFIG"; then
50140 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50141 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50143 echo "$as_me:$LINENO: result: no" >&5
50144 echo "${ECHO_T}no" >&6
50147 cppunit_version_min
=1.8.0
50149 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50150 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50152 if test "$CPPUNIT_CONFIG" = "no" ; then
50153 echo "$as_me:$LINENO: result: no" >&5
50154 echo "${ECHO_T}no" >&6
50157 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50158 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50159 cppunit_version
=`$CPPUNIT_CONFIG --version`
50161 cppunit_major_version
=`echo $cppunit_version | \
50162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50163 cppunit_minor_version
=`echo $cppunit_version | \
50164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50165 cppunit_micro_version
=`echo $cppunit_version | \
50166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50168 cppunit_major_min
=`echo $cppunit_version_min | \
50169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50170 cppunit_minor_min
=`echo $cppunit_version_min | \
50171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50172 cppunit_micro_min
=`echo $cppunit_version_min | \
50173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50175 cppunit_version_proper
=`expr \
50176 $cppunit_major_version \> $cppunit_major_min \| \
50177 $cppunit_major_version \= $cppunit_major_min \& \
50178 $cppunit_minor_version \> $cppunit_minor_min \| \
50179 $cppunit_major_version \= $cppunit_major_min \& \
50180 $cppunit_minor_version \= $cppunit_minor_min \& \
50181 $cppunit_micro_version \>= $cppunit_micro_min `
50183 if test "$cppunit_version_proper" = "1" ; then
50184 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50185 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50187 echo "$as_me:$LINENO: result: no" >&5
50188 echo "${ECHO_T}no" >&6
50193 if test "x$no_cppunit" = x
; then
50194 SUBDIRS
="$SUBDIRS tests"
50205 for subdir
in `echo $SUBDIRS`; do
50206 if test -d ${srcdir}/${subdir} ; then
50207 if test "$wxUSE_GUI" = "yes"; then
50208 if test ${subdir} = "samples"; then
50209 makefiles
="samples/Makefile.in $makefiles"
50210 for sample
in `echo $SAMPLES_SUBDIRS`; do
50211 if test -d $srcdir/samples
/$sample; then
50212 makefiles
="samples/$sample/Makefile.in $makefiles"
50216 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50217 eval "disabled=\$$disabled_var"
50218 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50219 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50221 else if test ${subdir} = "samples"; then
50222 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50223 elif test ${subdir} = "utils"; then
50225 for util
in HelpGen tex2rtf
; do
50226 if test -d $srcdir/utils
/$util ; then
50227 makefiles
="utils/$util/Makefile.in \
50228 utils/$util/src/Makefile.in \
50232 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50236 for mkin
in $makefiles ; do
50237 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50238 ac_config_files
="$ac_config_files $mk"
50244 cat >confcache
<<\_ACEOF
50245 # This file is a shell script that caches the results of configure
50246 # tests run on this system so they can be shared between configure
50247 # scripts and configure runs, see configure's option --config-cache.
50248 # It is not useful on other systems. If it contains results you don't
50249 # want to keep, you may remove or edit it.
50251 # config.status only pays attention to the cache file if you give it
50252 # the --recheck option to rerun configure.
50254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50256 # following values.
50260 # The following way of writing the cache mishandles newlines in values,
50261 # but we know of no workaround that is simple, portable, and efficient.
50262 # So, don't put newlines in cache variables' values.
50263 # Ultrix sh set writes to stderr and can't be redirected directly,
50264 # and sets the high bit in the cache file unless we assign to the vars.
50267 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50269 # `set' does not quote correctly, so add quotes (double-quote
50270 # substitution turns \\\\ into \\, and sed turns \\ into \).
50273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50276 # `set' quotes correctly as required by POSIX, so do not add quotes.
50278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50287 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50289 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50290 if test -w $cache_file; then
50291 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50292 cat confcache
>$cache_file
50294 echo "not updating unwritable cache $cache_file"
50299 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50300 # Let make expand exec_prefix.
50301 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50303 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50304 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50305 # trailing colons and then remove the whole line if VPATH becomes empty
50306 # (actually we leave an empty line to preserve line numbers).
50307 if test "x$srcdir" = x.
; then
50308 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50309 s/:*\$(srcdir):*/:/;
50310 s/:*\${srcdir}:*/:/;
50312 s/^\([^=]*=[ ]*\):*/\1/;
50318 DEFS
=-DHAVE_CONFIG_H
50322 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50323 # 1. Remove the extension, and $U if already installed.
50324 ac_i
=`echo "$ac_i" |
50325 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50327 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50328 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50330 LIBOBJS
=$ac_libobjs
50332 LTLIBOBJS
=$ac_ltlibobjs
50336 : ${CONFIG_STATUS=./config.status}
50337 ac_clean_files_save
=$ac_clean_files
50338 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50339 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50340 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50341 cat >$CONFIG_STATUS <<_ACEOF
50343 # Generated by $as_me.
50344 # Run this file to recreate the current configuration.
50345 # Compiler output produced by configure, useful for debugging
50346 # configure, is in config.log if it exists.
50349 ac_cs_recheck=false
50351 SHELL=\${CONFIG_SHELL-$SHELL}
50354 cat >>$CONFIG_STATUS <<\_ACEOF
50355 ## --------------------- ##
50356 ## M4sh Initialization. ##
50357 ## --------------------- ##
50359 # Be Bourne compatible
50360 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50363 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50364 # is contrary to our usage. Disable this feature.
50365 alias -g '${1+"$@"}'='"$@"'
50366 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50369 DUALCASE
=1; export DUALCASE
# for MKS sh
50371 # Support unset when possible.
50372 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50379 # Work around bugs in pre-3.0 UWIN ksh.
50380 $as_unset ENV MAIL MAILPATH
50387 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50388 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50389 LC_TELEPHONE LC_TIME
50391 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50392 eval $as_var=C
; export $as_var
50398 # Required to use basename.
50399 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50405 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50406 as_basename
=basename
50412 # Name of the executable.
50413 as_me
=`$as_basename "$0" ||
50414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50415 X"$0" : 'X\(//\)$' \| \
50416 X"$0" : 'X\(/\)$' \| \
50417 . : '\(.\)' 2>/dev/null ||
50419 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50420 /^X\/\(\/\/\)$/{ s//\1/; q; }
50421 /^X\/\(\/\).*/{ s//\1/; q; }
50425 # PATH needs CR, and LINENO needs CR and PATH.
50426 # Avoid depending upon Character Ranges.
50427 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50428 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50429 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50430 as_cr_digits
='0123456789'
50431 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50433 # The user is always right.
50434 if test "${PATH_SEPARATOR+set}" != set; then
50435 echo "#! /bin/sh" >conf$$.sh
50436 echo "exit 0" >>conf$$.sh
50438 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50447 as_lineno_1
=$LINENO
50448 as_lineno_2
=$LINENO
50449 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50450 test "x$as_lineno_1" != "x$as_lineno_2" &&
50451 test "x$as_lineno_3" = "x$as_lineno_2" || {
50452 # Find who we are. Look in the path if we contain no path at all
50455 *[\\/]* ) as_myself
=$0 ;;
50456 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50457 for as_dir
in $PATH
50460 test -z "$as_dir" && as_dir
=.
50461 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50466 # We did not find ourselves, most probably we were run as `sh COMMAND'
50467 # in which case we are not to be found in the path.
50468 if test "x$as_myself" = x
; then
50471 if test ! -f "$as_myself"; then
50472 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50473 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50474 { (exit 1); exit 1; }; }
50476 case $CONFIG_SHELL in
50478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50479 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50482 test -z "$as_dir" && as_dir
=.
50483 for as_base
in sh bash ksh sh5
; do
50486 if ("$as_dir/$as_base" -c '
50487 as_lineno_1=$LINENO
50488 as_lineno_2=$LINENO
50489 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50490 test "x$as_lineno_1" != "x$as_lineno_2" &&
50491 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50492 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50493 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50494 CONFIG_SHELL
=$as_dir/$as_base
50495 export CONFIG_SHELL
50496 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50504 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50505 # uniformly replaced by the line number. The first 'sed' inserts a
50506 # line-number line before each line; the second 'sed' does the real
50507 # work. The second script uses 'N' to pair each line-number line
50508 # with the numbered line, and appends trailing '-' during
50509 # substitution so that $LINENO is not a special case at line end.
50510 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50511 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50512 sed '=' <$as_myself |
50517 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50520 s,^['$as_cr_digits']*\n,,
50521 ' >$as_me.lineno
&&
50522 chmod +x
$as_me.lineno
||
50523 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50524 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50525 { (exit 1); exit 1; }; }
50527 # Don't try to exec as it changes $[0], causing all sort of problems
50528 # (the dirname of $[0] is not the place where we might find the
50529 # original and so on. Autoconf is especially sensible to this).
50531 # Exit status is that of the last command.
50536 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50537 *c
*,-n*) ECHO_N
= ECHO_C
='
50539 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50540 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50543 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50549 rm -f conf$$ conf$$.exe conf$$.
file
50551 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50552 # We could just check for DJGPP; but this test a) works b) is more generic
50553 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50554 if test -f conf$$.exe
; then
50555 # Don't use ln at all; we don't have any links
50560 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50565 rm -f conf$$ conf$$.exe conf$$.
file
50567 if mkdir -p .
2>/dev
/null
; then
50570 test -d .
/-p && rmdir .
/-p
50574 as_executable_p
="test -f"
50576 # Sed expression to map a string onto a valid CPP name.
50577 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50579 # Sed expression to map a string onto a valid variable name.
50580 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50584 # We need space, tab and new line, in precisely that order.
50594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50595 # report actual input values of CONFIG_FILES etc. instead of their
50596 # values after options handling. Logging --version etc. is OK.
50600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50601 ## Running $as_me. ##
50606 This file was extended by wxWidgets $as_me 2.7.1, which was
50607 generated by GNU Autoconf 2.59. Invocation command line was
50609 CONFIG_FILES = $CONFIG_FILES
50610 CONFIG_HEADERS = $CONFIG_HEADERS
50611 CONFIG_LINKS = $CONFIG_LINKS
50612 CONFIG_COMMANDS = $CONFIG_COMMANDS
50616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50620 # Files that config.status was made for.
50621 if test -n "$ac_config_files"; then
50622 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50625 if test -n "$ac_config_headers"; then
50626 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50629 if test -n "$ac_config_links"; then
50630 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50633 if test -n "$ac_config_commands"; then
50634 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50637 cat >>$CONFIG_STATUS <<\_ACEOF
50640 \`$as_me' instantiates files from templates according to the
50641 current configuration.
50643 Usage: $0 [OPTIONS] [FILE]...
50645 -h, --help print this help, then exit
50646 -V, --version print version number, then exit
50647 -q, --quiet do not print progress messages
50648 -d, --debug don't remove temporary files
50649 --recheck update $as_me by reconfiguring in the same conditions
50650 --file=FILE[:TEMPLATE]
50651 instantiate the configuration file FILE
50652 --header=FILE[:TEMPLATE]
50653 instantiate the configuration header FILE
50655 Configuration files:
50658 Configuration headers:
50661 Configuration commands:
50664 Report bugs to <bug-autoconf@gnu.org>."
50667 cat >>$CONFIG_STATUS <<_ACEOF
50669 wxWidgets config.status 2.7.1
50670 configured by $0, generated by GNU Autoconf 2.59,
50671 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50673 Copyright (C) 2003 Free Software Foundation, Inc.
50674 This config.status script is free software; the Free Software Foundation
50675 gives unlimited permission to copy, distribute and modify it."
50680 cat >>$CONFIG_STATUS <<\_ACEOF
50681 # If no file are specified by the user, then we need to provide default
50682 # value. By we need to know if files were specified by the user.
50688 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50689 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50697 *) # This is not an option, so the user has probably given explicit
50700 ac_need_defaults
=false
;;
50704 # Handling of the options.
50706 cat >>$CONFIG_STATUS <<\_ACEOF
50707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50709 --version | --vers* | -V )
50710 echo "$ac_cs_version"; exit 0 ;;
50712 # Conflict between --help and --header
50713 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50714 Try \`$0 --help' for more information." >&5
50715 echo "$as_me: error: ambiguous option: $1
50716 Try \`$0 --help' for more information." >&2;}
50717 { (exit 1); exit 1; }; };;
50718 --help | --hel | -h )
50719 echo "$ac_cs_usage"; exit 0 ;;
50720 --debug | --d* | -d )
50722 --file | --fil | --fi | --f )
50724 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50725 ac_need_defaults
=false
;;
50726 --header | --heade | --head | --hea )
50728 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50729 ac_need_defaults
=false
;;
50730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50731 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50734 # This is an error.
50735 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50736 Try \`$0 --help' for more information." >&5
50737 echo "$as_me: error: unrecognized option: $1
50738 Try \`$0 --help' for more information." >&2;}
50739 { (exit 1); exit 1; }; } ;;
50741 *) ac_config_targets
="$ac_config_targets $1" ;;
50747 ac_configure_extra_args
=
50749 if $ac_cs_silent; then
50751 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50755 cat >>$CONFIG_STATUS <<_ACEOF
50756 if \$ac_cs_recheck; then
50757 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50758 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50763 cat >>$CONFIG_STATUS <<_ACEOF
50765 # INIT-COMMANDS section.
50770 infile="$srcdir/include/wx/msw/genrcdefs.h"
50771 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50774 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50784 cat >>$CONFIG_STATUS <<\_ACEOF
50785 for ac_config_target
in $ac_config_targets
50787 case "$ac_config_target" in
50788 # Handling of arguments.
50789 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50790 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50791 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50792 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50793 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50794 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50795 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50796 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50797 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50798 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50799 { (exit 1); exit 1; }; };;
50803 # If the user did not use the arguments to specify the items to instantiate,
50804 # then the envvar interface is used. Set only those that are not.
50805 # We use the long form for the default assignment because of an extremely
50806 # bizarre bug on SunOS 4.1.3.
50807 if $ac_need_defaults; then
50808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50810 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50813 # Have a temporary directory for convenience. Make it in the build tree
50814 # simply because there is no reason to put it here, and in addition,
50815 # creating and moving files from /tmp can sometimes cause problems.
50816 # Create a temporary directory, and hook for its removal unless debugging.
50819 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50820 trap '{ (exit 1); exit 1; }' 1 2 13 15
50823 # Create a (secure) tmp directory for tmp files.
50826 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50827 test -n "$tmp" && test -d "$tmp"
50830 tmp
=.
/confstat$$
-$RANDOM
50831 (umask 077 && mkdir $tmp)
50834 echo "$me: cannot create a temporary directory in ." >&2
50835 { (exit 1); exit 1; }
50840 cat >>$CONFIG_STATUS <<_ACEOF
50843 # CONFIG_FILES section.
50846 # No need to generate the scripts if there are no CONFIG_FILES.
50847 # This happens for instance when ./config.status config.h
50848 if test -n "\$CONFIG_FILES"; then
50849 # Protect against being on the right side of a sed subst in config.status.
50850 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50851 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50852 s,@SHELL@,$SHELL,;t t
50853 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50854 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50855 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50856 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50857 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50858 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50859 s,@exec_prefix@,$exec_prefix,;t t
50860 s,@prefix@,$prefix,;t t
50861 s,@program_transform_name@,$program_transform_name,;t t
50862 s,@bindir@,$bindir,;t t
50863 s,@sbindir@,$sbindir,;t t
50864 s,@libexecdir@,$libexecdir,;t t
50865 s,@datadir@,$datadir,;t t
50866 s,@sysconfdir@,$sysconfdir,;t t
50867 s,@sharedstatedir@,$sharedstatedir,;t t
50868 s,@localstatedir@,$localstatedir,;t t
50869 s,@libdir@,$libdir,;t t
50870 s,@includedir@,$includedir,;t t
50871 s,@oldincludedir@,$oldincludedir,;t t
50872 s,@infodir@,$infodir,;t t
50873 s,@mandir@,$mandir,;t t
50874 s,@build_alias@,$build_alias,;t t
50875 s,@host_alias@,$host_alias,;t t
50876 s,@target_alias@,$target_alias,;t t
50877 s,@DEFS@,$DEFS,;t t
50878 s,@ECHO_C@,$ECHO_C,;t t
50879 s,@ECHO_N@,$ECHO_N,;t t
50880 s,@ECHO_T@,$ECHO_T,;t t
50881 s,@LIBS@,$LIBS,;t t
50882 s,@build@,$build,;t t
50883 s,@build_cpu@,$build_cpu,;t t
50884 s,@build_vendor@,$build_vendor,;t t
50885 s,@build_os@,$build_os,;t t
50886 s,@host@,$host,;t t
50887 s,@host_cpu@,$host_cpu,;t t
50888 s,@host_vendor@,$host_vendor,;t t
50889 s,@host_os@,$host_os,;t t
50890 s,@target@,$target,;t t
50891 s,@target_cpu@,$target_cpu,;t t
50892 s,@target_vendor@,$target_vendor,;t t
50893 s,@target_os@,$target_os,;t t
50895 s,@CFLAGS@,$CFLAGS,;t t
50896 s,@LDFLAGS@,$LDFLAGS,;t t
50897 s,@CPPFLAGS@,$CPPFLAGS,;t t
50898 s,@ac_ct_CC@,$ac_ct_CC,;t t
50899 s,@EXEEXT@,$EXEEXT,;t t
50900 s,@OBJEXT@,$OBJEXT,;t t
50902 s,@EGREP@,$EGREP,;t t
50904 s,@CXXFLAGS@,$CXXFLAGS,;t t
50905 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50906 s,@RANLIB@,$RANLIB,;t t
50907 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50909 s,@ac_ct_AR@,$ac_ct_AR,;t t
50910 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50911 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50912 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50913 s,@STRIP@,$STRIP,;t t
50914 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50915 s,@WINDRES@,$WINDRES,;t t
50916 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50917 s,@DLLTOOL@,$DLLTOOL,;t t
50918 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50919 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50920 s,@LN_S@,$LN_S,;t t
50921 s,@CXXCPP@,$CXXCPP,;t t
50922 s,@subdirs@,$subdirs,;t t
50923 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50924 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50925 s,@GTK_LIBS@,$GTK_LIBS,;t t
50926 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50927 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50928 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50929 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50930 s,@X_CFLAGS@,$X_CFLAGS,;t t
50931 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50932 s,@X_LIBS@,$X_LIBS,;t t
50933 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50934 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50935 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50936 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50937 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50938 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50939 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50941 s,@DEREZ@,$DEREZ,;t t
50942 s,@SETFILE@,$SETFILE,;t t
50943 s,@LIBICONV@,$LIBICONV,;t t
50944 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50945 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50946 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50947 s,@SDL_LIBS@,$SDL_LIBS,;t t
50948 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50949 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50950 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50951 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50952 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50953 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50954 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50955 s,@GST_LIBS@,$GST_LIBS,;t t
50956 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50957 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50958 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50959 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50960 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50961 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50962 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50963 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50964 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50965 s,@VENDOR@,$VENDOR,;t t
50966 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50967 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50968 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50969 s,@WXUNIV@,$WXUNIV,;t t
50970 s,@MONOLITHIC@,$MONOLITHIC,;t t
50971 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50972 s,@EXTRALIBS@,$EXTRALIBS,;t t
50973 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50974 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50975 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50976 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50977 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50978 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50979 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50980 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50981 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50982 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50983 s,@UNICODE@,$UNICODE,;t t
50984 s,@BUILD@,$BUILD,;t t
50985 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50986 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50987 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50988 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50989 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50990 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50991 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50992 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50993 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50994 s,@SET_MAKE@,$SET_MAKE,;t t
50995 s,@MAKE_SET@,$MAKE_SET,;t t
50997 s,@ac_ct_NM@,$ac_ct_NM,;t t
50998 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50999 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51000 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51001 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51002 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51003 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51004 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51005 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51006 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51007 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51008 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51009 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51010 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51011 s,@LIBPREFIX@,$LIBPREFIX,;t t
51012 s,@LIBEXT@,$LIBEXT,;t t
51013 s,@DLLPREFIX@,$DLLPREFIX,;t t
51014 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51015 s,@dlldir@,$dlldir,;t t
51016 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51017 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51018 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51019 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51020 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51021 s,@PIC_FLAG@,$PIC_FLAG,;t t
51022 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51023 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51024 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51025 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51026 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51027 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51028 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51029 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51030 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51031 s,@GCC_PCH@,$GCC_PCH,;t t
51032 s,@ICC_PCH@,$ICC_PCH,;t t
51033 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51034 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51035 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51036 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51037 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51038 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51039 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51040 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51041 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51042 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51043 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51044 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51045 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51046 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51047 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51048 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51049 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51050 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51051 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51052 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51053 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
51054 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
51055 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
51056 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
51057 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51058 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51059 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51060 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51061 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51062 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51063 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
51064 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
51065 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
51066 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
51067 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51068 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51069 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51070 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51071 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51072 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51073 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51074 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51075 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51076 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51077 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51078 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51079 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51080 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51081 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51082 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51083 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51084 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51085 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
51086 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51087 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51088 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51089 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51090 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51091 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51092 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51093 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51094 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51095 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51096 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51097 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51098 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51099 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51100 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51101 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51102 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51103 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51104 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51105 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51106 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51107 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51108 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51109 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51110 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51111 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51112 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51113 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51114 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51115 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51116 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51117 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51118 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51119 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51120 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51121 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51122 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51123 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51124 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51125 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51126 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51127 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
51128 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51129 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51130 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51131 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51132 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51133 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51134 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51135 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51136 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51137 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51138 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51139 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51140 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51141 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51142 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51143 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51144 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51145 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51146 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51147 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51148 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51149 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51150 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51151 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51152 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51153 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51154 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51155 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51156 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51157 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51158 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51159 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51160 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51161 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51162 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51163 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51164 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51165 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51166 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51167 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51168 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51169 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51170 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51171 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51172 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51173 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51174 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51175 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51176 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51177 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51178 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51179 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51180 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51181 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51182 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51183 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51184 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51185 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51186 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51187 s,@SHARED@,$SHARED,;t t
51188 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51189 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51190 s,@USE_GUI@,$USE_GUI,;t t
51191 s,@AFMINSTALL@,$AFMINSTALL,;t t
51192 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51193 s,@TOOLKIT@,$TOOLKIT,;t t
51194 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51195 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51196 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51197 s,@cross_compiling@,$cross_compiling,;t t
51198 s,@WIDGET_SET@,$WIDGET_SET,;t t
51199 s,@WX_RELEASE@,$WX_RELEASE,;t t
51200 s,@WX_VERSION@,$WX_VERSION,;t t
51201 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51202 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51203 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51204 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51205 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51206 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51207 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51208 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51209 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51210 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51211 s,@EXE_LINKER@,$EXE_LINKER,;t t
51212 s,@GUIDIST@,$GUIDIST,;t t
51213 s,@DISTDIR@,$DISTDIR,;t t
51214 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51215 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51216 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51217 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51218 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51219 s,@RESCOMP@,$RESCOMP,;t t
51220 s,@RESFLAGS@,$RESFLAGS,;t t
51221 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51222 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51223 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51224 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51225 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51226 s,@MACSETFILE@,$MACSETFILE,;t t
51228 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51229 s,@LIBOBJS@,$LIBOBJS,;t t
51230 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51235 cat >>$CONFIG_STATUS <<\_ACEOF
51236 # Split the substitutions into bite-sized pieces for seds with
51237 # small command number limits, like on Digital OSF/1 and HP-UX.
51238 ac_max_sed_lines
=48
51239 ac_sed_frag
=1 # Number of current file.
51240 ac_beg
=1 # First line for current file.
51241 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51244 while $ac_more_lines; do
51245 if test $ac_beg -gt 1; then
51246 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51248 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51250 if test ! -s $tmp/subs.frag
; then
51251 ac_more_lines
=false
51253 # The purpose of the label and of the branching condition is to
51254 # speed up the sed processing (if there are no `@' at all, there
51255 # is no need to browse any of the substitutions).
51256 # These are the two extra sed commands mentioned above.
51258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51259 if test -z "$ac_sed_cmds"; then
51260 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51262 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51264 ac_sed_frag
=`expr $ac_sed_frag + 1`
51266 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51269 if test -z "$ac_sed_cmds"; then
51272 fi # test -n "$CONFIG_FILES"
51275 cat >>$CONFIG_STATUS <<\_ACEOF
51276 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51277 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51279 - | *:- | *:-:* ) # input from stdin
51281 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51282 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51283 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51284 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51285 * ) ac_file_in
=$ac_file.
in ;;
51288 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51289 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51291 X"$ac_file" : 'X\(//\)[^/]' \| \
51292 X"$ac_file" : 'X\(//\)$' \| \
51293 X"$ac_file" : 'X\(/\)' \| \
51294 . : '\(.\)' 2>/dev/null ||
51296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51298 /^X\(\/\/\)$/{ s//\1/; q; }
51299 /^X\(\/\).*/{ s//\1/; q; }
51301 { if $as_mkdir_p; then
51306 while test ! -d "$as_dir"; do
51307 as_dirs
="$as_dir $as_dirs"
51308 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51310 X"$as_dir" : 'X\(//\)[^/]' \| \
51311 X"$as_dir" : 'X\(//\)$' \| \
51312 X"$as_dir" : 'X\(/\)' \| \
51313 . : '\(.\)' 2>/dev/null ||
51315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51317 /^X\(\/\/\)$/{ s//\1/; q; }
51318 /^X\(\/\).*/{ s//\1/; q; }
51321 test ! -n "$as_dirs" || mkdir $as_dirs
51322 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51324 { (exit 1); exit 1; }; }; }
51328 if test "$ac_dir" != .
; then
51329 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51330 # A "../" for each directory in $ac_dir_suffix.
51331 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51333 ac_dir_suffix
= ac_top_builddir
=
51337 .
) # No --srcdir option. We are building in place.
51339 if test -z "$ac_top_builddir"; then
51342 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51344 [\\/]* | ?
:[\\/]* ) # Absolute path.
51345 ac_srcdir
=$srcdir$ac_dir_suffix;
51346 ac_top_srcdir
=$srcdir ;;
51347 *) # Relative path.
51348 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51349 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51352 # Do not use `cd foo && pwd` to compute absolute paths, because
51353 # the directories may not exist.
51355 .
) ac_abs_builddir
="$ac_dir";;
51358 .
) ac_abs_builddir
=`pwd`;;
51359 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51360 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51363 case $ac_abs_builddir in
51364 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51366 case ${ac_top_builddir}.
in
51367 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51368 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51369 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51372 case $ac_abs_builddir in
51373 .
) ac_abs_srcdir
=$ac_srcdir;;
51376 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51377 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51378 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51381 case $ac_abs_builddir in
51382 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51384 case $ac_top_srcdir in
51385 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51386 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51387 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51393 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51394 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51397 if test x
"$ac_file" != x
-; then
51398 { echo "$as_me:$LINENO: creating $ac_file" >&5
51399 echo "$as_me: creating $ac_file" >&6;}
51402 # Let's still pretend it is `configure' which instantiates (i.e., don't
51403 # use $as_me), people would be surprised to read:
51404 # /* config.h. Generated by config.status. */
51405 if test x
"$ac_file" = x
-; then
51408 configure_input
="$ac_file. "
51410 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51411 sed 's,.*/,,'` by configure."
51413 # First look for the input files in the build tree, otherwise in the
51415 ac_file_inputs
=`IFS=:
51416 for f in $ac_file_in; do
51418 -) echo $tmp/stdin ;;
51420 # Absolute (can't be DOS-style, as IFS=:)
51421 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51422 echo "$as_me: error: cannot find input file: $f" >&2;}
51423 { (exit 1); exit 1; }; }
51426 if test -f "$f"; then
51429 elif test -f "$srcdir/$f"; then
51434 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51435 echo "$as_me: error: cannot find input file: $f" >&2;}
51436 { (exit 1); exit 1; }; }
51439 done` || { (exit 1); exit 1; }
51441 cat >>$CONFIG_STATUS <<_ACEOF
51445 cat >>$CONFIG_STATUS <<\_ACEOF
51447 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51448 s
,@configure_input@
,$configure_input,;t t
51449 s
,@srcdir@
,$ac_srcdir,;t t
51450 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51451 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51452 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51453 s
,@builddir@
,$ac_builddir,;t t
51454 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51455 s
,@top_builddir@
,$ac_top_builddir,;t t
51456 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51457 s
,@INSTALL@
,$ac_INSTALL,;t t
51458 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51460 if test x"$ac_file" != x-; then
51461 mv $tmp/out $ac_file
51467 # Run the commands associated with the file.
51469 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51470 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51474 cat >>$CONFIG_STATUS <<\_ACEOF
51477 # CONFIG_HEADER section.
51480 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51481 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51483 # ac_d sets the value in "#define NAME VALUE" lines.
51484 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51485 ac_dB
='[ ].*$,\1#\2'
51488 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51489 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51490 ac_uB
='$,\1#\2define\3'
51494 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51495 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51497 - | *:- | *:-:* ) # input from stdin
51499 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51500 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51501 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51502 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51503 * ) ac_file_in
=$ac_file.
in ;;
51506 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51507 echo "$as_me: creating $ac_file" >&6;}
51509 # First look for the input files in the build tree, otherwise in the
51511 ac_file_inputs
=`IFS=:
51512 for f in $ac_file_in; do
51514 -) echo $tmp/stdin ;;
51516 # Absolute (can't be DOS-style, as IFS=:)
51517 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51518 echo "$as_me: error: cannot find input file: $f" >&2;}
51519 { (exit 1); exit 1; }; }
51520 # Do quote $f, to prevent DOS paths from being IFS'd.
51523 if test -f "$f"; then
51526 elif test -f "$srcdir/$f"; then
51531 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51532 echo "$as_me: error: cannot find input file: $f" >&2;}
51533 { (exit 1); exit 1; }; }
51536 done` || { (exit 1); exit 1; }
51537 # Remove the trailing spaces.
51538 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51542 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51543 # `conftest.undefs', that substitutes the proper values into
51544 # config.h.in to produce config.h. The first handles `#define'
51545 # templates, and the second `#undef' templates.
51546 # And first: Protect against being on the right side of a sed subst in
51547 # config.status. Protect against being in an unquoted here document
51548 # in config.status.
51549 rm -f conftest.defines conftest.undefs
51550 # Using a here document instead of a string reduces the quoting nightmare.
51551 # Putting comments in sed scripts is not portable.
51553 # `end' is used to avoid that the second main sed command (meant for
51554 # 0-ary CPP macros) applies to n-ary macro definitions.
51555 # See the Autoconf documentation for `clear'.
51556 cat >confdef2sed.
sed <<\_ACEOF
51561 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51563 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51566 # If some macros were called several times there might be several times
51567 # the same #defines, which is useless. Nevertheless, we may not want to
51568 # sort them, since we want the *last* AC-DEFINE to be honored.
51569 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51570 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51571 rm -f confdef2sed.sed
51573 # This sed command replaces #undef with comments. This is necessary, for
51574 # example, in the case of _POSIX_SOURCE, which is predefined and required
51575 # on some systems where configure will not decide to define it.
51576 cat >>conftest.undefs <<\_ACEOF
51577 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51580 # Break up conftest.defines because some shells have a limit on the size
51581 # of here documents, and old seds have small limits too (100 cmds).
51582 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51583 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51584 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51585 echo ' :' >>$CONFIG_STATUS
51586 rm -f conftest.tail
51587 while grep . conftest.defines >/dev/null
51589 # Write a limited-size here document to $tmp/defines.sed.
51590 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51591 # Speed up: don't consider the non `#define' lines.
51592 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51593 # Work around the forget-to-reset-the-flag bug.
51594 echo 't clr' >>$CONFIG_STATUS
51595 echo ': clr' >>$CONFIG_STATUS
51596 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51598 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51600 mv $tmp/out $tmp/in
51602 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51603 rm -f conftest.defines
51604 mv conftest.
tail conftest.defines
51606 rm -f conftest.defines
51607 echo ' fi # grep' >>$CONFIG_STATUS
51608 echo >>$CONFIG_STATUS
51610 # Break up conftest.undefs because some shells have a limit on the size
51611 # of here documents, and old seds have small limits too (100 cmds).
51612 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51613 rm -f conftest.
tail
51614 while grep . conftest.undefs
>/dev
/null
51616 # Write a limited-size here document to $tmp/undefs.sed.
51617 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51618 # Speed up: don't consider the non
`#undef'
51619 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51620 # Work around the forget-to-reset-the-flag bug.
51621 echo 't clr' >>$CONFIG_STATUS
51622 echo ': clr' >>$CONFIG_STATUS
51623 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51625 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51627 mv $tmp/out $tmp/in
51629 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51630 rm -f conftest.undefs
51631 mv conftest.tail conftest.undefs
51633 rm -f conftest.undefs
51635 cat >>$CONFIG_STATUS <<\_ACEOF
51636 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51637 # use $as_me), people would be surprised to read:
51638 # /* config.h. Generated by config.status. */
51639 if test x
"$ac_file" = x
-; then
51640 echo "/* Generated by configure. */" >$tmp/config.h
51642 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51644 cat $tmp/in >>$tmp/config.h
51646 if test x
"$ac_file" != x
-; then
51647 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51648 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51649 echo "$as_me: $ac_file is unchanged" >&6;}
51651 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51652 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51653 X"$ac_file" : 'X\(//\)[^/]' \| \
51654 X"$ac_file" : 'X\(//\)$' \| \
51655 X"$ac_file" : 'X\(/\)' \| \
51656 . : '\(.\)' 2>/dev/null ||
51658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51659 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51660 /^X\(\/\/\)$/{ s//\1/; q; }
51661 /^X\(\/\).*/{ s//\1/; q; }
51663 { if $as_mkdir_p; then
51668 while test ! -d "$as_dir"; do
51669 as_dirs
="$as_dir $as_dirs"
51670 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51672 X"$as_dir" : 'X\(//\)[^/]' \| \
51673 X"$as_dir" : 'X\(//\)$' \| \
51674 X"$as_dir" : 'X\(/\)' \| \
51675 . : '\(.\)' 2>/dev/null ||
51677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51679 /^X\(\/\/\)$/{ s//\1/; q; }
51680 /^X\(\/\).*/{ s//\1/; q; }
51683 test ! -n "$as_dirs" || mkdir $as_dirs
51684 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51685 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51686 { (exit 1); exit 1; }; }; }
51689 mv $tmp/config.h
$ac_file
51693 rm -f $tmp/config.h
51697 cat >>$CONFIG_STATUS <<\_ACEOF
51700 # CONFIG_COMMANDS section.
51702 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51703 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51704 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51705 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51706 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51707 X"$ac_dest" : 'X\(//\)[^/]' \| \
51708 X"$ac_dest" : 'X\(//\)$' \| \
51709 X"$ac_dest" : 'X\(/\)' \| \
51710 . : '\(.\)' 2>/dev/null ||
51712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51714 /^X\(\/\/\)$/{ s//\1/; q; }
51715 /^X\(\/\).*/{ s//\1/; q; }
51717 { if $as_mkdir_p; then
51722 while test ! -d "$as_dir"; do
51723 as_dirs
="$as_dir $as_dirs"
51724 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51726 X"$as_dir" : 'X\(//\)[^/]' \| \
51727 X"$as_dir" : 'X\(//\)$' \| \
51728 X"$as_dir" : 'X\(/\)' \| \
51729 . : '\(.\)' 2>/dev/null ||
51731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51733 /^X\(\/\/\)$/{ s//\1/; q; }
51734 /^X\(\/\).*/{ s//\1/; q; }
51737 test ! -n "$as_dirs" || mkdir $as_dirs
51738 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51739 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51740 { (exit 1); exit 1; }; }; }
51744 if test "$ac_dir" != .
; then
51745 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51746 # A "../" for each directory in $ac_dir_suffix.
51747 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51749 ac_dir_suffix
= ac_top_builddir
=
51753 .
) # No --srcdir option. We are building in place.
51755 if test -z "$ac_top_builddir"; then
51758 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51760 [\\/]* | ?
:[\\/]* ) # Absolute path.
51761 ac_srcdir
=$srcdir$ac_dir_suffix;
51762 ac_top_srcdir
=$srcdir ;;
51763 *) # Relative path.
51764 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51765 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51768 # Do not use `cd foo && pwd` to compute absolute paths, because
51769 # the directories may not exist.
51771 .
) ac_abs_builddir
="$ac_dir";;
51774 .
) ac_abs_builddir
=`pwd`;;
51775 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51776 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51779 case $ac_abs_builddir in
51780 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51782 case ${ac_top_builddir}.
in
51783 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51784 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51785 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51788 case $ac_abs_builddir in
51789 .
) ac_abs_srcdir
=$ac_srcdir;;
51792 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51793 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51794 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51797 case $ac_abs_builddir in
51798 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51800 case $ac_top_srcdir in
51801 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51802 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51803 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51808 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51809 echo "$as_me: executing $ac_dest commands" >&6;}
51812 mkdir -p $outdir &&
51813 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51815 wx
-config ) rm -f wx
-config
51816 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51822 cat >>$CONFIG_STATUS <<\_ACEOF
51824 { (exit 0); exit 0; }
51826 chmod +x
$CONFIG_STATUS
51827 ac_clean_files
=$ac_clean_files_save
51830 # configure is writing to config.log, and then calls config.status.
51831 # config.status does its own redirection, appending to config.log.
51832 # Unfortunately, on DOS this fails, as config.log is still kept open
51833 # by configure, so config.status won't be able to write to it; its
51834 # output is simply discarded. So we exec the FD to /dev/null,
51835 # effectively closing config.log, so it can be properly (re)opened and
51836 # appended to by config.status. When coming back to configure, we
51837 # need to make the FD available again.
51838 if test "$no_create" != yes; then
51840 ac_config_status_args
=
51841 test "$silent" = yes &&
51842 ac_config_status_args
="$ac_config_status_args --quiet"
51844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51847 # would make configure fail if this is the last instruction.
51848 $ac_cs_success || { (exit 1); exit 1; }
51852 # CONFIG_SUBDIRS section.
51854 if test "$no_recursion" != yes; then
51856 # Remove --cache-file and --srcdir arguments so they do not pile up.
51857 ac_sub_configure_args
=
51859 for ac_arg
in $ac_configure_args; do
51860 if test -n "$ac_prev"; then
51865 -cache-file | --cache-file | --cache-fil | --cache-fi \
51866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51867 ac_prev
=cache_file
;;
51868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51872 --config-cache | -C)
51874 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51876 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51882 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51886 # Always prepend --prefix to ensure using the same prefix
51887 # in subdir configurations.
51888 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51891 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51893 # Do not complain, so a configure script can configure whichever
51894 # parts of a large source tree are present.
51895 test -d $srcdir/$ac_dir || continue
51897 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51898 echo "$as_me: configuring in $ac_dir" >&6;}
51899 { if $as_mkdir_p; then
51904 while test ! -d "$as_dir"; do
51905 as_dirs
="$as_dir $as_dirs"
51906 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51908 X"$as_dir" : 'X\(//\)[^/]' \| \
51909 X"$as_dir" : 'X\(//\)$' \| \
51910 X"$as_dir" : 'X\(/\)' \| \
51911 . : '\(.\)' 2>/dev/null ||
51913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51915 /^X\(\/\/\)$/{ s//\1/; q; }
51916 /^X\(\/\).*/{ s//\1/; q; }
51919 test ! -n "$as_dirs" || mkdir $as_dirs
51920 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51921 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51922 { (exit 1); exit 1; }; }; }
51926 if test "$ac_dir" != .
; then
51927 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51928 # A "../" for each directory in $ac_dir_suffix.
51929 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51931 ac_dir_suffix
= ac_top_builddir
=
51935 .
) # No --srcdir option. We are building in place.
51937 if test -z "$ac_top_builddir"; then
51940 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51942 [\\/]* | ?
:[\\/]* ) # Absolute path.
51943 ac_srcdir
=$srcdir$ac_dir_suffix;
51944 ac_top_srcdir
=$srcdir ;;
51945 *) # Relative path.
51946 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51947 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51950 # Do not use `cd foo && pwd` to compute absolute paths, because
51951 # the directories may not exist.
51953 .
) ac_abs_builddir
="$ac_dir";;
51956 .
) ac_abs_builddir
=`pwd`;;
51957 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51958 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51961 case $ac_abs_builddir in
51962 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51964 case ${ac_top_builddir}.
in
51965 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51966 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51967 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51970 case $ac_abs_builddir in
51971 .
) ac_abs_srcdir
=$ac_srcdir;;
51974 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51975 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51976 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51979 case $ac_abs_builddir in
51980 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51982 case $ac_top_srcdir in
51983 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51984 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51985 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51992 # Check for guested configure; otherwise get Cygnus style configure.
51993 if test -f $ac_srcdir/configure.gnu
; then
51994 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51995 elif test -f $ac_srcdir/configure
; then
51996 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51997 elif test -f $ac_srcdir/configure.
in; then
51998 ac_sub_configure
=$ac_configure
52000 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52005 # The recursion is here.
52006 if test -n "$ac_sub_configure"; then
52007 # Make the cache file name correct relative to the subdirectory.
52008 case $cache_file in
52009 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52010 *) # Relative path.
52011 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52014 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52015 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52016 # The eval makes quoting arguments work.
52017 eval $ac_sub_configure $ac_sub_configure_args \
52018 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52019 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52020 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52021 { (exit 1); exit 1; }; }
52030 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52032 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52033 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52035 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52036 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52037 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52039 echo " What level of wxWidgets compatibility should be enabled?"
52040 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52041 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52043 echo " Which libraries should wxWidgets use?"
52044 echo " jpeg ${wxUSE_LIBJPEG-none}"
52045 echo " png ${wxUSE_LIBPNG-none}"
52046 echo " regex ${wxUSE_REGEX}"
52047 echo " tiff ${wxUSE_LIBTIFF-none}"
52048 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52049 echo " xpm ${wxUSE_LIBXPM-none}"
52051 echo " zlib ${wxUSE_ZLIB}"
52052 echo " odbc ${wxUSE_ODBC}"
52053 echo " expat ${wxUSE_EXPAT}"
52054 echo " libmspack ${wxUSE_LIBMSPACK}"
52055 echo " sdl ${wxUSE_LIBSDL}"