2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_inet use virtual HTTP
/FTP filesystems
998 --enable-fs_zip use virtual ZIP filesystems
999 --enable-geometry use geometry class
1000 --enable-log use logging system
1001 --enable-longlong use wxLongLong class
1002 --enable-mimetype use wxMimeTypesManager
1003 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C
++ stream classes
1006 --enable-std_string use standard C
++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-textbuf use wxTextBuffer class
1012 --enable-textfile use wxTextFile class
1013 --enable-timer use wxTimer class
1014 --enable-unicode compile wxString with Unicode support
1015 --enable-sound use wxSound class
1016 --enable-mediactrl use wxMediaCtrl class
1017 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1018 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1019 --enable-zipstream use wxZip streams
1020 --enable-url use wxURL class
1021 --enable-variant use wxVariant class
1022 --enable-protocol use wxProtocol class
1023 --enable-protocol-http HTTP support
in wxProtocol
1024 --enable-protocol-ftp FTP support
in wxProtocol
1025 --enable-protocol-file FILE support
in wxProtocol
1026 --enable-threads use threads
1027 --enable-docview use document view architecture
1028 --enable-help use
help subsystem
1029 --enable-mshtmlhelp use MS HTML Help
(win32
)
1030 --enable-html use wxHTML sub
-library
1031 --enable-htmlhelp use wxHTML
-based help
1032 --enable-xrc use XRC resources sub
-library
1033 --enable-aui use AUI docking library
1034 --enable-constraints use layout
-constraints system
1035 --enable-printarch use printing architecture
1036 --enable-mdi use multiple document interface architecture
1037 --enable-mdidoc use docview architecture with MDI
1038 --enable-loggui use standard GUI logger
1039 --enable-logwin use wxLogWindow
1040 --enable-logdialog use wxLogDialog
1041 --enable-webkit use wxWebKitCtrl
(Mac
)
1042 --enable-richtext use wxRichTextCtrl
1043 --enable-graphics_ctx use graphics context
2D drawing API
1044 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1045 --enable-prologio not available
; see contrib
1046 --enable-resources not available
; see contrib
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag
'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-colourpicker use wxColourPickerCtrl class
1063 --enable-combobox use wxComboBox class
1064 --enable-comboctrl use wxComboCtrl class
1065 --enable-datepick use wxDatePickerCtrl class
1066 --enable-dirpicker use wxDirPickerCtrl class
1067 --enable-display use wxDisplay class
1068 --enable-detect_sm use code to detect X11 session manager
1069 --enable-filepicker use wxFilePickerCtrl class
1070 --enable-fontpicker use wxFontPickerCtrl class
1071 --enable-gauge use wxGauge class
1072 --enable-grid use wxGrid class
1073 --enable-dataviewctrl, use wxDataViewCtrl class
1074 --enable-hyperlink use wxHyperlinkCtrl class
1075 --enable-imaglist use wxImageList class
1076 --enable-listbook use wxListbook class
1077 --enable-listbox use wxListBox class
1078 --enable-listctrl use wxListCtrl class
1079 --enable-notebook use wxNotebook class
1080 --enable-odcombobox use wxOwnerDrawnComboBox class
1081 --enable-radiobox use wxRadioBox class
1082 --enable-radiobtn use wxRadioButton class
1083 --enable-sash use wxSashWindow class
1084 --enable-scrollbar use wxScrollBar class and scrollable windows
1085 --enable-slider use wxSlider class
1086 --enable-spinbtn use wxSpinButton class
1087 --enable-spinctrl use wxSpinCtrl class
1088 --enable-splitter use wxSplitterWindow class
1089 --enable-statbmp use wxStaticBitmap class
1090 --enable-statbox use wxStaticBox class
1091 --enable-statline use wxStaticLine class
1092 --enable-stattext use wxStaticText class
1093 --enable-statusbar use wxStatusBar class
1094 --enable-tabdialog use wxTabControl class
1095 --enable-textctrl use wxTextCtrl class
1096 --enable-togglebtn use wxToggleButton class
1097 --enable-toolbar use wxToolBar class
1098 --enable-tbarnative use native wxToolBar class
1099 --enable-treebook use wxTreebook class
1100 --enable-toolbook use wxToolbook class
1101 --enable-treectrl use wxTreeCtrl class
1102 --enable-tipwindow use wxTipWindow class
1103 --enable-popupwin use wxPopUpWindow class
1104 --enable-commondlg use all common dialogs
1105 --enable-aboutdlg use wxAboutBox
1106 --enable-choicedlg use wxChoiceDialog
1107 --enable-coldlg use wxColourDialog
1108 --enable-filedlg use wxFileDialog
1109 --enable-finddlg use wxFindReplaceDialog
1110 --enable-fontdlg use wxFontDialog
1111 --enable-dirdlg use wxDirDialog
1112 --enable-msgdlg use wxMessageDialog
1113 --enable-numberdlg use wxNumberEntryDialog
1114 --enable-splash use wxSplashScreen
1115 --enable-textdlg use wxTextDialog
1116 --enable-tipdlg use startup tips
1117 --enable-progressdlg use wxProgressDialog
1118 --enable-wizarddlg use wxWizard
1119 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1120 --enable-miniframe use wxMiniFrame class
1121 --enable-tooltips use wxToolTip class
1122 --enable-splines use spline drawing code
1123 --enable-mousewheel use mousewheel
1124 --enable-validators use wxValidator and derived classes
1125 --enable-busyinfo use wxBusyInfo
1126 --enable-joystick use wxJoystick
1127 --enable-metafiles use wxMetaFile
(Win32 only
)
1128 --enable-dragimage use wxDragImage
1129 --enable-accessibility enable accessibility support
1130 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1131 --enable-palette use wxPalette class
1132 --enable-image use wxImage class
1133 --enable-gif use gif images
(GIF
file format
)
1134 --enable-pcx use pcx images
(PCX
file format
)
1135 --enable-iff use iff images
(IFF
file format
)
1136 --enable-pnm use pnm images
(PNM
file format
)
1137 --enable-xpm use xpm images
(XPM
file format
)
1138 --enable-icocur use Windows ICO and CUR formats
1139 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1140 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1141 --disable-largefile omit support
for large files
1142 --disable-gtktest do not try to compile and run a
test GTK
+ program
1143 --disable-gtktest Do not try to compile and run a
test GTK program
1144 --disable-sdltest Do not try to compile and run a
test SDL program
1145 --enable-omf use OMF object format
(OS
/2)
1146 --disable-dependency-tracking
1147 don
't use dependency tracking even if the compiler
1149 --disable-precomp-headers
1150 don't use precompiled headers even
if compiler can
1153 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1154 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1155 --without-subdirs don
't generate makefiles for samples/demos/...
1156 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1157 --with-motif use Motif/Lesstif
1158 --with-mac use Mac OS X
1159 --with-cocoa use Cocoa
1160 --with-wine use Wine
1161 --with-msw use MS-Windows
1162 --with-pm use OS/2 Presentation Manager
1163 --with-mgl use SciTech MGL
1164 --with-directfb use DirectFB
1165 --with-microwin use MicroWindows
1167 --with-libpng use libpng (PNG image format)
1168 --with-libjpeg use libjpeg (JPEG file format)
1169 --with-libtiff use libtiff (TIFF file format)
1170 --with-libxpm use libxpm (XPM file format)
1171 --with-libmspack use libmspack (CHM help files loading)
1172 --with-sdl use SDL for audio on Unix
1173 --with-gnomeprint use GNOME print for printing under GNOME
1174 --with-gnomevfs use GNOME VFS for associating MIME types
1175 --with-hildon use Hildon framework for Nokia 770
1176 --with-opengl use OpenGL (or Mesa)
1177 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1178 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1179 --with-regex enable support for wxRegEx class
1180 --with-zlib use zlib for LZW compression
1181 --with-odbc use the IODBC and wxODBC classes
1182 --with-expat enable XML support using expat parser
1183 --with-flavour=NAME specify a name to identify this build
1184 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1185 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1186 --with-x use the X Window System
1187 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1188 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1189 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1190 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1191 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1193 Some influential environment variables:
1194 CC C compiler command
1195 CFLAGS C compiler flags
1196 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1197 nonstandard directory <lib dir>
1198 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1199 headers in a nonstandard directory <include dir>
1201 CXX C++ compiler command
1202 CXXFLAGS C++ compiler flags
1203 CXXCPP C++ preprocessor
1204 PKG_CONFIG path to pkg-config utility
1206 C compiler flags for DIRECTFB, overriding pkg-config
1208 linker flags for DIRECTFB, overriding pkg-config
1210 C compiler flags for PANGOX, overriding pkg-config
1211 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1213 C compiler flags for PANGOFT2, overriding pkg-config
1215 linker flags for PANGOFT2, overriding pkg-config
1217 C compiler flags for PANGOXFT, overriding pkg-config
1219 linker flags for PANGOXFT, overriding pkg-config
1220 LIBGNOMEPRINTUI_CFLAGS
1221 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1222 LIBGNOMEPRINTUI_LIBS
1223 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 C compiler flags for GNOMEVFS, overriding pkg-config
1227 linker flags for GNOMEVFS, overriding pkg-config
1229 C compiler flags for HILDON, overriding pkg-config
1230 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1232 C compiler flags for CAIRO, overriding pkg-config
1233 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1234 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1235 GST_LIBS linker flags for GST, overriding pkg-config
1237 Use these variables to override the choices made by `configure' or to
help
1238 it to
find libraries and programs with nonstandard names
/locations.
1240 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1244 if test "$ac_init_help" = "recursive"; then
1245 # If there are subdirs, report their specific --help.
1247 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1248 test -d $ac_dir || continue
1251 if test "$ac_dir" != .
; then
1252 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A "../" for each directory in $ac_dir_suffix.
1254 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1256 ac_dir_suffix
= ac_top_builddir
=
1260 .
) # No --srcdir option. We are building in place.
1262 if test -z "$ac_top_builddir"; then
1265 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1267 [\\/]* | ?
:[\\/]* ) # Absolute path.
1268 ac_srcdir
=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir
=$srcdir ;;
1271 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1272 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1275 # Do not use `cd foo && pwd` to compute absolute paths, because
1276 # the directories may not exist.
1278 .
) ac_abs_builddir
="$ac_dir";;
1281 .
) ac_abs_builddir
=`pwd`;;
1282 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1283 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1286 case $ac_abs_builddir in
1287 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1289 case ${ac_top_builddir}.
in
1290 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1291 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1292 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1295 case $ac_abs_builddir in
1296 .
) ac_abs_srcdir
=$ac_srcdir;;
1299 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1300 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1301 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1304 case $ac_abs_builddir in
1305 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1307 case $ac_top_srcdir in
1308 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1309 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1310 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1315 # Check for guested configure; otherwise get Cygnus style configure.
1316 if test -f $ac_srcdir/configure.gnu
; then
1318 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1319 elif test -f $ac_srcdir/configure
; then
1321 $SHELL $ac_srcdir/configure
--help=recursive
1322 elif test -f $ac_srcdir/configure.ac
||
1323 test -f $ac_srcdir/configure.
in; then
1325 $ac_configure --help
1327 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 test -n "$ac_init_help" && exit 0
1334 if $ac_init_version; then
1336 wxWidgets configure
2.7.1
1337 generated by GNU Autoconf
2.59
1339 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1340 This configure
script is free software
; the Free Software Foundation
1341 gives unlimited permission to copy
, distribute and modify it.
1347 This file contains any messages produced by compilers while
1348 running configure, to aid debugging if configure makes a mistake.
1350 It was created by wxWidgets $as_me 2.7.1, which was
1351 generated by GNU Autoconf 2.59. Invocation command line was
1362 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1375 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1385 test -z "$as_dir" && as_dir
=.
1386 echo "PATH: $as_dir"
1401 # Keep a trace of the command line.
1402 # Strip out --no-create and --no-recursion so they do not pile up.
1403 # Strip out --silent because we don't want to record it for future runs.
1404 # Also quote any args containing shell meta-characters.
1405 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_must_keep_next
=false
1416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418 | -silent | --silent | --silen | --sile | --sil)
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1426 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1427 if test $ac_must_keep_next = true
; then
1428 ac_must_keep_next
=false
# Got value, back to normal.
1431 *=* | --config-cache | -C | -disable-* | --disable-* \
1432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434 | -with-* | --with-* | -without-* | --without-* | --x)
1435 case "$ac_configure_args0 " in
1436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 -* ) ac_must_keep_next
=true
;;
1442 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1443 # Get rid of the leading space.
1449 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1450 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Be sure not to use single quotes in there, as some shells,
1456 # such as our DU 5.0 friend, will then `close' the trap.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1468 # The following way of writing the cache mishandles newlines in values,
1471 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1474 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1486 ## ----------------- ##
1487 ## Output variables. ##
1488 ## ----------------- ##
1491 for ac_var in $ac_subst_vars
1493 eval ac_val=$`echo $ac_var`
1494 echo "$ac_var='"'"'$ac_val'"'"'"
1498 if test -n "$ac_subst_files"; then
1505 for ac_var in $ac_subst_files
1507 eval ac_val=$`echo $ac_var`
1508 echo "$ac_var='"'"'$ac_val'"'"'"
1513 if test -s confdefs.h; then
1520 sed "/^$/d" confdefs.h | sort
1523 test "$ac_signal" != 0 &&
1524 echo "$as_me: caught signal $ac_signal"
1525 echo "$as_me: exit $exit_status"
1527 rm -f core *.core &&
1528 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1531 for ac_signal
in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1537 rm -rf conftest
* confdefs.h
1538 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1541 # Predefined preprocessor variables.
1543 cat >>confdefs.h
<<_ACEOF
1544 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 cat >>confdefs.h
<<_ACEOF
1549 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 cat >>confdefs.h
<<_ACEOF
1554 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 cat >>confdefs.h
<<_ACEOF
1559 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 cat >>confdefs.h
<<_ACEOF
1564 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 # Let the site file select an alternate cache file if it wants to.
1569 # Prefer explicitly selected file to automatically selected ones.
1570 if test -z "$CONFIG_SITE"; then
1571 if test "x$prefix" != xNONE
; then
1572 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1574 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1577 for ac_site_file
in $CONFIG_SITE; do
1578 if test -r "$ac_site_file"; then
1579 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1580 echo "$as_me: loading site script $ac_site_file" >&6;}
1581 sed 's/^/| /' "$ac_site_file" >&5
1586 if test -r "$cache_file"; then
1587 # Some versions of bash will fail to source /dev/null (special
1588 # files actually), so we avoid doing that.
1589 if test -f "$cache_file"; then
1590 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1591 echo "$as_me: loading cache $cache_file" >&6;}
1593 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1594 *) . .
/$cache_file;;
1598 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1599 echo "$as_me: creating cache $cache_file" >&6;}
1603 # Check that the precious variables saved in the cache have kept the same
1605 ac_cache_corrupted
=false
1606 for ac_var
in `(set) 2>&1 |
1607 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1608 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1609 eval ac_new_set
=\
$ac_env_${ac_var}_set
1610 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1611 eval ac_new_val
="\$ac_env_${ac_var}_value"
1612 case $ac_old_set,$ac_new_set in
1614 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1615 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1616 ac_cache_corrupted
=: ;;
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1620 ac_cache_corrupted
=: ;;
1623 if test "x$ac_old_val" != "x$ac_new_val"; then
1624 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1625 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1626 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1627 echo "$as_me: former value: $ac_old_val" >&2;}
1628 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1629 echo "$as_me: current value: $ac_new_val" >&2;}
1630 ac_cache_corrupted
=:
1633 # Pass precious variables to config.status.
1634 if test "$ac_new_set" = set; then
1636 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1637 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638 *) ac_arg
=$ac_var=$ac_new_val ;;
1640 case " $ac_configure_args " in
1641 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1642 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1646 if $ac_cache_corrupted; then
1647 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651 { (exit 1); exit 1; }; }
1655 ac_cpp
='$CPP $CPPFLAGS'
1656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1690 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1691 if test -f $ac_dir/install-sh; then
1693 ac_install_sh
="$ac_aux_dir/install-sh -c"
1695 elif test -f $ac_dir/install.sh
; then
1697 ac_install_sh
="$ac_aux_dir/install.sh -c"
1699 elif test -f $ac_dir/shtool
; then
1701 ac_install_sh
="$ac_aux_dir/shtool install -c"
1705 if test -z "$ac_aux_dir"; then
1706 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1707 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1708 { (exit 1); exit 1; }; }
1710 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1711 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1712 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1714 # Make sure we can run config.sub.
1715 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1716 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1717 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1718 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: checking build system type" >&5
1721 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1722 if test "${ac_cv_build+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 ac_cv_build_alias
=$build_alias
1726 test -z "$ac_cv_build_alias" &&
1727 ac_cv_build_alias
=`$ac_config_guess`
1728 test -z "$ac_cv_build_alias" &&
1729 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1730 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1731 { (exit 1); exit 1; }; }
1732 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1733 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1734 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1735 { (exit 1); exit 1; }; }
1738 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1739 echo "${ECHO_T}$ac_cv_build" >&6
1741 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1742 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1743 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746 echo "$as_me:$LINENO: checking host system type" >&5
1747 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1748 if test "${ac_cv_host+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 ac_cv_host_alias
=$host_alias
1752 test -z "$ac_cv_host_alias" &&
1753 ac_cv_host_alias
=$ac_cv_build_alias
1754 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1755 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1756 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1757 { (exit 1); exit 1; }; }
1760 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1761 echo "${ECHO_T}$ac_cv_host" >&6
1763 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1764 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1765 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1768 echo "$as_me:$LINENO: checking target system type" >&5
1769 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1770 if test "${ac_cv_target+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 ac_cv_target_alias
=$target_alias
1774 test "x$ac_cv_target_alias" = "x" &&
1775 ac_cv_target_alias
=$ac_cv_host_alias
1776 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1777 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1778 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1779 { (exit 1); exit 1; }; }
1782 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1783 echo "${ECHO_T}$ac_cv_target" >&6
1784 target
=$ac_cv_target
1785 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1786 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1787 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1790 # The aliases save the names the user supplied, while $host etc.
1791 # will get canonicalized.
1792 test -n "$target_alias" &&
1793 test "$program_prefix$program_suffix$program_transform_name" = \
1795 program_prefix
=${target_alias}-
1799 wx_major_version_number
=2
1800 wx_minor_version_number
=7
1802 wx_subrelease_number
=2
1804 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1805 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1806 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1808 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1821 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1827 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1833 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1835 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1837 DEFAULT_wxUSE_COCOA
=0
1841 DEFAULT_wxUSE_MICROWIN
=0
1842 DEFAULT_wxUSE_MOTIF
=0
1848 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1849 DEFAULT_DEFAULT_wxUSE_GTK
=0
1850 DEFAULT_DEFAULT_wxUSE_MAC
=0
1851 DEFAULT_DEFAULT_wxUSE_MGL
=0
1852 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1854 DEFAULT_DEFAULT_wxUSE_MSW
=0
1855 DEFAULT_DEFAULT_wxUSE_PM
=0
1856 DEFAULT_DEFAULT_wxUSE_X11
=0
1857 DEFAULT_DEFAULT_wxUSE_DFB
=0
1862 SAMPLES_RPATH_POSTLINK
=
1864 DEFAULT_STD_FLAG
=yes
1869 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 cat >>confdefs.h
<<\_ACEOF
1877 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1881 cat >>confdefs.h
<<\_ACEOF
1886 if test "x$TMP" = "xalpha"; then
1888 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_GTK
=1
1895 *-*-gnu* | *-*-k*bsd
*-gnu )
1898 if test "x$TMP" = "xalpha"; then
1900 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_GTK
=1
1907 *-*-irix5* | *-*-irix6* )
1910 cat >>confdefs.h
<<\_ACEOF
1914 cat >>confdefs.h
<<\_ACEOF
1918 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1924 cat >>confdefs.h
<<\_ACEOF
1928 cat >>confdefs.h
<<\_ACEOF
1929 #define __SOLARIS__ 1
1932 cat >>confdefs.h
<<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1937 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1943 cat >>confdefs.h
<<\_ACEOF
1947 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1960 cat >>confdefs.h
<<\_ACEOF
1961 #define __FREEBSD__ 1
1964 cat >>confdefs.h
<<\_ACEOF
1968 DEFAULT_DEFAULT_wxUSE_GTK
=1
1970 *-*-openbsd*|*-*-mirbsd*)
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __OPENBSD__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_GTK
=1
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define __NETBSD__ 1
1990 cat >>confdefs.h
<<\_ACEOF
1994 DEFAULT_DEFAULT_wxUSE_GTK
=1
1995 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1997 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2002 cat >>confdefs.h
<<\_ACEOF
2006 cat >>confdefs.h
<<\_ACEOF
2010 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2011 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2016 cat >>confdefs.h
<<\_ACEOF
2020 cat >>confdefs.h
<<\_ACEOF
2024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2029 cat >>confdefs.h
<<\_ACEOF
2033 cat >>confdefs.h
<<\_ACEOF
2037 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2044 cat >>confdefs.h
<<\_ACEOF
2048 cat >>confdefs.h
<<\_ACEOF
2052 cat >>confdefs.h
<<\_ACEOF
2056 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2063 cat >>confdefs.h
<<\_ACEOF
2064 #define __UNIXWARE__ 1
2069 *-*-cygwin* | *-*-mingw32* )
2072 DEFAULT_DEFAULT_wxUSE_MSW
=1
2079 cat >>confdefs.h
<<\_ACEOF
2084 DEFAULT_DEFAULT_wxUSE_MGL
=1
2087 *-pc-os2_emx | *-pc-os2-emx )
2088 cat >>confdefs.h
<<\_ACEOF
2093 cat >>confdefs.h
<<\_ACEOF
2098 DEFAULT_DEFAULT_wxUSE_PM
=1
2100 LDFLAGS
="$LDFLAGS -Zcrtdll"
2101 ac_executable_extensions
=".exe"
2102 export ac_executable_extensions
2106 for ac_dir
in $PATH; do
2108 if test -z "$ac_TEMP_PATH"; then
2109 ac_TEMP_PATH
="$ac_dir"
2111 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2114 export PATH
="$ac_TEMP_PATH"
2123 cat >>confdefs.h
<<\_ACEOF
2127 cat >>confdefs.h
<<\_ACEOF
2128 #define __DARWIN__ 1
2131 cat >>confdefs.h
<<\_ACEOF
2132 #define TARGET_CARBON 1
2135 DEFAULT_DEFAULT_wxUSE_MAC
=1
2138 powerpc
-apple-macos* )
2140 ac_cv_c_bigendian
=yes
2142 DEFAULT_DEFAULT_wxUSE_MAC
=1
2148 cat >>confdefs.h
<<\_ACEOF
2155 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2156 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2157 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2158 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2160 DEFAULT_DEFAULT_wxUSE_X11
=1
2161 DEFAULT_wxUSE_SHARED
=no
2167 wx_arg_cache_file
="configarg.cache"
2168 echo "loading argument cache $wx_arg_cache_file"
2169 rm -f ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}
2175 if test $DEBUG_CONFIGURE = 1; then
2176 DEFAULT_wxUSE_UNIVERSAL
=no
2177 DEFAULT_wxUSE_STL
=no
2179 DEFAULT_wxUSE_NANOX
=no
2181 DEFAULT_wxUSE_THREADS
=yes
2183 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2184 DEFAULT_wxUSE_OPTIMISE
=no
2185 DEFAULT_wxUSE_PROFILE
=no
2186 DEFAULT_wxUSE_NO_DEPS
=no
2187 DEFAULT_wxUSE_NO_RTTI
=no
2188 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2189 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2190 DEFAULT_wxUSE_RPATH
=yes
2191 DEFAULT_wxUSE_PERMISSIVE
=no
2192 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2193 DEFAULT_wxUSE_DEBUG_INFO
=yes
2194 DEFAULT_wxUSE_DEBUG_GDB
=yes
2195 DEFAULT_wxUSE_MEM_TRACING
=no
2196 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2197 DEFAULT_wxUSE_DMALLOC
=no
2198 DEFAULT_wxUSE_APPLE_IEEE
=no
2200 DEFAULT_wxUSE_EXCEPTIONS
=no
2201 DEFAULT_wxUSE_LOG
=yes
2202 DEFAULT_wxUSE_LOGWINDOW
=no
2203 DEFAULT_wxUSE_LOGGUI
=no
2204 DEFAULT_wxUSE_LOGDIALOG
=no
2206 DEFAULT_wxUSE_GUI
=yes
2207 DEFAULT_wxUSE_CONTROLS
=no
2209 DEFAULT_wxUSE_REGEX
=no
2210 DEFAULT_wxUSE_XML
=no
2211 DEFAULT_wxUSE_EXPAT
=no
2212 DEFAULT_wxUSE_ZLIB
=no
2213 DEFAULT_wxUSE_LIBPNG
=no
2214 DEFAULT_wxUSE_LIBJPEG
=no
2215 DEFAULT_wxUSE_LIBTIFF
=no
2216 DEFAULT_wxUSE_LIBXPM
=no
2217 DEFAULT_wxUSE_LIBMSPACK
=no
2218 DEFAULT_wxUSE_LIBSDL
=no
2219 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2220 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2221 DEFAULT_wxUSE_LIBHILDON
=no
2222 DEFAULT_wxUSE_ODBC
=no
2223 DEFAULT_wxUSE_OPENGL
=no
2225 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2226 DEFAULT_wxUSE_STACKWALKER
=no
2227 DEFAULT_wxUSE_DEBUGREPORT
=no
2228 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2229 DEFAULT_wxUSE_STD_IOSTREAM
=no
2230 DEFAULT_wxUSE_STD_STRING
=no
2231 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2232 DEFAULT_wxUSE_DATETIME
=no
2233 DEFAULT_wxUSE_TIMER
=no
2234 DEFAULT_wxUSE_STOPWATCH
=no
2235 DEFAULT_wxUSE_FILE
=no
2236 DEFAULT_wxUSE_FFILE
=no
2237 DEFAULT_wxUSE_STDPATHS
=no
2238 DEFAULT_wxUSE_TEXTBUFFER
=no
2239 DEFAULT_wxUSE_TEXTFILE
=no
2240 DEFAULT_wxUSE_SOUND
=no
2241 DEFAULT_wxUSE_MEDIACTRL
=no
2242 DEFAULT_wxUSE_GSTREAMER8
=no
2243 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2244 DEFAULT_wxUSE_INTL
=no
2245 DEFAULT_wxUSE_CONFIG
=no
2246 DEFAULT_wxUSE_FONTMAP
=no
2247 DEFAULT_wxUSE_STREAMS
=no
2248 DEFAULT_wxUSE_SOCKETS
=no
2249 DEFAULT_wxUSE_OLE
=no
2250 DEFAULT_wxUSE_DATAOBJ
=no
2251 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2252 DEFAULT_wxUSE_JOYSTICK
=no
2253 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2254 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2255 DEFAULT_wxUSE_LONGLONG
=no
2256 DEFAULT_wxUSE_GEOMETRY
=no
2258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2260 DEFAULT_wxUSE_POSTSCRIPT
=no
2262 DEFAULT_wxUSE_CLIPBOARD
=no
2263 DEFAULT_wxUSE_TOOLTIPS
=no
2264 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2265 DEFAULT_wxUSE_DRAGIMAGE
=no
2266 DEFAULT_wxUSE_SPLINES
=no
2267 DEFAULT_wxUSE_MOUSEWHEEL
=no
2269 DEFAULT_wxUSE_MDI
=no
2270 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_RESOURCES
=no
2275 DEFAULT_wxUSE_CONSTRAINTS
=no
2276 DEFAULT_wxUSE_IPC
=no
2277 DEFAULT_wxUSE_HELP
=no
2278 DEFAULT_wxUSE_MS_HTML_HELP
=no
2279 DEFAULT_wxUSE_WXHTML_HELP
=no
2280 DEFAULT_wxUSE_TREELAYOUT
=no
2281 DEFAULT_wxUSE_METAFILE
=no
2282 DEFAULT_wxUSE_MIMETYPE
=no
2283 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2284 DEFAULT_wxUSE_PROTOCOL
=no
2285 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2286 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2287 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2288 DEFAULT_wxUSE_URL
=no
2289 DEFAULT_wxUSE_VARIANT
=no
2291 DEFAULT_wxUSE_ABOUTDLG
=no
2292 DEFAULT_wxUSE_COMMONDLGS
=no
2293 DEFAULT_wxUSE_CHOICEDLG
=no
2294 DEFAULT_wxUSE_COLOURDLG
=no
2295 DEFAULT_wxUSE_DIRDLG
=no
2296 DEFAULT_wxUSE_FILEDLG
=no
2297 DEFAULT_wxUSE_FINDREPLDLG
=no
2298 DEFAULT_wxUSE_FONTDLG
=no
2299 DEFAULT_wxUSE_MSGDLG
=no
2300 DEFAULT_wxUSE_NUMBERDLG
=no
2301 DEFAULT_wxUSE_TEXTDLG
=no
2302 DEFAULT_wxUSE_SPLASH
=no
2303 DEFAULT_wxUSE_STARTUP_TIPS
=no
2304 DEFAULT_wxUSE_PROGRESSDLG
=no
2305 DEFAULT_wxUSE_WIZARDDLG
=no
2307 DEFAULT_wxUSE_MENUS
=no
2308 DEFAULT_wxUSE_MINIFRAME
=no
2309 DEFAULT_wxUSE_HTML
=no
2310 DEFAULT_wxUSE_RICHTEXT
=no
2311 DEFAULT_wxUSE_XRC
=no
2312 DEFAULT_wxUSE_AUI
=no
2313 DEFAULT_wxUSE_WEBKIT
=no
2314 DEFAULT_wxUSE_FILESYSTEM
=no
2315 DEFAULT_wxUSE_FS_INET
=no
2316 DEFAULT_wxUSE_FS_ZIP
=no
2317 DEFAULT_wxUSE_BUSYINFO
=no
2318 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2319 DEFAULT_wxUSE_ZIPSTREAM
=no
2320 DEFAULT_wxUSE_VALIDATORS
=no
2322 DEFAULT_wxUSE_ACCEL
=no
2323 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2324 DEFAULT_wxUSE_BUTTON
=no
2325 DEFAULT_wxUSE_BMPBUTTON
=no
2326 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2327 DEFAULT_wxUSE_CALCTRL
=no
2328 DEFAULT_wxUSE_CARET
=no
2329 DEFAULT_wxUSE_CHECKBOX
=no
2330 DEFAULT_wxUSE_CHECKLST
=no
2331 DEFAULT_wxUSE_CHOICE
=no
2332 DEFAULT_wxUSE_CHOICEBOOK
=no
2333 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2334 DEFAULT_wxUSE_COMBOBOX
=no
2335 DEFAULT_wxUSE_COMBOCTRL
=no
2336 DEFAULT_wxUSE_DATEPICKCTRL
=no
2337 DEFAULT_wxUSE_DISPLAY
=no
2338 DEFAULT_wxUSE_DETECT_SM
=no
2339 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2340 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2341 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2342 DEFAULT_wxUSE_GAUGE
=no
2343 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2344 DEFAULT_wxUSE_GRID
=no
2345 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2346 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2347 DEFAULT_wxUSE_IMAGLIST
=no
2348 DEFAULT_wxUSE_LISTBOOK
=no
2349 DEFAULT_wxUSE_LISTBOX
=no
2350 DEFAULT_wxUSE_LISTCTRL
=no
2351 DEFAULT_wxUSE_NOTEBOOK
=no
2352 DEFAULT_wxUSE_ODCOMBOBOX
=no
2353 DEFAULT_wxUSE_RADIOBOX
=no
2354 DEFAULT_wxUSE_RADIOBTN
=no
2355 DEFAULT_wxUSE_SASH
=no
2356 DEFAULT_wxUSE_SCROLLBAR
=no
2357 DEFAULT_wxUSE_SLIDER
=no
2358 DEFAULT_wxUSE_SPINBTN
=no
2359 DEFAULT_wxUSE_SPINCTRL
=no
2360 DEFAULT_wxUSE_SPLITTER
=no
2361 DEFAULT_wxUSE_STATBMP
=no
2362 DEFAULT_wxUSE_STATBOX
=no
2363 DEFAULT_wxUSE_STATLINE
=no
2364 DEFAULT_wxUSE_STATTEXT
=no
2365 DEFAULT_wxUSE_STATUSBAR
=yes
2366 DEFAULT_wxUSE_TAB_DIALOG
=no
2367 DEFAULT_wxUSE_TEXTCTRL
=no
2368 DEFAULT_wxUSE_TOGGLEBTN
=no
2369 DEFAULT_wxUSE_TOOLBAR
=no
2370 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2371 DEFAULT_wxUSE_TREEBOOK
=no
2372 DEFAULT_wxUSE_TOOLBOOK
=no
2373 DEFAULT_wxUSE_TREECTRL
=no
2374 DEFAULT_wxUSE_POPUPWIN
=no
2375 DEFAULT_wxUSE_TIPWINDOW
=no
2377 DEFAULT_wxUSE_UNICODE
=no
2378 DEFAULT_wxUSE_UNICODE_MSLU
=no
2379 DEFAULT_wxUSE_WCSRTOMBS
=no
2381 DEFAULT_wxUSE_PALETTE
=no
2382 DEFAULT_wxUSE_IMAGE
=no
2383 DEFAULT_wxUSE_GIF
=no
2384 DEFAULT_wxUSE_PCX
=no
2385 DEFAULT_wxUSE_PNM
=no
2386 DEFAULT_wxUSE_IFF
=no
2387 DEFAULT_wxUSE_XPM
=no
2388 DEFAULT_wxUSE_ICO_CUR
=no
2389 DEFAULT_wxUSE_ACCESSIBILITY
=no
2391 DEFAULT_wxUSE_MONOLITHIC
=no
2392 DEFAULT_wxUSE_PLUGINS
=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2395 DEFAULT_wxUSE_UNIVERSAL
=no
2396 DEFAULT_wxUSE_STL
=no
2398 DEFAULT_wxUSE_NANOX
=no
2400 DEFAULT_wxUSE_THREADS
=yes
2402 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2403 DEFAULT_wxUSE_OPTIMISE
=yes
2404 DEFAULT_wxUSE_PROFILE
=no
2405 DEFAULT_wxUSE_NO_DEPS
=no
2406 DEFAULT_wxUSE_NO_RTTI
=no
2407 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2408 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2409 DEFAULT_wxUSE_RPATH
=yes
2410 DEFAULT_wxUSE_PERMISSIVE
=no
2411 DEFAULT_wxUSE_DEBUG_FLAG
=no
2412 DEFAULT_wxUSE_DEBUG_INFO
=no
2413 DEFAULT_wxUSE_DEBUG_GDB
=no
2414 DEFAULT_wxUSE_MEM_TRACING
=no
2415 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2416 DEFAULT_wxUSE_DMALLOC
=no
2417 DEFAULT_wxUSE_APPLE_IEEE
=yes
2419 DEFAULT_wxUSE_EXCEPTIONS
=yes
2420 DEFAULT_wxUSE_LOG
=yes
2421 DEFAULT_wxUSE_LOGWINDOW
=yes
2422 DEFAULT_wxUSE_LOGGUI
=yes
2423 DEFAULT_wxUSE_LOGDIALOG
=yes
2425 DEFAULT_wxUSE_GUI
=yes
2427 DEFAULT_wxUSE_REGEX
=yes
2428 DEFAULT_wxUSE_XML
=yes
2429 DEFAULT_wxUSE_EXPAT
=yes
2430 DEFAULT_wxUSE_ZLIB
=yes
2431 DEFAULT_wxUSE_LIBPNG
=yes
2432 DEFAULT_wxUSE_LIBJPEG
=yes
2433 DEFAULT_wxUSE_LIBTIFF
=yes
2434 DEFAULT_wxUSE_LIBXPM
=yes
2435 DEFAULT_wxUSE_LIBMSPACK
=yes
2436 DEFAULT_wxUSE_LIBSDL
=no
2437 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2438 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2439 DEFAULT_wxUSE_LIBHILDON
=no
2440 DEFAULT_wxUSE_ODBC
=no
2441 DEFAULT_wxUSE_OPENGL
=no
2443 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2444 DEFAULT_wxUSE_STACKWALKER
=yes
2445 DEFAULT_wxUSE_DEBUGREPORT
=yes
2446 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2447 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2448 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2449 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2450 DEFAULT_wxUSE_DATETIME
=yes
2451 DEFAULT_wxUSE_TIMER
=yes
2452 DEFAULT_wxUSE_STOPWATCH
=yes
2453 DEFAULT_wxUSE_FILE
=yes
2454 DEFAULT_wxUSE_FFILE
=yes
2455 DEFAULT_wxUSE_STDPATHS
=yes
2456 DEFAULT_wxUSE_TEXTBUFFER
=yes
2457 DEFAULT_wxUSE_TEXTFILE
=yes
2458 DEFAULT_wxUSE_SOUND
=yes
2459 DEFAULT_wxUSE_MEDIACTRL
=no
2460 DEFAULT_wxUSE_GSTREAMER8
=no
2461 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2462 DEFAULT_wxUSE_INTL
=yes
2463 DEFAULT_wxUSE_CONFIG
=yes
2464 DEFAULT_wxUSE_FONTMAP
=yes
2465 DEFAULT_wxUSE_STREAMS
=yes
2466 DEFAULT_wxUSE_SOCKETS
=yes
2467 DEFAULT_wxUSE_OLE
=yes
2468 DEFAULT_wxUSE_DATAOBJ
=yes
2469 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2470 DEFAULT_wxUSE_JOYSTICK
=yes
2471 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2472 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2473 DEFAULT_wxUSE_LONGLONG
=yes
2474 DEFAULT_wxUSE_GEOMETRY
=yes
2476 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2477 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2478 DEFAULT_wxUSE_POSTSCRIPT
=yes
2480 DEFAULT_wxUSE_CLIPBOARD
=yes
2481 DEFAULT_wxUSE_TOOLTIPS
=yes
2482 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2483 DEFAULT_wxUSE_DRAGIMAGE
=yes
2484 DEFAULT_wxUSE_SPLINES
=yes
2485 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2487 DEFAULT_wxUSE_MDI
=yes
2488 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2492 DEFAULT_wxUSE_RESOURCES
=no
2493 DEFAULT_wxUSE_CONSTRAINTS
=yes
2494 DEFAULT_wxUSE_IPC
=yes
2495 DEFAULT_wxUSE_HELP
=yes
2496 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2497 DEFAULT_wxUSE_WXHTML_HELP
=yes
2498 DEFAULT_wxUSE_TREELAYOUT
=yes
2499 DEFAULT_wxUSE_METAFILE
=yes
2500 DEFAULT_wxUSE_MIMETYPE
=yes
2501 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2502 DEFAULT_wxUSE_PROTOCOL
=yes
2503 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2504 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2505 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2506 DEFAULT_wxUSE_URL
=yes
2507 DEFAULT_wxUSE_VARIANT
=yes
2509 DEFAULT_wxUSE_ABOUTDLG
=yes
2510 DEFAULT_wxUSE_COMMONDLGS
=yes
2511 DEFAULT_wxUSE_CHOICEDLG
=yes
2512 DEFAULT_wxUSE_COLOURDLG
=yes
2513 DEFAULT_wxUSE_DIRDLG
=yes
2514 DEFAULT_wxUSE_FILEDLG
=yes
2515 DEFAULT_wxUSE_FINDREPLDLG
=yes
2516 DEFAULT_wxUSE_FONTDLG
=yes
2517 DEFAULT_wxUSE_MSGDLG
=yes
2518 DEFAULT_wxUSE_NUMBERDLG
=yes
2519 DEFAULT_wxUSE_TEXTDLG
=yes
2520 DEFAULT_wxUSE_SPLASH
=yes
2521 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2522 DEFAULT_wxUSE_PROGRESSDLG
=yes
2523 DEFAULT_wxUSE_WIZARDDLG
=yes
2525 DEFAULT_wxUSE_MENUS
=yes
2526 DEFAULT_wxUSE_MINIFRAME
=yes
2527 DEFAULT_wxUSE_HTML
=yes
2528 DEFAULT_wxUSE_RICHTEXT
=yes
2529 DEFAULT_wxUSE_XRC
=yes
2530 DEFAULT_wxUSE_AUI
=yes
2531 DEFAULT_wxUSE_WEBKIT
=yes
2532 DEFAULT_wxUSE_FILESYSTEM
=yes
2533 DEFAULT_wxUSE_FS_INET
=yes
2534 DEFAULT_wxUSE_FS_ZIP
=yes
2535 DEFAULT_wxUSE_BUSYINFO
=yes
2536 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2537 DEFAULT_wxUSE_ZIPSTREAM
=yes
2538 DEFAULT_wxUSE_VALIDATORS
=yes
2540 DEFAULT_wxUSE_ACCEL
=yes
2541 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2542 DEFAULT_wxUSE_BUTTON
=yes
2543 DEFAULT_wxUSE_BMPBUTTON
=yes
2544 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2545 DEFAULT_wxUSE_CALCTRL
=yes
2546 DEFAULT_wxUSE_CARET
=yes
2547 DEFAULT_wxUSE_CHECKBOX
=yes
2548 DEFAULT_wxUSE_CHECKLST
=yes
2549 DEFAULT_wxUSE_CHOICE
=yes
2550 DEFAULT_wxUSE_CHOICEBOOK
=yes
2551 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2552 DEFAULT_wxUSE_COMBOBOX
=yes
2553 DEFAULT_wxUSE_COMBOCTRL
=yes
2554 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2555 DEFAULT_wxUSE_DISPLAY
=yes
2556 DEFAULT_wxUSE_DETECT_SM
=yes
2557 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2558 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2559 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2560 DEFAULT_wxUSE_GAUGE
=yes
2561 DEFAULT_wxUSE_GRID
=yes
2562 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2563 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2564 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2565 DEFAULT_wxUSE_IMAGLIST
=yes
2566 DEFAULT_wxUSE_LISTBOOK
=yes
2567 DEFAULT_wxUSE_LISTBOX
=yes
2568 DEFAULT_wxUSE_LISTCTRL
=yes
2569 DEFAULT_wxUSE_NOTEBOOK
=yes
2570 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2571 DEFAULT_wxUSE_RADIOBOX
=yes
2572 DEFAULT_wxUSE_RADIOBTN
=yes
2573 DEFAULT_wxUSE_SASH
=yes
2574 DEFAULT_wxUSE_SCROLLBAR
=yes
2575 DEFAULT_wxUSE_SLIDER
=yes
2576 DEFAULT_wxUSE_SPINBTN
=yes
2577 DEFAULT_wxUSE_SPINCTRL
=yes
2578 DEFAULT_wxUSE_SPLITTER
=yes
2579 DEFAULT_wxUSE_STATBMP
=yes
2580 DEFAULT_wxUSE_STATBOX
=yes
2581 DEFAULT_wxUSE_STATLINE
=yes
2582 DEFAULT_wxUSE_STATTEXT
=yes
2583 DEFAULT_wxUSE_STATUSBAR
=yes
2584 DEFAULT_wxUSE_TAB_DIALOG
=no
2585 DEFAULT_wxUSE_TEXTCTRL
=yes
2586 DEFAULT_wxUSE_TOGGLEBTN
=yes
2587 DEFAULT_wxUSE_TOOLBAR
=yes
2588 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2589 DEFAULT_wxUSE_TREEBOOK
=yes
2590 DEFAULT_wxUSE_TOOLBOOK
=yes
2591 DEFAULT_wxUSE_TREECTRL
=yes
2592 DEFAULT_wxUSE_POPUPWIN
=yes
2593 DEFAULT_wxUSE_TIPWINDOW
=yes
2595 DEFAULT_wxUSE_UNICODE
=no
2596 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2597 DEFAULT_wxUSE_WCSRTOMBS
=no
2599 DEFAULT_wxUSE_PALETTE
=yes
2600 DEFAULT_wxUSE_IMAGE
=yes
2601 DEFAULT_wxUSE_GIF
=yes
2602 DEFAULT_wxUSE_PCX
=yes
2603 DEFAULT_wxUSE_IFF
=no
2604 DEFAULT_wxUSE_PNM
=yes
2605 DEFAULT_wxUSE_XPM
=yes
2606 DEFAULT_wxUSE_ICO_CUR
=yes
2607 DEFAULT_wxUSE_ACCESSIBILITY
=no
2609 DEFAULT_wxUSE_MONOLITHIC
=no
2610 DEFAULT_wxUSE_PLUGINS
=no
2611 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2613 DEFAULT_wxUSE_GTK2
=yes
2619 for toolkit
in `echo $ALL_TOOLKITS`; do
2620 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2621 if test "x$LINE" != "x" ; then
2622 has_toolkit_in_cache
=1
2623 eval "DEFAULT_$LINE"
2624 eval "CACHE_$toolkit=1"
2626 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2627 if test "x$LINE" != "x" ; then
2628 eval "DEFAULT_$LINE"
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2639 # Check whether --enable-gui or --disable-gui was given.
2640 if test "${enable_gui+set}" = set; then
2641 enableval
="$enable_gui"
2643 if test "$enableval" = yes; then
2644 ac_cv_use_gui
='wxUSE_GUI=yes'
2646 ac_cv_use_gui
='wxUSE_GUI=no'
2651 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x
; then
2653 eval "DEFAULT_$LINE"
2658 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2662 eval "$ac_cv_use_gui"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_GUI" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2678 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2680 # Check whether --enable-monolithic or --disable-monolithic was given.
2681 if test "${enable_monolithic+set}" = set; then
2682 enableval
="$enable_monolithic"
2684 if test "$enableval" = yes; then
2685 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2687 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2692 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x
; then
2694 eval "DEFAULT_$LINE"
2699 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2703 eval "$ac_cv_use_monolithic"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2708 if test "$wxUSE_MONOLITHIC" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2719 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2721 # Check whether --enable-plugins or --disable-plugins was given.
2722 if test "${enable_plugins+set}" = set; then
2723 enableval
="$enable_plugins"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2728 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2733 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x
; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2744 eval "$ac_cv_use_plugins"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2749 if test "$wxUSE_PLUGINS" = yes; then
2750 echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2759 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2760 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2763 # Check whether --with-subdirs or --without-subdirs was given.
2764 if test "${with_subdirs+set}" = set; then
2765 withval
="$with_subdirs"
2767 if test "$withval" = yes; then
2768 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2770 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2775 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2786 eval "$ac_cv_use_subdirs"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2791 if test "$wxWITH_SUBDIRS" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2800 if test "$wxUSE_GUI" = "yes"; then
2804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2805 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2807 # Check whether --enable-universal or --disable-universal was given.
2808 if test "${enable_universal+set}" = set; then
2809 enableval
="$enable_universal"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2814 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2819 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2830 eval "$ac_cv_use_universal"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_UNIVERSAL" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2844 # Check whether --with-gtk or --without-gtk was given.
2845 if test "${with_gtk+set}" = set; then
2847 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2850 # Check whether --with-motif or --without-motif was given.
2851 if test "${with_motif+set}" = set; then
2852 withval
="$with_motif"
2853 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2856 # Check whether --with-mac or --without-mac was given.
2857 if test "${with_mac+set}" = set; then
2859 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2862 # Check whether --with-cocoa or --without-cocoa was given.
2863 if test "${with_cocoa+set}" = set; then
2864 withval
="$with_cocoa"
2865 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2868 # Check whether --with-wine or --without-wine was given.
2869 if test "${with_wine+set}" = set; then
2870 withval
="$with_wine"
2871 wxUSE_WINE
="$withval" CACHE_WINE
=1
2874 # Check whether --with-msw or --without-msw was given.
2875 if test "${with_msw+set}" = set; then
2877 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2880 # Check whether --with-pm or --without-pm was given.
2881 if test "${with_pm+set}" = set; then
2883 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2886 # Check whether --with-mgl or --without-mgl was given.
2887 if test "${with_mgl+set}" = set; then
2889 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2892 # Check whether --with-directfb or --without-directfb was given.
2893 if test "${with_directfb+set}" = set; then
2894 withval
="$with_directfb"
2895 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2898 # Check whether --with-microwin or --without-microwin was given.
2899 if test "${with_microwin+set}" = set; then
2900 withval
="$with_microwin"
2901 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2904 # Check whether --with-x11 or --without-x11 was given.
2905 if test "${with_x11+set}" = set; then
2907 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2912 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2914 # Check whether --enable-nanox or --disable-nanox was given.
2915 if test "${enable_nanox+set}" = set; then
2916 enableval
="$enable_nanox"
2918 if test "$enableval" = yes; then
2919 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2921 ac_cv_use_nanox
='wxUSE_NANOX=no'
2926 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x
; then
2928 eval "DEFAULT_$LINE"
2933 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2937 eval "$ac_cv_use_nanox"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2942 if test "$wxUSE_NANOX" = yes; then
2943 echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2951 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2952 if test "${enable_gtk2+set}" = set; then
2953 enableval
="$enable_gtk2"
2954 wxUSE_GTK2
="$enableval"
2958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2959 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2961 # Check whether --enable-gpe or --disable-gpe was given.
2962 if test "${enable_gpe+set}" = set; then
2963 enableval
="$enable_gpe"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_gpe
='wxUSE_GPE=yes'
2968 ac_cv_use_gpe
='wxUSE_GPE=no'
2973 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x
; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2984 eval "$ac_cv_use_gpe"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2989 if test "$wxUSE_GPE" = yes; then
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2993 echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2999 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3000 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3003 # Check whether --with-libpng or --without-libpng was given.
3004 if test "${with_libpng+set}" = set; then
3005 withval
="$with_libpng"
3007 if test "$withval" = yes; then
3008 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3009 elif test "$withval" = no
; then
3010 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3011 elif test "$withval" = sys
; then
3012 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3013 elif test "$withval" = builtin; then
3014 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3023 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x
; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3034 eval "$ac_cv_use_libpng"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3039 if test "$wxUSE_LIBPNG" = yes; then
3040 echo "$as_me:$LINENO: result: yes" >&5
3041 echo "${ECHO_T}yes" >&6
3042 elif test "$wxUSE_LIBPNG" = no
; then
3043 echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6
3045 elif test "$wxUSE_LIBPNG" = sys
; then
3046 echo "$as_me:$LINENO: result: system version" >&5
3047 echo "${ECHO_T}system version" >&6
3048 elif test "$wxUSE_LIBPNG" = builtin; then
3049 echo "$as_me:$LINENO: result: builtin version" >&5
3050 echo "${ECHO_T}builtin version" >&6
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3058 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3059 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3062 # Check whether --with-libjpeg or --without-libjpeg was given.
3063 if test "${with_libjpeg+set}" = set; then
3064 withval
="$with_libjpeg"
3066 if test "$withval" = yes; then
3067 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3068 elif test "$withval" = no
; then
3069 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3070 elif test "$withval" = sys
; then
3071 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3072 elif test "$withval" = builtin; then
3073 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3082 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x
; then
3084 eval "DEFAULT_$LINE"
3089 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3093 eval "$ac_cv_use_libjpeg"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_LIBJPEG" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3101 elif test "$wxUSE_LIBJPEG" = no
; then
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3104 elif test "$wxUSE_LIBJPEG" = sys
; then
3105 echo "$as_me:$LINENO: result: system version" >&5
3106 echo "${ECHO_T}system version" >&6
3107 elif test "$wxUSE_LIBJPEG" = builtin; then
3108 echo "$as_me:$LINENO: result: builtin version" >&5
3109 echo "${ECHO_T}builtin version" >&6
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3117 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3118 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3121 # Check whether --with-libtiff or --without-libtiff was given.
3122 if test "${with_libtiff+set}" = set; then
3123 withval
="$with_libtiff"
3125 if test "$withval" = yes; then
3126 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3127 elif test "$withval" = no
; then
3128 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3129 elif test "$withval" = sys
; then
3130 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3131 elif test "$withval" = builtin; then
3132 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3134 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3135 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3136 { (exit 1); exit 1; }; }
3141 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x
; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3152 eval "$ac_cv_use_libtiff"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_LIBTIFF" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 elif test "$wxUSE_LIBTIFF" = no
; then
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 elif test "$wxUSE_LIBTIFF" = sys
; then
3164 echo "$as_me:$LINENO: result: system version" >&5
3165 echo "${ECHO_T}system version" >&6
3166 elif test "$wxUSE_LIBTIFF" = builtin; then
3167 echo "$as_me:$LINENO: result: builtin version" >&5
3168 echo "${ECHO_T}builtin version" >&6
3170 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3171 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3172 { (exit 1); exit 1; }; }
3176 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3177 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3180 # Check whether --with-libxpm or --without-libxpm was given.
3181 if test "${with_libxpm+set}" = set; then
3182 withval
="$with_libxpm"
3184 if test "$withval" = yes; then
3185 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3186 elif test "$withval" = no
; then
3187 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3188 elif test "$withval" = sys
; then
3189 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3190 elif test "$withval" = builtin; then
3191 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3193 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3194 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3195 { (exit 1); exit 1; }; }
3200 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x
; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3211 eval "$ac_cv_use_libxpm"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_LIBXPM" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3219 elif test "$wxUSE_LIBXPM" = no
; then
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3222 elif test "$wxUSE_LIBXPM" = sys
; then
3223 echo "$as_me:$LINENO: result: system version" >&5
3224 echo "${ECHO_T}system version" >&6
3225 elif test "$wxUSE_LIBXPM" = builtin; then
3226 echo "$as_me:$LINENO: result: builtin version" >&5
3227 echo "${ECHO_T}builtin version" >&6
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3236 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3237 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3240 # Check whether --with-libmspack or --without-libmspack was given.
3241 if test "${with_libmspack+set}" = set; then
3242 withval
="$with_libmspack"
3244 if test "$withval" = yes; then
3245 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3247 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3252 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x
; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3263 eval "$ac_cv_use_libmspack"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_LIBMSPACK" = yes; then
3269 echo "$as_me:$LINENO: result: yes" >&5
3270 echo "${ECHO_T}yes" >&6
3272 echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6
3278 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3279 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3282 # Check whether --with-sdl or --without-sdl was given.
3283 if test "${with_sdl+set}" = set; then
3286 if test "$withval" = yes; then
3287 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3289 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3294 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3305 eval "$ac_cv_use_sdl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_LIBSDL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3320 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3321 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3324 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3325 if test "${with_gnomeprint+set}" = set; then
3326 withval
="$with_gnomeprint"
3328 if test "$withval" = yes; then
3329 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3331 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3336 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x
; then
3338 eval "DEFAULT_$LINE"
3343 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3347 eval "$ac_cv_use_gnomeprint"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3362 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3363 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3366 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3367 if test "${with_gnomevfs+set}" = set; then
3368 withval
="$with_gnomevfs"
3370 if test "$withval" = yes; then
3371 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3373 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3378 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x
; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3389 eval "$ac_cv_use_gnomevfs"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3394 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3395 echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6
3398 echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6
3404 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3405 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3408 # Check whether --with-hildon or --without-hildon was given.
3409 if test "${with_hildon+set}" = set; then
3410 withval
="$with_hildon"
3412 if test "$withval" = yes; then
3413 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3415 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3420 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x
; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3431 eval "$ac_cv_use_hildon"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_LIBHILDON" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3446 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3447 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3450 # Check whether --with-opengl or --without-opengl was given.
3451 if test "${with_opengl+set}" = set; then
3452 withval
="$with_opengl"
3454 if test "$withval" = yes; then
3455 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3457 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3462 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3473 eval "$ac_cv_use_opengl"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_OPENGL" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3487 if test "$wxUSE_UNIVERSAL" = "yes"; then
3489 # Check whether --with-themes or --without-themes was given.
3490 if test "${with_themes+set}" = set; then
3491 withval
="$with_themes"
3492 wxUNIV_THEMES
="$withval"
3500 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3501 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3504 # Check whether --with-dmalloc or --without-dmalloc was given.
3505 if test "${with_dmalloc+set}" = set; then
3506 withval
="$with_dmalloc"
3508 if test "$withval" = yes; then
3509 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3511 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3516 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3527 eval "$ac_cv_use_dmalloc"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_DMALLOC" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 echo "$as_me:$LINENO: checking for --with-regex" >&5
3542 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3545 # Check whether --with-regex or --without-regex was given.
3546 if test "${with_regex+set}" = set; then
3547 withval
="$with_regex"
3549 if test "$withval" = yes; then
3550 ac_cv_use_regex
='wxUSE_REGEX=yes'
3551 elif test "$withval" = no
; then
3552 ac_cv_use_regex
='wxUSE_REGEX=no'
3553 elif test "$withval" = sys
; then
3554 ac_cv_use_regex
='wxUSE_REGEX=sys'
3555 elif test "$withval" = builtin; then
3556 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3558 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3559 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3560 { (exit 1); exit 1; }; }
3565 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3576 eval "$ac_cv_use_regex"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_REGEX" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 elif test "$wxUSE_REGEX" = no
; then
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 elif test "$wxUSE_REGEX" = sys
; then
3588 echo "$as_me:$LINENO: result: system version" >&5
3589 echo "${ECHO_T}system version" >&6
3590 elif test "$wxUSE_REGEX" = builtin; then
3591 echo "$as_me:$LINENO: result: builtin version" >&5
3592 echo "${ECHO_T}builtin version" >&6
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3600 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3601 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3604 # Check whether --with-zlib or --without-zlib was given.
3605 if test "${with_zlib+set}" = set; then
3606 withval
="$with_zlib"
3608 if test "$withval" = yes; then
3609 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3610 elif test "$withval" = no
; then
3611 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3612 elif test "$withval" = sys
; then
3613 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3614 elif test "$withval" = builtin; then
3615 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3624 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3635 eval "$ac_cv_use_zlib"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3640 if test "$wxUSE_ZLIB" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3643 elif test "$wxUSE_ZLIB" = no
; then
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3646 elif test "$wxUSE_ZLIB" = sys
; then
3647 echo "$as_me:$LINENO: result: system version" >&5
3648 echo "${ECHO_T}system version" >&6
3649 elif test "$wxUSE_ZLIB" = builtin; then
3650 echo "$as_me:$LINENO: result: builtin version" >&5
3651 echo "${ECHO_T}builtin version" >&6
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3659 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3660 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3663 # Check whether --with-odbc or --without-odbc was given.
3664 if test "${with_odbc+set}" = set; then
3665 withval
="$with_odbc"
3667 if test "$withval" = yes; then
3668 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3669 elif test "$withval" = no
; then
3670 ac_cv_use_odbc
='wxUSE_ODBC=no'
3671 elif test "$withval" = sys
; then
3672 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3673 elif test "$withval" = builtin; then
3674 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3683 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3694 eval "$ac_cv_use_odbc"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_ODBC" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 elif test "$wxUSE_ODBC" = no
; then
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3705 elif test "$wxUSE_ODBC" = sys
; then
3706 echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6
3708 elif test "$wxUSE_ODBC" = builtin; then
3709 echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3718 echo "$as_me:$LINENO: checking for --with-expat" >&5
3719 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3722 # Check whether --with-expat or --without-expat was given.
3723 if test "${with_expat+set}" = set; then
3724 withval
="$with_expat"
3726 if test "$withval" = yes; then
3727 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3728 elif test "$withval" = no
; then
3729 ac_cv_use_expat
='wxUSE_EXPAT=no'
3730 elif test "$withval" = sys
; then
3731 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3732 elif test "$withval" = builtin; then
3733 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3753 eval "$ac_cv_use_expat"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_EXPAT" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 elif test "$wxUSE_EXPAT" = no
; then
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 elif test "$wxUSE_EXPAT" = sys
; then
3765 echo "$as_me:$LINENO: result: system version" >&5
3766 echo "${ECHO_T}system version" >&6
3767 elif test "$wxUSE_EXPAT" = builtin; then
3768 echo "$as_me:$LINENO: result: builtin version" >&5
3769 echo "${ECHO_T}builtin version" >&6
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3783 # Check whether --enable-shared or --disable-shared was given.
3784 if test "${enable_shared+set}" = set; then
3785 enableval
="$enable_shared"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_shared
='wxUSE_SHARED=yes'
3790 ac_cv_use_shared
='wxUSE_SHARED=no'
3795 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3806 eval "$ac_cv_use_shared"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_SHARED" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3824 # Check whether --enable-optimise or --disable-optimise was given.
3825 if test "${enable_optimise+set}" = set; then
3826 enableval
="$enable_optimise"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3831 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3836 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3847 eval "$ac_cv_use_optimise"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_OPTIMISE" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3865 # Check whether --enable-debug or --disable-debug was given.
3866 if test "${enable_debug+set}" = set; then
3867 enableval
="$enable_debug"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3872 ac_cv_use_debug
='wxUSE_DEBUG=no'
3877 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3888 eval "$ac_cv_use_debug"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_DEBUG" = yes; then
3894 echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3904 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3906 # Check whether --enable-stl or --disable-stl was given.
3907 if test "${enable_stl+set}" = set; then
3908 enableval
="$enable_stl"
3910 if test "$enableval" = yes; then
3911 ac_cv_use_stl
='wxUSE_STL=yes'
3913 ac_cv_use_stl
='wxUSE_STL=no'
3918 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x
; then
3920 eval "DEFAULT_$LINE"
3925 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3929 eval "$ac_cv_use_stl"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_STL" = yes; then
3935 echo "$as_me:$LINENO: result: yes" >&5
3936 echo "${ECHO_T}yes" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3942 if test "$USE_OS2" = "1"; then
3943 DEFAULT_wxUSE_OMF
=no
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3949 # Check whether --enable-omf or --disable-omf was given.
3950 if test "${enable_omf+set}" = set; then
3951 enableval
="$enable_omf"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_omf
='wxUSE_OMF=yes'
3956 ac_cv_use_omf
='wxUSE_OMF=no'
3961 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3972 eval "$ac_cv_use_omf"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3977 if test "$wxUSE_OMF" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3987 if test "$wxUSE_DEBUG" = "yes"; then
3988 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3989 DEFAULT_wxUSE_DEBUG_INFO
=yes
3991 elif test "$wxUSE_DEBUG" = "no"; then
3992 DEFAULT_wxUSE_DEBUG_FLAG
=no
3993 DEFAULT_wxUSE_DEBUG_INFO
=no
3999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4000 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4002 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4003 if test "${enable_debug_flag+set}" = set; then
4004 enableval
="$enable_debug_flag"
4006 if test "$enableval" = yes; then
4007 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4009 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4014 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x
; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4025 eval "$ac_cv_use_debug_flag"
4026 if test "$no_cache" != 1; then
4027 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4030 if test "$wxUSE_DEBUG_FLAG" = yes; then
4031 echo "$as_me:$LINENO: result: yes" >&5
4032 echo "${ECHO_T}yes" >&6
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4041 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4043 # Check whether --enable-debug_info or --disable-debug_info was given.
4044 if test "${enable_debug_info+set}" = set; then
4045 enableval
="$enable_debug_info"
4047 if test "$enableval" = yes; then
4048 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4050 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4055 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x
; then
4057 eval "DEFAULT_$LINE"
4062 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4066 eval "$ac_cv_use_debug_info"
4067 if test "$no_cache" != 1; then
4068 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4071 if test "$wxUSE_DEBUG_INFO" = yes; then
4072 echo "$as_me:$LINENO: result: yes" >&5
4073 echo "${ECHO_T}yes" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4082 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4084 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4085 if test "${enable_debug_gdb+set}" = set; then
4086 enableval
="$enable_debug_gdb"
4088 if test "$enableval" = yes; then
4089 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4091 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4096 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x
; then
4098 eval "DEFAULT_$LINE"
4103 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4107 eval "$ac_cv_use_debug_gdb"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4112 if test "$wxUSE_DEBUG_GDB" = yes; then
4113 echo "$as_me:$LINENO: result: yes" >&5
4114 echo "${ECHO_T}yes" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4125 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4126 if test "${enable_debug_cntxt+set}" = set; then
4127 enableval
="$enable_debug_cntxt"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4132 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4137 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x
; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4148 eval "$ac_cv_use_debug_cntxt"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4153 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4166 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4167 if test "${enable_mem_tracing+set}" = set; then
4168 enableval
="$enable_mem_tracing"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4173 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4178 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x
; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4189 eval "$ac_cv_use_mem_tracing"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_MEM_TRACING" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4207 # Check whether --enable-profile or --disable-profile was given.
4208 if test "${enable_profile+set}" = set; then
4209 enableval
="$enable_profile"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4214 ac_cv_use_profile
='wxUSE_PROFILE=no'
4219 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x
; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4230 eval "$ac_cv_use_profile"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_PROFILE" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4248 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4249 if test "${enable_no_rtti+set}" = set; then
4250 enableval
="$enable_no_rtti"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4255 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4260 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x
; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4271 eval "$ac_cv_use_no_rtti"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_NO_RTTI" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4287 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4289 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4290 if test "${enable_no_exceptions+set}" = set; then
4291 enableval
="$enable_no_exceptions"
4293 if test "$enableval" = yes; then
4294 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4296 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4301 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4302 if test "x$LINE" != x
; then
4303 eval "DEFAULT_$LINE"
4308 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4312 eval "$ac_cv_use_no_exceptions"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4318 echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6
4321 echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4328 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4330 # Check whether --enable-permissive or --disable-permissive was given.
4331 if test "${enable_permissive+set}" = set; then
4332 enableval
="$enable_permissive"
4334 if test "$enableval" = yes; then
4335 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4337 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4342 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4343 if test "x$LINE" != x
; then
4344 eval "DEFAULT_$LINE"
4349 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4353 eval "$ac_cv_use_permissive"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_PERMISSIVE" = yes; then
4359 echo "$as_me:$LINENO: result: yes" >&5
4360 echo "${ECHO_T}yes" >&6
4362 echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4371 # Check whether --enable-no_deps or --disable-no_deps was given.
4372 if test "${enable_no_deps+set}" = set; then
4373 enableval
="$enable_no_deps"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4378 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4383 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x
; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4394 eval "$ac_cv_use_no_deps"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_NO_DEPS" = yes; then
4400 echo "$as_me:$LINENO: result: yes" >&5
4401 echo "${ECHO_T}yes" >&6
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4410 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4412 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4413 if test "${enable_universal_binary+set}" = set; then
4414 enableval
="$enable_universal_binary"
4416 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4420 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4423 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4426 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4431 eval "$wx_cv_use_universal_binary"
4432 if test "$no_cache" != 1; then
4433 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4436 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4437 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4445 # Check whether --enable-compat24 or --disable-compat24 was given.
4446 if test "${enable_compat24+set}" = set; then
4447 enableval
="$enable_compat24"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4452 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4457 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x
; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4468 eval "$ac_cv_use_compat24"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4473 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4482 enablestring
=disable
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4486 # Check whether --enable-compat26 or --disable-compat26 was given.
4487 if test "${enable_compat26+set}" = set; then
4488 enableval
="$enable_compat26"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4493 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4498 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4509 eval "$ac_cv_use_compat26"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4514 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4528 # Check whether --enable-rpath or --disable-rpath was given.
4529 if test "${enable_rpath+set}" = set; then
4530 enableval
="$enable_rpath"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4535 ac_cv_use_rpath
='wxUSE_RPATH=no'
4540 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x
; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4551 eval "$ac_cv_use_rpath"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_RPATH" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4572 # Check whether --enable-intl or --disable-intl was given.
4573 if test "${enable_intl+set}" = set; then
4574 enableval
="$enable_intl"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_intl
='wxUSE_INTL=yes'
4579 ac_cv_use_intl
='wxUSE_INTL=no'
4584 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4595 eval "$ac_cv_use_intl"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_INTL" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4613 # Check whether --enable-config or --disable-config was given.
4614 if test "${enable_config+set}" = set; then
4615 enableval
="$enable_config"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_config
='wxUSE_CONFIG=yes'
4620 ac_cv_use_config
='wxUSE_CONFIG=no'
4625 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4636 eval "$ac_cv_use_config"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_CONFIG" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4655 # Check whether --enable-protocols or --disable-protocols was given.
4656 if test "${enable_protocols+set}" = set; then
4657 enableval
="$enable_protocols"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4662 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4667 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x
; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4678 eval "$ac_cv_use_protocols"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_PROTOCOL" = yes; then
4684 echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6
4687 echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6
4693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4696 # Check whether --enable-ftp or --disable-ftp was given.
4697 if test "${enable_ftp+set}" = set; then
4698 enableval
="$enable_ftp"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4703 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4708 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x
; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4719 eval "$ac_cv_use_ftp"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4725 echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6
4728 echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6
4734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4737 # Check whether --enable-http or --disable-http was given.
4738 if test "${enable_http+set}" = set; then
4739 enableval
="$enable_http"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4744 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4749 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x
; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4760 eval "$ac_cv_use_http"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4765 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4766 echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6
4769 echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6
4775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4778 # Check whether --enable-fileproto or --disable-fileproto was given.
4779 if test "${enable_fileproto+set}" = set; then
4780 enableval
="$enable_fileproto"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4785 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4790 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x
; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4801 eval "$ac_cv_use_fileproto"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4807 echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4819 # Check whether --enable-sockets or --disable-sockets was given.
4820 if test "${enable_sockets+set}" = set; then
4821 enableval
="$enable_sockets"
4823 if test "$enableval" = yes; then
4824 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4826 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4831 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x
; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4842 eval "$ac_cv_use_sockets"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4847 if test "$wxUSE_SOCKETS" = yes; then
4848 echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4860 # Check whether --enable-ole or --disable-ole was given.
4861 if test "${enable_ole+set}" = set; then
4862 enableval
="$enable_ole"
4864 if test "$enableval" = yes; then
4865 ac_cv_use_ole
='wxUSE_OLE=yes'
4867 ac_cv_use_ole
='wxUSE_OLE=no'
4872 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x
; then
4874 eval "DEFAULT_$LINE"
4879 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4883 eval "$ac_cv_use_ole"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_OLE" = yes; then
4889 echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4901 # Check whether --enable-dataobj or --disable-dataobj was given.
4902 if test "${enable_dataobj+set}" = set; then
4903 enableval
="$enable_dataobj"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4908 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4913 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4924 eval "$ac_cv_use_dataobj"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_DATAOBJ" = yes; then
4930 echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6
4933 echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4943 # Check whether --enable-ipc or --disable-ipc was given.
4944 if test "${enable_ipc+set}" = set; then
4945 enableval
="$enable_ipc"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_ipc
='wxUSE_IPC=yes'
4950 ac_cv_use_ipc
='wxUSE_IPC=no'
4955 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4966 eval "$ac_cv_use_ipc"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_IPC" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4985 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4986 if test "${enable_apple_ieee+set}" = set; then
4987 enableval
="$enable_apple_ieee"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4992 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4997 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5008 eval "$ac_cv_use_apple_ieee"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_APPLE_IEEE" = yes; then
5014 echo "$as_me:$LINENO: result: yes" >&5
5015 echo "${ECHO_T}yes" >&6
5017 echo "$as_me:$LINENO: result: no" >&5
5018 echo "${ECHO_T}no" >&6
5023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5026 # Check whether --enable-arcstream or --disable-arcstream was given.
5027 if test "${enable_arcstream+set}" = set; then
5028 enableval
="$enable_arcstream"
5030 if test "$enableval" = yes; then
5031 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5033 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5038 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x
; then
5040 eval "DEFAULT_$LINE"
5045 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5049 eval "$ac_cv_use_arcstream"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5054 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5055 echo "$as_me:$LINENO: result: yes" >&5
5056 echo "${ECHO_T}yes" >&6
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5065 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5067 # Check whether --enable-backtrace or --disable-backtrace was given.
5068 if test "${enable_backtrace+set}" = set; then
5069 enableval
="$enable_backtrace"
5071 if test "$enableval" = yes; then
5072 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5074 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5079 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x
; then
5081 eval "DEFAULT_$LINE"
5086 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5090 eval "$ac_cv_use_backtrace"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_STACKWALKER" = yes; then
5096 echo "$as_me:$LINENO: result: yes" >&5
5097 echo "${ECHO_T}yes" >&6
5099 echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6
5105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5106 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5108 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5109 if test "${enable_catch_segvs+set}" = set; then
5110 enableval
="$enable_catch_segvs"
5112 if test "$enableval" = yes; then
5113 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5115 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5120 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x
; then
5122 eval "DEFAULT_$LINE"
5127 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5131 eval "$ac_cv_use_catch_segvs"
5132 if test "$no_cache" != 1; then
5133 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5136 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5137 echo "$as_me:$LINENO: result: yes" >&5
5138 echo "${ECHO_T}yes" >&6
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5149 # Check whether --enable-cmdline or --disable-cmdline was given.
5150 if test "${enable_cmdline+set}" = set; then
5151 enableval
="$enable_cmdline"
5153 if test "$enableval" = yes; then
5154 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5156 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5161 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5162 if test "x$LINE" != x
; then
5163 eval "DEFAULT_$LINE"
5168 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5172 eval "$ac_cv_use_cmdline"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5178 echo "$as_me:$LINENO: result: yes" >&5
5179 echo "${ECHO_T}yes" >&6
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5190 # Check whether --enable-datetime or --disable-datetime was given.
5191 if test "${enable_datetime+set}" = set; then
5192 enableval
="$enable_datetime"
5194 if test "$enableval" = yes; then
5195 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5197 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5202 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x
; then
5204 eval "DEFAULT_$LINE"
5209 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5213 eval "$ac_cv_use_datetime"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_DATETIME" = yes; then
5219 echo "$as_me:$LINENO: result: yes" >&5
5220 echo "${ECHO_T}yes" >&6
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5229 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5231 # Check whether --enable-debugreport or --disable-debugreport was given.
5232 if test "${enable_debugreport+set}" = set; then
5233 enableval
="$enable_debugreport"
5235 if test "$enableval" = yes; then
5236 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5238 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5243 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x
; then
5245 eval "DEFAULT_$LINE"
5250 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5254 eval "$ac_cv_use_debugreport"
5255 if test "$no_cache" != 1; then
5256 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5259 if test "$wxUSE_DEBUGREPORT" = yes; then
5260 echo "$as_me:$LINENO: result: yes" >&5
5261 echo "${ECHO_T}yes" >&6
5263 echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5270 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5272 # Check whether --enable-dialupman or --disable-dialupman was given.
5273 if test "${enable_dialupman+set}" = set; then
5274 enableval
="$enable_dialupman"
5276 if test "$enableval" = yes; then
5277 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5279 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5284 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x
; then
5286 eval "DEFAULT_$LINE"
5291 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5295 eval "$ac_cv_use_dialupman"
5296 if test "$no_cache" != 1; then
5297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5301 echo "$as_me:$LINENO: result: yes" >&5
5302 echo "${ECHO_T}yes" >&6
5304 echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6
5310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5311 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5313 # Check whether --enable-dynlib or --disable-dynlib was given.
5314 if test "${enable_dynlib+set}" = set; then
5315 enableval
="$enable_dynlib"
5317 if test "$enableval" = yes; then
5318 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5320 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5325 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5326 if test "x$LINE" != x
; then
5327 eval "DEFAULT_$LINE"
5332 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5336 eval "$ac_cv_use_dynlib"
5337 if test "$no_cache" != 1; then
5338 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5341 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5342 echo "$as_me:$LINENO: result: yes" >&5
5343 echo "${ECHO_T}yes" >&6
5345 echo "$as_me:$LINENO: result: no" >&5
5346 echo "${ECHO_T}no" >&6
5351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5354 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5355 if test "${enable_dynamicloader+set}" = set; then
5356 enableval
="$enable_dynamicloader"
5358 if test "$enableval" = yes; then
5359 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5361 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5366 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x
; then
5368 eval "DEFAULT_$LINE"
5373 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5377 eval "$ac_cv_use_dynamicloader"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6
5392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5393 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5395 # Check whether --enable-exceptions or --disable-exceptions was given.
5396 if test "${enable_exceptions+set}" = set; then
5397 enableval
="$enable_exceptions"
5399 if test "$enableval" = yes; then
5400 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5402 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5407 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x
; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5418 eval "$ac_cv_use_exceptions"
5419 if test "$no_cache" != 1; then
5420 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5423 if test "$wxUSE_EXCEPTIONS" = yes; then
5424 echo "$as_me:$LINENO: result: yes" >&5
5425 echo "${ECHO_T}yes" >&6
5427 echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6
5433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5436 # Check whether --enable-ffile or --disable-ffile was given.
5437 if test "${enable_ffile+set}" = set; then
5438 enableval
="$enable_ffile"
5440 if test "$enableval" = yes; then
5441 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5443 ac_cv_use_ffile
='wxUSE_FFILE=no'
5448 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x
; then
5450 eval "DEFAULT_$LINE"
5455 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5459 eval "$ac_cv_use_ffile"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5464 if test "$wxUSE_FFILE" = yes; then
5465 echo "$as_me:$LINENO: result: yes" >&5
5466 echo "${ECHO_T}yes" >&6
5468 echo "$as_me:$LINENO: result: no" >&5
5469 echo "${ECHO_T}no" >&6
5474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5477 # Check whether --enable-file or --disable-file was given.
5478 if test "${enable_file+set}" = set; then
5479 enableval
="$enable_file"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_file
='wxUSE_FILE=yes'
5484 ac_cv_use_file
='wxUSE_FILE=no'
5489 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5500 eval "$ac_cv_use_file"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5505 if test "$wxUSE_FILE" = yes; then
5506 echo "$as_me:$LINENO: result: yes" >&5
5507 echo "${ECHO_T}yes" >&6
5509 echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5516 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5518 # Check whether --enable-filesystem or --disable-filesystem was given.
5519 if test "${enable_filesystem+set}" = set; then
5520 enableval
="$enable_filesystem"
5522 if test "$enableval" = yes; then
5523 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5525 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5530 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5531 if test "x$LINE" != x
; then
5532 eval "DEFAULT_$LINE"
5537 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5541 eval "$ac_cv_use_filesystem"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5546 if test "$wxUSE_FILESYSTEM" = yes; then
5547 echo "$as_me:$LINENO: result: yes" >&5
5548 echo "${ECHO_T}yes" >&6
5550 echo "$as_me:$LINENO: result: no" >&5
5551 echo "${ECHO_T}no" >&6
5556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5557 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5559 # Check whether --enable-fontmap or --disable-fontmap was given.
5560 if test "${enable_fontmap+set}" = set; then
5561 enableval
="$enable_fontmap"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5566 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5571 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5582 eval "$ac_cv_use_fontmap"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_FONTMAP" = yes; then
5588 echo "$as_me:$LINENO: result: yes" >&5
5589 echo "${ECHO_T}yes" >&6
5591 echo "$as_me:$LINENO: result: no" >&5
5592 echo "${ECHO_T}no" >&6
5597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5598 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5600 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5601 if test "${enable_fs_inet+set}" = set; then
5602 enableval
="$enable_fs_inet"
5604 if test "$enableval" = yes; then
5605 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5607 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5612 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5613 if test "x$LINE" != x
; then
5614 eval "DEFAULT_$LINE"
5619 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5623 eval "$ac_cv_use_fs_inet"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5628 if test "$wxUSE_FS_INET" = yes; then
5629 echo "$as_me:$LINENO: result: yes" >&5
5630 echo "${ECHO_T}yes" >&6
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5639 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5641 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5642 if test "${enable_fs_zip+set}" = set; then
5643 enableval
="$enable_fs_zip"
5645 if test "$enableval" = yes; then
5646 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5648 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5653 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5654 if test "x$LINE" != x
; then
5655 eval "DEFAULT_$LINE"
5660 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5664 eval "$ac_cv_use_fs_zip"
5665 if test "$no_cache" != 1; then
5666 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5669 if test "$wxUSE_FS_ZIP" = yes; then
5670 echo "$as_me:$LINENO: result: yes" >&5
5671 echo "${ECHO_T}yes" >&6
5673 echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6
5679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5680 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5682 # Check whether --enable-geometry or --disable-geometry was given.
5683 if test "${enable_geometry+set}" = set; then
5684 enableval
="$enable_geometry"
5686 if test "$enableval" = yes; then
5687 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5689 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5694 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x
; then
5696 eval "DEFAULT_$LINE"
5701 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5705 eval "$ac_cv_use_geometry"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5710 if test "$wxUSE_GEOMETRY" = yes; then
5711 echo "$as_me:$LINENO: result: yes" >&5
5712 echo "${ECHO_T}yes" >&6
5714 echo "$as_me:$LINENO: result: no" >&5
5715 echo "${ECHO_T}no" >&6
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5723 # Check whether --enable-log or --disable-log was given.
5724 if test "${enable_log+set}" = set; then
5725 enableval
="$enable_log"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_log
='wxUSE_LOG=yes'
5730 ac_cv_use_log
='wxUSE_LOG=no'
5735 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x
; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5746 eval "$ac_cv_use_log"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_LOG" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5764 # Check whether --enable-longlong or --disable-longlong was given.
5765 if test "${enable_longlong+set}" = set; then
5766 enableval
="$enable_longlong"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5771 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5776 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x
; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5787 eval "$ac_cv_use_longlong"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_LONGLONG" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5805 # Check whether --enable-mimetype or --disable-mimetype was given.
5806 if test "${enable_mimetype+set}" = set; then
5807 enableval
="$enable_mimetype"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5812 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5817 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x
; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5828 eval "$ac_cv_use_mimetype"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_MIMETYPE" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5846 # Check whether --enable-mslu or --disable-mslu was given.
5847 if test "${enable_mslu+set}" = set; then
5848 enableval
="$enable_mslu"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5853 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5858 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5869 eval "$ac_cv_use_mslu"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_UNICODE_MSLU" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5887 # Check whether --enable-snglinst or --disable-snglinst was given.
5888 if test "${enable_snglinst+set}" = set; then
5889 enableval
="$enable_snglinst"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5894 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5899 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5910 eval "$ac_cv_use_snglinst"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5928 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5929 if test "${enable_std_iostreams+set}" = set; then
5930 enableval
="$enable_std_iostreams"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5935 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5940 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5951 eval "$ac_cv_use_std_iostreams"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_STD_IOSTREAM" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5969 # Check whether --enable-std_string or --disable-std_string was given.
5970 if test "${enable_std_string+set}" = set; then
5971 enableval
="$enable_std_string"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5976 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5981 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5992 eval "$ac_cv_use_std_string"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_STD_STRING" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6010 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6011 if test "${enable_stdpaths+set}" = set; then
6012 enableval
="$enable_stdpaths"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6017 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6022 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6033 eval "$ac_cv_use_stdpaths"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_STDPATHS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6051 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6052 if test "${enable_stopwatch+set}" = set; then
6053 enableval
="$enable_stopwatch"
6055 if test "$enableval" = yes; then
6056 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6058 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6063 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x
; then
6065 eval "DEFAULT_$LINE"
6070 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6074 eval "$ac_cv_use_stopwatch"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6079 if test "$wxUSE_STOPWATCH" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081 echo "${ECHO_T}yes" >&6
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6092 # Check whether --enable-streams or --disable-streams was given.
6093 if test "${enable_streams+set}" = set; then
6094 enableval
="$enable_streams"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6099 ac_cv_use_streams
='wxUSE_STREAMS=no'
6104 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x
; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6115 eval "$ac_cv_use_streams"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6120 if test "$wxUSE_STREAMS" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122 echo "${ECHO_T}yes" >&6
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6133 # Check whether --enable-system_options or --disable-system_options was given.
6134 if test "${enable_system_options+set}" = set; then
6135 enableval
="$enable_system_options"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6140 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6145 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x
; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6156 eval "$ac_cv_use_system_options"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163 echo "${ECHO_T}yes" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6172 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6174 # Check whether --enable-textbuf or --disable-textbuf was given.
6175 if test "${enable_textbuf+set}" = set; then
6176 enableval
="$enable_textbuf"
6178 if test "$enableval" = yes; then
6179 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6181 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6186 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6187 if test "x$LINE" != x
; then
6188 eval "DEFAULT_$LINE"
6193 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6197 eval "$ac_cv_use_textbuf"
6198 if test "$no_cache" != 1; then
6199 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6202 if test "$wxUSE_TEXTBUFFER" = yes; then
6203 echo "$as_me:$LINENO: result: yes" >&5
6204 echo "${ECHO_T}yes" >&6
6206 echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6
6212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6215 # Check whether --enable-textfile or --disable-textfile was given.
6216 if test "${enable_textfile+set}" = set; then
6217 enableval
="$enable_textfile"
6219 if test "$enableval" = yes; then
6220 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6222 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6227 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6228 if test "x$LINE" != x
; then
6229 eval "DEFAULT_$LINE"
6234 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6238 eval "$ac_cv_use_textfile"
6239 if test "$no_cache" != 1; then
6240 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6243 if test "$wxUSE_TEXTFILE" = yes; then
6244 echo "$as_me:$LINENO: result: yes" >&5
6245 echo "${ECHO_T}yes" >&6
6247 echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6256 # Check whether --enable-timer or --disable-timer was given.
6257 if test "${enable_timer+set}" = set; then
6258 enableval
="$enable_timer"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_timer
='wxUSE_TIMER=yes'
6263 ac_cv_use_timer
='wxUSE_TIMER=no'
6268 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x
; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6279 eval "$ac_cv_use_timer"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6284 if test "$wxUSE_TIMER" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286 echo "${ECHO_T}yes" >&6
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6297 # Check whether --enable-unicode or --disable-unicode was given.
6298 if test "${enable_unicode+set}" = set; then
6299 enableval
="$enable_unicode"
6301 if test "$enableval" = yes; then
6302 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6304 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6309 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x
; then
6311 eval "DEFAULT_$LINE"
6316 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6320 eval "$ac_cv_use_unicode"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_UNICODE" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6338 # Check whether --enable-sound or --disable-sound was given.
6339 if test "${enable_sound+set}" = set; then
6340 enableval
="$enable_sound"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_sound
='wxUSE_SOUND=yes'
6345 ac_cv_use_sound
='wxUSE_SOUND=no'
6350 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6361 eval "$ac_cv_use_sound"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_SOUND" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368 echo "${ECHO_T}yes" >&6
6370 echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6
6376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6379 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6380 if test "${enable_mediactrl+set}" = set; then
6381 enableval
="$enable_mediactrl"
6383 if test "$enableval" = yes; then
6384 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6386 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6391 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x
; then
6393 eval "DEFAULT_$LINE"
6398 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6402 eval "$ac_cv_use_mediactrl"
6403 if test "$no_cache" != 1; then
6404 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6407 if test "$wxUSE_MEDIACTRL" = yes; then
6408 echo "$as_me:$LINENO: result: yes" >&5
6409 echo "${ECHO_T}yes" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6418 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6420 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6421 if test "${enable_gstreamer8+set}" = set; then
6422 enableval
="$enable_gstreamer8"
6424 if test "$enableval" = yes; then
6425 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6427 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6432 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x
; then
6434 eval "DEFAULT_$LINE"
6439 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6443 eval "$ac_cv_use_gstreamer8"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_GSTREAMER8" = yes; then
6449 echo "$as_me:$LINENO: result: yes" >&5
6450 echo "${ECHO_T}yes" >&6
6452 echo "$as_me:$LINENO: result: no" >&5
6453 echo "${ECHO_T}no" >&6
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6461 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6462 if test "${enable_printfposparam+set}" = set; then
6463 enableval
="$enable_printfposparam"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6468 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6473 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x
; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6484 eval "$ac_cv_use_printfposparam"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6502 # Check whether --enable-zipstream or --disable-zipstream was given.
6503 if test "${enable_zipstream+set}" = set; then
6504 enableval
="$enable_zipstream"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6509 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6514 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x
; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6525 eval "$ac_cv_use_zipstream"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_ZIPSTREAM" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6544 # Check whether --enable-url or --disable-url was given.
6545 if test "${enable_url+set}" = set; then
6546 enableval
="$enable_url"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_url
='wxUSE_URL=yes'
6551 ac_cv_use_url
='wxUSE_URL=no'
6556 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x
; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6567 eval "$ac_cv_use_url"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_URL" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6585 # Check whether --enable-variant or --disable-variant was given.
6586 if test "${enable_variant+set}" = set; then
6587 enableval
="$enable_variant"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6592 ac_cv_use_variant
='wxUSE_VARIANT=no'
6597 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x
; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6608 eval "$ac_cv_use_variant"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6613 if test "$wxUSE_VARIANT" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6626 # Check whether --enable-protocol or --disable-protocol was given.
6627 if test "${enable_protocol+set}" = set; then
6628 enableval
="$enable_protocol"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6633 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6638 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x
; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6649 eval "$ac_cv_use_protocol"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6654 if test "$wxUSE_PROTOCOL" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6667 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6668 if test "${enable_protocol_http+set}" = set; then
6669 enableval
="$enable_protocol_http"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6674 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6679 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x
; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6690 eval "$ac_cv_use_protocol_http"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6708 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6709 if test "${enable_protocol_ftp+set}" = set; then
6710 enableval
="$enable_protocol_ftp"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6715 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6720 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6731 eval "$ac_cv_use_protocol_ftp"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6749 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6750 if test "${enable_protocol_file+set}" = set; then
6751 enableval
="$enable_protocol_file"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6756 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6761 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x
; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6772 eval "$ac_cv_use_protocol_file"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6793 # Check whether --enable-threads or --disable-threads was given.
6794 if test "${enable_threads+set}" = set; then
6795 enableval
="$enable_threads"
6797 if test "$enableval" = yes; then
6798 ac_cv_use_threads
='wxUSE_THREADS=yes'
6800 ac_cv_use_threads
='wxUSE_THREADS=no'
6805 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x
; then
6807 eval "DEFAULT_$LINE"
6812 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6816 eval "$ac_cv_use_threads"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6821 if test "$wxUSE_THREADS" = yes; then
6822 echo "$as_me:$LINENO: result: yes" >&5
6823 echo "${ECHO_T}yes" >&6
6825 echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6
6830 if test "$wxUSE_GUI" = "yes"; then
6835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6836 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6838 # Check whether --enable-docview or --disable-docview was given.
6839 if test "${enable_docview+set}" = set; then
6840 enableval
="$enable_docview"
6842 if test "$enableval" = yes; then
6843 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6845 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6850 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6851 if test "x$LINE" != x
; then
6852 eval "DEFAULT_$LINE"
6857 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6861 eval "$ac_cv_use_docview"
6862 if test "$no_cache" != 1; then
6863 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6866 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6867 echo "$as_me:$LINENO: result: yes" >&5
6868 echo "${ECHO_T}yes" >&6
6870 echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6
6876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6877 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6879 # Check whether --enable-help or --disable-help was given.
6880 if test "${enable_help+set}" = set; then
6881 enableval
="$enable_help"
6883 if test "$enableval" = yes; then
6884 ac_cv_use_help
='wxUSE_HELP=yes'
6886 ac_cv_use_help
='wxUSE_HELP=no'
6891 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6892 if test "x$LINE" != x
; then
6893 eval "DEFAULT_$LINE"
6898 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6902 eval "$ac_cv_use_help"
6903 if test "$no_cache" != 1; then
6904 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6907 if test "$wxUSE_HELP" = yes; then
6908 echo "$as_me:$LINENO: result: yes" >&5
6909 echo "${ECHO_T}yes" >&6
6911 echo "$as_me:$LINENO: result: no" >&5
6912 echo "${ECHO_T}no" >&6
6917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6920 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6921 if test "${enable_mshtmlhelp+set}" = set; then
6922 enableval
="$enable_mshtmlhelp"
6924 if test "$enableval" = yes; then
6925 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6927 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6932 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x
; then
6934 eval "DEFAULT_$LINE"
6939 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6943 eval "$ac_cv_use_mshtmlhelp"
6944 if test "$no_cache" != 1; then
6945 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6948 if test "$wxUSE_MS_HTML_HELP" = yes; then
6949 echo "$as_me:$LINENO: result: yes" >&5
6950 echo "${ECHO_T}yes" >&6
6952 echo "$as_me:$LINENO: result: no" >&5
6953 echo "${ECHO_T}no" >&6
6958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6961 # Check whether --enable-html or --disable-html was given.
6962 if test "${enable_html+set}" = set; then
6963 enableval
="$enable_html"
6965 if test "$enableval" = yes; then
6966 ac_cv_use_html
='wxUSE_HTML=yes'
6968 ac_cv_use_html
='wxUSE_HTML=no'
6973 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x
; then
6975 eval "DEFAULT_$LINE"
6980 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6984 eval "$ac_cv_use_html"
6985 if test "$no_cache" != 1; then
6986 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6989 if test "$wxUSE_HTML" = yes; then
6990 echo "$as_me:$LINENO: result: yes" >&5
6991 echo "${ECHO_T}yes" >&6
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7002 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7003 if test "${enable_htmlhelp+set}" = set; then
7004 enableval
="$enable_htmlhelp"
7006 if test "$enableval" = yes; then
7007 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7009 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7014 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7015 if test "x$LINE" != x
; then
7016 eval "DEFAULT_$LINE"
7021 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7025 eval "$ac_cv_use_htmlhelp"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7030 if test "$wxUSE_WXHTML_HELP" = yes; then
7031 echo "$as_me:$LINENO: result: yes" >&5
7032 echo "${ECHO_T}yes" >&6
7034 echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6
7040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7043 # Check whether --enable-xrc or --disable-xrc was given.
7044 if test "${enable_xrc+set}" = set; then
7045 enableval
="$enable_xrc"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_xrc
='wxUSE_XRC=yes'
7050 ac_cv_use_xrc
='wxUSE_XRC=no'
7055 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7066 eval "$ac_cv_use_xrc"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7071 if test "$wxUSE_XRC" = yes; then
7072 echo "$as_me:$LINENO: result: yes" >&5
7073 echo "${ECHO_T}yes" >&6
7075 echo "$as_me:$LINENO: result: no" >&5
7076 echo "${ECHO_T}no" >&6
7081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7084 # Check whether --enable-aui or --disable-aui was given.
7085 if test "${enable_aui+set}" = set; then
7086 enableval
="$enable_aui"
7088 if test "$enableval" = yes; then
7089 ac_cv_use_aui
='wxUSE_AUI=yes'
7091 ac_cv_use_aui
='wxUSE_AUI=no'
7096 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x
; then
7098 eval "DEFAULT_$LINE"
7103 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7107 eval "$ac_cv_use_aui"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7112 if test "$wxUSE_AUI" = yes; then
7113 echo "$as_me:$LINENO: result: yes" >&5
7114 echo "${ECHO_T}yes" >&6
7116 echo "$as_me:$LINENO: result: no" >&5
7117 echo "${ECHO_T}no" >&6
7122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7125 # Check whether --enable-constraints or --disable-constraints was given.
7126 if test "${enable_constraints+set}" = set; then
7127 enableval
="$enable_constraints"
7129 if test "$enableval" = yes; then
7130 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7132 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7137 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x
; then
7139 eval "DEFAULT_$LINE"
7144 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7148 eval "$ac_cv_use_constraints"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7153 if test "$wxUSE_CONSTRAINTS" = yes; then
7154 echo "$as_me:$LINENO: result: yes" >&5
7155 echo "${ECHO_T}yes" >&6
7157 echo "$as_me:$LINENO: result: no" >&5
7158 echo "${ECHO_T}no" >&6
7163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7164 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7166 # Check whether --enable-printarch or --disable-printarch was given.
7167 if test "${enable_printarch+set}" = set; then
7168 enableval
="$enable_printarch"
7170 if test "$enableval" = yes; then
7171 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7173 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7178 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7179 if test "x$LINE" != x
; then
7180 eval "DEFAULT_$LINE"
7185 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7189 eval "$ac_cv_use_printarch"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7194 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7195 echo "$as_me:$LINENO: result: yes" >&5
7196 echo "${ECHO_T}yes" >&6
7198 echo "$as_me:$LINENO: result: no" >&5
7199 echo "${ECHO_T}no" >&6
7204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7207 # Check whether --enable-mdi or --disable-mdi was given.
7208 if test "${enable_mdi+set}" = set; then
7209 enableval
="$enable_mdi"
7211 if test "$enableval" = yes; then
7212 ac_cv_use_mdi
='wxUSE_MDI=yes'
7214 ac_cv_use_mdi
='wxUSE_MDI=no'
7219 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x
; then
7221 eval "DEFAULT_$LINE"
7226 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7230 eval "$ac_cv_use_mdi"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_MDI" = yes; then
7236 echo "$as_me:$LINENO: result: yes" >&5
7237 echo "${ECHO_T}yes" >&6
7239 echo "$as_me:$LINENO: result: no" >&5
7240 echo "${ECHO_T}no" >&6
7245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7248 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7249 if test "${enable_mdidoc+set}" = set; then
7250 enableval
="$enable_mdidoc"
7252 if test "$enableval" = yes; then
7253 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7255 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7260 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x
; then
7262 eval "DEFAULT_$LINE"
7267 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7271 eval "$ac_cv_use_mdidoc"
7272 if test "$no_cache" != 1; then
7273 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7276 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7277 echo "$as_me:$LINENO: result: yes" >&5
7278 echo "${ECHO_T}yes" >&6
7280 echo "$as_me:$LINENO: result: no" >&5
7281 echo "${ECHO_T}no" >&6
7286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7289 # Check whether --enable-loggui or --disable-loggui was given.
7290 if test "${enable_loggui+set}" = set; then
7291 enableval
="$enable_loggui"
7293 if test "$enableval" = yes; then
7294 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7296 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7301 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7302 if test "x$LINE" != x
; then
7303 eval "DEFAULT_$LINE"
7308 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7312 eval "$ac_cv_use_loggui"
7313 if test "$no_cache" != 1; then
7314 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7317 if test "$wxUSE_LOGGUI" = yes; then
7318 echo "$as_me:$LINENO: result: yes" >&5
7319 echo "${ECHO_T}yes" >&6
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7330 # Check whether --enable-logwin or --disable-logwin was given.
7331 if test "${enable_logwin+set}" = set; then
7332 enableval
="$enable_logwin"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7337 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7342 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x
; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7353 eval "$ac_cv_use_logwin"
7354 if test "$no_cache" != 1; then
7355 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7358 if test "$wxUSE_LOGWINDOW" = yes; then
7359 echo "$as_me:$LINENO: result: yes" >&5
7360 echo "${ECHO_T}yes" >&6
7362 echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6
7368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7369 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7371 # Check whether --enable-logdialog or --disable-logdialog was given.
7372 if test "${enable_logdialog+set}" = set; then
7373 enableval
="$enable_logdialog"
7375 if test "$enableval" = yes; then
7376 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7378 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7383 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x
; then
7385 eval "DEFAULT_$LINE"
7390 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7394 eval "$ac_cv_use_logdialog"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_LOGDIALOG" = yes; then
7400 echo "$as_me:$LINENO: result: yes" >&5
7401 echo "${ECHO_T}yes" >&6
7403 echo "$as_me:$LINENO: result: no" >&5
7404 echo "${ECHO_T}no" >&6
7409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7412 # Check whether --enable-webkit or --disable-webkit was given.
7413 if test "${enable_webkit+set}" = set; then
7414 enableval
="$enable_webkit"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7419 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7424 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x
; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7435 eval "$ac_cv_use_webkit"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7440 if test "$wxUSE_WEBKIT" = yes; then
7441 echo "$as_me:$LINENO: result: yes" >&5
7442 echo "${ECHO_T}yes" >&6
7444 echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6
7450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7451 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7453 # Check whether --enable-html or --disable-html was given.
7454 if test "${enable_html+set}" = set; then
7455 enableval
="$enable_html"
7457 if test "$enableval" = yes; then
7458 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7460 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7465 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x
; then
7467 eval "DEFAULT_$LINE"
7472 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7476 eval "$ac_cv_use_html"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7481 if test "$wxUSE_RICHTEXT" = yes; then
7482 echo "$as_me:$LINENO: result: yes" >&5
7483 echo "${ECHO_T}yes" >&6
7485 echo "$as_me:$LINENO: result: no" >&5
7486 echo "${ECHO_T}no" >&6
7491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7494 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7495 if test "${enable_graphics_ctx+set}" = set; then
7496 enableval
="$enable_graphics_ctx"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7501 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7506 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x
; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7517 eval "$ac_cv_use_graphics_ctx"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7523 echo "$as_me:$LINENO: result: yes" >&5
7524 echo "${ECHO_T}yes" >&6
7526 echo "$as_me:$LINENO: result: no" >&5
7527 echo "${ECHO_T}no" >&6
7533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7536 # Check whether --enable-postscript or --disable-postscript was given.
7537 if test "${enable_postscript+set}" = set; then
7538 enableval
="$enable_postscript"
7540 if test "$enableval" = yes; then
7541 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7543 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7548 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x
; then
7550 eval "DEFAULT_$LINE"
7555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7559 eval "$ac_cv_use_postscript"
7560 if test "$no_cache" != 1; then
7561 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7564 if test "$wxUSE_POSTSCRIPT" = yes; then
7565 echo "$as_me:$LINENO: result: yes" >&5
7566 echo "${ECHO_T}yes" >&6
7568 echo "$as_me:$LINENO: result: no" >&5
7569 echo "${ECHO_T}no" >&6
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7580 # Check whether --enable-prologio or --disable-prologio was given.
7581 if test "${enable_prologio+set}" = set; then
7582 enableval
="$enable_prologio"
7584 if test "$enableval" = yes; then
7585 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7587 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7592 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x
; then
7594 eval "DEFAULT_$LINE"
7599 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7603 eval "$ac_cv_use_prologio"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_PROLOGIO" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7621 # Check whether --enable-resources or --disable-resources was given.
7622 if test "${enable_resources+set}" = set; then
7623 enableval
="$enable_resources"
7625 if test "$enableval" = yes; then
7626 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7628 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7633 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x
; then
7635 eval "DEFAULT_$LINE"
7640 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7644 eval "$ac_cv_use_resources"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_RESOURCES" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7664 # Check whether --enable-clipboard or --disable-clipboard was given.
7665 if test "${enable_clipboard+set}" = set; then
7666 enableval
="$enable_clipboard"
7668 if test "$enableval" = yes; then
7669 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7671 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7676 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x
; then
7678 eval "DEFAULT_$LINE"
7683 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7687 eval "$ac_cv_use_clipboard"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7692 if test "$wxUSE_CLIPBOARD" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7705 # Check whether --enable-dnd or --disable-dnd was given.
7706 if test "${enable_dnd+set}" = set; then
7707 enableval
="$enable_dnd"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7712 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7717 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7728 eval "$ac_cv_use_dnd"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7733 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7734 echo "$as_me:$LINENO: result: yes" >&5
7735 echo "${ECHO_T}yes" >&6
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7746 # Check whether --enable-metafile or --disable-metafile was given.
7747 if test "${enable_metafile+set}" = set; then
7748 enableval
="$enable_metafile"
7750 if test "$enableval" = yes; then
7751 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7753 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7758 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x
; then
7760 eval "DEFAULT_$LINE"
7765 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7769 eval "$ac_cv_use_metafile"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7774 if test "$wxUSE_METAFILE" = yes; then
7775 echo "$as_me:$LINENO: result: yes" >&5
7776 echo "${ECHO_T}yes" >&6
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7790 # Check whether --enable-controls or --disable-controls was given.
7791 if test "${enable_controls+set}" = set; then
7792 enableval
="$enable_controls"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7797 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7802 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7813 eval "$ac_cv_use_controls"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7818 if test "$wxUSE_CONTROLS" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7827 if test "$wxUSE_CONTROLS" = "yes"; then
7828 DEFAULT_wxUSE_ACCEL
=yes
7829 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7830 DEFAULT_wxUSE_BMPBUTTON
=yes
7831 DEFAULT_wxUSE_BUTTON
=yes
7832 DEFAULT_wxUSE_CALCTRL
=yes
7833 DEFAULT_wxUSE_CARET
=yes
7834 DEFAULT_wxUSE_COMBOBOX
=yes
7835 DEFAULT_wxUSE_CHECKBOX
=yes
7836 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7837 DEFAULT_wxUSE_CHOICE
=yes
7838 DEFAULT_wxUSE_CHOICEBOOK
=yes
7839 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7840 DEFAULT_wxUSE_COMBOBOX
=yes
7841 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7842 DEFAULT_wxUSE_DISPLAY
=yes
7843 DEFAULT_wxUSE_DETECT_SM
=yes
7844 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7845 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7846 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7847 DEFAULT_wxUSE_GAUGE
=yes
7848 DEFAULT_wxUSE_GRID
=yes
7849 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7850 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7851 DEFAULT_wxUSE_IMAGLIST
=yes
7852 DEFAULT_wxUSE_LISTBOOK
=yes
7853 DEFAULT_wxUSE_LISTBOX
=yes
7854 DEFAULT_wxUSE_LISTCTRL
=yes
7855 DEFAULT_wxUSE_NOTEBOOK
=yes
7856 DEFAULT_wxUSE_RADIOBOX
=yes
7857 DEFAULT_wxUSE_RADIOBTN
=yes
7858 DEFAULT_wxUSE_SASH
=yes
7859 DEFAULT_wxUSE_SCROLLBAR
=yes
7860 DEFAULT_wxUSE_SLIDER
=yes
7861 DEFAULT_wxUSE_SPINBTN
=yes
7862 DEFAULT_wxUSE_SPINCTRL
=yes
7863 DEFAULT_wxUSE_SPLITTER
=yes
7864 DEFAULT_wxUSE_STATBMP
=yes
7865 DEFAULT_wxUSE_STATBOX
=yes
7866 DEFAULT_wxUSE_STATLINE
=yes
7867 DEFAULT_wxUSE_STATUSBAR
=yes
7868 DEFAULT_wxUSE_TAB_DIALOG
=yes
7869 DEFAULT_wxUSE_TOGGLEBTN
=yes
7870 DEFAULT_wxUSE_TOOLBAR
=yes
7871 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7872 DEFAULT_wxUSE_TOOLTIPS
=yes
7873 DEFAULT_wxUSE_TREEBOOK
=yes
7874 DEFAULT_wxUSE_TOOLBOOK
=yes
7875 DEFAULT_wxUSE_TREECTRL
=yes
7876 DEFAULT_wxUSE_POPUPWIN
=yes
7877 DEFAULT_wxUSE_TIPWINDOW
=yes
7878 elif test "$wxUSE_CONTROLS" = "no"; then
7879 DEFAULT_wxUSE_ACCEL
=no
7880 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7881 DEFAULT_wxUSE_BMPBUTTON
=no
7882 DEFAULT_wxUSE_BUTTON
=no
7883 DEFAULT_wxUSE_CALCTRL
=no
7884 DEFAULT_wxUSE_CARET
=no
7885 DEFAULT_wxUSE_COMBOBOX
=no
7886 DEFAULT_wxUSE_CHECKBOX
=no
7887 DEFAULT_wxUSE_CHECKLISTBOX
=no
7888 DEFAULT_wxUSE_CHOICE
=no
7889 DEFAULT_wxUSE_CHOICEBOOK
=no
7890 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7891 DEFAULT_wxUSE_COMBOBOX
=no
7892 DEFAULT_wxUSE_DATEPICKCTRL
=no
7893 DEFAULT_wxUSE_DISPLAY
=no
7894 DEFAULT_wxUSE_DETECT_SM
=no
7895 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7896 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7897 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7898 DEFAULT_wxUSE_GAUGE
=no
7899 DEFAULT_wxUSE_GRID
=no
7900 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7901 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7902 DEFAULT_wxUSE_IMAGLIST
=no
7903 DEFAULT_wxUSE_LISTBOOK
=no
7904 DEFAULT_wxUSE_LISTBOX
=no
7905 DEFAULT_wxUSE_LISTCTRL
=no
7906 DEFAULT_wxUSE_NOTEBOOK
=no
7907 DEFAULT_wxUSE_RADIOBOX
=no
7908 DEFAULT_wxUSE_RADIOBTN
=no
7909 DEFAULT_wxUSE_SASH
=no
7910 DEFAULT_wxUSE_SCROLLBAR
=no
7911 DEFAULT_wxUSE_SLIDER
=no
7912 DEFAULT_wxUSE_SPINBTN
=no
7913 DEFAULT_wxUSE_SPINCTRL
=no
7914 DEFAULT_wxUSE_SPLITTER
=no
7915 DEFAULT_wxUSE_STATBMP
=no
7916 DEFAULT_wxUSE_STATBOX
=no
7917 DEFAULT_wxUSE_STATLINE
=no
7918 DEFAULT_wxUSE_STATUSBAR
=no
7919 DEFAULT_wxUSE_TAB_DIALOG
=no
7920 DEFAULT_wxUSE_TOGGLEBTN
=no
7921 DEFAULT_wxUSE_TOOLBAR
=no
7922 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7923 DEFAULT_wxUSE_TOOLTIPS
=no
7924 DEFAULT_wxUSE_TREEBOOK
=no
7925 DEFAULT_wxUSE_TOOLBOOK
=no
7926 DEFAULT_wxUSE_TREECTRL
=no
7927 DEFAULT_wxUSE_POPUPWIN
=no
7928 DEFAULT_wxUSE_TIPWINDOW
=no
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7936 # Check whether --enable-accel or --disable-accel was given.
7937 if test "${enable_accel+set}" = set; then
7938 enableval
="$enable_accel"
7940 if test "$enableval" = yes; then
7941 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7943 ac_cv_use_accel
='wxUSE_ACCEL=no'
7948 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x
; then
7950 eval "DEFAULT_$LINE"
7955 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7959 eval "$ac_cv_use_accel"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7964 if test "$wxUSE_ACCEL" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7977 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7978 if test "${enable_animatectrl+set}" = set; then
7979 enableval
="$enable_animatectrl"
7981 if test "$enableval" = yes; then
7982 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
7984 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
7989 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x
; then
7991 eval "DEFAULT_$LINE"
7996 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8000 eval "$ac_cv_use_animatectrl"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8005 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8018 # Check whether --enable-button or --disable-button was given.
8019 if test "${enable_button+set}" = set; then
8020 enableval
="$enable_button"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_button
='wxUSE_BUTTON=yes'
8025 ac_cv_use_button
='wxUSE_BUTTON=no'
8030 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x
; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8041 eval "$ac_cv_use_button"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8046 if test "$wxUSE_BUTTON" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8059 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8060 if test "${enable_bmpbutton+set}" = set; then
8061 enableval
="$enable_bmpbutton"
8063 if test "$enableval" = yes; then
8064 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8066 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8071 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x
; then
8073 eval "DEFAULT_$LINE"
8078 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8082 eval "$ac_cv_use_bmpbutton"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8087 if test "$wxUSE_BMPBUTTON" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8100 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8101 if test "${enable_bmpcombobox+set}" = set; then
8102 enableval
="$enable_bmpcombobox"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8107 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8112 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x
; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8123 eval "$ac_cv_use_bmpcombobox"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8128 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8141 # Check whether --enable-calendar or --disable-calendar was given.
8142 if test "${enable_calendar+set}" = set; then
8143 enableval
="$enable_calendar"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8148 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8153 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x
; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8164 eval "$ac_cv_use_calendar"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8169 if test "$wxUSE_CALCTRL" = yes; then
8170 echo "$as_me:$LINENO: result: yes" >&5
8171 echo "${ECHO_T}yes" >&6
8173 echo "$as_me:$LINENO: result: no" >&5
8174 echo "${ECHO_T}no" >&6
8179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8182 # Check whether --enable-caret or --disable-caret was given.
8183 if test "${enable_caret+set}" = set; then
8184 enableval
="$enable_caret"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_caret
='wxUSE_CARET=yes'
8189 ac_cv_use_caret
='wxUSE_CARET=no'
8194 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x
; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8205 eval "$ac_cv_use_caret"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8210 if test "$wxUSE_CARET" = yes; then
8211 echo "$as_me:$LINENO: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8214 echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8223 # Check whether --enable-checkbox or --disable-checkbox was given.
8224 if test "${enable_checkbox+set}" = set; then
8225 enableval
="$enable_checkbox"
8227 if test "$enableval" = yes; then
8228 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8230 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8235 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x
; then
8237 eval "DEFAULT_$LINE"
8242 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8246 eval "$ac_cv_use_checkbox"
8247 if test "$no_cache" != 1; then
8248 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8251 if test "$wxUSE_CHECKBOX" = yes; then
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8255 echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6
8261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8264 # Check whether --enable-checklst or --disable-checklst was given.
8265 if test "${enable_checklst+set}" = set; then
8266 enableval
="$enable_checklst"
8268 if test "$enableval" = yes; then
8269 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8271 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8276 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x
; then
8278 eval "DEFAULT_$LINE"
8283 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8287 eval "$ac_cv_use_checklst"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8292 if test "$wxUSE_CHECKLST" = yes; then
8293 echo "$as_me:$LINENO: result: yes" >&5
8294 echo "${ECHO_T}yes" >&6
8296 echo "$as_me:$LINENO: result: no" >&5
8297 echo "${ECHO_T}no" >&6
8302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8305 # Check whether --enable-choice or --disable-choice was given.
8306 if test "${enable_choice+set}" = set; then
8307 enableval
="$enable_choice"
8309 if test "$enableval" = yes; then
8310 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8312 ac_cv_use_choice
='wxUSE_CHOICE=no'
8317 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8318 if test "x$LINE" != x
; then
8319 eval "DEFAULT_$LINE"
8324 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8328 eval "$ac_cv_use_choice"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8333 if test "$wxUSE_CHOICE" = yes; then
8334 echo "$as_me:$LINENO: result: yes" >&5
8335 echo "${ECHO_T}yes" >&6
8337 echo "$as_me:$LINENO: result: no" >&5
8338 echo "${ECHO_T}no" >&6
8343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8346 # Check whether --enable-choicebook or --disable-choicebook was given.
8347 if test "${enable_choicebook+set}" = set; then
8348 enableval
="$enable_choicebook"
8350 if test "$enableval" = yes; then
8351 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8353 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8358 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x
; then
8360 eval "DEFAULT_$LINE"
8365 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8369 eval "$ac_cv_use_choicebook"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8374 if test "$wxUSE_CHOICEBOOK" = yes; then
8375 echo "$as_me:$LINENO: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8378 echo "$as_me:$LINENO: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8387 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8388 if test "${enable_colourpicker+set}" = set; then
8389 enableval
="$enable_colourpicker"
8391 if test "$enableval" = yes; then
8392 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8394 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8399 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x
; then
8401 eval "DEFAULT_$LINE"
8406 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8410 eval "$ac_cv_use_colourpicker"
8411 if test "$no_cache" != 1; then
8412 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8415 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8428 # Check whether --enable-combobox or --disable-combobox was given.
8429 if test "${enable_combobox+set}" = set; then
8430 enableval
="$enable_combobox"
8432 if test "$enableval" = yes; then
8433 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8435 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8440 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x
; then
8442 eval "DEFAULT_$LINE"
8447 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8451 eval "$ac_cv_use_combobox"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8456 if test "$wxUSE_COMBOBOX" = yes; then
8457 echo "$as_me:$LINENO: result: yes" >&5
8458 echo "${ECHO_T}yes" >&6
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8469 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8470 if test "${enable_comboctrl+set}" = set; then
8471 enableval
="$enable_comboctrl"
8473 if test "$enableval" = yes; then
8474 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8476 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8481 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x
; then
8483 eval "DEFAULT_$LINE"
8488 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8492 eval "$ac_cv_use_comboctrl"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8497 if test "$wxUSE_COMBOCTRL" = yes; then
8498 echo "$as_me:$LINENO: result: yes" >&5
8499 echo "${ECHO_T}yes" >&6
8501 echo "$as_me:$LINENO: result: no" >&5
8502 echo "${ECHO_T}no" >&6
8507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8510 # Check whether --enable-datepick or --disable-datepick was given.
8511 if test "${enable_datepick+set}" = set; then
8512 enableval
="$enable_datepick"
8514 if test "$enableval" = yes; then
8515 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8517 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8522 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x
; then
8524 eval "DEFAULT_$LINE"
8529 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8533 eval "$ac_cv_use_datepick"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8538 if test "$wxUSE_DATEPICKCTRL" = yes; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8551 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8552 if test "${enable_dirpicker+set}" = set; then
8553 enableval
="$enable_dirpicker"
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8558 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8563 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x
; then
8565 eval "DEFAULT_$LINE"
8570 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8574 eval "$ac_cv_use_dirpicker"
8575 if test "$no_cache" != 1; then
8576 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8579 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8580 echo "$as_me:$LINENO: result: yes" >&5
8581 echo "${ECHO_T}yes" >&6
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8592 # Check whether --enable-display or --disable-display was given.
8593 if test "${enable_display+set}" = set; then
8594 enableval
="$enable_display"
8596 if test "$enableval" = yes; then
8597 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8599 ac_cv_use_display
='wxUSE_DISPLAY=no'
8604 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x
; then
8606 eval "DEFAULT_$LINE"
8611 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8615 eval "$ac_cv_use_display"
8616 if test "$no_cache" != 1; then
8617 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8620 if test "$wxUSE_DISPLAY" = yes; then
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8624 echo "$as_me:$LINENO: result: no" >&5
8625 echo "${ECHO_T}no" >&6
8630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8633 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8634 if test "${enable_detect_sm+set}" = set; then
8635 enableval
="$enable_detect_sm"
8637 if test "$enableval" = yes; then
8638 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8640 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8645 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x
; then
8647 eval "DEFAULT_$LINE"
8652 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8656 eval "$ac_cv_use_detect_sm"
8657 if test "$no_cache" != 1; then
8658 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8661 if test "$wxUSE_DETECT_SM" = yes; then
8662 echo "$as_me:$LINENO: result: yes" >&5
8663 echo "${ECHO_T}yes" >&6
8665 echo "$as_me:$LINENO: result: no" >&5
8666 echo "${ECHO_T}no" >&6
8671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8674 # Check whether --enable-filepicker or --disable-filepicker was given.
8675 if test "${enable_filepicker+set}" = set; then
8676 enableval
="$enable_filepicker"
8678 if test "$enableval" = yes; then
8679 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8681 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8686 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x
; then
8688 eval "DEFAULT_$LINE"
8693 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8697 eval "$ac_cv_use_filepicker"
8698 if test "$no_cache" != 1; then
8699 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8702 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8703 echo "$as_me:$LINENO: result: yes" >&5
8704 echo "${ECHO_T}yes" >&6
8706 echo "$as_me:$LINENO: result: no" >&5
8707 echo "${ECHO_T}no" >&6
8712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8715 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8716 if test "${enable_fontpicker+set}" = set; then
8717 enableval
="$enable_fontpicker"
8719 if test "$enableval" = yes; then
8720 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8722 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8727 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x
; then
8729 eval "DEFAULT_$LINE"
8734 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8738 eval "$ac_cv_use_fontpicker"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8743 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8744 echo "$as_me:$LINENO: result: yes" >&5
8745 echo "${ECHO_T}yes" >&6
8747 echo "$as_me:$LINENO: result: no" >&5
8748 echo "${ECHO_T}no" >&6
8753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8756 # Check whether --enable-gauge or --disable-gauge was given.
8757 if test "${enable_gauge+set}" = set; then
8758 enableval
="$enable_gauge"
8760 if test "$enableval" = yes; then
8761 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8763 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8768 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8769 if test "x$LINE" != x
; then
8770 eval "DEFAULT_$LINE"
8775 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8779 eval "$ac_cv_use_gauge"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8784 if test "$wxUSE_GAUGE" = yes; then
8785 echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6
8788 echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6
8794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8797 # Check whether --enable-grid or --disable-grid was given.
8798 if test "${enable_grid+set}" = set; then
8799 enableval
="$enable_grid"
8801 if test "$enableval" = yes; then
8802 ac_cv_use_grid
='wxUSE_GRID=yes'
8804 ac_cv_use_grid
='wxUSE_GRID=no'
8809 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8810 if test "x$LINE" != x
; then
8811 eval "DEFAULT_$LINE"
8816 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8820 eval "$ac_cv_use_grid"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8825 if test "$wxUSE_GRID" = yes; then
8826 echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6
8829 echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6
8835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8838 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8839 if test "${enable_dataviewctrl+set}" = set; then
8840 enableval
="$enable_dataviewctrl"
8842 if test "$enableval" = yes; then
8843 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8845 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8850 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8851 if test "x$LINE" != x
; then
8852 eval "DEFAULT_$LINE"
8857 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8861 eval "$ac_cv_use_dataviewctrl"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8866 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8867 echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8879 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8880 if test "${enable_hyperlink+set}" = set; then
8881 enableval
="$enable_hyperlink"
8883 if test "$enableval" = yes; then
8884 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8886 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8891 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x
; then
8893 eval "DEFAULT_$LINE"
8898 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8902 eval "$ac_cv_use_hyperlink"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8907 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8911 echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6
8917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8920 # Check whether --enable-imaglist or --disable-imaglist was given.
8921 if test "${enable_imaglist+set}" = set; then
8922 enableval
="$enable_imaglist"
8924 if test "$enableval" = yes; then
8925 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8927 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8932 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8933 if test "x$LINE" != x
; then
8934 eval "DEFAULT_$LINE"
8939 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8943 eval "$ac_cv_use_imaglist"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8948 if test "$wxUSE_IMAGLIST" = yes; then
8949 echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6
8952 echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6
8958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8961 # Check whether --enable-listbook or --disable-listbook was given.
8962 if test "${enable_listbook+set}" = set; then
8963 enableval
="$enable_listbook"
8965 if test "$enableval" = yes; then
8966 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8968 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8973 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8974 if test "x$LINE" != x
; then
8975 eval "DEFAULT_$LINE"
8980 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8984 eval "$ac_cv_use_listbook"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8989 if test "$wxUSE_LISTBOOK" = yes; then
8990 echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6
8993 echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6
8999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9002 # Check whether --enable-listbox or --disable-listbox was given.
9003 if test "${enable_listbox+set}" = set; then
9004 enableval
="$enable_listbox"
9006 if test "$enableval" = yes; then
9007 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9009 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9014 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9015 if test "x$LINE" != x
; then
9016 eval "DEFAULT_$LINE"
9021 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9025 eval "$ac_cv_use_listbox"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9030 if test "$wxUSE_LISTBOX" = yes; then
9031 echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6
9034 echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6
9040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9043 # Check whether --enable-listctrl or --disable-listctrl was given.
9044 if test "${enable_listctrl+set}" = set; then
9045 enableval
="$enable_listctrl"
9047 if test "$enableval" = yes; then
9048 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9050 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9055 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9056 if test "x$LINE" != x
; then
9057 eval "DEFAULT_$LINE"
9062 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9066 eval "$ac_cv_use_listctrl"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9071 if test "$wxUSE_LISTCTRL" = yes; then
9072 echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6
9075 echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6
9081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9084 # Check whether --enable-notebook or --disable-notebook was given.
9085 if test "${enable_notebook+set}" = set; then
9086 enableval
="$enable_notebook"
9088 if test "$enableval" = yes; then
9089 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9091 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9096 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9097 if test "x$LINE" != x
; then
9098 eval "DEFAULT_$LINE"
9103 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9107 eval "$ac_cv_use_notebook"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9112 if test "$wxUSE_NOTEBOOK" = yes; then
9113 echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6
9116 echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6
9122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9125 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9126 if test "${enable_odcombobox+set}" = set; then
9127 enableval
="$enable_odcombobox"
9129 if test "$enableval" = yes; then
9130 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9132 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9137 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9138 if test "x$LINE" != x
; then
9139 eval "DEFAULT_$LINE"
9144 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9148 eval "$ac_cv_use_odcombobox"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9153 if test "$wxUSE_ODCOMBOBOX" = yes; then
9154 echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6
9157 echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6
9163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9166 # Check whether --enable-radiobox or --disable-radiobox was given.
9167 if test "${enable_radiobox+set}" = set; then
9168 enableval
="$enable_radiobox"
9170 if test "$enableval" = yes; then
9171 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9173 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9178 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9179 if test "x$LINE" != x
; then
9180 eval "DEFAULT_$LINE"
9185 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9189 eval "$ac_cv_use_radiobox"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9194 if test "$wxUSE_RADIOBOX" = yes; then
9195 echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6
9198 echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6
9204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9207 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9208 if test "${enable_radiobtn+set}" = set; then
9209 enableval
="$enable_radiobtn"
9211 if test "$enableval" = yes; then
9212 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9214 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9219 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9220 if test "x$LINE" != x
; then
9221 eval "DEFAULT_$LINE"
9226 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9230 eval "$ac_cv_use_radiobtn"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9235 if test "$wxUSE_RADIOBTN" = yes; then
9236 echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6
9239 echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6
9245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9248 # Check whether --enable-sash or --disable-sash was given.
9249 if test "${enable_sash+set}" = set; then
9250 enableval
="$enable_sash"
9252 if test "$enableval" = yes; then
9253 ac_cv_use_sash
='wxUSE_SASH=yes'
9255 ac_cv_use_sash
='wxUSE_SASH=no'
9260 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9261 if test "x$LINE" != x
; then
9262 eval "DEFAULT_$LINE"
9267 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9271 eval "$ac_cv_use_sash"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9276 if test "$wxUSE_SASH" = yes; then
9277 echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6
9280 echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6
9286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9289 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9290 if test "${enable_scrollbar+set}" = set; then
9291 enableval
="$enable_scrollbar"
9293 if test "$enableval" = yes; then
9294 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9296 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9301 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9302 if test "x$LINE" != x
; then
9303 eval "DEFAULT_$LINE"
9308 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9312 eval "$ac_cv_use_scrollbar"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9317 if test "$wxUSE_SCROLLBAR" = yes; then
9318 echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6
9321 echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6
9327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9330 # Check whether --enable-slider or --disable-slider was given.
9331 if test "${enable_slider+set}" = set; then
9332 enableval
="$enable_slider"
9334 if test "$enableval" = yes; then
9335 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9337 ac_cv_use_slider
='wxUSE_SLIDER=no'
9342 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9343 if test "x$LINE" != x
; then
9344 eval "DEFAULT_$LINE"
9349 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9353 eval "$ac_cv_use_slider"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9358 if test "$wxUSE_SLIDER" = yes; then
9359 echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6
9362 echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6
9368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9371 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9372 if test "${enable_spinbtn+set}" = set; then
9373 enableval
="$enable_spinbtn"
9375 if test "$enableval" = yes; then
9376 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9378 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9383 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9384 if test "x$LINE" != x
; then
9385 eval "DEFAULT_$LINE"
9390 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9394 eval "$ac_cv_use_spinbtn"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9399 if test "$wxUSE_SPINBTN" = yes; then
9400 echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6
9403 echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6
9409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9412 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9413 if test "${enable_spinctrl+set}" = set; then
9414 enableval
="$enable_spinctrl"
9416 if test "$enableval" = yes; then
9417 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9419 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9424 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9425 if test "x$LINE" != x
; then
9426 eval "DEFAULT_$LINE"
9431 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9435 eval "$ac_cv_use_spinctrl"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9440 if test "$wxUSE_SPINCTRL" = yes; then
9441 echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9453 # Check whether --enable-splitter or --disable-splitter was given.
9454 if test "${enable_splitter+set}" = set; then
9455 enableval
="$enable_splitter"
9457 if test "$enableval" = yes; then
9458 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9460 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9465 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9466 if test "x$LINE" != x
; then
9467 eval "DEFAULT_$LINE"
9472 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9476 eval "$ac_cv_use_splitter"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9481 if test "$wxUSE_SPLITTER" = yes; then
9482 echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6
9485 echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9494 # Check whether --enable-statbmp or --disable-statbmp was given.
9495 if test "${enable_statbmp+set}" = set; then
9496 enableval
="$enable_statbmp"
9498 if test "$enableval" = yes; then
9499 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9501 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9506 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x
; then
9508 eval "DEFAULT_$LINE"
9513 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9517 eval "$ac_cv_use_statbmp"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9522 if test "$wxUSE_STATBMP" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9535 # Check whether --enable-statbox or --disable-statbox was given.
9536 if test "${enable_statbox+set}" = set; then
9537 enableval
="$enable_statbox"
9539 if test "$enableval" = yes; then
9540 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9542 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9547 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x
; then
9549 eval "DEFAULT_$LINE"
9554 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9558 eval "$ac_cv_use_statbox"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_STATBOX" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9576 # Check whether --enable-statline or --disable-statline was given.
9577 if test "${enable_statline+set}" = set; then
9578 enableval
="$enable_statline"
9580 if test "$enableval" = yes; then
9581 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9583 ac_cv_use_statline
='wxUSE_STATLINE=no'
9588 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x
; then
9590 eval "DEFAULT_$LINE"
9595 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9599 eval "$ac_cv_use_statline"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9604 if test "$wxUSE_STATLINE" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9617 # Check whether --enable-stattext or --disable-stattext was given.
9618 if test "${enable_stattext+set}" = set; then
9619 enableval
="$enable_stattext"
9621 if test "$enableval" = yes; then
9622 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9624 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9629 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x
; then
9631 eval "DEFAULT_$LINE"
9636 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9640 eval "$ac_cv_use_stattext"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9645 if test "$wxUSE_STATTEXT" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9658 # Check whether --enable-statusbar or --disable-statusbar was given.
9659 if test "${enable_statusbar+set}" = set; then
9660 enableval
="$enable_statusbar"
9662 if test "$enableval" = yes; then
9663 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9665 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9670 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x
; then
9672 eval "DEFAULT_$LINE"
9677 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9681 eval "$ac_cv_use_statusbar"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9686 if test "$wxUSE_STATUSBAR" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9699 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9700 if test "${enable_tabdialog+set}" = set; then
9701 enableval
="$enable_tabdialog"
9703 if test "$enableval" = yes; then
9704 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9706 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9711 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x
; then
9713 eval "DEFAULT_$LINE"
9718 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9722 eval "$ac_cv_use_tabdialog"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9727 if test "$wxUSE_TAB_DIALOG" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9740 # Check whether --enable-textctrl or --disable-textctrl was given.
9741 if test "${enable_textctrl+set}" = set; then
9742 enableval
="$enable_textctrl"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9747 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9752 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x
; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9763 eval "$ac_cv_use_textctrl"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_TEXTCTRL" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9781 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9782 if test "${enable_togglebtn+set}" = set; then
9783 enableval
="$enable_togglebtn"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9788 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9793 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x
; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9804 eval "$ac_cv_use_togglebtn"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_TOGGLEBTN" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9822 # Check whether --enable-toolbar or --disable-toolbar was given.
9823 if test "${enable_toolbar+set}" = set; then
9824 enableval
="$enable_toolbar"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9829 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9834 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x
; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9845 eval "$ac_cv_use_toolbar"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_TOOLBAR" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9863 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9864 if test "${enable_tbarnative+set}" = set; then
9865 enableval
="$enable_tbarnative"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9870 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9875 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x
; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9886 eval "$ac_cv_use_tbarnative"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9904 # Check whether --enable-treebook or --disable-treebook was given.
9905 if test "${enable_treebook+set}" = set; then
9906 enableval
="$enable_treebook"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9911 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9916 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x
; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9927 eval "$ac_cv_use_treebook"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_TREEBOOK" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9945 # Check whether --enable-toolbook or --disable-toolbook was given.
9946 if test "${enable_toolbook+set}" = set; then
9947 enableval
="$enable_toolbook"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9952 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9957 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x
; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9968 eval "$ac_cv_use_toolbook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_TOOLBOOK" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9986 # Check whether --enable-treectrl or --disable-treectrl was given.
9987 if test "${enable_treectrl+set}" = set; then
9988 enableval
="$enable_treectrl"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9993 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9998 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x
; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10009 eval "$ac_cv_use_treectrl"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_TREECTRL" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10027 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10028 if test "${enable_tipwindow+set}" = set; then
10029 enableval
="$enable_tipwindow"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10034 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10039 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x
; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10050 eval "$ac_cv_use_tipwindow"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_TIPWINDOW" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10068 # Check whether --enable-popupwin or --disable-popupwin was given.
10069 if test "${enable_popupwin+set}" = set; then
10070 enableval
="$enable_popupwin"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10075 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10080 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x
; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10091 eval "$ac_cv_use_popupwin"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_POPUPWIN" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10111 # Check whether --enable-commondlg or --disable-commondlg was given.
10112 if test "${enable_commondlg+set}" = set; then
10113 enableval
="$enable_commondlg"
10115 if test "$enableval" = yes; then
10116 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10118 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10123 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x
; then
10125 eval "DEFAULT_$LINE"
10130 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10134 eval "$ac_cv_use_commondlg"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10139 if test "$wxUSE_COMMONDLGS" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10152 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10153 if test "${enable_aboutdlg+set}" = set; then
10154 enableval
="$enable_aboutdlg"
10156 if test "$enableval" = yes; then
10157 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10159 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10164 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x
; then
10166 eval "DEFAULT_$LINE"
10171 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10175 eval "$ac_cv_use_aboutdlg"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10180 if test "$wxUSE_ABOUTDLG" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10193 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10194 if test "${enable_choicedlg+set}" = set; then
10195 enableval
="$enable_choicedlg"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10200 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10205 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x
; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10216 eval "$ac_cv_use_choicedlg"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_CHOICEDLG" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10234 # Check whether --enable-coldlg or --disable-coldlg was given.
10235 if test "${enable_coldlg+set}" = set; then
10236 enableval
="$enable_coldlg"
10238 if test "$enableval" = yes; then
10239 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10241 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10246 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10247 if test "x$LINE" != x
; then
10248 eval "DEFAULT_$LINE"
10253 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10257 eval "$ac_cv_use_coldlg"
10258 if test "$no_cache" != 1; then
10259 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10262 if test "$wxUSE_COLOURDLG" = yes; then
10263 echo "$as_me:$LINENO: result: yes" >&5
10264 echo "${ECHO_T}yes" >&6
10266 echo "$as_me:$LINENO: result: no" >&5
10267 echo "${ECHO_T}no" >&6
10272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10275 # Check whether --enable-filedlg or --disable-filedlg was given.
10276 if test "${enable_filedlg+set}" = set; then
10277 enableval
="$enable_filedlg"
10279 if test "$enableval" = yes; then
10280 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10282 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10287 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x
; then
10289 eval "DEFAULT_$LINE"
10294 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10298 eval "$ac_cv_use_filedlg"
10299 if test "$no_cache" != 1; then
10300 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10303 if test "$wxUSE_FILEDLG" = yes; then
10304 echo "$as_me:$LINENO: result: yes" >&5
10305 echo "${ECHO_T}yes" >&6
10307 echo "$as_me:$LINENO: result: no" >&5
10308 echo "${ECHO_T}no" >&6
10313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10314 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10316 # Check whether --enable-finddlg or --disable-finddlg was given.
10317 if test "${enable_finddlg+set}" = set; then
10318 enableval
="$enable_finddlg"
10320 if test "$enableval" = yes; then
10321 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10323 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10328 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10329 if test "x$LINE" != x
; then
10330 eval "DEFAULT_$LINE"
10335 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10339 eval "$ac_cv_use_finddlg"
10340 if test "$no_cache" != 1; then
10341 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10344 if test "$wxUSE_FINDREPLDLG" = yes; then
10345 echo "$as_me:$LINENO: result: yes" >&5
10346 echo "${ECHO_T}yes" >&6
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10357 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10358 if test "${enable_fontdlg+set}" = set; then
10359 enableval
="$enable_fontdlg"
10361 if test "$enableval" = yes; then
10362 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10364 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10369 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10370 if test "x$LINE" != x
; then
10371 eval "DEFAULT_$LINE"
10376 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10380 eval "$ac_cv_use_fontdlg"
10381 if test "$no_cache" != 1; then
10382 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10385 if test "$wxUSE_FONTDLG" = yes; then
10386 echo "$as_me:$LINENO: result: yes" >&5
10387 echo "${ECHO_T}yes" >&6
10389 echo "$as_me:$LINENO: result: no" >&5
10390 echo "${ECHO_T}no" >&6
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10398 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10399 if test "${enable_dirdlg+set}" = set; then
10400 enableval
="$enable_dirdlg"
10402 if test "$enableval" = yes; then
10403 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10405 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10410 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x
; then
10412 eval "DEFAULT_$LINE"
10417 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10421 eval "$ac_cv_use_dirdlg"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10426 if test "$wxUSE_DIRDLG" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10439 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10440 if test "${enable_msgdlg+set}" = set; then
10441 enableval
="$enable_msgdlg"
10443 if test "$enableval" = yes; then
10444 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10446 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10451 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x
; then
10453 eval "DEFAULT_$LINE"
10458 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10462 eval "$ac_cv_use_msgdlg"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10467 if test "$wxUSE_MSGDLG" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10480 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10481 if test "${enable_numberdlg+set}" = set; then
10482 enableval
="$enable_numberdlg"
10484 if test "$enableval" = yes; then
10485 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10487 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10492 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x
; then
10494 eval "DEFAULT_$LINE"
10499 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10503 eval "$ac_cv_use_numberdlg"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10508 if test "$wxUSE_NUMBERDLG" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10521 # Check whether --enable-splash or --disable-splash was given.
10522 if test "${enable_splash+set}" = set; then
10523 enableval
="$enable_splash"
10525 if test "$enableval" = yes; then
10526 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10528 ac_cv_use_splash
='wxUSE_SPLASH=no'
10533 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x
; then
10535 eval "DEFAULT_$LINE"
10540 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10544 eval "$ac_cv_use_splash"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10549 if test "$wxUSE_SPLASH" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10562 # Check whether --enable-textdlg or --disable-textdlg was given.
10563 if test "${enable_textdlg+set}" = set; then
10564 enableval
="$enable_textdlg"
10566 if test "$enableval" = yes; then
10567 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10569 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10574 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x
; then
10576 eval "DEFAULT_$LINE"
10581 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10585 eval "$ac_cv_use_textdlg"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10590 if test "$wxUSE_TEXTDLG" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10603 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10604 if test "${enable_tipdlg+set}" = set; then
10605 enableval
="$enable_tipdlg"
10607 if test "$enableval" = yes; then
10608 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10610 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10615 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x
; then
10617 eval "DEFAULT_$LINE"
10622 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10626 eval "$ac_cv_use_tipdlg"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10631 if test "$wxUSE_STARTUP_TIPS" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10644 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10645 if test "${enable_progressdlg+set}" = set; then
10646 enableval
="$enable_progressdlg"
10648 if test "$enableval" = yes; then
10649 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10651 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10656 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x
; then
10658 eval "DEFAULT_$LINE"
10663 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10667 eval "$ac_cv_use_progressdlg"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10672 if test "$wxUSE_PROGRESSDLG" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10685 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10686 if test "${enable_wizarddlg+set}" = set; then
10687 enableval
="$enable_wizarddlg"
10689 if test "$enableval" = yes; then
10690 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10692 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10697 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x
; then
10699 eval "DEFAULT_$LINE"
10704 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10708 eval "$ac_cv_use_wizarddlg"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10713 if test "$wxUSE_WIZARDDLG" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10728 # Check whether --enable-menus or --disable-menus was given.
10729 if test "${enable_menus+set}" = set; then
10730 enableval
="$enable_menus"
10732 if test "$enableval" = yes; then
10733 ac_cv_use_menus
='wxUSE_MENUS=yes'
10735 ac_cv_use_menus
='wxUSE_MENUS=no'
10740 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x
; then
10742 eval "DEFAULT_$LINE"
10747 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10751 eval "$ac_cv_use_menus"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10756 if test "$wxUSE_MENUS" = yes; then
10757 echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10769 # Check whether --enable-miniframe or --disable-miniframe was given.
10770 if test "${enable_miniframe+set}" = set; then
10771 enableval
="$enable_miniframe"
10773 if test "$enableval" = yes; then
10774 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10776 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10781 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10782 if test "x$LINE" != x
; then
10783 eval "DEFAULT_$LINE"
10788 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10792 eval "$ac_cv_use_miniframe"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10797 if test "$wxUSE_MINIFRAME" = yes; then
10798 echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6
10801 echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6
10807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10810 # Check whether --enable-tooltips or --disable-tooltips was given.
10811 if test "${enable_tooltips+set}" = set; then
10812 enableval
="$enable_tooltips"
10814 if test "$enableval" = yes; then
10815 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10817 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10822 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10823 if test "x$LINE" != x
; then
10824 eval "DEFAULT_$LINE"
10829 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10833 eval "$ac_cv_use_tooltips"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10838 if test "$wxUSE_TOOLTIPS" = yes; then
10839 echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6
10842 echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6
10848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10851 # Check whether --enable-splines or --disable-splines was given.
10852 if test "${enable_splines+set}" = set; then
10853 enableval
="$enable_splines"
10855 if test "$enableval" = yes; then
10856 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10858 ac_cv_use_splines
='wxUSE_SPLINES=no'
10863 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x
; then
10865 eval "DEFAULT_$LINE"
10870 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10874 eval "$ac_cv_use_splines"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10879 if test "$wxUSE_SPLINES" = yes; then
10880 echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6
10883 echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10892 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10893 if test "${enable_mousewheel+set}" = set; then
10894 enableval
="$enable_mousewheel"
10896 if test "$enableval" = yes; then
10897 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10899 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10904 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x
; then
10906 eval "DEFAULT_$LINE"
10911 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10915 eval "$ac_cv_use_mousewheel"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_MOUSEWHEEL" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10933 # Check whether --enable-validators or --disable-validators was given.
10934 if test "${enable_validators+set}" = set; then
10935 enableval
="$enable_validators"
10937 if test "$enableval" = yes; then
10938 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10940 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10945 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10946 if test "x$LINE" != x
; then
10947 eval "DEFAULT_$LINE"
10952 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10956 eval "$ac_cv_use_validators"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10961 if test "$wxUSE_VALIDATORS" = yes; then
10962 echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6
10965 echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6
10971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10974 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10975 if test "${enable_busyinfo+set}" = set; then
10976 enableval
="$enable_busyinfo"
10978 if test "$enableval" = yes; then
10979 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10981 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10986 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10987 if test "x$LINE" != x
; then
10988 eval "DEFAULT_$LINE"
10993 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10997 eval "$ac_cv_use_busyinfo"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11002 if test "$wxUSE_BUSYINFO" = yes; then
11003 echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6
11006 echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6
11012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11015 # Check whether --enable-joystick or --disable-joystick was given.
11016 if test "${enable_joystick+set}" = set; then
11017 enableval
="$enable_joystick"
11019 if test "$enableval" = yes; then
11020 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11022 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11027 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11028 if test "x$LINE" != x
; then
11029 eval "DEFAULT_$LINE"
11034 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11038 eval "$ac_cv_use_joystick"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11043 if test "$wxUSE_JOYSTICK" = yes; then
11044 echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6
11047 echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6
11053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11056 # Check whether --enable-metafile or --disable-metafile was given.
11057 if test "${enable_metafile+set}" = set; then
11058 enableval
="$enable_metafile"
11060 if test "$enableval" = yes; then
11061 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11063 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11068 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11069 if test "x$LINE" != x
; then
11070 eval "DEFAULT_$LINE"
11075 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11079 eval "$ac_cv_use_metafile"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11084 if test "$wxUSE_METAFILE" = yes; then
11085 echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6
11088 echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6
11094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11097 # Check whether --enable-dragimage or --disable-dragimage was given.
11098 if test "${enable_dragimage+set}" = set; then
11099 enableval
="$enable_dragimage"
11101 if test "$enableval" = yes; then
11102 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11104 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11109 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11110 if test "x$LINE" != x
; then
11111 eval "DEFAULT_$LINE"
11116 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11120 eval "$ac_cv_use_dragimage"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11125 if test "$wxUSE_DRAGIMAGE" = yes; then
11126 echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6
11129 echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6
11135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11138 # Check whether --enable-accessibility or --disable-accessibility was given.
11139 if test "${enable_accessibility+set}" = set; then
11140 enableval
="$enable_accessibility"
11142 if test "$enableval" = yes; then
11143 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11145 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11150 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11151 if test "x$LINE" != x
; then
11152 eval "DEFAULT_$LINE"
11157 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11161 eval "$ac_cv_use_accessibility"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11166 if test "$wxUSE_ACCESSIBILITY" = yes; then
11167 echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11175 if test "$wxUSE_MSW" = "1"; then
11178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11181 # Check whether --enable-dccache or --disable-dccache was given.
11182 if test "${enable_dccache+set}" = set; then
11183 enableval
="$enable_dccache"
11185 if test "$enableval" = yes; then
11186 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11188 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11193 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x
; then
11195 eval "DEFAULT_$LINE"
11200 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11204 eval "$ac_cv_use_dccache"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11209 if test "$wxUSE_DC_CACHEING" = yes; then
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11225 # Check whether --enable-palette or --disable-palette was given.
11226 if test "${enable_palette+set}" = set; then
11227 enableval
="$enable_palette"
11229 if test "$enableval" = yes; then
11230 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11232 ac_cv_use_palette
='wxUSE_PALETTE=no'
11237 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11238 if test "x$LINE" != x
; then
11239 eval "DEFAULT_$LINE"
11244 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11248 eval "$ac_cv_use_palette"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11253 if test "$wxUSE_PALETTE" = yes; then
11254 echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11266 # Check whether --enable-image or --disable-image was given.
11267 if test "${enable_image+set}" = set; then
11268 enableval
="$enable_image"
11270 if test "$enableval" = yes; then
11271 ac_cv_use_image
='wxUSE_IMAGE=yes'
11273 ac_cv_use_image
='wxUSE_IMAGE=no'
11278 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11279 if test "x$LINE" != x
; then
11280 eval "DEFAULT_$LINE"
11285 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11289 eval "$ac_cv_use_image"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11294 if test "$wxUSE_IMAGE" = yes; then
11295 echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11307 # Check whether --enable-gif or --disable-gif was given.
11308 if test "${enable_gif+set}" = set; then
11309 enableval
="$enable_gif"
11311 if test "$enableval" = yes; then
11312 ac_cv_use_gif
='wxUSE_GIF=yes'
11314 ac_cv_use_gif
='wxUSE_GIF=no'
11319 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11320 if test "x$LINE" != x
; then
11321 eval "DEFAULT_$LINE"
11326 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11330 eval "$ac_cv_use_gif"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11335 if test "$wxUSE_GIF" = yes; then
11336 echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6
11339 echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6
11345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11348 # Check whether --enable-pcx or --disable-pcx was given.
11349 if test "${enable_pcx+set}" = set; then
11350 enableval
="$enable_pcx"
11352 if test "$enableval" = yes; then
11353 ac_cv_use_pcx
='wxUSE_PCX=yes'
11355 ac_cv_use_pcx
='wxUSE_PCX=no'
11360 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11361 if test "x$LINE" != x
; then
11362 eval "DEFAULT_$LINE"
11367 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11371 eval "$ac_cv_use_pcx"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11376 if test "$wxUSE_PCX" = yes; then
11377 echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6
11380 echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6
11386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11389 # Check whether --enable-iff or --disable-iff was given.
11390 if test "${enable_iff+set}" = set; then
11391 enableval
="$enable_iff"
11393 if test "$enableval" = yes; then
11394 ac_cv_use_iff
='wxUSE_IFF=yes'
11396 ac_cv_use_iff
='wxUSE_IFF=no'
11401 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11402 if test "x$LINE" != x
; then
11403 eval "DEFAULT_$LINE"
11408 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11412 eval "$ac_cv_use_iff"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11417 if test "$wxUSE_IFF" = yes; then
11418 echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6
11421 echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6
11427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11430 # Check whether --enable-pnm or --disable-pnm was given.
11431 if test "${enable_pnm+set}" = set; then
11432 enableval
="$enable_pnm"
11434 if test "$enableval" = yes; then
11435 ac_cv_use_pnm
='wxUSE_PNM=yes'
11437 ac_cv_use_pnm
='wxUSE_PNM=no'
11442 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x
; then
11444 eval "DEFAULT_$LINE"
11449 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11453 eval "$ac_cv_use_pnm"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11458 if test "$wxUSE_PNM" = yes; then
11459 echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6
11462 echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6
11468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11471 # Check whether --enable-xpm or --disable-xpm was given.
11472 if test "${enable_xpm+set}" = set; then
11473 enableval
="$enable_xpm"
11475 if test "$enableval" = yes; then
11476 ac_cv_use_xpm
='wxUSE_XPM=yes'
11478 ac_cv_use_xpm
='wxUSE_XPM=no'
11483 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11484 if test "x$LINE" != x
; then
11485 eval "DEFAULT_$LINE"
11490 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11494 eval "$ac_cv_use_xpm"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11499 if test "$wxUSE_XPM" = yes; then
11500 echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11512 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11513 if test "${enable_ico_cur+set}" = set; then
11514 enableval
="$enable_ico_cur"
11516 if test "$enableval" = yes; then
11517 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11519 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11524 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11525 if test "x$LINE" != x
; then
11526 eval "DEFAULT_$LINE"
11531 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11535 eval "$ac_cv_use_ico_cur"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11540 if test "$wxUSE_ICO_CUR" = yes; then
11541 echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11553 # Check whether --with-flavour or --without-flavour was given.
11554 if test "${with_flavour+set}" = set; then
11555 withval
="$with_flavour"
11556 WX_FLAVOUR
="$withval"
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11565 # Check whether --enable-official_build or --disable-official_build was given.
11566 if test "${enable_official_build+set}" = set; then
11567 enableval
="$enable_official_build"
11569 if test "$enableval" = yes; then
11570 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11572 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11577 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x
; then
11579 eval "DEFAULT_$LINE"
11584 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11588 eval "$ac_cv_use_official_build"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11593 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11601 # Check whether --enable-vendor or --disable-vendor was given.
11602 if test "${enable_vendor+set}" = set; then
11603 enableval
="$enable_vendor"
11604 VENDOR
="$enableval"
11606 if test "x$VENDOR" = "x"; then
11613 echo "saving argument cache $wx_arg_cache_file"
11614 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11618 echo "$as_me:$LINENO: checking for toolkit" >&5
11619 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11621 # In Wine, we need to default to MSW, not GTK or MOTIF
11622 if test "$wxUSE_WINE" = "yes"; then
11623 DEFAULT_DEFAULT_wxUSE_GTK
=0
11624 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11625 DEFAULT_DEFAULT_wxUSE_MSW
=1
11630 if test "$wxUSE_GUI" = "yes"; then
11632 if test "$USE_BEOS" = 1; then
11633 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11634 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11635 { (exit 1); exit 1; }; }
11638 if test "$TOOLKIT_GIVEN" = 1; then
11639 for toolkit
in `echo $ALL_TOOLKITS`; do
11641 eval "value=\$${var}"
11642 if test "x$value" = "xno"; then
11644 elif test "x$value" != "x"; then
11648 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11649 eval "wx${toolkit}_VERSION=$value"
11653 for toolkit
in `echo $ALL_TOOLKITS`; do
11654 if test "$has_toolkit_in_cache" != 1; then
11655 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11657 var
=DEFAULT_wxUSE_
$toolkit
11659 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11660 if test "x$version" != "x"; then
11661 eval "wx${toolkit}_VERSION=$version"
11664 eval "wxUSE_$toolkit=\$${var}"
11668 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11669 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11670 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11673 *-pc-os2_emx | *-pc-os2-emx )
11674 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11677 case "$NUM_TOOLKITS" in
11681 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11682 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11683 { (exit 1); exit 1; }; }
11686 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11687 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11688 { (exit 1); exit 1; }; }
11691 # to be removed when --disable-gtk2 isn't needed
11692 if test "x$wxUSE_GTK2" = "xyes"; then
11694 elif test "x$wxUSE_GTK2" = "xno"; then
11698 for toolkit
in `echo $ALL_TOOLKITS`; do
11700 eval "value=\$${var}"
11701 if test "x$value" != x
; then
11702 cache_var
=CACHE_
$toolkit
11703 eval "cache=\$${cache_var}"
11704 if test "$cache" = 1; then
11705 echo "$var=$value" >> ${wx_arg_cache_file}
11706 eval "version=\$wx${toolkit}_VERSION"
11707 if test "x$version" != "x"; then
11708 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11711 if test "$value" = 1; then
11712 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11713 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11714 echo "${ECHO_T}$toolkit_echo" >&6
11719 if test "x$host_alias" != "x"; then
11720 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11721 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11723 echo "$as_me:$LINENO: result: base only" >&5
11724 echo "${ECHO_T}base only" >&6
11729 doesnt_want_win32
=0
11732 if test "$wxUSE_MSW" = 1 ; then
11734 BAKEFILE_FORCE_PLATFORM
=win32
11736 doesnt_want_win32
=1
11744 if test "$wxUSE_WINE" = "yes"; then
11748 LDFLAGS_GUI
="-mwindows"
11751 if test "$wants_win32" = 1 ; then
11754 cat >>confdefs.h
<<\_ACEOF
11755 #define __WIN32__ 1
11758 cat >>confdefs.h
<<\_ACEOF
11759 #define __WIN95__ 1
11762 cat >>confdefs.h
<<\_ACEOF
11763 #define __WINDOWS__ 1
11766 cat >>confdefs.h
<<\_ACEOF
11767 #define __GNUWIN32__ 1
11770 cat >>confdefs.h
<<\_ACEOF
11774 cat >>confdefs.h
<<\_ACEOF
11775 #define WINVER 0x0400
11779 if test "$doesnt_want_win32" = 1 ; then
11784 if test "$USE_UNIX" = 1 ; then
11786 cat >>confdefs.h
<<\_ACEOF
11793 cat >confcache
<<\_ACEOF
11794 # This file is a shell script that caches the results of configure
11795 # tests run on this system so they can be shared between configure
11796 # scripts and configure runs, see configure's option --config-cache.
11797 # It is not useful on other systems. If it contains results you don't
11798 # want to keep, you may remove or edit it.
11800 # config.status only pays attention to the cache file if you give it
11801 # the --recheck option to rerun configure.
11803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11805 # following values.
11809 # The following way of writing the cache mishandles newlines in values,
11810 # but we know of no workaround that is simple, portable, and efficient.
11811 # So, don't put newlines in cache variables' values.
11812 # Ultrix sh set writes to stderr and can't be redirected directly,
11813 # and sets the high bit in the cache file unless we assign to the vars.
11816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11818 # `set' does not quote correctly, so add quotes (double-quote
11819 # substitution turns \\\\ into \\, and sed turns \\ into \).
11822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11825 # `set' quotes correctly as required by POSIX, so do not add quotes.
11827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11838 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11839 if test -w $cache_file; then
11840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11841 cat confcache
>$cache_file
11843 echo "not updating unwritable cache $cache_file"
11853 ac_cpp
='$CPP $CPPFLAGS'
11854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11857 if test -n "$ac_tool_prefix"; then
11858 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11859 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11860 echo "$as_me:$LINENO: checking for $ac_word" >&5
11861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11862 if test "${ac_cv_prog_CC+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 if test -n "$CC"; then
11866 ac_cv_prog_CC
="$CC" # Let the user override the test.
11868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11869 for as_dir
in $PATH
11872 test -z "$as_dir" && as_dir
=.
11873 for ac_exec_ext
in '' $ac_executable_extensions; do
11874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11875 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 if test -n "$CC"; then
11886 echo "$as_me:$LINENO: result: $CC" >&5
11887 echo "${ECHO_T}$CC" >&6
11889 echo "$as_me:$LINENO: result: no" >&5
11890 echo "${ECHO_T}no" >&6
11894 if test -z "$ac_cv_prog_CC"; then
11896 # Extract the first word of "gcc", so it can be a program name with args.
11897 set dummy gcc
; ac_word
=$2
11898 echo "$as_me:$LINENO: checking for $ac_word" >&5
11899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 if test -n "$ac_ct_CC"; then
11904 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11907 for as_dir
in $PATH
11910 test -z "$as_dir" && as_dir
=.
11911 for ac_exec_ext
in '' $ac_executable_extensions; do
11912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_prog_ac_ct_CC
="gcc"
11914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11922 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11923 if test -n "$ac_ct_CC"; then
11924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11925 echo "${ECHO_T}$ac_ct_CC" >&6
11927 echo "$as_me:$LINENO: result: no" >&5
11928 echo "${ECHO_T}no" >&6
11933 CC
="$ac_cv_prog_CC"
11936 if test -z "$CC"; then
11937 if test -n "$ac_tool_prefix"; then
11938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11939 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11940 echo "$as_me:$LINENO: checking for $ac_word" >&5
11941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11942 if test "${ac_cv_prog_CC+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 if test -n "$CC"; then
11946 ac_cv_prog_CC
="$CC" # Let the user override the test.
11948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11949 for as_dir
in $PATH
11952 test -z "$as_dir" && as_dir
=.
11953 for ac_exec_ext
in '' $ac_executable_extensions; do
11954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11955 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 if test -n "$CC"; then
11966 echo "$as_me:$LINENO: result: $CC" >&5
11967 echo "${ECHO_T}$CC" >&6
11969 echo "$as_me:$LINENO: result: no" >&5
11970 echo "${ECHO_T}no" >&6
11974 if test -z "$ac_cv_prog_CC"; then
11976 # Extract the first word of "cc", so it can be a program name with args.
11977 set dummy cc
; ac_word
=$2
11978 echo "$as_me:$LINENO: checking for $ac_word" >&5
11979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 if test -n "$ac_ct_CC"; then
11984 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11987 for as_dir
in $PATH
11990 test -z "$as_dir" && as_dir
=.
11991 for ac_exec_ext
in '' $ac_executable_extensions; do
11992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11993 ac_cv_prog_ac_ct_CC
="cc"
11994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12003 if test -n "$ac_ct_CC"; then
12004 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12005 echo "${ECHO_T}$ac_ct_CC" >&6
12007 echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6
12013 CC
="$ac_cv_prog_CC"
12017 if test -z "$CC"; then
12018 # Extract the first word of "cc", so it can be a program name with args.
12019 set dummy cc
; 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 ac_prog_rejected
=no
12029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12030 for as_dir
in $PATH
12033 test -z "$as_dir" && as_dir
=.
12034 for ac_exec_ext
in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12037 ac_prog_rejected
=yes
12041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12047 if test $ac_prog_rejected = yes; then
12048 # We found a bogon in the path, so make sure we never use it.
12049 set dummy
$ac_cv_prog_CC
12051 if test $# != 0; then
12052 # We chose a different compiler from the bogus one.
12053 # However, it has the same basename, so the bogon will be chosen
12054 # first if we set CC to just the basename; use the full file name.
12056 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12062 if test -n "$CC"; then
12063 echo "$as_me:$LINENO: result: $CC" >&5
12064 echo "${ECHO_T}$CC" >&6
12066 echo "$as_me:$LINENO: result: no" >&5
12067 echo "${ECHO_T}no" >&6
12071 if test -z "$CC"; then
12072 if test -n "$ac_tool_prefix"; then
12075 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12076 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12077 echo "$as_me:$LINENO: checking for $ac_word" >&5
12078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12079 if test "${ac_cv_prog_CC+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 if test -n "$CC"; then
12083 ac_cv_prog_CC
="$CC" # Let the user override the test.
12085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12086 for as_dir
in $PATH
12089 test -z "$as_dir" && as_dir
=.
12090 for ac_exec_ext
in '' $ac_executable_extensions; do
12091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12102 if test -n "$CC"; then
12103 echo "$as_me:$LINENO: result: $CC" >&5
12104 echo "${ECHO_T}$CC" >&6
12106 echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6
12110 test -n "$CC" && break
12113 if test -z "$CC"; then
12117 # Extract the first word of "$ac_prog", so it can be a program name with args.
12118 set dummy
$ac_prog; ac_word
=$2
12119 echo "$as_me:$LINENO: checking for $ac_word" >&5
12120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 if test -n "$ac_ct_CC"; then
12125 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12128 for as_dir
in $PATH
12131 test -z "$as_dir" && as_dir
=.
12132 for ac_exec_ext
in '' $ac_executable_extensions; do
12133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_prog_ac_ct_CC
="$ac_prog"
12135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12143 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12144 if test -n "$ac_ct_CC"; then
12145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12146 echo "${ECHO_T}$ac_ct_CC" >&6
12148 echo "$as_me:$LINENO: result: no" >&5
12149 echo "${ECHO_T}no" >&6
12152 test -n "$ac_ct_CC" && break
12161 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12162 See \`config.log' for more details." >&5
12163 echo "$as_me: error: no acceptable C compiler found in \$PATH
12164 See \`config.log' for more details." >&2;}
12165 { (exit 1); exit 1; }; }
12167 # Provide some information about the compiler.
12168 echo "$as_me:$LINENO:" \
12169 "checking for C compiler version" >&5
12170 ac_compiler
=`set X $ac_compile; echo $2`
12171 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12172 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }
12176 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12177 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }
12181 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12182 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }
12187 cat >conftest.
$ac_ext <<_ACEOF
12190 cat confdefs.h
>>conftest.
$ac_ext
12191 cat >>conftest.
$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12202 ac_clean_files_save
=$ac_clean_files
12203 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12204 # Try to create an executable without -o first, disregard a.out.
12205 # It will help us diagnose broken compilers, and finding out an intuition
12207 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12208 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12209 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12210 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12211 (eval $ac_link_default) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; then
12215 # Find the output, starting from the most likely. This scheme is
12216 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12219 # Be careful to initialize this variable, since it used to be cached.
12220 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12222 # b.out is created by i960 compilers.
12223 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12225 test -f "$ac_file" || continue
12227 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12230 # This is the source file.
12233 # We found the default executable, but exeext='' is most
12237 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12238 # FIXME: I believe we export ac_cv_exeext for Libtool,
12239 # but it would be cool to find out if it's true. Does anybody
12240 # maintain Libtool? --akim.
12241 export ac_cv_exeext
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.
$ac_ext >&5
12251 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12252 See \`config.log' for more details." >&5
12253 echo "$as_me: error: C compiler cannot create executables
12254 See \`config.log' for more details." >&2;}
12255 { (exit 77); exit 77; }; }
12258 ac_exeext
=$ac_cv_exeext
12259 echo "$as_me:$LINENO: result: $ac_file" >&5
12260 echo "${ECHO_T}$ac_file" >&6
12262 # Check the compiler produces executables we can run. If not, either
12263 # the compiler is broken, or we cross compile.
12264 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12265 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12267 # If not cross compiling, check that we can run a simple program.
12268 if test "$cross_compiling" != yes; then
12269 if { ac_try
='./$ac_file'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12277 if test "$cross_compiling" = maybe
; then
12278 cross_compiling
=yes
12280 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12281 If you meant to cross compile, use \`--host'.
12282 See \`config.log' for more details." >&5
12283 echo "$as_me: error: cannot run C compiled programs.
12284 If you meant to cross compile, use \`--host'.
12285 See \`config.log' for more details." >&2;}
12286 { (exit 1); exit 1; }; }
12290 echo "$as_me:$LINENO: result: yes" >&5
12291 echo "${ECHO_T}yes" >&6
12293 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12294 ac_clean_files
=$ac_clean_files_save
12295 # Check the compiler produces executables we can run. If not, either
12296 # the compiler is broken, or we cross compile.
12297 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12298 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12299 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12300 echo "${ECHO_T}$cross_compiling" >&6
12302 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12303 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; then
12309 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12310 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12311 # work properly (i.e., refer to `conftest.exe'), while it won't with
12313 for ac_file
in conftest.exe conftest conftest.
*; do
12314 test -f "$ac_file" || continue
12316 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12317 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12318 export ac_cv_exeext
12324 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12325 See \`config.log' for more details." >&5
12326 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12327 See \`config.log' for more details." >&2;}
12328 { (exit 1); exit 1; }; }
12331 rm -f conftest
$ac_cv_exeext
12332 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12333 echo "${ECHO_T}$ac_cv_exeext" >&6
12335 rm -f conftest.
$ac_ext
12336 EXEEXT
=$ac_cv_exeext
12338 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12339 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12340 if test "${ac_cv_objext+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12358 rm -f conftest.o conftest.obj
12359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; then
12364 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12366 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12367 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12376 See \`config.log' for more details." >&5
12377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12378 See \`config.log' for more details." >&2;}
12379 { (exit 1); exit 1; }; }
12382 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12384 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12385 echo "${ECHO_T}$ac_cv_objext" >&6
12386 OBJEXT
=$ac_cv_objext
12388 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12389 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12411 rm -f conftest.
$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1
>conftest.err
12417 cat conftest.err
>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try
='test -s conftest.$ac_objext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_compiler_gnu
=yes
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.
$ac_ext >&5
12439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12440 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12443 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12445 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12446 ac_test_CFLAGS
=${CFLAGS+set}
12447 ac_save_CFLAGS
=$CFLAGS
12449 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12450 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12451 if test "${ac_cv_prog_cc_g+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 cat >conftest.
$ac_ext <<_ACEOF
12457 cat confdefs.h
>>conftest.
$ac_ext
12458 cat >>conftest.
$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12469 rm -f conftest.
$ac_objext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12471 (eval $ac_compile) 2>conftest.er1
12473 grep -v '^ *+' conftest.er1
>conftest.err
12475 cat conftest.err
>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try
='test -s conftest.$ac_objext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 ac_cv_prog_cc_g
=yes
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.
$ac_ext >&5
12497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12501 if test "$ac_test_CFLAGS" = set; then
12502 CFLAGS
=$ac_save_CFLAGS
12503 elif test $ac_cv_prog_cc_g = yes; then
12504 if test "$GCC" = yes; then
12510 if test "$GCC" = yes; then
12516 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12517 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12518 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 ac_cv_prog_cc_stdc
=no
12523 cat >conftest.
$ac_ext <<_ACEOF
12526 cat confdefs.h
>>conftest.
$ac_ext
12527 cat >>conftest.
$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 #include <stdarg.h>
12531 #include <sys/types.h>
12532 #include <sys/stat.h>
12533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12534 struct buf { int x; };
12535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12536 static char *e (p, i)
12542 static char *f (char * (*g) (char **, int), char **p, ...)
12547 s = g (p, va_arg (v,int));
12552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12553 function prototypes and stuff, but not '\xHH' hex character constants.
12554 These don't provoke an error unfortunately, instead are silently treated
12555 as 'x'. The following induces an error, until -std1 is added to get
12556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12557 array size at least. It's necessary to write '\x00'==0 to get something
12558 that's true only with -std1. */
12559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12561 int test (int i, double x);
12562 struct s1 {int (*f) (int a);};
12563 struct s2 {int (*f) (double a);};
12564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12575 # Don't try gcc -ansi; that turns off useful extensions and
12576 # breaks some systems' header files.
12577 # AIX -qlanglvl=ansi
12578 # Ultrix and OSF/1 -std1
12579 # HP-UX 10.20 and later -Ae
12580 # HP-UX older versions -Aa -D_HPUX_SOURCE
12581 # SVR4 -Xc -D__EXTENSIONS__
12582 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12584 CC
="$ac_save_CC $ac_arg"
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" || test ! -s conftest.err'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; } &&
12600 { ac_try
='test -s conftest.$ac_objext'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 ac_cv_prog_cc_stdc
=$ac_arg
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12613 rm -f conftest.err conftest.
$ac_objext
12615 rm -f conftest.
$ac_ext conftest.
$ac_objext
12620 case "x$ac_cv_prog_cc_stdc" in
12622 echo "$as_me:$LINENO: result: none needed" >&5
12623 echo "${ECHO_T}none needed" >&6 ;;
12625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12626 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12627 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12630 # Some people use a C++ compiler to compile C. Since we use `exit',
12631 # in C++ we need to declare it. In case someone uses the same compiler
12632 # for both compiling C and C++ we need to have the C++ compiler decide
12633 # the declaration of exit, since it's the most demanding environment.
12634 cat >conftest.
$ac_ext <<_ACEOF
12635 #ifndef __cplusplus
12639 rm -f conftest.
$ac_objext
12640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12641 (eval $ac_compile) 2>conftest.er1
12643 grep -v '^ *+' conftest.er1
>conftest.err
12645 cat conftest.err
>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } &&
12648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; } &&
12654 { ac_try
='test -s conftest.$ac_objext'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 for ac_declaration
in \
12662 'extern "C" void std::exit (int) throw (); using std::exit;' \
12663 'extern "C" void std::exit (int); using std::exit;' \
12664 'extern "C" void exit (int) throw ();' \
12665 'extern "C" void exit (int);' \
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12675 #include <stdlib.h>
12684 rm -f conftest.
$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>conftest.er1
12688 grep -v '^ *+' conftest.er1
>conftest.err
12690 cat conftest.err
>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12695 (eval $ac_try) 2>&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); }; } &&
12699 { ac_try
='test -s conftest.$ac_objext'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.
$ac_ext >&5
12712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12713 cat >conftest.
$ac_ext <<_ACEOF
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12728 rm -f conftest.
$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try
='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.
$ac_ext >&5
12755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12758 if test -n "$ac_declaration"; then
12759 echo '#ifdef __cplusplus' >>confdefs.h
12760 echo $ac_declaration >>confdefs.h
12761 echo '#endif' >>confdefs.h
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12771 ac_cpp
='$CPP $CPPFLAGS'
12772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12779 ac_cpp
='$CPP $CPPFLAGS'
12780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12784 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12785 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12786 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 cat confdefs.h
>>conftest.
$ac_ext
12793 cat >>conftest.
$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12800 #ifndef __INTEL_COMPILER
12808 rm -f conftest.
$ac_objext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12810 (eval $ac_compile) 2>conftest.er1
12812 grep -v '^ *+' conftest.er1
>conftest.err
12814 cat conftest.err
>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try
='test -s conftest.$ac_objext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.
$ac_ext >&5
12834 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12841 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12842 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12844 ac_cpp
='$CPP $CPPFLAGS'
12845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12849 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12856 if test "x$GCC" != "xyes"; then
12857 if test "xCC" = "xC"; then
12858 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12859 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12860 if test "${bakefile_cv_c_exto+set}" = set; then
12861 echo $ECHO_N "(cached) $ECHO_C" >&6
12863 cat >conftest.
$ac_ext <<_ACEOF
12866 cat confdefs.h
>>conftest.
$ac_ext
12867 cat >>conftest.
$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12878 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12880 (eval $ac_compile) 2>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; then
12884 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12886 conftest.
$ac_ext.o
)
12887 bakefile_cv_c_exto
="-ext o"
12894 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12895 See \`config.log' for more details." >&5
12896 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12897 See \`config.log' for more details." >&2;}
12898 { (exit 1); exit 1; }; }
12902 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12905 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12906 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12907 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12908 if test "c" = "c"; then
12909 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12911 if test "c" = "cxx"; then
12912 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12916 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12917 unset ac_cv_prog_cc_g
12918 ac_test_CFLAGS
=${CFLAGS+set}
12919 ac_save_CFLAGS
=$CFLAGS
12921 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12922 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12923 if test "${ac_cv_prog_cc_g+set}" = set; then
12924 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 cat >conftest.
$ac_ext <<_ACEOF
12929 cat confdefs.h
>>conftest.
$ac_ext
12930 cat >>conftest.
$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12941 rm -f conftest.
$ac_objext
12942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>conftest.er1
12945 grep -v '^ *+' conftest.er1
>conftest.err
12947 cat conftest.err
>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; } &&
12956 { ac_try
='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_cv_prog_cc_g
=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.
$ac_ext >&5
12969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12972 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12973 if test "$ac_test_CFLAGS" = set; then
12974 CFLAGS
=$ac_save_CFLAGS
12975 elif test $ac_cv_prog_cc_g = yes; then
12976 if test "$GCC" = yes; then
12982 if test "$GCC" = yes; then
12994 ac_cpp
='$CPP $CPPFLAGS'
12995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12999 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13000 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13001 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 cat >conftest.
$ac_ext <<_ACEOF
13007 cat confdefs.h
>>conftest.
$ac_ext
13008 cat >>conftest.
$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13022 rm -f conftest.
$ac_objext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try
='test -s conftest.$ac_objext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 bakefile_compiler_xlc
=yes
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.
$ac_ext >&5
13048 bakefile_compiler_xlc
=no
13050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13051 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13054 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13055 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13057 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13059 ac_cpp
='$CPP $CPPFLAGS'
13060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13069 ac_cpp
='$CPP $CPPFLAGS'
13070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13074 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13075 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13076 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 cat >conftest.
$ac_ext <<_ACEOF
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13097 rm -f conftest.
$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try
='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 bakefile_compiler_mwerks
=yes
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.
$ac_ext >&5
13123 bakefile_compiler_mwerks
=no
13125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13126 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13129 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13130 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13132 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13134 ac_cpp
='$CPP $CPPFLAGS'
13135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13141 ac_cpp
='$CPP $CPPFLAGS'
13142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13146 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13147 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13148 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 cat >conftest.
$ac_ext <<_ACEOF
13154 cat confdefs.h
>>conftest.
$ac_ext
13155 cat >>conftest.
$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13169 rm -f conftest.
$ac_objext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13171 (eval $ac_compile) 2>conftest.er1
13173 grep -v '^ *+' conftest.er1
>conftest.err
13175 cat conftest.err
>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try
='test -s conftest.$ac_objext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 bakefile_compiler_xlc
=yes
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 bakefile_compiler_xlc
=no
13197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13198 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13201 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13202 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13204 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13206 ac_cpp
='$CPP $CPPFLAGS'
13207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13218 ac_cpp
='$CPP $CPPFLAGS'
13219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13223 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13224 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13225 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13228 cat >conftest.
$ac_ext <<_ACEOF
13231 cat confdefs.h
>>conftest.
$ac_ext
13232 cat >>conftest.
$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13239 #ifndef _SGI_COMPILER_VERSION
13247 rm -f conftest.
$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; } &&
13262 { ac_try
='test -s conftest.$ac_objext'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; }; then
13268 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13280 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13281 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13283 ac_cpp
='$CPP $CPPFLAGS'
13284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13288 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13301 ac_cpp
='$CPP $CPPFLAGS'
13302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13306 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13307 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13308 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 cat >conftest.
$ac_ext <<_ACEOF
13314 cat confdefs.h
>>conftest.
$ac_ext
13315 cat >>conftest.
$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13330 rm -f conftest.
$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13334 grep -v '^ *+' conftest.er1
>conftest.err
13336 cat conftest.err
>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try
='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_cv_c_compiler___HP_cc
=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 bakefile_cv_c_compiler___HP_cc
=no
13359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13363 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13364 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13366 ac_cpp
='$CPP $CPPFLAGS'
13367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13371 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13384 ac_cpp
='$CPP $CPPFLAGS'
13385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13389 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13390 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13391 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 cat >conftest.
$ac_ext <<_ACEOF
13397 cat confdefs.h
>>conftest.
$ac_ext
13398 cat >>conftest.
$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13413 rm -f conftest.
$ac_objext
13414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13415 (eval $ac_compile) 2>conftest.er1
13417 grep -v '^ *+' conftest.er1
>conftest.err
13419 cat conftest.err
>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } &&
13422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try
='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 bakefile_cv_c_compiler___DECC
=yes
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 bakefile_cv_c_compiler___DECC
=no
13442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13446 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13447 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13449 ac_cpp
='$CPP $CPPFLAGS'
13450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13454 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13467 ac_cpp
='$CPP $CPPFLAGS'
13468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13472 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13473 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13474 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 cat >conftest.
$ac_ext <<_ACEOF
13480 cat confdefs.h
>>conftest.
$ac_ext
13481 cat >>conftest.
$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13496 rm -f conftest.
$ac_objext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498 (eval $ac_compile) 2>conftest.er1
13500 grep -v '^ *+' conftest.er1
>conftest.err
13502 cat conftest.err
>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; } &&
13511 { ac_try
='test -s conftest.$ac_objext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13517 bakefile_cv_c_compiler___SUNPRO_C
=yes
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 bakefile_cv_c_compiler___SUNPRO_C
=no
13525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13529 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13530 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13532 ac_cpp
='$CPP $CPPFLAGS'
13533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13537 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13551 ac_cpp
='$CPP $CPPFLAGS'
13552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13555 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13556 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13557 # On Suns, sometimes $CPP names a directory.
13558 if test -n "$CPP" && test -d "$CPP"; then
13561 if test -z "$CPP"; then
13562 if test "${ac_cv_prog_CPP+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 # Double quotes because CPP needs to be expanded
13566 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13568 ac_preproc_ok
=false
13569 for ac_c_preproc_warn_flag
in '' yes
13571 # Use a header file that comes with gcc, so configuring glibc
13572 # with a fresh cross-compiler works.
13573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13574 # <limits.h> exists even on freestanding compilers.
13575 # On the NeXT, cc -E runs the code through the compiler's parser,
13576 # not just through cpp. "Syntax error" is here to catch this case.
13577 cat >conftest.
$ac_ext <<_ACEOF
13580 cat confdefs.h
>>conftest.
$ac_ext
13581 cat >>conftest.
$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13584 # include <limits.h>
13586 # include <assert.h>
13590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13593 grep -v '^ *+' conftest.er1
>conftest.err
13595 cat conftest.err
>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } >/dev
/null
; then
13598 if test -s conftest.err
; then
13599 ac_cpp_err
=$ac_c_preproc_warn_flag
13600 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13607 if test -z "$ac_cpp_err"; then
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.
$ac_ext >&5
13613 # Broken: fails on valid input.
13616 rm -f conftest.err conftest.
$ac_ext
13618 # OK, works on sane cases. Now check whether non-existent headers
13619 # can be detected and how.
13620 cat >conftest.
$ac_ext <<_ACEOF
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 #include <ac_nonexistent.h>
13628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13629 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13631 grep -v '^ *+' conftest.er1
>conftest.err
13633 cat conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } >/dev
/null
; then
13636 if test -s conftest.err
; then
13637 ac_cpp_err
=$ac_c_preproc_warn_flag
13638 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13645 if test -z "$ac_cpp_err"; then
13646 # Broken: success on invalid input.
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.
$ac_ext >&5
13652 # Passes both tests.
13656 rm -f conftest.err conftest.
$ac_ext
13659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13660 rm -f conftest.err conftest.
$ac_ext
13661 if $ac_preproc_ok; then
13666 ac_cv_prog_CPP
=$CPP
13669 CPP
=$ac_cv_prog_CPP
13671 ac_cv_prog_CPP
=$CPP
13673 echo "$as_me:$LINENO: result: $CPP" >&5
13674 echo "${ECHO_T}$CPP" >&6
13675 ac_preproc_ok
=false
13676 for ac_c_preproc_warn_flag
in '' yes
13678 # Use a header file that comes with gcc, so configuring glibc
13679 # with a fresh cross-compiler works.
13680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13681 # <limits.h> exists even on freestanding compilers.
13682 # On the NeXT, cc -E runs the code through the compiler's parser,
13683 # not just through cpp. "Syntax error" is here to catch this case.
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13691 # include <limits.h>
13693 # include <assert.h>
13697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } >/dev
/null
; then
13705 if test -s conftest.err
; then
13706 ac_cpp_err
=$ac_c_preproc_warn_flag
13707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13714 if test -z "$ac_cpp_err"; then
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.
$ac_ext >&5
13720 # Broken: fails on valid input.
13723 rm -f conftest.err conftest.
$ac_ext
13725 # OK, works on sane cases. Now check whether non-existent headers
13726 # can be detected and how.
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #include <ac_nonexistent.h>
13735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13738 grep -v '^ *+' conftest.er1
>conftest.err
13740 cat conftest.err
>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } >/dev
/null
; then
13743 if test -s conftest.err
; then
13744 ac_cpp_err
=$ac_c_preproc_warn_flag
13745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13752 if test -z "$ac_cpp_err"; then
13753 # Broken: success on invalid input.
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.
$ac_ext >&5
13759 # Passes both tests.
13763 rm -f conftest.err conftest.
$ac_ext
13766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13767 rm -f conftest.err conftest.
$ac_ext
13768 if $ac_preproc_ok; then
13771 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13772 See \`config.log' for more details." >&5
13773 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13774 See \`config.log' for more details." >&2;}
13775 { (exit 1); exit 1; }; }
13779 ac_cpp
='$CPP $CPPFLAGS'
13780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13785 echo "$as_me:$LINENO: checking for egrep" >&5
13786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13787 if test "${ac_cv_prog_egrep+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13791 then ac_cv_prog_egrep
='grep -E'
13792 else ac_cv_prog_egrep
='egrep'
13795 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13796 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13797 EGREP
=$ac_cv_prog_egrep
13800 if test $ac_cv_c_compiler_gnu = yes; then
13801 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13802 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13803 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 ac_pattern
="Autoconf.*'x'"
13807 cat >conftest.
$ac_ext <<_ACEOF
13810 cat confdefs.h
>>conftest.
$ac_ext
13811 cat >>conftest.
$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13817 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13818 ac_cv_prog_gcc_traditional
=yes
13820 ac_cv_prog_gcc_traditional
=no
13825 if test $ac_cv_prog_gcc_traditional = no
; then
13826 cat >conftest.
$ac_ext <<_ACEOF
13829 cat confdefs.h
>>conftest.
$ac_ext
13830 cat >>conftest.
$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 #include <termio.h>
13835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13836 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13837 ac_cv_prog_gcc_traditional
=yes
13843 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13844 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13845 if test $ac_cv_prog_gcc_traditional = yes; then
13846 CC
="$CC -traditional"
13852 ac_cpp
='$CXXCPP $CPPFLAGS'
13853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13858 CXXFLAGS
=${CXXFLAGS:=}
13863 ac_cpp
='$CXXCPP $CPPFLAGS'
13864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13867 if test -n "$ac_tool_prefix"; 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_tool_prefix$ac_prog", so it can be a program name with args.
13871 set dummy
$ac_tool_prefix$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_CXX+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 if test -n "$CXX"; then
13878 ac_cv_prog_CXX
="$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_CXX
="$ac_tool_prefix$ac_prog"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13896 CXX
=$ac_cv_prog_CXX
13897 if test -n "$CXX"; then
13898 echo "$as_me:$LINENO: result: $CXX" >&5
13899 echo "${ECHO_T}$CXX" >&6
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13905 test -n "$CXX" && break
13908 if test -z "$CXX"; then
13910 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13912 # Extract the first word of "$ac_prog", so it can be a program name with args.
13913 set dummy
$ac_prog; ac_word
=$2
13914 echo "$as_me:$LINENO: checking for $ac_word" >&5
13915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13916 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 if test -n "$ac_ct_CXX"; then
13920 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13923 for as_dir
in $PATH
13926 test -z "$as_dir" && as_dir
=.
13927 for ac_exec_ext
in '' $ac_executable_extensions; do
13928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13929 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13938 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13939 if test -n "$ac_ct_CXX"; then
13940 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13941 echo "${ECHO_T}$ac_ct_CXX" >&6
13943 echo "$as_me:$LINENO: result: no" >&5
13944 echo "${ECHO_T}no" >&6
13947 test -n "$ac_ct_CXX" && break
13949 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13955 # Provide some information about the compiler.
13956 echo "$as_me:$LINENO:" \
13957 "checking for C++ compiler version" >&5
13958 ac_compiler
=`set X $ac_compile; echo $2`
13959 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13960 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }
13964 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13965 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }
13969 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13970 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }
13975 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13976 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13977 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 cat >conftest.
$ac_ext <<_ACEOF
13983 cat confdefs.h
>>conftest.
$ac_ext
13984 cat >>conftest.
$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13998 rm -f conftest.
$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>conftest.er1
14002 grep -v '^ *+' conftest.er1
>conftest.err
14004 cat conftest.err
>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; } &&
14013 { ac_try
='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 ac_compiler_gnu
=yes
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.
$ac_ext >&5
14026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14027 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14030 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14032 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14033 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14034 ac_save_CXXFLAGS
=$CXXFLAGS
14036 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14037 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14038 if test "${ac_cv_prog_cxx_g+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 cat >conftest.
$ac_ext <<_ACEOF
14044 cat confdefs.h
>>conftest.
$ac_ext
14045 cat >>conftest.
$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14056 rm -f conftest.
$ac_objext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 (eval $ac_compile) 2>conftest.er1
14060 grep -v '^ *+' conftest.er1
>conftest.err
14062 cat conftest.err
>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } &&
14065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14067 (eval $ac_try) 2>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); }; } &&
14071 { ac_try
='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_cv_prog_cxx_g
=yes
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.
$ac_ext >&5
14082 ac_cv_prog_cxx_g
=no
14084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14086 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14087 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14088 if test "$ac_test_CXXFLAGS" = set; then
14089 CXXFLAGS
=$ac_save_CXXFLAGS
14090 elif test $ac_cv_prog_cxx_g = yes; then
14091 if test "$GXX" = yes; then
14097 if test "$GXX" = yes; then
14103 for ac_declaration
in \
14105 'extern "C" void std::exit (int) throw (); using std::exit;' \
14106 'extern "C" void std::exit (int); using std::exit;' \
14107 'extern "C" void exit (int) throw ();' \
14108 'extern "C" void exit (int);' \
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14118 #include <stdlib.h>
14127 rm -f conftest.
$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14131 grep -v '^ *+' conftest.er1
>conftest.err
14133 cat conftest.err
>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138 (eval $ac_try) 2>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); }; } &&
14142 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.
$ac_ext >&5
14155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14156 cat >conftest.
$ac_ext <<_ACEOF
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14171 rm -f conftest.
$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14175 grep -v '^ *+' conftest.er1
>conftest.err
14177 cat conftest.err
>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try
='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14201 if test -n "$ac_declaration"; then
14202 echo '#ifdef __cplusplus' >>confdefs.h
14203 echo $ac_declaration >>confdefs.h
14204 echo '#endif' >>confdefs.h
14208 ac_cpp
='$CXXCPP $CPPFLAGS'
14209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14216 ac_cpp
='$CXXCPP $CPPFLAGS'
14217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14221 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14222 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14223 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 cat >conftest.
$ac_ext <<_ACEOF
14229 cat confdefs.h
>>conftest.
$ac_ext
14230 cat >>conftest.
$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14237 #ifndef __INTEL_COMPILER
14245 rm -f conftest.
$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>conftest.er1
14249 grep -v '^ *+' conftest.er1
>conftest.err
14251 cat conftest.err
>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; } &&
14260 { ac_try
='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14266 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14278 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14279 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14281 ac_cpp
='$CXXCPP $CPPFLAGS'
14282 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14283 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14284 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14286 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14293 if test "x$GCXX" != "xyes"; then
14294 if test "xCXX" = "xC"; then
14295 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14296 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14297 if test "${bakefile_cv_cxx_exto+set}" = set; then
14298 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 cat >conftest.
$ac_ext <<_ACEOF
14303 cat confdefs.h
>>conftest.
$ac_ext
14304 cat >>conftest.
$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14315 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14317 (eval $ac_compile) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; then
14321 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14323 conftest.
$ac_ext.o
)
14324 bakefile_cv_cxx_exto
="-ext o"
14331 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14332 See \`config.log' for more details." >&5
14333 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14334 See \`config.log' for more details." >&2;}
14335 { (exit 1); exit 1; }; }
14339 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14342 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14343 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14344 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14345 if test "cxx" = "c"; then
14346 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14348 if test "cxx" = "cxx"; then
14349 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14353 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14354 unset ac_cv_prog_cc_g
14355 ac_test_CFLAGS
=${CFLAGS+set}
14356 ac_save_CFLAGS
=$CFLAGS
14358 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14359 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14360 if test "${ac_cv_prog_cc_g+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 cat >conftest.
$ac_ext <<_ACEOF
14366 cat confdefs.h
>>conftest.
$ac_ext
14367 cat >>conftest.
$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14378 rm -f conftest.
$ac_objext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380 (eval $ac_compile) 2>conftest.er1
14382 grep -v '^ *+' conftest.er1
>conftest.err
14384 cat conftest.err
>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try
='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 ac_cv_prog_cc_g
=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.
$ac_ext >&5
14406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14408 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14410 if test "$ac_test_CFLAGS" = set; then
14411 CFLAGS
=$ac_save_CFLAGS
14412 elif test $ac_cv_prog_cc_g = yes; then
14413 if test "$GCC" = yes; then
14419 if test "$GCC" = yes; then
14431 ac_cpp
='$CXXCPP $CPPFLAGS'
14432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14436 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14437 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14438 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 cat >conftest.
$ac_ext <<_ACEOF
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14459 rm -f conftest.
$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14463 grep -v '^ *+' conftest.er1
>conftest.err
14465 cat conftest.err
>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try
='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 bakefile_compiler_xlc
=yes
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.
$ac_ext >&5
14485 bakefile_compiler_xlc
=no
14487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14488 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14491 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14492 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14494 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14496 ac_cpp
='$CXXCPP $CPPFLAGS'
14497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14506 ac_cpp
='$CXXCPP $CPPFLAGS'
14507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14511 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14512 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14513 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 cat >conftest.
$ac_ext <<_ACEOF
14519 cat confdefs.h
>>conftest.
$ac_ext
14520 cat >>conftest.
$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14534 rm -f conftest.
$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>conftest.er1
14538 grep -v '^ *+' conftest.er1
>conftest.err
14540 cat conftest.err
>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } &&
14543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try
='test -s conftest.$ac_objext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 bakefile_compiler_mwerks
=yes
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.
$ac_ext >&5
14560 bakefile_compiler_mwerks
=no
14562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14566 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14567 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14569 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14571 ac_cpp
='$CXXCPP $CPPFLAGS'
14572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14578 ac_cpp
='$CXXCPP $CPPFLAGS'
14579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14583 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14584 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14585 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat >conftest.
$ac_ext <<_ACEOF
14591 cat confdefs.h
>>conftest.
$ac_ext
14592 cat >>conftest.
$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14606 rm -f conftest.
$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 bakefile_compiler_xlc
=yes
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 bakefile_compiler_xlc
=no
14634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14635 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14638 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14639 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14641 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14643 ac_cpp
='$CXXCPP $CPPFLAGS'
14644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14655 ac_cpp
='$CXXCPP $CPPFLAGS'
14656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14660 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14661 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14662 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 cat >conftest.
$ac_ext <<_ACEOF
14668 cat confdefs.h
>>conftest.
$ac_ext
14669 cat >>conftest.
$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14676 #ifndef _SGI_COMPILER_VERSION
14684 rm -f conftest.
$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1
>conftest.err
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try
='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.
$ac_ext >&5
14710 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14717 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14718 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14720 ac_cpp
='$CXXCPP $CPPFLAGS'
14721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14725 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14738 ac_cpp
='$CXXCPP $CPPFLAGS'
14739 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14740 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14741 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14743 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14744 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14745 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 cat >conftest.
$ac_ext <<_ACEOF
14751 cat confdefs.h
>>conftest.
$ac_ext
14752 cat >>conftest.
$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14767 rm -f conftest.
$ac_objext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14769 (eval $ac_compile) 2>conftest.er1
14771 grep -v '^ *+' conftest.er1
>conftest.err
14773 cat conftest.err
>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try
='test -s conftest.$ac_objext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 bakefile_cv_cxx_compiler___HP_aCC
=yes
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.
$ac_ext >&5
14793 bakefile_cv_cxx_compiler___HP_aCC
=no
14796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14800 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14801 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14803 ac_cpp
='$CXXCPP $CPPFLAGS'
14804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14808 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14821 ac_cpp
='$CXXCPP $CPPFLAGS'
14822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14826 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14827 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14828 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 cat >conftest.
$ac_ext <<_ACEOF
14834 cat confdefs.h
>>conftest.
$ac_ext
14835 cat >>conftest.
$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14850 rm -f conftest.
$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852 (eval $ac_compile) 2>conftest.er1
14854 grep -v '^ *+' conftest.er1
>conftest.err
14856 cat conftest.err
>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; } &&
14865 { ac_try
='test -s conftest.$ac_objext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 bakefile_cv_cxx_compiler___DECCXX
=yes
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 bakefile_cv_cxx_compiler___DECCXX
=no
14879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14884 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14886 ac_cpp
='$CXXCPP $CPPFLAGS'
14887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14891 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14904 ac_cpp
='$CXXCPP $CPPFLAGS'
14905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14909 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14910 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14911 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 cat >conftest.
$ac_ext <<_ACEOF
14917 cat confdefs.h
>>conftest.
$ac_ext
14918 cat >>conftest.
$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14925 #ifndef __SUNPRO_CC
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1
>conftest.err
14939 cat conftest.err
>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try
='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.
$ac_ext >&5
14959 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14966 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14967 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14969 ac_cpp
='$CXXCPP $CPPFLAGS'
14970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14974 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14987 if test -n "$ac_tool_prefix"; then
14988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14989 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14990 echo "$as_me:$LINENO: checking for $ac_word" >&5
14991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14992 if test "${ac_cv_prog_RANLIB+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 if test -n "$RANLIB"; then
14996 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14999 for as_dir
in $PATH
15002 test -z "$as_dir" && as_dir
=.
15003 for ac_exec_ext
in '' $ac_executable_extensions; do
15004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15005 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15014 RANLIB
=$ac_cv_prog_RANLIB
15015 if test -n "$RANLIB"; then
15016 echo "$as_me:$LINENO: result: $RANLIB" >&5
15017 echo "${ECHO_T}$RANLIB" >&6
15019 echo "$as_me:$LINENO: result: no" >&5
15020 echo "${ECHO_T}no" >&6
15024 if test -z "$ac_cv_prog_RANLIB"; then
15025 ac_ct_RANLIB
=$RANLIB
15026 # Extract the first word of "ranlib", so it can be a program name with args.
15027 set dummy ranlib
; ac_word
=$2
15028 echo "$as_me:$LINENO: checking for $ac_word" >&5
15029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 if test -n "$ac_ct_RANLIB"; then
15034 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15037 for as_dir
in $PATH
15040 test -z "$as_dir" && as_dir
=.
15041 for ac_exec_ext
in '' $ac_executable_extensions; do
15042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15043 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15050 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15053 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15054 if test -n "$ac_ct_RANLIB"; then
15055 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15056 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15058 echo "$as_me:$LINENO: result: no" >&5
15059 echo "${ECHO_T}no" >&6
15062 RANLIB
=$ac_ct_RANLIB
15064 RANLIB
="$ac_cv_prog_RANLIB"
15068 if test -n "$ac_tool_prefix"; then
15069 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15070 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15071 echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 if test "${ac_cv_prog_AR+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15076 if test -n "$AR"; then
15077 ac_cv_prog_AR
="$AR" # Let the user override the test.
15079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15080 for as_dir
in $PATH
15083 test -z "$as_dir" && as_dir
=.
15084 for ac_exec_ext
in '' $ac_executable_extensions; do
15085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15096 if test -n "$AR"; then
15097 echo "$as_me:$LINENO: result: $AR" >&5
15098 echo "${ECHO_T}$AR" >&6
15100 echo "$as_me:$LINENO: result: no" >&5
15101 echo "${ECHO_T}no" >&6
15105 if test -z "$ac_cv_prog_AR"; then
15107 # Extract the first word of "ar", so it can be a program name with args.
15108 set dummy
ar; ac_word
=$2
15109 echo "$as_me:$LINENO: checking for $ac_word" >&5
15110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15111 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 if test -n "$ac_ct_AR"; then
15115 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15118 for as_dir
in $PATH
15121 test -z "$as_dir" && as_dir
=.
15122 for ac_exec_ext
in '' $ac_executable_extensions; do
15123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15124 ac_cv_prog_ac_ct_AR
="ar"
15125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15133 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15134 if test -n "$ac_ct_AR"; then
15135 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15136 echo "${ECHO_T}$ac_ct_AR" >&6
15138 echo "$as_me:$LINENO: result: no" >&5
15139 echo "${ECHO_T}no" >&6
15144 AR
="$ac_cv_prog_AR"
15147 if test "x$AR" = "x" ; then
15148 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15149 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15150 { (exit 1); exit 1; }; }
15153 # Find a good install program. We prefer a C program (faster),
15154 # so one script is as good as another. But avoid the broken or
15155 # incompatible versions:
15156 # SysV /etc/install, /usr/sbin/install
15157 # SunOS /usr/etc/install
15158 # IRIX /sbin/install
15160 # AmigaOS /C/install, which installs bootblocks on floppy discs
15161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15164 # OS/2's system install, which has a completely different semantic
15165 # ./install, which can be erroneously created by make from ./install.sh.
15166 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15167 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15168 if test -z "$INSTALL"; then
15169 if test "${ac_cv_path_install+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15173 for as_dir
in $PATH
15176 test -z "$as_dir" && as_dir
=.
15177 # Account for people who put trailing slashes in PATH elements.
15179 .
/ | .
// | /cC
/* | \
15180 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15181 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15184 # OSF1 and SCO ODT 3.0 have their own names for install.
15185 # Don't use installbsd from OSF since it installs stuff as root
15187 for ac_prog
in ginstall scoinst
install; do
15188 for ac_exec_ext
in '' $ac_executable_extensions; do
15189 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15190 if test $ac_prog = install &&
15191 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15192 # AIX install. It has an incompatible calling convention.
15194 elif test $ac_prog = install &&
15195 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15196 # program-specific install script used by HP pwplus--don't use.
15199 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15211 if test "${ac_cv_path_install+set}" = set; then
15212 INSTALL
=$ac_cv_path_install
15214 # As a last resort, use the slow shell script. We don't cache a
15215 # path for INSTALL within a source directory, because that will
15216 # break other packages using the cache if that directory is
15217 # removed, or if the path is relative.
15218 INSTALL
=$ac_install_sh
15221 echo "$as_me:$LINENO: result: $INSTALL" >&5
15222 echo "${ECHO_T}$INSTALL" >&6
15224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15225 # It thinks the first close brace ends the variable substitution.
15226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15230 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15236 ?
:* ) # Drive letter, considered as absolute.
15239 INSTALL
=`pwd`/${INSTALL} ;;
15246 INSTALL_PROGRAM
="cp -fp"
15247 INSTALL_DATA
="cp -fp"
15253 if test -n "$ac_tool_prefix"; then
15254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15255 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15256 echo "$as_me:$LINENO: checking for $ac_word" >&5
15257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15258 if test "${ac_cv_prog_STRIP+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 if test -n "$STRIP"; then
15262 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15265 for as_dir
in $PATH
15268 test -z "$as_dir" && as_dir
=.
15269 for ac_exec_ext
in '' $ac_executable_extensions; do
15270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15271 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15280 STRIP
=$ac_cv_prog_STRIP
15281 if test -n "$STRIP"; then
15282 echo "$as_me:$LINENO: result: $STRIP" >&5
15283 echo "${ECHO_T}$STRIP" >&6
15285 echo "$as_me:$LINENO: result: no" >&5
15286 echo "${ECHO_T}no" >&6
15290 if test -z "$ac_cv_prog_STRIP"; then
15292 # Extract the first word of "strip", so it can be a program name with args.
15293 set dummy strip
; ac_word
=$2
15294 echo "$as_me:$LINENO: checking for $ac_word" >&5
15295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15299 if test -n "$ac_ct_STRIP"; then
15300 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15303 for as_dir
in $PATH
15306 test -z "$as_dir" && as_dir
=.
15307 for ac_exec_ext
in '' $ac_executable_extensions; do
15308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15309 ac_cv_prog_ac_ct_STRIP
="strip"
15310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15316 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15319 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15320 if test -n "$ac_ct_STRIP"; then
15321 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15322 echo "${ECHO_T}$ac_ct_STRIP" >&6
15324 echo "$as_me:$LINENO: result: no" >&5
15325 echo "${ECHO_T}no" >&6
15330 STRIP
="$ac_cv_prog_STRIP"
15334 if test "$wxUSE_WINE" = "yes"; then
15335 if test -n "$ac_tool_prefix"; then
15336 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15337 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15338 echo "$as_me:$LINENO: checking for $ac_word" >&5
15339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15340 if test "${ac_cv_prog_WINDRES+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 if test -n "$WINDRES"; then
15344 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15347 for as_dir
in $PATH
15350 test -z "$as_dir" && as_dir
=.
15351 for ac_exec_ext
in '' $ac_executable_extensions; do
15352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15353 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15362 WINDRES
=$ac_cv_prog_WINDRES
15363 if test -n "$WINDRES"; then
15364 echo "$as_me:$LINENO: result: $WINDRES" >&5
15365 echo "${ECHO_T}$WINDRES" >&6
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15372 if test -z "$ac_cv_prog_WINDRES"; then
15373 ac_ct_WINDRES
=$WINDRES
15374 # Extract the first word of "wrc", so it can be a program name with args.
15375 set dummy wrc
; ac_word
=$2
15376 echo "$as_me:$LINENO: checking for $ac_word" >&5
15377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15381 if test -n "$ac_ct_WINDRES"; then
15382 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15385 for as_dir
in $PATH
15388 test -z "$as_dir" && as_dir
=.
15389 for ac_exec_ext
in '' $ac_executable_extensions; do
15390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15391 ac_cv_prog_ac_ct_WINDRES
="wrc"
15392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15400 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15401 if test -n "$ac_ct_WINDRES"; then
15402 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15403 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15405 echo "$as_me:$LINENO: result: no" >&5
15406 echo "${ECHO_T}no" >&6
15409 WINDRES
=$ac_ct_WINDRES
15411 WINDRES
="$ac_cv_prog_WINDRES"
15417 *-*-cygwin* | *-*-mingw32* )
15418 if test -n "$ac_tool_prefix"; then
15419 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15420 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15421 echo "$as_me:$LINENO: checking for $ac_word" >&5
15422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15423 if test "${ac_cv_prog_WINDRES+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 if test -n "$WINDRES"; then
15427 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15430 for as_dir
in $PATH
15433 test -z "$as_dir" && as_dir
=.
15434 for ac_exec_ext
in '' $ac_executable_extensions; do
15435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15436 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15445 WINDRES
=$ac_cv_prog_WINDRES
15446 if test -n "$WINDRES"; then
15447 echo "$as_me:$LINENO: result: $WINDRES" >&5
15448 echo "${ECHO_T}$WINDRES" >&6
15450 echo "$as_me:$LINENO: result: no" >&5
15451 echo "${ECHO_T}no" >&6
15455 if test -z "$ac_cv_prog_WINDRES"; then
15456 ac_ct_WINDRES
=$WINDRES
15457 # Extract the first word of "windres", so it can be a program name with args.
15458 set dummy windres
; ac_word
=$2
15459 echo "$as_me:$LINENO: checking for $ac_word" >&5
15460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15461 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 if test -n "$ac_ct_WINDRES"; then
15465 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15468 for as_dir
in $PATH
15471 test -z "$as_dir" && as_dir
=.
15472 for ac_exec_ext
in '' $ac_executable_extensions; do
15473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15474 ac_cv_prog_ac_ct_WINDRES
="windres"
15475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15483 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15484 if test -n "$ac_ct_WINDRES"; then
15485 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15486 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15492 WINDRES
=$ac_ct_WINDRES
15494 WINDRES
="$ac_cv_prog_WINDRES"
15498 if test -n "$ac_tool_prefix"; then
15499 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15500 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15501 echo "$as_me:$LINENO: checking for $ac_word" >&5
15502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15503 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15506 if test -n "$DLLTOOL"; then
15507 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15510 for as_dir
in $PATH
15513 test -z "$as_dir" && as_dir
=.
15514 for ac_exec_ext
in '' $ac_executable_extensions; do
15515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15516 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15525 DLLTOOL
=$ac_cv_prog_DLLTOOL
15526 if test -n "$DLLTOOL"; then
15527 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15528 echo "${ECHO_T}$DLLTOOL" >&6
15530 echo "$as_me:$LINENO: result: no" >&5
15531 echo "${ECHO_T}no" >&6
15535 if test -z "$ac_cv_prog_DLLTOOL"; then
15536 ac_ct_DLLTOOL
=$DLLTOOL
15537 # Extract the first word of "dlltool", so it can be a program name with args.
15538 set dummy dlltool
; ac_word
=$2
15539 echo "$as_me:$LINENO: checking for $ac_word" >&5
15540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15541 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 if test -n "$ac_ct_DLLTOOL"; then
15545 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15548 for as_dir
in $PATH
15551 test -z "$as_dir" && as_dir
=.
15552 for ac_exec_ext
in '' $ac_executable_extensions; do
15553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15554 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15563 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15564 if test -n "$ac_ct_DLLTOOL"; then
15565 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15566 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15568 echo "$as_me:$LINENO: result: no" >&5
15569 echo "${ECHO_T}no" >&6
15572 DLLTOOL
=$ac_ct_DLLTOOL
15574 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15581 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15582 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15583 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15588 egrep -s GNU
> /dev
/null
); then
15589 wx_cv_prog_makeisgnu
="yes"
15591 wx_cv_prog_makeisgnu
="no"
15595 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15596 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15598 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15606 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15607 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15608 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15609 if test "${wx_cv_prog_makevpath+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 cat - << EOF > confMake
15619 if test ! -d sub
; then
15622 echo dummy
> sub
/file
15623 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15625 rm -f sub
/file check final_file confMake
15627 if test "$RESULT" = 0; then
15628 wx_cv_prog_makevpath
="yes"
15630 wx_cv_prog_makevpath
="no"
15634 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15635 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15637 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15638 { { echo "$as_me:$LINENO: error:
15639 You need a make-utility that is able to use the variable
15641 If your version of make does not support VPATH correctly,
15642 please install GNU-make (possibly as gmake), and start
15643 configure with the following command:
15644 export MAKE=gmake; ./configure for sh-type shells
15645 setenv MAKE gmake; ./configure for csh-type shells
15646 Also please do remember to use gmake in this case every time
15647 you are trying to compile.
15649 echo "$as_me: error:
15650 You need a make-utility that is able to use the variable
15652 If your version of make does not support VPATH correctly,
15653 please install GNU-make (possibly as gmake), and start
15654 configure with the following command:
15655 export MAKE=gmake; ./configure for sh-type shells
15656 setenv MAKE gmake; ./configure for csh-type shells
15657 Also please do remember to use gmake in this case every time
15658 you are trying to compile.
15660 { (exit 1); exit 1; }; }
15662 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15663 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15665 if test "$LN_S" = "ln -s"; then
15666 echo "$as_me:$LINENO: result: yes" >&5
15667 echo "${ECHO_T}yes" >&6
15669 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15670 echo "${ECHO_T}no, using $LN_S" >&6
15676 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15677 CXXFLAGS
="-qunique $CXXFLAGS"
15681 powerpc
-*-darwin* )
15682 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15683 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15694 #ifndef __POWERPC__
15695 choke me for lack of PowerPC
15702 rm -f conftest.
$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15706 grep -v '^ *+' conftest.er1
>conftest.err
15708 cat conftest.err
>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try
='test -s conftest.$ac_objext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 echo "$as_me:$LINENO: result: yes" >&5
15724 echo "${ECHO_T}yes" >&6
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.
$ac_ext >&5
15729 echo "$as_me:$LINENO: result: no" >&5
15730 echo "${ECHO_T}no" >&6
15731 cat >>confdefs.h
<<\_ACEOF
15732 #define __POWERPC__ 1
15737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15743 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15744 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15745 cat >conftest.
$ac_ext <<_ACEOF
15748 cat confdefs.h
>>conftest.
$ac_ext
15749 cat >>conftest.
$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <CoreFoundation/CFBase.h>
15761 rm -f conftest.
$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try
='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 echo "$as_me:$LINENO: result: yes" >&5
15783 echo "${ECHO_T}yes" >&6
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.
$ac_ext >&5
15788 echo "$as_me:$LINENO: result: no" >&5
15789 echo "${ECHO_T}no" >&6
15790 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15791 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15792 cat >conftest.
$ac_ext <<_ACEOF
15795 cat confdefs.h
>>conftest.
$ac_ext
15796 cat >>conftest.
$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 #define __CF_USE_FRAMEWORK_INCLUDES__
15799 #include <CoreFoundation/CFBase.h>
15809 rm -f conftest.
$ac_objext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15811 (eval $ac_compile) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; } &&
15824 { ac_try
='test -s conftest.$ac_objext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 echo "$as_me:$LINENO: result: yes" >&5
15831 echo "${ECHO_T}yes" >&6
15832 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.
$ac_ext >&5
15837 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15838 See \`config.log' for more details." >&5
15839 echo "$as_me: error: no. CoreFoundation not available.
15840 See \`config.log' for more details." >&2;}
15841 { (exit 1); exit 1; }; }
15844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15853 *-pc-os2_emx | *-pc-os2-emx )
15855 ac_cpp
='$CPP $CPPFLAGS'
15856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15860 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15861 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15862 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15863 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 ac_check_lib_save_LIBS
=$LIBS
15867 LIBS
="-lcExt $LIBS"
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15875 /* Override any gcc2 internal prototype to avoid an error. */
15879 /* We use char because int might match the return type of a gcc2
15880 builtin and then its argument prototype would still apply. */
15890 rm -f conftest.
$ac_objext conftest
$ac_exeext
15891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15892 (eval $ac_link) 2>conftest.er1
15894 grep -v '^ *+' conftest.er1
>conftest.err
15896 cat conftest.err
>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try
='test -s conftest$ac_exeext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 ac_cv_lib_cExt_drand48
=yes
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.
$ac_ext >&5
15916 ac_cv_lib_cExt_drand48
=no
15918 rm -f conftest.err conftest.
$ac_objext \
15919 conftest
$ac_exeext conftest.
$ac_ext
15920 LIBS
=$ac_check_lib_save_LIBS
15922 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15923 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15924 if test $ac_cv_lib_cExt_drand48 = yes; then
15925 LIBS
="$LIBS -lcExt"
15929 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15931 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15932 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15933 if test "${wx_cv_gccversion+set}" = set; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 if test "$cross_compiling" = yes; then
15938 wx_cv_gccversion
="EMX2"
15941 cat >conftest.
$ac_ext <<_ACEOF
15944 cat confdefs.h
>>conftest.
$ac_ext
15945 cat >>conftest.
$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15952 FILE *f=fopen("conftestval", "w");
15957 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15959 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15969 rm -f conftest
$ac_exeext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15971 (eval $ac_link) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 wx_cv_gccversion
=`cat conftestval`
15982 echo "$as_me: program exited with status $ac_status" >&5
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ( exit $ac_status )
15987 wx_cv_gccversion
="EMX2"
15989 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15993 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15994 echo "${ECHO_T}$wx_cv_gccversion" >&6
15996 ac_cpp
='$CXXCPP $CPPFLAGS'
15997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16001 if test "$wx_cv_gccversion" = "EMX2"; then
16002 LIBS
="$LIBS -lstdcpp"
16003 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16005 if test "$wx_cv_gccversion" = "EMX3"; then
16006 LIBS
="$LIBS -lstdcxx -lgcc"
16007 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16009 LIBS
="$LIBS -lstdc++"
16012 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16013 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16014 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16021 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16022 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16023 if test "${ac_cv_string_strcasecmp+set}" = set; then
16024 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 cat >conftest.
$ac_ext <<_ACEOF
16030 cat confdefs.h
>>conftest.
$ac_ext
16031 cat >>conftest.
$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16034 #include <string.h>
16040 strcasecmp("foo", "bar");
16046 rm -f conftest.
$ac_objext conftest
$ac_exeext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048 (eval $ac_link) 2>conftest.er1
16050 grep -v '^ *+' conftest.er1
>conftest.err
16052 cat conftest.err
>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; } &&
16061 { ac_try
='test -s conftest$ac_exeext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_cv_string_strcasecmp
=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.
$ac_ext >&5
16072 ac_cv_string_strcasecmp
=no
16075 rm -f conftest.err conftest.
$ac_objext \
16076 conftest
$ac_exeext conftest.
$ac_ext
16079 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16080 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16082 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16083 cat >>confdefs.h
<<\_ACEOF
16084 #define HAVE_STRCASECMP_IN_STRING_H 1
16088 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16089 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16090 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16091 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16101 #include <strings.h>
16107 strcasecmp("foo", "bar");
16113 rm -f conftest.
$ac_objext conftest
$ac_exeext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16115 (eval $ac_link) 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; } &&
16128 { ac_try
='test -s conftest$ac_exeext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_cv_strings_strcasecmp
=yes
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 ac_cv_strings_strcasecmp
=no
16142 rm -f conftest.err conftest.
$ac_objext \
16143 conftest
$ac_exeext conftest.
$ac_ext
16146 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16147 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16149 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16150 cat >>confdefs.h
<<\_ACEOF
16151 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16155 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16156 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16157 { (exit 1); exit 1; }; }
16166 ac_cpp
='$CXXCPP $CPPFLAGS'
16167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16170 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16171 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16172 if test -z "$CXXCPP"; then
16173 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 # Double quotes because CXXCPP needs to be expanded
16177 for CXXCPP
in "$CXX -E" "/lib/cpp"
16179 ac_preproc_ok
=false
16180 for ac_cxx_preproc_warn_flag
in '' yes
16182 # Use a header file that comes with gcc, so configuring glibc
16183 # with a fresh cross-compiler works.
16184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16185 # <limits.h> exists even on freestanding compilers.
16186 # On the NeXT, cc -E runs the code through the compiler's parser,
16187 # not just through cpp. "Syntax error" is here to catch this case.
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16195 # include <limits.h>
16197 # include <assert.h>
16201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } >/dev
/null
; then
16209 if test -s conftest.err
; then
16210 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16211 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16218 if test -z "$ac_cpp_err"; then
16221 echo "$as_me: failed program was:" >&5
16222 sed 's/^/| /' conftest.
$ac_ext >&5
16224 # Broken: fails on valid input.
16227 rm -f conftest.err conftest.
$ac_ext
16229 # OK, works on sane cases. Now check whether non-existent headers
16230 # can be detected and how.
16231 cat >conftest.
$ac_ext <<_ACEOF
16234 cat confdefs.h
>>conftest.
$ac_ext
16235 cat >>conftest.
$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #include <ac_nonexistent.h>
16239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16242 grep -v '^ *+' conftest.er1
>conftest.err
16244 cat conftest.err
>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } >/dev
/null
; then
16247 if test -s conftest.err
; then
16248 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16249 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16256 if test -z "$ac_cpp_err"; then
16257 # Broken: success on invalid input.
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 # Passes both tests.
16267 rm -f conftest.err conftest.
$ac_ext
16270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16271 rm -f conftest.err conftest.
$ac_ext
16272 if $ac_preproc_ok; then
16277 ac_cv_prog_CXXCPP
=$CXXCPP
16280 CXXCPP
=$ac_cv_prog_CXXCPP
16282 ac_cv_prog_CXXCPP
=$CXXCPP
16284 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16285 echo "${ECHO_T}$CXXCPP" >&6
16286 ac_preproc_ok
=false
16287 for ac_cxx_preproc_warn_flag
in '' yes
16289 # Use a header file that comes with gcc, so configuring glibc
16290 # with a fresh cross-compiler works.
16291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 # <limits.h> exists even on freestanding compilers.
16293 # On the NeXT, cc -E runs the code through the compiler's parser,
16294 # not just through cpp. "Syntax error" is here to catch this case.
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 # include <limits.h>
16304 # include <assert.h>
16308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16311 grep -v '^ *+' conftest.er1
>conftest.err
16313 cat conftest.err
>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } >/dev
/null
; then
16316 if test -s conftest.err
; then
16317 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16318 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16325 if test -z "$ac_cpp_err"; then
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 # Broken: fails on valid input.
16334 rm -f conftest.err conftest.
$ac_ext
16336 # OK, works on sane cases. Now check whether non-existent headers
16337 # can be detected and how.
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 #include <ac_nonexistent.h>
16346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16349 grep -v '^ *+' conftest.er1
>conftest.err
16351 cat conftest.err
>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } >/dev
/null
; then
16354 if test -s conftest.err
; then
16355 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16356 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16363 if test -z "$ac_cpp_err"; then
16364 # Broken: success on invalid input.
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.
$ac_ext >&5
16370 # Passes both tests.
16374 rm -f conftest.err conftest.
$ac_ext
16377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16378 rm -f conftest.err conftest.
$ac_ext
16379 if $ac_preproc_ok; then
16382 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16383 See \`config.log' for more details." >&5
16384 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16385 See \`config.log' for more details." >&2;}
16386 { (exit 1); exit 1; }; }
16390 ac_cpp
='$CXXCPP $CPPFLAGS'
16391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16396 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16397 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16398 if test "${ac_cv_header_stdc+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 cat >conftest.
$ac_ext <<_ACEOF
16404 cat confdefs.h
>>conftest.
$ac_ext
16405 cat >>conftest.
$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407 #include <stdlib.h>
16408 #include <stdarg.h>
16409 #include <string.h>
16420 rm -f conftest.
$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16424 grep -v '^ *+' conftest.er1
>conftest.err
16426 cat conftest.err
>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; } &&
16435 { ac_try
='test -s conftest.$ac_objext'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
16441 ac_cv_header_stdc
=yes
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.
$ac_ext >&5
16446 ac_cv_header_stdc
=no
16448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16450 if test $ac_cv_header_stdc = yes; then
16451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 #include <string.h>
16461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16462 $EGREP "memchr" >/dev
/null
2>&1; then
16465 ac_cv_header_stdc
=no
16471 if test $ac_cv_header_stdc = yes; then
16472 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <stdlib.h>
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "free" >/dev
/null
2>&1; then
16486 ac_cv_header_stdc
=no
16492 if test $ac_cv_header_stdc = yes; then
16493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16494 if test "$cross_compiling" = yes; then
16497 cat >conftest.
$ac_ext <<_ACEOF
16500 cat confdefs.h
>>conftest.
$ac_ext
16501 cat >>conftest.
$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16504 #if ((' ' & 0x0FF) == 0x020)
16505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16508 # define ISLOWER(c) \
16509 (('a' <= (c) && (c) <= 'i') \
16510 || ('j' <= (c) && (c) <= 'r') \
16511 || ('s' <= (c) && (c) <= 'z'))
16512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16520 for (i = 0; i < 256; i++)
16521 if (XOR (islower (i), ISLOWER (i))
16522 || toupper (i) != TOUPPER (i))
16527 rm -f conftest
$ac_exeext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16529 (eval $ac_link) 2>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16540 echo "$as_me: program exited with status $ac_status" >&5
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.
$ac_ext >&5
16544 ( exit $ac_status )
16545 ac_cv_header_stdc
=no
16547 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16551 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16552 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16553 if test $ac_cv_header_stdc = yes; then
16555 cat >>confdefs.h
<<\_ACEOF
16556 #define STDC_HEADERS 1
16561 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16571 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16572 inttypes.h stdint.h unistd.h
16574 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16575 echo "$as_me:$LINENO: checking for $ac_header" >&5
16576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16588 #include <$ac_header>
16590 rm -f conftest.
$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16594 grep -v '^ *+' conftest.er1
>conftest.err
16596 cat conftest.err
>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try
='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 eval "$as_ac_Header=yes"
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.
$ac_ext >&5
16616 eval "$as_ac_Header=no"
16618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16623 cat >>confdefs.h
<<_ACEOF
16624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16633 for ac_header
in stdlib.h
16635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo "$as_me:$LINENO: checking for $ac_header" >&5
16638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16645 # Is the header compilable?
16646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16648 cat >conftest.
$ac_ext <<_ACEOF
16651 cat confdefs.h
>>conftest.
$ac_ext
16652 cat >>conftest.
$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16654 $ac_includes_default
16655 #include <$ac_header>
16657 rm -f conftest.
$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16661 grep -v '^ *+' conftest.er1
>conftest.err
16663 cat conftest.err
>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try
='test -s conftest.$ac_objext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16678 ac_header_compiler
=yes
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.
$ac_ext >&5
16683 ac_header_compiler
=no
16685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16687 echo "${ECHO_T}$ac_header_compiler" >&6
16689 # Is the header present?
16690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16692 cat >conftest.
$ac_ext <<_ACEOF
16695 cat confdefs.h
>>conftest.
$ac_ext
16696 cat >>conftest.
$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 #include <$ac_header>
16700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } >/dev
/null
; then
16708 if test -s conftest.err
; then
16709 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16710 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16717 if test -z "$ac_cpp_err"; then
16718 ac_header_preproc
=yes
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16723 ac_header_preproc
=no
16725 rm -f conftest.err conftest.
$ac_ext
16726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16727 echo "${ECHO_T}$ac_header_preproc" >&6
16729 # So? What about this header?
16730 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16736 ac_header_preproc
=yes
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16753 ## ----------------------------------------- ##
16754 ## Report this to wx-dev@lists.wxwidgets.org ##
16755 ## ----------------------------------------- ##
16758 sed "s/^/$as_me: WARNING: /" >&2
16761 echo "$as_me:$LINENO: checking for $ac_header" >&5
16762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16764 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 eval "$as_ac_Header=\$ac_header_preproc"
16768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16773 cat >>confdefs.h
<<_ACEOF
16774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16782 for ac_header
in malloc.h
16784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16786 echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16794 # Is the header compilable?
16795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16797 cat >conftest.
$ac_ext <<_ACEOF
16800 cat confdefs.h
>>conftest.
$ac_ext
16801 cat >>conftest.
$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 #include <$ac_header>
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_header_compiler
=yes
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.
$ac_ext >&5
16832 ac_header_compiler
=no
16834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16836 echo "${ECHO_T}$ac_header_compiler" >&6
16838 # Is the header present?
16839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16841 cat >conftest.
$ac_ext <<_ACEOF
16844 cat confdefs.h
>>conftest.
$ac_ext
16845 cat >>conftest.
$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 #include <$ac_header>
16849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16852 grep -v '^ *+' conftest.er1
>conftest.err
16854 cat conftest.err
>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } >/dev
/null
; then
16857 if test -s conftest.err
; then
16858 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16859 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16866 if test -z "$ac_cpp_err"; then
16867 ac_header_preproc
=yes
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.
$ac_ext >&5
16872 ac_header_preproc
=no
16874 rm -f conftest.err conftest.
$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16876 echo "${ECHO_T}$ac_header_preproc" >&6
16878 # So? What about this header?
16879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16885 ac_header_preproc
=yes
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16902 ## ----------------------------------------- ##
16903 ## Report this to wx-dev@lists.wxwidgets.org ##
16904 ## ----------------------------------------- ##
16907 sed "s/^/$as_me: WARNING: /" >&2
16910 echo "$as_me:$LINENO: checking for $ac_header" >&5
16911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 eval "$as_ac_Header=\$ac_header_preproc"
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16922 cat >>confdefs.h
<<_ACEOF
16923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16931 for ac_header
in unistd.h
16933 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16935 echo "$as_me:$LINENO: checking for $ac_header" >&5
16936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16938 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16943 # Is the header compilable?
16944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16946 cat >conftest.
$ac_ext <<_ACEOF
16949 cat confdefs.h
>>conftest.
$ac_ext
16950 cat >>conftest.
$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16953 #include <$ac_header>
16955 rm -f conftest.
$ac_objext
16956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16957 (eval $ac_compile) 2>conftest.er1
16959 grep -v '^ *+' conftest.er1
>conftest.err
16961 cat conftest.err
>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try
='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_header_compiler
=yes
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16981 ac_header_compiler
=no
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16985 echo "${ECHO_T}$ac_header_compiler" >&6
16987 # Is the header present?
16988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16990 cat >conftest.
$ac_ext <<_ACEOF
16993 cat confdefs.h
>>conftest.
$ac_ext
16994 cat >>conftest.
$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 #include <$ac_header>
16998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17001 grep -v '^ *+' conftest.er1
>conftest.err
17003 cat conftest.err
>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } >/dev
/null
; then
17006 if test -s conftest.err
; then
17007 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17008 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17015 if test -z "$ac_cpp_err"; then
17016 ac_header_preproc
=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.
$ac_ext >&5
17021 ac_header_preproc
=no
17023 rm -f conftest.err conftest.
$ac_ext
17024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17025 echo "${ECHO_T}$ac_header_preproc" >&6
17027 # So? What about this header?
17028 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17034 ac_header_preproc
=yes
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17051 ## ----------------------------------------- ##
17052 ## Report this to wx-dev@lists.wxwidgets.org ##
17053 ## ----------------------------------------- ##
17056 sed "s/^/$as_me: WARNING: /" >&2
17059 echo "$as_me:$LINENO: checking for $ac_header" >&5
17060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 eval "$as_ac_Header=\$ac_header_preproc"
17066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17071 cat >>confdefs.h
<<_ACEOF
17072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17080 for ac_header
in wchar.h
17082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo "$as_me:$LINENO: checking for $ac_header" >&5
17085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17092 # Is the header compilable?
17093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17095 cat >conftest.
$ac_ext <<_ACEOF
17098 cat confdefs.h
>>conftest.
$ac_ext
17099 cat >>conftest.
$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 $ac_includes_default
17102 #include <$ac_header>
17104 rm -f conftest.
$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17108 grep -v '^ *+' conftest.er1
>conftest.err
17110 cat conftest.err
>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try
='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 ac_header_compiler
=yes
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 ac_header_compiler
=no
17132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17134 echo "${ECHO_T}$ac_header_compiler" >&6
17136 # Is the header present?
17137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17139 cat >conftest.
$ac_ext <<_ACEOF
17142 cat confdefs.h
>>conftest.
$ac_ext
17143 cat >>conftest.
$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 #include <$ac_header>
17147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } >/dev
/null
; then
17155 if test -s conftest.err
; then
17156 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17157 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17164 if test -z "$ac_cpp_err"; then
17165 ac_header_preproc
=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_header_preproc
=no
17172 rm -f conftest.err conftest.
$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17174 echo "${ECHO_T}$ac_header_preproc" >&6
17176 # So? What about this header?
17177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17183 ac_header_preproc
=yes
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17200 ## ----------------------------------------- ##
17201 ## Report this to wx-dev@lists.wxwidgets.org ##
17202 ## ----------------------------------------- ##
17205 sed "s/^/$as_me: WARNING: /" >&2
17208 echo "$as_me:$LINENO: checking for $ac_header" >&5
17209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 eval "$as_ac_Header=\$ac_header_preproc"
17215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17220 cat >>confdefs.h
<<_ACEOF
17221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17229 if test "$ac_cv_header_wchar_h" != "yes"; then
17231 for ac_header
in wcstr.h
17233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo "$as_me:$LINENO: checking for $ac_header" >&5
17236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17243 # Is the header compilable?
17244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17246 cat >conftest.
$ac_ext <<_ACEOF
17249 cat confdefs.h
>>conftest.
$ac_ext
17250 cat >>conftest.
$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252 $ac_includes_default
17253 #include <$ac_header>
17255 rm -f conftest.
$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>conftest.er1
17259 grep -v '^ *+' conftest.er1
>conftest.err
17261 cat conftest.err
>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } &&
17264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try
='test -s conftest.$ac_objext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_header_compiler
=yes
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17281 ac_header_compiler
=no
17283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17285 echo "${ECHO_T}$ac_header_compiler" >&6
17287 # Is the header present?
17288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 #include <$ac_header>
17298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17301 grep -v '^ *+' conftest.er1
>conftest.err
17303 cat conftest.err
>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } >/dev
/null
; then
17306 if test -s conftest.err
; then
17307 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17308 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17315 if test -z "$ac_cpp_err"; then
17316 ac_header_preproc
=yes
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.
$ac_ext >&5
17321 ac_header_preproc
=no
17323 rm -f conftest.err conftest.
$ac_ext
17324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17325 echo "${ECHO_T}$ac_header_preproc" >&6
17327 # So? What about this header?
17328 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17334 ac_header_preproc
=yes
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17351 ## ----------------------------------------- ##
17352 ## Report this to wx-dev@lists.wxwidgets.org ##
17353 ## ----------------------------------------- ##
17356 sed "s/^/$as_me: WARNING: /" >&2
17359 echo "$as_me:$LINENO: checking for $ac_header" >&5
17360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 eval "$as_ac_Header=\$ac_header_preproc"
17366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17371 cat >>confdefs.h
<<_ACEOF
17372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17382 for ac_header
in fnmatch.h
17384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17386 echo "$as_me:$LINENO: checking for $ac_header" >&5
17387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17394 # Is the header compilable?
17395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17397 cat >conftest.
$ac_ext <<_ACEOF
17400 cat confdefs.h
>>conftest.
$ac_ext
17401 cat >>conftest.
$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403 $ac_includes_default
17404 #include <$ac_header>
17406 rm -f conftest.
$ac_objext
17407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17408 (eval $ac_compile) 2>conftest.er1
17410 grep -v '^ *+' conftest.er1
>conftest.err
17412 cat conftest.err
>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } &&
17415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; } &&
17421 { ac_try
='test -s conftest.$ac_objext'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; }; then
17427 ac_header_compiler
=yes
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.
$ac_ext >&5
17432 ac_header_compiler
=no
17434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17436 echo "${ECHO_T}$ac_header_compiler" >&6
17438 # Is the header present?
17439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17441 cat >conftest.
$ac_ext <<_ACEOF
17444 cat confdefs.h
>>conftest.
$ac_ext
17445 cat >>conftest.
$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 #include <$ac_header>
17449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17450 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17452 grep -v '^ *+' conftest.er1
>conftest.err
17454 cat conftest.err
>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } >/dev
/null
; then
17457 if test -s conftest.err
; then
17458 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17459 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17466 if test -z "$ac_cpp_err"; then
17467 ac_header_preproc
=yes
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.
$ac_ext >&5
17472 ac_header_preproc
=no
17474 rm -f conftest.err conftest.
$ac_ext
17475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17476 echo "${ECHO_T}$ac_header_preproc" >&6
17478 # So? What about this header?
17479 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17485 ac_header_preproc
=yes
17488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17502 ## ----------------------------------------- ##
17503 ## Report this to wx-dev@lists.wxwidgets.org ##
17504 ## ----------------------------------------- ##
17507 sed "s/^/$as_me: WARNING: /" >&2
17510 echo "$as_me:$LINENO: checking for $ac_header" >&5
17511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 eval "$as_ac_Header=\$ac_header_preproc"
17517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17522 cat >>confdefs.h
<<_ACEOF
17523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17532 for ac_header
in langinfo.h
17534 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17536 echo "$as_me:$LINENO: checking for $ac_header" >&5
17537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17544 # Is the header compilable?
17545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17547 cat >conftest.
$ac_ext <<_ACEOF
17550 cat confdefs.h
>>conftest.
$ac_ext
17551 cat >>conftest.
$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 $ac_includes_default
17554 #include <$ac_header>
17556 rm -f conftest.
$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17560 grep -v '^ *+' conftest.er1
>conftest.err
17562 cat conftest.err
>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try
='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_header_compiler
=yes
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.
$ac_ext >&5
17582 ac_header_compiler
=no
17584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17586 echo "${ECHO_T}$ac_header_compiler" >&6
17588 # Is the header present?
17589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <$ac_header>
17599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1
>conftest.err
17604 cat conftest.err
>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } >/dev
/null
; then
17607 if test -s conftest.err
; then
17608 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17609 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17616 if test -z "$ac_cpp_err"; then
17617 ac_header_preproc
=yes
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17622 ac_header_preproc
=no
17624 rm -f conftest.err conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17626 echo "${ECHO_T}$ac_header_preproc" >&6
17628 # So? What about this header?
17629 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17635 ac_header_preproc
=yes
17638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17652 ## ----------------------------------------- ##
17653 ## Report this to wx-dev@lists.wxwidgets.org ##
17654 ## ----------------------------------------- ##
17657 sed "s/^/$as_me: WARNING: /" >&2
17660 echo "$as_me:$LINENO: checking for $ac_header" >&5
17661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17663 echo $ECHO_N "(cached) $ECHO_C" >&6
17665 eval "$as_ac_Header=\$ac_header_preproc"
17667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17672 cat >>confdefs.h
<<_ACEOF
17673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17682 *-pc-os2_emx | *-pc-os2-emx )
17683 if test $ac_cv_header_langinfo_h = "yes" \
17684 -a \
( "$wx_cv_gccversion" = "EMX2" \
17685 -o "$wx_cv_gccversion" = "EMX3" \
17686 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17687 LIBS
="$LIBS -lintl"
17692 if test "$USE_UNIX" = 1 ; then
17694 for ac_header
in sys
/select.h
17696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17698 echo "$as_me:$LINENO: checking for $ac_header" >&5
17699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17706 # Is the header compilable?
17707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17709 cat >conftest.
$ac_ext <<_ACEOF
17712 cat confdefs.h
>>conftest.
$ac_ext
17713 cat >>conftest.
$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17716 #include <$ac_header>
17718 rm -f conftest.
$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17722 grep -v '^ *+' conftest.er1
>conftest.err
17724 cat conftest.err
>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; } &&
17733 { ac_try
='test -s conftest.$ac_objext'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; }; then
17739 ac_header_compiler
=yes
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.
$ac_ext >&5
17744 ac_header_compiler
=no
17746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17748 echo "${ECHO_T}$ac_header_compiler" >&6
17750 # Is the header present?
17751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17753 cat >conftest.
$ac_ext <<_ACEOF
17756 cat confdefs.h
>>conftest.
$ac_ext
17757 cat >>conftest.
$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 #include <$ac_header>
17761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17764 grep -v '^ *+' conftest.er1
>conftest.err
17766 cat conftest.err
>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } >/dev
/null
; then
17769 if test -s conftest.err
; then
17770 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17771 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17778 if test -z "$ac_cpp_err"; then
17779 ac_header_preproc
=yes
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
17784 ac_header_preproc
=no
17786 rm -f conftest.err conftest.
$ac_ext
17787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17788 echo "${ECHO_T}$ac_header_preproc" >&6
17790 # So? What about this header?
17791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17797 ac_header_preproc
=yes
17800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17814 ## ----------------------------------------- ##
17815 ## Report this to wx-dev@lists.wxwidgets.org ##
17816 ## ----------------------------------------- ##
17819 sed "s/^/$as_me: WARNING: /" >&2
17822 echo "$as_me:$LINENO: checking for $ac_header" >&5
17823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17825 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 eval "$as_ac_Header=\$ac_header_preproc"
17829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17834 cat >>confdefs.h
<<_ACEOF
17835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17845 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17846 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17847 if test "${ac_cv_c_const+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 cat >conftest.
$ac_ext <<_ACEOF
17853 cat confdefs.h
>>conftest.
$ac_ext
17854 cat >>conftest.
$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17860 /* FIXME: Include the comments suggested by Paul. */
17861 #ifndef __cplusplus
17862 /* Ultrix mips cc rejects this. */
17863 typedef int charset[2];
17865 /* SunOS 4.1.1 cc rejects this. */
17866 char const *const *ccp;
17868 /* NEC SVR4.0.2 mips cc rejects this. */
17869 struct point {int x, y;};
17870 static struct point const zero = {0,0};
17871 /* AIX XL C 1.02.0.0 rejects this.
17872 It does not let you subtract one const X* pointer from another in
17873 an arm of an if-expression whose if-part is not a constant
17875 const char *g = "string";
17876 ccp = &g + (g ? g-g : 0);
17877 /* HPUX 7.0 cc rejects these. */
17880 ccp = (char const *const *) p;
17881 { /* SCO 3.2v4 cc rejects this. */
17883 char const *s = 0 ? (char *) 0 : (char const *) 0;
17887 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17888 int x[] = {25, 17};
17889 const int *foo = &x[0];
17892 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17893 typedef const int *iptr;
17897 { /* AIX XL C 1.02.0.0 rejects this saying
17898 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17899 struct s { int j; const int *ap[3]; };
17900 struct s *b; b->j = 5;
17902 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17903 const int foo = 10;
17911 rm -f conftest.
$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17915 grep -v '^ *+' conftest.er1
>conftest.err
17917 cat conftest.err
>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17941 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17942 echo "${ECHO_T}$ac_cv_c_const" >&6
17943 if test $ac_cv_c_const = no
; then
17945 cat >>confdefs.h
<<\_ACEOF
17951 echo "$as_me:$LINENO: checking for inline" >&5
17952 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17953 if test "${ac_cv_c_inline+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 for ac_kw
in inline __inline__ __inline
; do
17958 cat >conftest.
$ac_ext <<_ACEOF
17961 cat confdefs.h
>>conftest.
$ac_ext
17962 cat >>conftest.
$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #ifndef __cplusplus
17966 static $ac_kw foo_t static_foo () {return 0; }
17967 $ac_kw foo_t foo () {return 0; }
17971 rm -f conftest.
$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try
='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_cv_c_inline
=$ac_kw; break
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.
$ac_ext >&5
17998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18002 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18003 echo "${ECHO_T}$ac_cv_c_inline" >&6
18006 case $ac_cv_c_inline in
18009 case $ac_cv_c_inline in
18011 *) ac_val
=$ac_cv_c_inline;;
18013 cat >>confdefs.h
<<_ACEOF
18014 #ifndef __cplusplus
18015 #define inline $ac_val
18022 echo "$as_me:$LINENO: checking for char" >&5
18023 echo $ECHO_N "checking for char... $ECHO_C" >&6
18024 if test "${ac_cv_type_char+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18045 rm -f conftest.
$ac_objext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18047 (eval $ac_compile) 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } &&
18054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try
='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_cv_type_char
=yes
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.
$ac_ext >&5
18073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18075 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18076 echo "${ECHO_T}$ac_cv_type_char" >&6
18078 echo "$as_me:$LINENO: checking size of char" >&5
18079 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18080 if test "${ac_cv_sizeof_char+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 if test "$ac_cv_type_char" = yes; then
18084 # The cast to unsigned long works around a bug in the HP C Compiler
18085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18087 # This bug is HP SR number 8606223364.
18088 if test "$cross_compiling" = yes; then
18089 # Depending upon the size, compute the lo and hi bounds.
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18100 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18111 grep -v '^ *+' conftest.er1
>conftest.err
18113 cat conftest.err
>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try
='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 $ac_includes_default
18140 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18147 rm -f conftest.
$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try
='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_hi
=$ac_mid; break
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.
$ac_ext >&5
18173 ac_lo
=`expr $ac_mid + 1`
18174 if test $ac_lo -le $ac_mid; then
18178 ac_mid
=`expr 2 '*' $ac_mid + 1`
18180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.
$ac_ext >&5
18186 cat >conftest.
$ac_ext <<_ACEOF
18189 cat confdefs.h
>>conftest.
$ac_ext
18190 cat >>conftest.
$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 $ac_includes_default
18196 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18203 rm -f conftest.
$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18207 grep -v '^ *+' conftest.er1
>conftest.err
18209 cat conftest.err
>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try
='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18236 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18243 rm -f conftest.
$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>conftest.er1
18247 grep -v '^ *+' conftest.er1
>conftest.err
18249 cat conftest.err
>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18258 { ac_try
='test -s conftest.$ac_objext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_lo
=$ac_mid; break
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.
$ac_ext >&5
18269 ac_hi
=`expr '(' $ac_mid ')' - 1`
18270 if test $ac_mid -le $ac_hi; then
18274 ac_mid
=`expr 2 '*' $ac_mid`
18276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18287 # Binary search between lo and hi bounds.
18288 while test "x$ac_lo" != "x$ac_hi"; do
18289 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18290 cat >conftest.
$ac_ext <<_ACEOF
18293 cat confdefs.h
>>conftest.
$ac_ext
18294 cat >>conftest.
$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 $ac_includes_default
18300 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18307 rm -f conftest.
$ac_objext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18309 (eval $ac_compile) 2>conftest.er1
18311 grep -v '^ *+' conftest.er1
>conftest.err
18313 cat conftest.err
>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try
='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ac_lo
=`expr '(' $ac_mid ')' + 1`
18335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18338 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18340 See \`config.log' for more details." >&5
18341 echo "$as_me: error: cannot compute sizeof (char), 77
18342 See \`config.log' for more details." >&2;}
18343 { (exit 1); exit 1; }; } ;;
18346 if test "$cross_compiling" = yes; then
18347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18349 { (exit 1); exit 1; }; }
18351 cat >conftest.
$ac_ext <<_ACEOF
18354 cat confdefs.h
>>conftest.
$ac_ext
18355 cat >>conftest.
$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 $ac_includes_default
18358 long longval () { return (long) (sizeof (char)); }
18359 unsigned long ulongval () { return (long) (sizeof (char)); }
18361 #include <stdlib.h>
18366 FILE *f = fopen ("conftest.val", "w");
18369 if (((long) (sizeof (char))) < 0)
18371 long i = longval ();
18372 if (i != ((long) (sizeof (char))))
18374 fprintf (f, "%ld\n", i);
18378 unsigned long i = ulongval ();
18379 if (i != ((long) (sizeof (char))))
18381 fprintf (f, "%lu\n", i);
18383 exit (ferror (f) || fclose (f) != 0);
18389 rm -f conftest
$ac_exeext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18391 (eval $ac_link) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18400 ac_cv_sizeof_char
=`cat conftest.val`
18402 echo "$as_me: program exited with status $ac_status" >&5
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.
$ac_ext >&5
18406 ( exit $ac_status )
18407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18408 See \`config.log' for more details." >&5
18409 echo "$as_me: error: cannot compute sizeof (char), 77
18410 See \`config.log' for more details." >&2;}
18411 { (exit 1); exit 1; }; }
18413 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18418 ac_cv_sizeof_char
=0
18421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18422 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18423 cat >>confdefs.h
<<_ACEOF
18424 #define SIZEOF_CHAR $ac_cv_sizeof_char
18428 echo "$as_me:$LINENO: checking for short" >&5
18429 echo $ECHO_N "checking for short... $ECHO_C" >&6
18430 if test "${ac_cv_type_short+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 $ac_includes_default
18445 if (sizeof (short))
18451 rm -f conftest.
$ac_objext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18453 (eval $ac_compile) 2>conftest.er1
18455 grep -v '^ *+' conftest.er1
>conftest.err
18457 cat conftest.err
>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } &&
18460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try
='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_type_short
=yes
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.
$ac_ext >&5
18477 ac_cv_type_short
=no
18479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18481 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18482 echo "${ECHO_T}$ac_cv_type_short" >&6
18484 echo "$as_me:$LINENO: checking size of short" >&5
18485 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18486 if test "${ac_cv_sizeof_short+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 if test "$ac_cv_type_short" = yes; then
18490 # The cast to unsigned long works around a bug in the HP C Compiler
18491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18493 # This bug is HP SR number 8606223364.
18494 if test "$cross_compiling" = yes; then
18495 # Depending upon the size, compute the lo and hi bounds.
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18506 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18513 rm -f conftest.
$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try
='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18536 cat >conftest.
$ac_ext <<_ACEOF
18539 cat confdefs.h
>>conftest.
$ac_ext
18540 cat >>conftest.
$ac_ext <<_ACEOF
18541 /* end confdefs.h. */
18542 $ac_includes_default
18546 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18553 rm -f conftest.
$ac_objext
18554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18555 (eval $ac_compile) 2>conftest.er1
18557 grep -v '^ *+' conftest.er1
>conftest.err
18559 cat conftest.err
>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } &&
18562 { ac_try
='test -z "$ac_cxx_werror_flag" || 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" || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try
='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18642 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18649 rm -f conftest.
$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18653 grep -v '^ *+' conftest.er1
>conftest.err
18655 cat conftest.err
>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try
='test -s conftest.$ac_objext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_lo
=$ac_mid; break
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ac_hi
=`expr '(' $ac_mid ')' - 1`
18676 if test $ac_mid -le $ac_hi; then
18680 ac_mid
=`expr 2 '*' $ac_mid`
18682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18693 # Binary search between lo and hi bounds.
18694 while test "x$ac_lo" != "x$ac_hi"; do
18695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18696 cat >conftest.
$ac_ext <<_ACEOF
18699 cat confdefs.h
>>conftest.
$ac_ext
18700 cat >>conftest.
$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18706 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18713 rm -f conftest.
$ac_objext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18715 (eval $ac_compile) 2>conftest.er1
18717 grep -v '^ *+' conftest.er1
>conftest.err
18719 cat conftest.err
>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } &&
18722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; } &&
18728 { ac_try
='test -s conftest.$ac_objext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.
$ac_ext >&5
18739 ac_lo
=`expr '(' $ac_mid ')' + 1`
18741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18744 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18746 See \`config.log' for more details." >&5
18747 echo "$as_me: error: cannot compute sizeof (short), 77
18748 See \`config.log' for more details." >&2;}
18749 { (exit 1); exit 1; }; } ;;
18752 if test "$cross_compiling" = yes; then
18753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18755 { (exit 1); exit 1; }; }
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 $ac_includes_default
18764 long longval () { return (long) (sizeof (short)); }
18765 unsigned long ulongval () { return (long) (sizeof (short)); }
18767 #include <stdlib.h>
18772 FILE *f = fopen ("conftest.val", "w");
18775 if (((long) (sizeof (short))) < 0)
18777 long i = longval ();
18778 if (i != ((long) (sizeof (short))))
18780 fprintf (f, "%ld\n", i);
18784 unsigned long i = ulongval ();
18785 if (i != ((long) (sizeof (short))))
18787 fprintf (f, "%lu\n", i);
18789 exit (ferror (f) || fclose (f) != 0);
18795 rm -f conftest
$ac_exeext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18797 (eval $ac_link) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_cv_sizeof_short
=`cat conftest.val`
18808 echo "$as_me: program exited with status $ac_status" >&5
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.
$ac_ext >&5
18812 ( exit $ac_status )
18813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18814 See \`config.log' for more details." >&5
18815 echo "$as_me: error: cannot compute sizeof (short), 77
18816 See \`config.log' for more details." >&2;}
18817 { (exit 1); exit 1; }; }
18819 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18824 ac_cv_sizeof_short
=0
18827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18828 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18829 cat >>confdefs.h
<<_ACEOF
18830 #define SIZEOF_SHORT $ac_cv_sizeof_short
18834 echo "$as_me:$LINENO: checking for void *" >&5
18835 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18836 if test "${ac_cv_type_void_p+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 cat >conftest.
$ac_ext <<_ACEOF
18842 cat confdefs.h
>>conftest.
$ac_ext
18843 cat >>conftest.
$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18851 if (sizeof (void *))
18857 rm -f conftest.
$ac_objext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18859 (eval $ac_compile) 2>conftest.er1
18861 grep -v '^ *+' conftest.er1
>conftest.err
18863 cat conftest.err
>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; } &&
18872 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18878 ac_cv_type_void_p
=yes
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.
$ac_ext >&5
18883 ac_cv_type_void_p
=no
18885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18887 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18888 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18890 echo "$as_me:$LINENO: checking size of void *" >&5
18891 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18892 if test "${ac_cv_sizeof_void_p+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 if test "$ac_cv_type_void_p" = yes; then
18896 # The cast to unsigned long works around a bug in the HP C Compiler
18897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18899 # This bug is HP SR number 8606223364.
18900 if test "$cross_compiling" = yes; then
18901 # Depending upon the size, compute the lo and hi bounds.
18902 cat >conftest.
$ac_ext <<_ACEOF
18905 cat confdefs.h
>>conftest.
$ac_ext
18906 cat >>conftest.
$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18912 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18919 rm -f conftest.
$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1
>conftest.err
18925 cat conftest.err
>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try
='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18942 cat >conftest.
$ac_ext <<_ACEOF
18945 cat confdefs.h
>>conftest.
$ac_ext
18946 cat >>conftest.
$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18952 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18959 rm -f conftest.
$ac_objext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18961 (eval $ac_compile) 2>conftest.er1
18963 grep -v '^ *+' conftest.er1
>conftest.err
18965 cat conftest.err
>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try
='test -s conftest.$ac_objext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_hi
=$ac_mid; break
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 ac_lo
=`expr $ac_mid + 1`
18986 if test $ac_lo -le $ac_mid; then
18990 ac_mid
=`expr 2 '*' $ac_mid + 1`
18992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 cat >conftest.
$ac_ext <<_ACEOF
19001 cat confdefs.h
>>conftest.
$ac_ext
19002 cat >>conftest.
$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19004 $ac_includes_default
19008 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19015 rm -f conftest.
$ac_objext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19017 (eval $ac_compile) 2>conftest.er1
19019 grep -v '^ *+' conftest.er1
>conftest.err
19021 cat conftest.err
>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; } &&
19030 { ac_try
='test -s conftest.$ac_objext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19038 cat >conftest.
$ac_ext <<_ACEOF
19041 cat confdefs.h
>>conftest.
$ac_ext
19042 cat >>conftest.
$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 $ac_includes_default
19048 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19055 rm -f conftest.
$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>conftest.er1
19059 grep -v '^ *+' conftest.er1
>conftest.err
19061 cat conftest.err
>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try
='test -s conftest.$ac_objext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_lo
=$ac_mid; break
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.
$ac_ext >&5
19081 ac_hi
=`expr '(' $ac_mid ')' - 1`
19082 if test $ac_mid -le $ac_hi; then
19086 ac_mid
=`expr 2 '*' $ac_mid`
19088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19099 # Binary search between lo and hi bounds.
19100 while test "x$ac_lo" != "x$ac_hi"; do
19101 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19102 cat >conftest.
$ac_ext <<_ACEOF
19105 cat confdefs.h
>>conftest.
$ac_ext
19106 cat >>conftest.
$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 $ac_includes_default
19112 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19119 rm -f conftest.
$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19123 grep -v '^ *+' conftest.er1
>conftest.err
19125 cat conftest.err
>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try
='test -s conftest.$ac_objext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.
$ac_ext >&5
19145 ac_lo
=`expr '(' $ac_mid ')' + 1`
19147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19150 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19151 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19152 See \`config.log' for more details." >&5
19153 echo "$as_me: error: cannot compute sizeof (void *), 77
19154 See \`config.log' for more details." >&2;}
19155 { (exit 1); exit 1; }; } ;;
19158 if test "$cross_compiling" = yes; then
19159 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19160 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19161 { (exit 1); exit 1; }; }
19163 cat >conftest.
$ac_ext <<_ACEOF
19166 cat confdefs.h
>>conftest.
$ac_ext
19167 cat >>conftest.
$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 long longval () { return (long) (sizeof (void *)); }
19171 unsigned long ulongval () { return (long) (sizeof (void *)); }
19173 #include <stdlib.h>
19178 FILE *f = fopen ("conftest.val", "w");
19181 if (((long) (sizeof (void *))) < 0)
19183 long i = longval ();
19184 if (i != ((long) (sizeof (void *))))
19186 fprintf (f, "%ld\n", i);
19190 unsigned long i = ulongval ();
19191 if (i != ((long) (sizeof (void *))))
19193 fprintf (f, "%lu\n", i);
19195 exit (ferror (f) || fclose (f) != 0);
19201 rm -f conftest
$ac_exeext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19203 (eval $ac_link) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_cv_sizeof_void_p
=`cat conftest.val`
19214 echo "$as_me: program exited with status $ac_status" >&5
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.
$ac_ext >&5
19218 ( exit $ac_status )
19219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19220 See \`config.log' for more details." >&5
19221 echo "$as_me: error: cannot compute sizeof (void *), 77
19222 See \`config.log' for more details." >&2;}
19223 { (exit 1); exit 1; }; }
19225 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19230 ac_cv_sizeof_void_p
=0
19233 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19234 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19235 cat >>confdefs.h
<<_ACEOF
19236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19240 echo "$as_me:$LINENO: checking for int" >&5
19241 echo $ECHO_N "checking for int... $ECHO_C" >&6
19242 if test "${ac_cv_type_int+set}" = set; then
19243 echo $ECHO_N "(cached) $ECHO_C" >&6
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19263 rm -f conftest.
$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265 (eval $ac_compile) 2>conftest.er1
19267 grep -v '^ *+' conftest.er1
>conftest.err
19269 cat conftest.err
>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; } &&
19278 { ac_try
='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.
$ac_ext >&5
19291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19293 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19294 echo "${ECHO_T}$ac_cv_type_int" >&6
19296 echo "$as_me:$LINENO: checking size of int" >&5
19297 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19298 if test "${ac_cv_sizeof_int+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 if test "$ac_cv_type_int" = yes; then
19302 # The cast to unsigned long works around a bug in the HP C Compiler
19303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19305 # This bug is HP SR number 8606223364.
19306 if test "$cross_compiling" = yes; then
19307 # Depending upon the size, compute the lo and hi bounds.
19308 cat >conftest.
$ac_ext <<_ACEOF
19311 cat confdefs.h
>>conftest.
$ac_ext
19312 cat >>conftest.
$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19318 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19325 rm -f conftest.
$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19348 cat >conftest.
$ac_ext <<_ACEOF
19351 cat confdefs.h
>>conftest.
$ac_ext
19352 cat >>conftest.
$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 $ac_includes_default
19358 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19365 rm -f conftest.
$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>conftest.er1
19369 grep -v '^ *+' conftest.er1
>conftest.err
19371 cat conftest.err
>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; } &&
19380 { ac_try
='test -s conftest.$ac_objext'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; }; then
19386 ac_hi
=$ac_mid; break
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.
$ac_ext >&5
19391 ac_lo
=`expr $ac_mid + 1`
19392 if test $ac_lo -le $ac_mid; then
19396 ac_mid
=`expr 2 '*' $ac_mid + 1`
19398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.
$ac_ext >&5
19404 cat >conftest.
$ac_ext <<_ACEOF
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19414 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19421 rm -f conftest.
$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>conftest.er1
19425 grep -v '^ *+' conftest.er1
>conftest.err
19427 cat conftest.err
>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; } &&
19436 { ac_try
='test -s conftest.$ac_objext'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; }; then
19444 cat >conftest.
$ac_ext <<_ACEOF
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19454 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_lo
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_hi
=`expr '(' $ac_mid ')' - 1`
19488 if test $ac_mid -le $ac_hi; then
19492 ac_mid
=`expr 2 '*' $ac_mid`
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19505 # Binary search between lo and hi bounds.
19506 while test "x$ac_lo" != "x$ac_hi"; do
19507 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 $ac_includes_default
19518 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19525 rm -f conftest.
$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19529 grep -v '^ *+' conftest.er1
>conftest.err
19531 cat conftest.err
>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; } &&
19540 { ac_try
='test -s conftest.$ac_objext'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.
$ac_ext >&5
19551 ac_lo
=`expr '(' $ac_mid ')' + 1`
19553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19556 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19557 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19558 See \`config.log' for more details." >&5
19559 echo "$as_me: error: cannot compute sizeof (int), 77
19560 See \`config.log' for more details." >&2;}
19561 { (exit 1); exit 1; }; } ;;
19564 if test "$cross_compiling" = yes; then
19565 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19566 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19567 { (exit 1); exit 1; }; }
19569 cat >conftest.
$ac_ext <<_ACEOF
19572 cat confdefs.h
>>conftest.
$ac_ext
19573 cat >>conftest.
$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19576 long longval () { return (long) (sizeof (int)); }
19577 unsigned long ulongval () { return (long) (sizeof (int)); }
19579 #include <stdlib.h>
19584 FILE *f = fopen ("conftest.val", "w");
19587 if (((long) (sizeof (int))) < 0)
19589 long i = longval ();
19590 if (i != ((long) (sizeof (int))))
19592 fprintf (f, "%ld\n", i);
19596 unsigned long i = ulongval ();
19597 if (i != ((long) (sizeof (int))))
19599 fprintf (f, "%lu\n", i);
19601 exit (ferror (f) || fclose (f) != 0);
19607 rm -f conftest
$ac_exeext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19609 (eval $ac_link) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_sizeof_int
=`cat conftest.val`
19620 echo "$as_me: program exited with status $ac_status" >&5
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.
$ac_ext >&5
19624 ( exit $ac_status )
19625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19626 See \`config.log' for more details." >&5
19627 echo "$as_me: error: cannot compute sizeof (int), 77
19628 See \`config.log' for more details." >&2;}
19629 { (exit 1); exit 1; }; }
19631 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19639 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19640 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19641 cat >>confdefs.h
<<_ACEOF
19642 #define SIZEOF_INT $ac_cv_sizeof_int
19646 echo "$as_me:$LINENO: checking for long" >&5
19647 echo $ECHO_N "checking for long... $ECHO_C" >&6
19648 if test "${ac_cv_type_long+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 cat >conftest.
$ac_ext <<_ACEOF
19654 cat confdefs.h
>>conftest.
$ac_ext
19655 cat >>conftest.
$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19669 rm -f conftest.
$ac_objext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19671 (eval $ac_compile) 2>conftest.er1
19673 grep -v '^ *+' conftest.er1
>conftest.err
19675 cat conftest.err
>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } &&
19678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try
='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 ac_cv_type_long
=yes
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.
$ac_ext >&5
19697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19699 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19700 echo "${ECHO_T}$ac_cv_type_long" >&6
19702 echo "$as_me:$LINENO: checking size of long" >&5
19703 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19704 if test "${ac_cv_sizeof_long+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 if test "$ac_cv_type_long" = yes; then
19708 # The cast to unsigned long works around a bug in the HP C Compiler
19709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19711 # This bug is HP SR number 8606223364.
19712 if test "$cross_compiling" = yes; then
19713 # Depending upon the size, compute the lo and hi bounds.
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19731 rm -f conftest.
$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19754 cat >conftest.
$ac_ext <<_ACEOF
19757 cat confdefs.h
>>conftest.
$ac_ext
19758 cat >>conftest.
$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19764 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19771 rm -f conftest.
$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try
='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_hi
=$ac_mid; break
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 ac_lo
=`expr $ac_mid + 1`
19798 if test $ac_lo -le $ac_mid; then
19802 ac_mid
=`expr 2 '*' $ac_mid + 1`
19804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19810 cat >conftest.
$ac_ext <<_ACEOF
19813 cat confdefs.h
>>conftest.
$ac_ext
19814 cat >>conftest.
$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 $ac_includes_default
19820 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19827 rm -f conftest.
$ac_objext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19829 (eval $ac_compile) 2>conftest.er1
19831 grep -v '^ *+' conftest.er1
>conftest.err
19833 cat conftest.err
>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } &&
19836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19838 (eval $ac_try) 2>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); }; } &&
19842 { ac_try
='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19850 cat >conftest.
$ac_ext <<_ACEOF
19853 cat confdefs.h
>>conftest.
$ac_ext
19854 cat >>conftest.
$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 $ac_includes_default
19860 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19867 rm -f conftest.
$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869 (eval $ac_compile) 2>conftest.er1
19871 grep -v '^ *+' conftest.er1
>conftest.err
19873 cat conftest.err
>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try
='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_lo
=$ac_mid; break
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_hi
=`expr '(' $ac_mid ')' - 1`
19894 if test $ac_mid -le $ac_hi; then
19898 ac_mid
=`expr 2 '*' $ac_mid`
19900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19911 # Binary search between lo and hi bounds.
19912 while test "x$ac_lo" != "x$ac_hi"; do
19913 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19914 cat >conftest.
$ac_ext <<_ACEOF
19917 cat confdefs.h
>>conftest.
$ac_ext
19918 cat >>conftest.
$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19924 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19931 rm -f conftest.
$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>conftest.er1
19935 grep -v '^ *+' conftest.er1
>conftest.err
19937 cat conftest.err
>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; } &&
19946 { ac_try
='test -s conftest.$ac_objext'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.
$ac_ext >&5
19957 ac_lo
=`expr '(' $ac_mid ')' + 1`
19959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19962 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19963 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19964 See \`config.log' for more details." >&5
19965 echo "$as_me: error: cannot compute sizeof (long), 77
19966 See \`config.log' for more details." >&2;}
19967 { (exit 1); exit 1; }; } ;;
19970 if test "$cross_compiling" = yes; then
19971 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19972 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19973 { (exit 1); exit 1; }; }
19975 cat >conftest.
$ac_ext <<_ACEOF
19978 cat confdefs.h
>>conftest.
$ac_ext
19979 cat >>conftest.
$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 long longval () { return (long) (sizeof (long)); }
19983 unsigned long ulongval () { return (long) (sizeof (long)); }
19985 #include <stdlib.h>
19990 FILE *f = fopen ("conftest.val", "w");
19993 if (((long) (sizeof (long))) < 0)
19995 long i = longval ();
19996 if (i != ((long) (sizeof (long))))
19998 fprintf (f, "%ld\n", i);
20002 unsigned long i = ulongval ();
20003 if (i != ((long) (sizeof (long))))
20005 fprintf (f, "%lu\n", i);
20007 exit (ferror (f) || fclose (f) != 0);
20013 rm -f conftest
$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015 (eval $ac_link) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_cv_sizeof_long
=`cat conftest.val`
20026 echo "$as_me: program exited with status $ac_status" >&5
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.
$ac_ext >&5
20030 ( exit $ac_status )
20031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20032 See \`config.log' for more details." >&5
20033 echo "$as_me: error: cannot compute sizeof (long), 77
20034 See \`config.log' for more details." >&2;}
20035 { (exit 1); exit 1; }; }
20037 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20042 ac_cv_sizeof_long
=0
20045 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20046 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20047 cat >>confdefs.h
<<_ACEOF
20048 #define SIZEOF_LONG $ac_cv_sizeof_long
20052 echo "$as_me:$LINENO: checking for size_t" >&5
20053 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20054 if test "${ac_cv_type_size_t+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20069 if (sizeof (size_t))
20075 rm -f conftest.
$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20079 grep -v '^ *+' conftest.er1
>conftest.err
20081 cat conftest.err
>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try
='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_type_size_t
=yes
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 ac_cv_type_size_t
=no
20103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20105 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20106 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20108 echo "$as_me:$LINENO: checking size of size_t" >&5
20109 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20110 if test "${ac_cv_sizeof_size_t+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 if test "$ac_cv_type_size_t" = yes; then
20114 # The cast to unsigned long works around a bug in the HP C Compiler
20115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20117 # This bug is HP SR number 8606223364.
20118 if test "$cross_compiling" = yes; then
20119 # Depending upon the size, compute the lo and hi bounds.
20120 cat >conftest.
$ac_ext <<_ACEOF
20123 cat confdefs.h
>>conftest.
$ac_ext
20124 cat >>conftest.
$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20130 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20137 rm -f conftest.
$ac_objext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20139 (eval $ac_compile) 2>conftest.er1
20141 grep -v '^ *+' conftest.er1
>conftest.err
20143 cat conftest.err
>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try
='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20160 cat >conftest.
$ac_ext <<_ACEOF
20163 cat confdefs.h
>>conftest.
$ac_ext
20164 cat >>conftest.
$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20170 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20177 rm -f conftest.
$ac_objext
20178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20179 (eval $ac_compile) 2>conftest.er1
20181 grep -v '^ *+' conftest.er1
>conftest.err
20183 cat conftest.err
>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } &&
20186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; } &&
20192 { ac_try
='test -s conftest.$ac_objext'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 ac_hi
=$ac_mid; break
20200 echo "$as_me: failed program was:" >&5
20201 sed 's/^/| /' conftest.
$ac_ext >&5
20203 ac_lo
=`expr $ac_mid + 1`
20204 if test $ac_lo -le $ac_mid; then
20208 ac_mid
=`expr 2 '*' $ac_mid + 1`
20210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20226 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20233 rm -f conftest.
$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try
='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20256 cat >conftest.
$ac_ext <<_ACEOF
20259 cat confdefs.h
>>conftest.
$ac_ext
20260 cat >>conftest.
$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20266 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20273 rm -f conftest.
$ac_objext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275 (eval $ac_compile) 2>conftest.er1
20277 grep -v '^ *+' conftest.er1
>conftest.err
20279 cat conftest.err
>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try
='test -s conftest.$ac_objext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20294 ac_lo
=$ac_mid; break
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.
$ac_ext >&5
20299 ac_hi
=`expr '(' $ac_mid ')' - 1`
20300 if test $ac_mid -le $ac_hi; then
20304 ac_mid
=`expr 2 '*' $ac_mid`
20306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20317 # Binary search between lo and hi bounds.
20318 while test "x$ac_lo" != "x$ac_hi"; do
20319 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20320 cat >conftest.
$ac_ext <<_ACEOF
20323 cat confdefs.h
>>conftest.
$ac_ext
20324 cat >>conftest.
$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20330 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20337 rm -f conftest.
$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; } &&
20352 { ac_try
='test -s conftest.$ac_objext'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.
$ac_ext >&5
20363 ac_lo
=`expr '(' $ac_mid ')' + 1`
20365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20368 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20370 See \`config.log' for more details." >&5
20371 echo "$as_me: error: cannot compute sizeof (size_t), 77
20372 See \`config.log' for more details." >&2;}
20373 { (exit 1); exit 1; }; } ;;
20376 if test "$cross_compiling" = yes; then
20377 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20378 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20379 { (exit 1); exit 1; }; }
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 long longval () { return (long) (sizeof (size_t)); }
20389 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20391 #include <stdlib.h>
20396 FILE *f = fopen ("conftest.val", "w");
20399 if (((long) (sizeof (size_t))) < 0)
20401 long i = longval ();
20402 if (i != ((long) (sizeof (size_t))))
20404 fprintf (f, "%ld\n", i);
20408 unsigned long i = ulongval ();
20409 if (i != ((long) (sizeof (size_t))))
20411 fprintf (f, "%lu\n", i);
20413 exit (ferror (f) || fclose (f) != 0);
20419 rm -f conftest
$ac_exeext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20421 (eval $ac_link) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 ac_cv_sizeof_size_t
=`cat conftest.val`
20432 echo "$as_me: program exited with status $ac_status" >&5
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.
$ac_ext >&5
20436 ( exit $ac_status )
20437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20438 See \`config.log' for more details." >&5
20439 echo "$as_me: error: cannot compute sizeof (size_t), 77
20440 See \`config.log' for more details." >&2;}
20441 { (exit 1); exit 1; }; }
20443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20448 ac_cv_sizeof_size_t
=0
20451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20452 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20453 cat >>confdefs.h
<<_ACEOF
20454 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20461 echo "$as_me:$LINENO: checking for long long" >&5
20462 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20463 if test "${ac_cv_type_long_long+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 cat >conftest.
$ac_ext <<_ACEOF
20469 cat confdefs.h
>>conftest.
$ac_ext
20470 cat >>conftest.
$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20476 if ((long long *) 0)
20478 if (sizeof (long long))
20484 rm -f conftest.
$ac_objext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20486 (eval $ac_compile) 2>conftest.er1
20488 grep -v '^ *+' conftest.er1
>conftest.err
20490 cat conftest.err
>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; } &&
20499 { ac_try
='test -s conftest.$ac_objext'
20500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 (eval $ac_try) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); }; }; then
20505 ac_cv_type_long_long
=yes
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.
$ac_ext >&5
20510 ac_cv_type_long_long
=no
20512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20514 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20515 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20517 echo "$as_me:$LINENO: checking size of long long" >&5
20518 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20519 if test "${ac_cv_sizeof_long_long+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 if test "$ac_cv_type_long_long" = yes; then
20523 # The cast to unsigned long works around a bug in the HP C Compiler
20524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20526 # This bug is HP SR number 8606223364.
20527 if test "$cross_compiling" = yes; then
20528 # Depending upon the size, compute the lo and hi bounds.
20529 cat >conftest.
$ac_ext <<_ACEOF
20532 cat confdefs.h
>>conftest.
$ac_ext
20533 cat >>conftest.
$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 $ac_includes_default
20539 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20546 rm -f conftest.
$ac_objext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20548 (eval $ac_compile) 2>conftest.er1
20550 grep -v '^ *+' conftest.er1
>conftest.err
20552 cat conftest.err
>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; } &&
20561 { ac_try
='test -s conftest.$ac_objext'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; }; then
20569 cat >conftest.
$ac_ext <<_ACEOF
20572 cat confdefs.h
>>conftest.
$ac_ext
20573 cat >>conftest.
$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20579 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20586 rm -f conftest.
$ac_objext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20588 (eval $ac_compile) 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try
='test -s conftest.$ac_objext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 ac_hi
=$ac_mid; break
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 ac_lo
=`expr $ac_mid + 1`
20613 if test $ac_lo -le $ac_mid; then
20617 ac_mid
=`expr 2 '*' $ac_mid + 1`
20619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.
$ac_ext >&5
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20642 rm -f conftest.
$ac_objext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20644 (eval $ac_compile) 2>conftest.er1
20646 grep -v '^ *+' conftest.er1
>conftest.err
20648 cat conftest.err
>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; } &&
20657 { ac_try
='test -s conftest.$ac_objext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
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))) >= $ac_mid)];
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" || test ! -s conftest.err'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; } &&
20697 { ac_try
='test -s conftest.$ac_objext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_lo
=$ac_mid; break
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.
$ac_ext >&5
20708 ac_hi
=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20713 ac_mid
=`expr 2 '*' $ac_mid`
20715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.
$ac_ext >&5
20723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20726 # Binary search between lo and hi bounds.
20727 while test "x$ac_lo" != "x$ac_hi"; do
20728 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20729 cat >conftest.
$ac_ext <<_ACEOF
20732 cat confdefs.h
>>conftest.
$ac_ext
20733 cat >>conftest.
$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; } &&
20761 { ac_try
='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.
$ac_ext >&5
20772 ac_lo
=`expr '(' $ac_mid ')' + 1`
20774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20777 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20778 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20779 See \`config.log' for more details." >&5
20780 echo "$as_me: error: cannot compute sizeof (long long), 77
20781 See \`config.log' for more details." >&2;}
20782 { (exit 1); exit 1; }; } ;;
20785 if test "$cross_compiling" = yes; then
20786 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20787 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20788 { (exit 1); exit 1; }; }
20790 cat >conftest.
$ac_ext <<_ACEOF
20793 cat confdefs.h
>>conftest.
$ac_ext
20794 cat >>conftest.
$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 long longval () { return (long) (sizeof (long long)); }
20798 unsigned long ulongval () { return (long) (sizeof (long long)); }
20800 #include <stdlib.h>
20805 FILE *f = fopen ("conftest.val", "w");
20808 if (((long) (sizeof (long long))) < 0)
20810 long i = longval ();
20811 if (i != ((long) (sizeof (long long))))
20813 fprintf (f, "%ld\n", i);
20817 unsigned long i = ulongval ();
20818 if (i != ((long) (sizeof (long long))))
20820 fprintf (f, "%lu\n", i);
20822 exit (ferror (f) || fclose (f) != 0);
20828 rm -f conftest
$ac_exeext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20830 (eval $ac_link) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 ac_cv_sizeof_long_long
=`cat conftest.val`
20841 echo "$as_me: program exited with status $ac_status" >&5
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.
$ac_ext >&5
20845 ( exit $ac_status )
20846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20847 See \`config.log' for more details." >&5
20848 echo "$as_me: error: cannot compute sizeof (long long), 77
20849 See \`config.log' for more details." >&2;}
20850 { (exit 1); exit 1; }; }
20852 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20857 ac_cv_sizeof_long_long
=0
20860 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20861 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20862 cat >>confdefs.h
<<_ACEOF
20863 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20869 echo "$as_me:$LINENO: checking for long long" >&5
20870 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20871 if test "${ac_cv_type_long_long+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20874 cat >conftest.
$ac_ext <<_ACEOF
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20884 if ((long long *) 0)
20886 if (sizeof (long long))
20892 rm -f conftest.
$ac_objext
20893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20894 (eval $ac_compile) 2>conftest.er1
20896 grep -v '^ *+' conftest.er1
>conftest.err
20898 cat conftest.err
>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } &&
20901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_type_long_long
=yes
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 ac_cv_type_long_long
=no
20920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20923 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20925 echo "$as_me:$LINENO: checking size of long long" >&5
20926 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20927 if test "${ac_cv_sizeof_long_long+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 if test "$ac_cv_type_long_long" = yes; then
20931 # The cast to unsigned long works around a bug in the HP C Compiler
20932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20934 # This bug is HP SR number 8606223364.
20935 if test "$cross_compiling" = yes; then
20936 # Depending upon the size, compute the lo and hi bounds.
20937 cat >conftest.
$ac_ext <<_ACEOF
20940 cat confdefs.h
>>conftest.
$ac_ext
20941 cat >>conftest.
$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20954 rm -f conftest.
$ac_objext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20956 (eval $ac_compile) 2>conftest.er1
20958 grep -v '^ *+' conftest.er1
>conftest.err
20960 cat conftest.err
>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; } &&
20969 { ac_try
='test -s conftest.$ac_objext'
20970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20971 (eval $ac_try) 2>&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); }; }; then
20977 cat >conftest.
$ac_ext <<_ACEOF
20980 cat confdefs.h
>>conftest.
$ac_ext
20981 cat >>conftest.
$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20987 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20994 rm -f conftest.
$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996 (eval $ac_compile) 2>conftest.er1
20998 grep -v '^ *+' conftest.er1
>conftest.err
21000 cat conftest.err
>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; } &&
21009 { ac_try
='test -s conftest.$ac_objext'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; }; then
21015 ac_hi
=$ac_mid; break
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.
$ac_ext >&5
21020 ac_lo
=`expr $ac_mid + 1`
21021 if test $ac_lo -le $ac_mid; then
21025 ac_mid
=`expr 2 '*' $ac_mid + 1`
21027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.
$ac_ext >&5
21033 cat >conftest.
$ac_ext <<_ACEOF
21036 cat confdefs.h
>>conftest.
$ac_ext
21037 cat >>conftest.
$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 $ac_includes_default
21043 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21050 rm -f conftest.
$ac_objext
21051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21052 (eval $ac_compile) 2>conftest.er1
21054 grep -v '^ *+' conftest.er1
>conftest.err
21056 cat conftest.err
>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } &&
21059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; } &&
21065 { ac_try
='test -s conftest.$ac_objext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21073 cat >conftest.
$ac_ext <<_ACEOF
21076 cat confdefs.h
>>conftest.
$ac_ext
21077 cat >>conftest.
$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21083 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21090 rm -f conftest.
$ac_objext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21092 (eval $ac_compile) 2>conftest.er1
21094 grep -v '^ *+' conftest.er1
>conftest.err
21096 cat conftest.err
>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; } &&
21105 { ac_try
='test -s conftest.$ac_objext'
21106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21107 (eval $ac_try) 2>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; }; then
21111 ac_lo
=$ac_mid; break
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.
$ac_ext >&5
21116 ac_hi
=`expr '(' $ac_mid ')' - 1`
21117 if test $ac_mid -le $ac_hi; then
21121 ac_mid
=`expr 2 '*' $ac_mid`
21123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.
$ac_ext >&5
21131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21134 # Binary search between lo and hi bounds.
21135 while test "x$ac_lo" != "x$ac_hi"; do
21136 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21137 cat >conftest.
$ac_ext <<_ACEOF
21140 cat confdefs.h
>>conftest.
$ac_ext
21141 cat >>conftest.
$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21147 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21154 rm -f conftest.
$ac_objext
21155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21156 (eval $ac_compile) 2>conftest.er1
21158 grep -v '^ *+' conftest.er1
>conftest.err
21160 cat conftest.err
>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } &&
21163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try
='test -s conftest.$ac_objext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.
$ac_ext >&5
21180 ac_lo
=`expr '(' $ac_mid ')' + 1`
21182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21185 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21186 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21187 See \`config.log' for more details." >&5
21188 echo "$as_me: error: cannot compute sizeof (long long), 77
21189 See \`config.log' for more details." >&2;}
21190 { (exit 1); exit 1; }; } ;;
21193 if test "$cross_compiling" = yes; then
21194 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21195 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21196 { (exit 1); exit 1; }; }
21198 cat >conftest.
$ac_ext <<_ACEOF
21201 cat confdefs.h
>>conftest.
$ac_ext
21202 cat >>conftest.
$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 long longval () { return (long) (sizeof (long long)); }
21206 unsigned long ulongval () { return (long) (sizeof (long long)); }
21208 #include <stdlib.h>
21213 FILE *f = fopen ("conftest.val", "w");
21216 if (((long) (sizeof (long long))) < 0)
21218 long i = longval ();
21219 if (i != ((long) (sizeof (long long))))
21221 fprintf (f, "%ld\n", i);
21225 unsigned long i = ulongval ();
21226 if (i != ((long) (sizeof (long long))))
21228 fprintf (f, "%lu\n", i);
21230 exit (ferror (f) || fclose (f) != 0);
21236 rm -f conftest
$ac_exeext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21238 (eval $ac_link) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 ac_cv_sizeof_long_long
=`cat conftest.val`
21249 echo "$as_me: program exited with status $ac_status" >&5
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.
$ac_ext >&5
21253 ( exit $ac_status )
21254 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21255 See \`config.log' for more details." >&5
21256 echo "$as_me: error: cannot compute sizeof (long long), 77
21257 See \`config.log' for more details." >&2;}
21258 { (exit 1); exit 1; }; }
21260 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21265 ac_cv_sizeof_long_long
=0
21268 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21269 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21270 cat >>confdefs.h
<<_ACEOF
21271 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21275 if test "$ac_cv_sizeof_long_long" != "0"; then
21276 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21280 echo "$as_me:$LINENO: checking for long long" >&5
21281 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21282 if test "${ac_cv_type_long_long+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21295 if ((long long *) 0)
21297 if (sizeof (long long))
21303 rm -f conftest.
$ac_objext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21305 (eval $ac_compile) 2>conftest.er1
21307 grep -v '^ *+' conftest.er1
>conftest.err
21309 cat conftest.err
>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } &&
21312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314 (eval $ac_try) 2>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; } &&
21318 { ac_try
='test -s conftest.$ac_objext'
21319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320 (eval $ac_try) 2>&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_type_long_long
=yes
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.
$ac_ext >&5
21329 ac_cv_type_long_long
=no
21331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21333 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21334 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21336 echo "$as_me:$LINENO: checking size of long long" >&5
21337 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21338 if test "${ac_cv_sizeof_long_long+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21341 if test "$ac_cv_type_long_long" = yes; then
21342 # The cast to unsigned long works around a bug in the HP C Compiler
21343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21345 # This bug is HP SR number 8606223364.
21346 if test "$cross_compiling" = yes; then
21347 # Depending upon the size, compute the lo and hi bounds.
21348 cat >conftest.
$ac_ext <<_ACEOF
21351 cat confdefs.h
>>conftest.
$ac_ext
21352 cat >>conftest.
$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354 $ac_includes_default
21358 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21365 rm -f conftest.
$ac_objext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21367 (eval $ac_compile) 2>conftest.er1
21369 grep -v '^ *+' conftest.er1
>conftest.err
21371 cat conftest.err
>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; } &&
21380 { ac_try
='test -s conftest.$ac_objext'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21388 cat >conftest.
$ac_ext <<_ACEOF
21391 cat confdefs.h
>>conftest.
$ac_ext
21392 cat >>conftest.
$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21398 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21405 rm -f conftest.
$ac_objext
21406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21407 (eval $ac_compile) 2>conftest.er1
21409 grep -v '^ *+' conftest.er1
>conftest.err
21411 cat conftest.err
>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } &&
21414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; } &&
21420 { ac_try
='test -s conftest.$ac_objext'
21421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21422 (eval $ac_try) 2>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); }; }; then
21426 ac_hi
=$ac_mid; break
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.
$ac_ext >&5
21431 ac_lo
=`expr $ac_mid + 1`
21432 if test $ac_lo -le $ac_mid; then
21436 ac_mid
=`expr 2 '*' $ac_mid + 1`
21438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21444 cat >conftest.
$ac_ext <<_ACEOF
21447 cat confdefs.h
>>conftest.
$ac_ext
21448 cat >>conftest.
$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 $ac_includes_default
21454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21461 rm -f conftest.
$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463 (eval $ac_compile) 2>conftest.er1
21465 grep -v '^ *+' conftest.er1
>conftest.err
21467 cat conftest.err
>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } &&
21470 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
21484 cat >conftest.
$ac_ext <<_ACEOF
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490 $ac_includes_default
21494 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21501 rm -f conftest.
$ac_objext
21502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21503 (eval $ac_compile) 2>conftest.er1
21505 grep -v '^ *+' conftest.er1
>conftest.err
21507 cat conftest.err
>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } &&
21510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; } &&
21516 { ac_try
='test -s conftest.$ac_objext'
21517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518 (eval $ac_try) 2>&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); }; }; then
21522 ac_lo
=$ac_mid; break
21524 echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.
$ac_ext >&5
21527 ac_hi
=`expr '(' $ac_mid ')' - 1`
21528 if test $ac_mid -le $ac_hi; then
21532 ac_mid
=`expr 2 '*' $ac_mid`
21534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.
$ac_ext >&5
21542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21545 # Binary search between lo and hi bounds.
21546 while test "x$ac_lo" != "x$ac_hi"; do
21547 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21548 cat >conftest.
$ac_ext <<_ACEOF
21551 cat confdefs.h
>>conftest.
$ac_ext
21552 cat >>conftest.
$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 $ac_includes_default
21558 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21565 rm -f conftest.
$ac_objext
21566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21567 (eval $ac_compile) 2>conftest.er1
21569 grep -v '^ *+' conftest.er1
>conftest.err
21571 cat conftest.err
>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } &&
21574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21580 { ac_try
='test -s conftest.$ac_objext'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; }; then
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.
$ac_ext >&5
21591 ac_lo
=`expr '(' $ac_mid ')' + 1`
21593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21596 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21597 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21598 See \`config.log' for more details." >&5
21599 echo "$as_me: error: cannot compute sizeof (long long), 77
21600 See \`config.log' for more details." >&2;}
21601 { (exit 1); exit 1; }; } ;;
21604 if test "$cross_compiling" = yes; then
21605 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21606 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21607 { (exit 1); exit 1; }; }
21609 cat >conftest.
$ac_ext <<_ACEOF
21612 cat confdefs.h
>>conftest.
$ac_ext
21613 cat >>conftest.
$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 long longval () { return (long) (sizeof (long long)); }
21617 unsigned long ulongval () { return (long) (sizeof (long long)); }
21619 #include <stdlib.h>
21624 FILE *f = fopen ("conftest.val", "w");
21627 if (((long) (sizeof (long long))) < 0)
21629 long i = longval ();
21630 if (i != ((long) (sizeof (long long))))
21632 fprintf (f, "%ld\n", i);
21636 unsigned long i = ulongval ();
21637 if (i != ((long) (sizeof (long long))))
21639 fprintf (f, "%lu\n", i);
21641 exit (ferror (f) || fclose (f) != 0);
21647 rm -f conftest
$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_cv_sizeof_long_long
=`cat conftest.val`
21660 echo "$as_me: program exited with status $ac_status" >&5
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 ( exit $ac_status )
21665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21666 See \`config.log' for more details." >&5
21667 echo "$as_me: error: cannot compute sizeof (long long), 77
21668 See \`config.log' for more details." >&2;}
21669 { (exit 1); exit 1; }; }
21671 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21676 ac_cv_sizeof_long_long
=0
21679 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21680 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21681 cat >>confdefs.h
<<_ACEOF
21682 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21688 echo "$as_me:$LINENO: checking for wchar_t" >&5
21689 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21690 if test "${ac_cv_type_wchar_t+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 cat >conftest.
$ac_ext <<_ACEOF
21696 cat confdefs.h
>>conftest.
$ac_ext
21697 cat >>conftest.
$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21700 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21701 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21702 # error "fake wchar_t"
21704 #ifdef HAVE_WCHAR_H
21706 # include <stddef.h>
21708 # include <wchar.h>
21710 #ifdef HAVE_STDLIB_H
21711 # include <stdlib.h>
21722 if (sizeof (wchar_t))
21728 rm -f conftest.
$ac_objext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21730 (eval $ac_compile) 2>conftest.er1
21732 grep -v '^ *+' conftest.er1
>conftest.err
21734 cat conftest.err
>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try
='test -s conftest.$ac_objext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_type_wchar_t
=yes
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.
$ac_ext >&5
21754 ac_cv_type_wchar_t
=no
21756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21759 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21761 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21762 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21763 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21764 echo $ECHO_N "(cached) $ECHO_C" >&6
21766 if test "$ac_cv_type_wchar_t" = yes; then
21767 # The cast to unsigned long works around a bug in the HP C Compiler
21768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21770 # This bug is HP SR number 8606223364.
21771 if test "$cross_compiling" = yes; then
21772 # Depending upon the size, compute the lo and hi bounds.
21773 cat >conftest.
$ac_ext <<_ACEOF
21776 cat confdefs.h
>>conftest.
$ac_ext
21777 cat >>conftest.
$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21780 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21781 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21782 # error "fake wchar_t"
21784 #ifdef HAVE_WCHAR_H
21786 # include <stddef.h>
21788 # include <wchar.h>
21790 #ifdef HAVE_STDLIB_H
21791 # include <stdlib.h>
21800 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21807 rm -f conftest.
$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21811 grep -v '^ *+' conftest.er1
>conftest.err
21813 cat conftest.err
>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try
='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21830 cat >conftest.
$ac_ext <<_ACEOF
21833 cat confdefs.h
>>conftest.
$ac_ext
21834 cat >>conftest.
$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21837 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21838 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21839 # error "fake wchar_t"
21841 #ifdef HAVE_WCHAR_H
21843 # include <stddef.h>
21845 # include <wchar.h>
21847 #ifdef HAVE_STDLIB_H
21848 # include <stdlib.h>
21857 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21864 rm -f conftest.
$ac_objext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21866 (eval $ac_compile) 2>conftest.er1
21868 grep -v '^ *+' conftest.er1
>conftest.err
21870 cat conftest.err
>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; } &&
21879 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21885 ac_hi
=$ac_mid; break
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.
$ac_ext >&5
21890 ac_lo
=`expr $ac_mid + 1`
21891 if test $ac_lo -le $ac_mid; then
21895 ac_mid
=`expr 2 '*' $ac_mid + 1`
21897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.
$ac_ext >&5
21903 cat >conftest.
$ac_ext <<_ACEOF
21906 cat confdefs.h
>>conftest.
$ac_ext
21907 cat >>conftest.
$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21910 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21911 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21912 # error "fake wchar_t"
21914 #ifdef HAVE_WCHAR_H
21916 # include <stddef.h>
21918 # include <wchar.h>
21920 #ifdef HAVE_STDLIB_H
21921 # include <stdlib.h>
21930 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21937 rm -f conftest.
$ac_objext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21939 (eval $ac_compile) 2>conftest.er1
21941 grep -v '^ *+' conftest.er1
>conftest.err
21943 cat conftest.err
>&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try
='test -s conftest.$ac_objext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21960 cat >conftest.
$ac_ext <<_ACEOF
21963 cat confdefs.h
>>conftest.
$ac_ext
21964 cat >>conftest.
$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21967 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21968 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21969 # error "fake wchar_t"
21971 #ifdef HAVE_WCHAR_H
21973 # include <stddef.h>
21975 # include <wchar.h>
21977 #ifdef HAVE_STDLIB_H
21978 # include <stdlib.h>
21987 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21994 rm -f conftest.
$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21998 grep -v '^ *+' conftest.er1
>conftest.err
22000 cat conftest.err
>&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; } &&
22009 { ac_try
='test -s conftest.$ac_objext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then
22015 ac_lo
=$ac_mid; break
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.
$ac_ext >&5
22020 ac_hi
=`expr '(' $ac_mid ')' - 1`
22021 if test $ac_mid -le $ac_hi; then
22025 ac_mid
=`expr 2 '*' $ac_mid`
22027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22030 echo "$as_me: failed program was:" >&5
22031 sed 's/^/| /' conftest.
$ac_ext >&5
22035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22038 # Binary search between lo and hi bounds.
22039 while test "x$ac_lo" != "x$ac_hi"; do
22040 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22041 cat >conftest.
$ac_ext <<_ACEOF
22044 cat confdefs.h
>>conftest.
$ac_ext
22045 cat >>conftest.
$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22048 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22049 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22050 # error "fake wchar_t"
22052 #ifdef HAVE_WCHAR_H
22054 # include <stddef.h>
22056 # include <wchar.h>
22058 #ifdef HAVE_STDLIB_H
22059 # include <stdlib.h>
22068 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22075 rm -f conftest.
$ac_objext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22077 (eval $ac_compile) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; } &&
22090 { ac_try
='test -s conftest.$ac_objext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.
$ac_ext >&5
22101 ac_lo
=`expr '(' $ac_mid ')' + 1`
22103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22106 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22107 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22108 See \`config.log' for more details." >&5
22109 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22110 See \`config.log' for more details." >&2;}
22111 { (exit 1); exit 1; }; } ;;
22114 if test "$cross_compiling" = yes; then
22115 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22116 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22117 { (exit 1); exit 1; }; }
22119 cat >conftest.
$ac_ext <<_ACEOF
22122 cat confdefs.h
>>conftest.
$ac_ext
22123 cat >>conftest.
$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22126 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22127 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22128 # error "fake wchar_t"
22130 #ifdef HAVE_WCHAR_H
22132 # include <stddef.h>
22134 # include <wchar.h>
22136 #ifdef HAVE_STDLIB_H
22137 # include <stdlib.h>
22143 long longval () { return (long) (sizeof (wchar_t)); }
22144 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22146 #include <stdlib.h>
22151 FILE *f = fopen ("conftest.val", "w");
22154 if (((long) (sizeof (wchar_t))) < 0)
22156 long i = longval ();
22157 if (i != ((long) (sizeof (wchar_t))))
22159 fprintf (f, "%ld\n", i);
22163 unsigned long i = ulongval ();
22164 if (i != ((long) (sizeof (wchar_t))))
22166 fprintf (f, "%lu\n", i);
22168 exit (ferror (f) || fclose (f) != 0);
22174 rm -f conftest
$ac_exeext
22175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22176 (eval $ac_link) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22187 echo "$as_me: program exited with status $ac_status" >&5
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.
$ac_ext >&5
22191 ( exit $ac_status )
22192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22193 See \`config.log' for more details." >&5
22194 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22195 See \`config.log' for more details." >&2;}
22196 { (exit 1); exit 1; }; }
22198 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22203 ac_cv_sizeof_wchar_t
=0
22206 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22207 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22208 cat >>confdefs.h
<<_ACEOF
22209 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22213 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22219 echo "$as_me:$LINENO: checking for va_copy" >&5
22220 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22221 if test "${wx_cv_func_va_copy+set}" = set; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 cat >conftest.
$ac_ext <<_ACEOF
22227 #include <stdarg.h>
22228 void foo(char *f, ...)
22242 rm -f conftest.
$ac_objext conftest
$ac_exeext
22243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22244 (eval $ac_link) 2>conftest.er1
22246 grep -v '^ *+' conftest.er1
>conftest.err
22248 cat conftest.err
>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } &&
22251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try
='test -s conftest$ac_exeext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 wx_cv_func_va_copy
=yes
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.
$ac_ext >&5
22268 wx_cv_func_va_copy
=no
22271 rm -f conftest.err conftest.
$ac_objext \
22272 conftest
$ac_exeext conftest.
$ac_ext
22276 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22277 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22279 if test $wx_cv_func_va_copy = "yes"; then
22280 cat >>confdefs.h
<<\_ACEOF
22281 #define HAVE_VA_COPY 1
22285 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22286 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22287 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 if test "$cross_compiling" = yes; then
22292 wx_cv_type_va_list_lvalue
=yes
22295 cat >conftest.
$ac_ext <<_ACEOF
22297 #include <stdarg.h>
22298 int foo(char *f, ...)
22303 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22311 return foo("hi", 17);
22314 rm -f conftest
$ac_exeext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22316 (eval $ac_link) 2>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 wx_cv_type_va_list_lvalue
=yes
22327 echo "$as_me: program exited with status $ac_status" >&5
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.
$ac_ext >&5
22331 ( exit $ac_status )
22332 wx_cv_type_va_list_lvalue
=no
22334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22339 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22340 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22342 if test $wx_cv_type_va_list_lvalue != "yes"; then
22343 cat >>confdefs.h
<<\_ACEOF
22344 #define VA_LIST_IS_ARRAY 1
22350 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22351 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22352 if test "${wx_cv_have_variadic_macros+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 cat >conftest.
$ac_ext <<_ACEOF
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22364 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22370 test("%s %d %p", "test", 1, 0);
22377 rm -f conftest.
$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>conftest.er1
22381 grep -v '^ *+' conftest.er1
>conftest.err
22383 cat conftest.err
>&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try
='test -s conftest.$ac_objext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 wx_cv_have_variadic_macros
=yes
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.
$ac_ext >&5
22403 wx_cv_have_variadic_macros
=no
22406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22410 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22411 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22413 if test $wx_cv_have_variadic_macros = "yes"; then
22414 cat >>confdefs.h
<<\_ACEOF
22415 #define HAVE_VARIADIC_MACROS 1
22420 # Check whether --enable-largefile or --disable-largefile was given.
22421 if test "${enable_largefile+set}" = set; then
22422 enableval
="$enable_largefile"
22425 if test "$enable_largefile" != no
; then
22428 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22429 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22430 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22434 cat >conftest.
$ac_ext <<_ACEOF
22437 cat confdefs.h
>>conftest.
$ac_ext
22438 cat >>conftest.
$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 #define _FILE_OFFSET_BITS 64
22441 #include <sys/types.h>
22446 unsigned int field: sizeof(off_t) == 8;
22453 rm -f conftest.
$ac_objext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455 (eval $ac_compile) 2>conftest.er1
22457 grep -v '^ *+' conftest.er1
>conftest.err
22459 cat conftest.err
>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try
='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_sys_file_offset_bits
=64
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.
$ac_ext >&5
22479 ac_cv_sys_file_offset_bits
=no
22481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22485 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22486 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22488 if test "$ac_cv_sys_file_offset_bits" != no
; then
22490 cat >>confdefs.h
<<_ACEOF
22491 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22496 if test "x$wx_largefile" != "xyes"; then
22498 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22499 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22500 if test "${ac_cv_sys_large_files+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 cat >conftest.
$ac_ext <<_ACEOF
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 #define _LARGE_FILES 1
22511 #include <sys/types.h>
22516 unsigned int field: sizeof(off_t) == 8;
22523 rm -f conftest.
$ac_objext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525 (eval $ac_compile) 2>conftest.er1
22527 grep -v '^ *+' conftest.er1
>conftest.err
22529 cat conftest.err
>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; } &&
22538 { ac_try
='test -s conftest.$ac_objext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_sys_large_files
=1
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.
$ac_ext >&5
22549 ac_cv_sys_large_files
=no
22551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22555 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22556 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22558 if test "$ac_cv_sys_large_files" != no
; then
22560 cat >>confdefs.h
<<_ACEOF
22561 #define _LARGE_FILES $ac_cv_sys_large_files
22568 echo "$as_me:$LINENO: checking if large file support is available" >&5
22569 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22570 if test "x$wx_largefile" = "xyes"; then
22571 cat >>confdefs.h
<<\_ACEOF
22572 #define HAVE_LARGEFILE_SUPPORT 1
22576 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22577 echo "${ECHO_T}$wx_largefile" >&6
22581 if test "x$wx_largefile" = "xyes"; then
22582 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22583 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22585 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22586 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22587 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22588 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22592 cat >conftest.
$ac_ext <<_ACEOF
22595 cat confdefs.h
>>conftest.
$ac_ext
22596 cat >>conftest.
$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22603 #ifndef __STDC_EXT__
22611 rm -f conftest.
$ac_objext
22612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22613 (eval $ac_compile) 2>conftest.er1
22615 grep -v '^ *+' conftest.er1
>conftest.err
22617 cat conftest.err
>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } &&
22620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; } &&
22626 { ac_try
='test -s conftest.$ac_objext'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; }; then
22632 wx_cv_STDC_EXT_required
=no
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.
$ac_ext >&5
22637 wx_cv_STDC_EXT_required
=yes
22640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22644 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22645 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22646 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22647 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22651 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22653 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22654 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22655 if test "${ac_cv_sys_largefile_source+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22659 ac_cv_sys_largefile_source
=no
22660 cat >conftest.
$ac_ext <<_ACEOF
22663 cat confdefs.h
>>conftest.
$ac_ext
22664 cat >>conftest.
$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22675 rm -f conftest.
$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>conftest.er1
22679 grep -v '^ *+' conftest.er1
>conftest.err
22681 cat conftest.err
>&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } &&
22684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try
='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.
$ac_ext >&5
22702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22703 cat >conftest.
$ac_ext <<_ACEOF
22706 cat confdefs.h
>>conftest.
$ac_ext
22707 cat >>conftest.
$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #define _LARGEFILE_SOURCE 1
22719 rm -f conftest.
$ac_objext
22720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22721 (eval $ac_compile) 2>conftest.er1
22723 grep -v '^ *+' conftest.er1
>conftest.err
22725 cat conftest.err
>&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; } &&
22734 { ac_try
='test -s conftest.$ac_objext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 ac_cv_sys_largefile_source
=1; break
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.
$ac_ext >&5
22746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22750 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22751 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22752 if test "$ac_cv_sys_largefile_source" != no
; then
22754 cat >>confdefs.h
<<_ACEOF
22755 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22761 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22762 # in glibc 2.1.3, but that breaks too many other things.
22763 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22764 echo "$as_me:$LINENO: checking for fseeko" >&5
22765 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22766 if test "${ac_cv_func_fseeko+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 cat >conftest.
$ac_ext <<_ACEOF
22772 cat confdefs.h
>>conftest.
$ac_ext
22773 cat >>conftest.
$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22779 return fseeko && fseeko (stdin, 0, 0);
22784 rm -f conftest.
$ac_objext conftest
$ac_exeext
22785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22786 (eval $ac_link) 2>conftest.er1
22788 grep -v '^ *+' conftest.er1
>conftest.err
22790 cat conftest.err
>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try
='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 ac_cv_func_fseeko
=yes
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.
$ac_ext >&5
22810 ac_cv_func_fseeko
=no
22812 rm -f conftest.err conftest.
$ac_objext \
22813 conftest
$ac_exeext conftest.
$ac_ext
22815 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22816 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22817 if test $ac_cv_func_fseeko = yes; then
22819 cat >>confdefs.h
<<\_ACEOF
22820 #define HAVE_FSEEKO 1
22825 if test "$ac_cv_sys_largefile_source" != no
; then
22826 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22830 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22831 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22832 if test "${ac_cv_c_bigendian+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 ac_cv_c_bigendian
=unknown
22836 # See if sys/param.h defines the BYTE_ORDER macro.
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 #include <sys/types.h>
22844 #include <sys/param.h>
22849 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22850 bogus endian macros
22856 rm -f conftest.
$ac_objext
22857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22858 (eval $ac_compile) 2>conftest.er1
22860 grep -v '^ *+' conftest.er1
>conftest.err
22862 cat conftest.err
>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); } &&
22865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; } &&
22871 { ac_try
='test -s conftest.$ac_objext'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 # It does; now see whether it defined to BIG_ENDIAN or not.
22878 cat >conftest.
$ac_ext <<_ACEOF
22881 cat confdefs.h
>>conftest.
$ac_ext
22882 cat >>conftest.
$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include <sys/types.h>
22885 #include <sys/param.h>
22890 #if BYTE_ORDER != BIG_ENDIAN
22897 rm -f conftest.
$ac_objext
22898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22899 (eval $ac_compile) 2>conftest.er1
22901 grep -v '^ *+' conftest.er1
>conftest.err
22903 cat conftest.err
>&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } &&
22906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try
='test -s conftest.$ac_objext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_c_bigendian
=yes
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.
$ac_ext >&5
22923 ac_cv_c_bigendian
=no
22925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.
$ac_ext >&5
22931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22932 if test $ac_cv_c_bigendian = unknown
; then
22933 if test "$cross_compiling" = yes; then
22934 ac_cv_c_bigendian
=unknown
22936 cat >conftest.
$ac_ext <<_ACEOF
22939 cat confdefs.h
>>conftest.
$ac_ext
22940 cat >>conftest.
$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22943 /* Are we little or big endian? From Harbison&Steele. */
22947 char c[sizeof (long)];
22950 exit (u.c[sizeof (long) - 1] == 1);
22953 rm -f conftest
$ac_exeext
22954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22955 (eval $ac_link) 2>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 ac_cv_c_bigendian
=no
22966 echo "$as_me: program exited with status $ac_status" >&5
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.
$ac_ext >&5
22970 ( exit $ac_status )
22971 ac_cv_c_bigendian
=yes
22973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22977 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22978 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22979 if test $ac_cv_c_bigendian = unknown
; then
22980 { 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
22981 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;}
22983 if test $ac_cv_c_bigendian = yes; then
22984 cat >>confdefs.h
<<\_ACEOF
22985 #define WORDS_BIGENDIAN 1
22995 ac_cpp
='$CXXCPP $CPPFLAGS'
22996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23002 for ac_header
in iostream
23004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23006 echo "$as_me:$LINENO: checking for $ac_header" >&5
23007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23014 # Is the header compilable?
23015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23017 cat >conftest.
$ac_ext <<_ACEOF
23020 cat confdefs.h
>>conftest.
$ac_ext
23021 cat >>conftest.
$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023 $ac_includes_default
23024 #include <$ac_header>
23026 rm -f conftest.
$ac_objext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23028 (eval $ac_compile) 2>conftest.er1
23030 grep -v '^ *+' conftest.er1
>conftest.err
23032 cat conftest.err
>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } &&
23035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try
='test -s conftest.$ac_objext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_header_compiler
=yes
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 ac_header_compiler
=no
23054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23056 echo "${ECHO_T}$ac_header_compiler" >&6
23058 # Is the header present?
23059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23061 cat >conftest.
$ac_ext <<_ACEOF
23064 cat confdefs.h
>>conftest.
$ac_ext
23065 cat >>conftest.
$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 #include <$ac_header>
23069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23072 grep -v '^ *+' conftest.er1
>conftest.err
23074 cat conftest.err
>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } >/dev
/null
; then
23077 if test -s conftest.err
; then
23078 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23079 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23086 if test -z "$ac_cpp_err"; then
23087 ac_header_preproc
=yes
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.
$ac_ext >&5
23092 ac_header_preproc
=no
23094 rm -f conftest.err conftest.
$ac_ext
23095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23096 echo "${ECHO_T}$ac_header_preproc" >&6
23098 # So? What about this header?
23099 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23105 ac_header_preproc
=yes
23108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23122 ## ----------------------------------------- ##
23123 ## Report this to wx-dev@lists.wxwidgets.org ##
23124 ## ----------------------------------------- ##
23127 sed "s/^/$as_me: WARNING: /" >&2
23130 echo "$as_me:$LINENO: checking for $ac_header" >&5
23131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 eval "$as_ac_Header=\$ac_header_preproc"
23137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23142 cat >>confdefs.h
<<_ACEOF
23143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23151 if test "$ac_cv_header_iostream" = "yes" ; then
23154 cat >>confdefs.h
<<\_ACEOF
23155 #define wxUSE_IOSTREAMH 1
23161 ac_cpp
='$CXXCPP $CPPFLAGS'
23162 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23169 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23170 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23171 if test "${wx_cv_cpp_bool+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23178 ac_cpp
='$CXXCPP $CPPFLAGS'
23179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23184 cat >conftest.
$ac_ext <<_ACEOF
23187 cat confdefs.h
>>conftest.
$ac_ext
23188 cat >>conftest.
$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23204 rm -f conftest.
$ac_objext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23206 (eval $ac_compile) 2>conftest.er1
23208 grep -v '^ *+' conftest.er1
>conftest.err
23210 cat conftest.err
>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try
='test -s conftest.$ac_objext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.
$ac_ext >&5
23237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23240 ac_cpp
='$CXXCPP $CPPFLAGS'
23241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23247 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23250 if test "$wx_cv_cpp_bool" = "yes"; then
23251 cat >>confdefs.h
<<\_ACEOF
23252 #define HAVE_BOOL 1
23259 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23261 if test "${wx_cv_explicit+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 ac_cpp
='$CXXCPP $CPPFLAGS'
23269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23274 cat >conftest.
$ac_ext <<_ACEOF
23277 cat confdefs.h
>>conftest.
$ac_ext
23278 cat >>conftest.
$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23281 class Foo { public: explicit Foo(int) {} };
23293 rm -f conftest.
$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23297 grep -v '^ *+' conftest.er1
>conftest.err
23299 cat conftest.err
>&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try
='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23315 cat >conftest.
$ac_ext <<_ACEOF
23318 cat confdefs.h
>>conftest.
$ac_ext
23319 cat >>conftest.
$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23322 class Foo { public: explicit Foo(int) {} };
23323 static void TakeFoo(const Foo& foo) { }
23336 rm -f conftest.
$ac_objext
23337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>conftest.er1
23340 grep -v '^ *+' conftest.er1
>conftest.err
23342 cat conftest.err
>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try
='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.
$ac_ext >&5
23374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23377 ac_cpp
='$CXXCPP $CPPFLAGS'
23378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23384 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23385 echo "${ECHO_T}$wx_cv_explicit" >&6
23387 if test "$wx_cv_explicit" = "yes"; then
23388 cat >>confdefs.h
<<\_ACEOF
23389 #define HAVE_EXPLICIT 1
23395 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23396 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23397 if test "${ac_cv_cxx_const_cast+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 ac_cpp
='$CXXCPP $CPPFLAGS'
23404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23408 cat >conftest.
$ac_ext <<_ACEOF
23411 cat confdefs.h
>>conftest.
$ac_ext
23412 cat >>conftest.
$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23423 rm -f conftest.
$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23427 grep -v '^ *+' conftest.er1
>conftest.err
23429 cat conftest.err
>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try
='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_cv_cxx_const_cast
=yes
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.
$ac_ext >&5
23449 ac_cv_cxx_const_cast
=no
23451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23453 ac_cpp
='$CXXCPP $CPPFLAGS'
23454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23460 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23461 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23462 if test "$ac_cv_cxx_const_cast" = yes; then
23464 cat >>confdefs.h
<<\_ACEOF
23465 #define HAVE_CONST_CAST
23470 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23471 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23472 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23478 ac_cpp
='$CXXCPP $CPPFLAGS'
23479 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23483 cat >conftest.
$ac_ext <<_ACEOF
23486 cat confdefs.h
>>conftest.
$ac_ext
23487 cat >>conftest.
$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23489 #include <typeinfo>
23490 class Base { public : Base () {} virtual void f () = 0;};
23491 class Derived : public Base { public : Derived () {} virtual void f () {} };
23492 class Unrelated { public : Unrelated () {} };
23493 int g (Unrelated&) { return 0; }
23498 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23503 rm -f conftest.
$ac_objext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23505 (eval $ac_compile) 2>conftest.er1
23507 grep -v '^ *+' conftest.er1
>conftest.err
23509 cat conftest.err
>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try
='test -s conftest.$ac_objext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23524 ac_cv_cxx_reinterpret_cast
=yes
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.
$ac_ext >&5
23529 ac_cv_cxx_reinterpret_cast
=no
23531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23533 ac_cpp
='$CXXCPP $CPPFLAGS'
23534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23540 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23541 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23542 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23544 cat >>confdefs.h
<<\_ACEOF
23545 #define HAVE_REINTERPRET_CAST
23550 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23551 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23552 if test "${ac_cv_cxx_static_cast+set}" = set; then
23553 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 ac_cpp
='$CXXCPP $CPPFLAGS'
23559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23563 cat >conftest.
$ac_ext <<_ACEOF
23566 cat confdefs.h
>>conftest.
$ac_ext
23567 cat >>conftest.
$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569 #include <typeinfo>
23570 class Base { public : Base () {} virtual void f () = 0; };
23571 class Derived : public Base { public : Derived () {} virtual void f () {} };
23572 int g (Derived&) { return 0; }
23577 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23582 rm -f conftest.
$ac_objext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23584 (eval $ac_compile) 2>conftest.er1
23586 grep -v '^ *+' conftest.er1
>conftest.err
23588 cat conftest.err
>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } &&
23591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; } &&
23597 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
23603 ac_cv_cxx_static_cast
=yes
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.
$ac_ext >&5
23608 ac_cv_cxx_static_cast
=no
23610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23612 ac_cpp
='$CXXCPP $CPPFLAGS'
23613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23619 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23620 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23621 if test "$ac_cv_cxx_static_cast" = yes; then
23623 cat >>confdefs.h
<<\_ACEOF
23624 #define HAVE_STATIC_CAST
23630 if test "x$SUNCXX" = xyes
; then
23631 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23634 if test "x$SUNCC" = xyes
; then
23635 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23638 if test "x$SGICC" = "xyes"; then
23639 CFLAGS
="-woff 3970 $CFLAGS"
23641 if test "x$SGICXX" = "xyes"; then
23642 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23645 if test "x$HPCC" = "xyes"; then
23646 CFLAGS
="+W 2011,2450 $CFLAGS"
23648 if test "x$HPCXX" = "xyes"; then
23649 CXXFLAGS
="+W 2340 $CXXFLAGS"
23652 if test "x$COMPAQCXX" = "xyes"; then
23653 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23656 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23657 if test "$wxUSE_UNICODE" = "yes"; then
23658 std_string
="std::wstring"
23659 char_type
="wchar_t"
23661 std_string
="std::string"
23665 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23666 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23667 cat >conftest.
$ac_ext <<_ACEOF
23670 cat confdefs.h
>>conftest.
$ac_ext
23671 cat >>conftest.
$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23682 rm -f conftest.
$ac_objext
23683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23684 (eval $ac_compile) 2>conftest.er1
23686 grep -v '^ *+' conftest.er1
>conftest.err
23688 cat conftest.err
>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try
='test -s conftest.$ac_objext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 echo "$as_me:$LINENO: result: yes" >&5
23704 echo "${ECHO_T}yes" >&6
23705 cat >>confdefs.h
<<\_ACEOF
23706 #define HAVE_STD_WSTRING 1
23710 echo "$as_me: failed program was:" >&5
23711 sed 's/^/| /' conftest.
$ac_ext >&5
23713 echo "$as_me:$LINENO: result: no" >&5
23714 echo "${ECHO_T}no" >&6
23715 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23716 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23717 cat >conftest.
$ac_ext <<_ACEOF
23720 cat confdefs.h
>>conftest.
$ac_ext
23721 cat >>conftest.
$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23724 #ifdef HAVE_WCHAR_H
23726 # include <stddef.h>
23728 # include <wchar.h>
23730 #ifdef HAVE_STDLIB_H
23731 # include <stdlib.h>
23739 std::basic_string<$char_type> foo;
23740 const $char_type* dummy = foo.c_str();
23745 rm -f conftest.
$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23749 grep -v '^ *+' conftest.er1
>conftest.err
23751 cat conftest.err
>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try
='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 echo "$as_me:$LINENO: result: yes" >&5
23767 echo "${ECHO_T}yes" >&6
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.
$ac_ext >&5
23772 echo "$as_me:$LINENO: result: no" >&5
23773 echo "${ECHO_T}no" >&6
23774 if test "$wxUSE_STL" = "yes"; then
23775 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23776 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23777 { (exit 1); exit 1; }; }
23778 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23779 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23780 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23781 { (exit 1); exit 1; }; }
23783 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23784 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23785 wxUSE_STD_STRING
=no
23790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23796 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23797 echo "$as_me:$LINENO: checking for std::istream" >&5
23798 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23799 if test "${ac_cv_type_std__istream+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 cat >conftest.
$ac_ext <<_ACEOF
23805 cat confdefs.h
>>conftest.
$ac_ext
23806 cat >>conftest.
$ac_ext <<_ACEOF
23807 /* end confdefs.h. */
23808 #include <iostream>
23813 if ((std::istream *) 0)
23815 if (sizeof (std::istream))
23821 rm -f conftest.
$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23825 grep -v '^ *+' conftest.er1
>conftest.err
23827 cat conftest.err
>&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try
='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 ac_cv_type_std__istream
=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.
$ac_ext >&5
23847 ac_cv_type_std__istream
=no
23849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23851 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23852 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23853 if test $ac_cv_type_std__istream = yes; then
23855 cat >>confdefs.h
<<_ACEOF
23856 #define HAVE_STD__ISTREAM 1
23861 wxUSE_STD_IOSTREAM
=no
23863 echo "$as_me:$LINENO: checking for std::ostream" >&5
23864 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23865 if test "${ac_cv_type_std__ostream+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 cat >conftest.
$ac_ext <<_ACEOF
23871 cat confdefs.h
>>conftest.
$ac_ext
23872 cat >>conftest.
$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #include <iostream>
23879 if ((std::ostream *) 0)
23881 if (sizeof (std::ostream))
23887 rm -f conftest.
$ac_objext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23889 (eval $ac_compile) 2>conftest.er1
23891 grep -v '^ *+' conftest.er1
>conftest.err
23893 cat conftest.err
>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } &&
23896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; } &&
23902 { ac_try
='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908 ac_cv_type_std__ostream
=yes
23910 echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.
$ac_ext >&5
23913 ac_cv_type_std__ostream
=no
23915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23917 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23918 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23919 if test $ac_cv_type_std__ostream = yes; then
23921 cat >>confdefs.h
<<_ACEOF
23922 #define HAVE_STD__OSTREAM 1
23927 wxUSE_STD_IOSTREAM
=no
23931 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23932 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23933 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23934 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23935 { (exit 1); exit 1; }; }
23937 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23938 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23943 if test "$wxUSE_STL" = "yes"; then
23944 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23945 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23946 cat >conftest.
$ac_ext <<_ACEOF
23949 cat confdefs.h
>>conftest.
$ac_ext
23950 cat >>conftest.
$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23953 #include <functional>
23954 #include <algorithm>
23960 std::vector<int> moo;
23961 std::list<int> foo;
23962 std::vector<int>::iterator it =
23963 std::find_if(moo.begin(), moo.end(),
23964 std::bind2nd(std::less<int>(), 3));
23969 rm -f conftest.
$ac_objext
23970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23971 (eval $ac_compile) 2>conftest.er1
23973 grep -v '^ *+' conftest.er1
>conftest.err
23975 cat conftest.err
>&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } &&
23978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; } &&
23984 { ac_try
='test -s conftest.$ac_objext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 echo "$as_me:$LINENO: result: yes" >&5
23991 echo "${ECHO_T}yes" >&6
23993 echo "$as_me: failed program was:" >&5
23994 sed 's/^/| /' conftest.
$ac_ext >&5
23996 echo "$as_me:$LINENO: result: no" >&5
23997 echo "${ECHO_T}no" >&6
23998 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23999 echo "$as_me: error: Basic STL functionality missing" >&2;}
24000 { (exit 1); exit 1; }; }
24002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24004 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24005 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24006 cat >conftest.
$ac_ext <<_ACEOF
24009 cat confdefs.h
>>conftest.
$ac_ext
24010 cat >>conftest.
$ac_ext <<_ACEOF
24011 /* end confdefs.h. */
24016 std::string foo, bar;
24018 foo.compare(1, 1, bar);
24019 foo.compare(1, 1, bar, 1, 1);
24021 foo.compare(1, 1, "");
24022 foo.compare(1, 1, "", 2);
24027 rm -f conftest.
$ac_objext
24028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24029 (eval $ac_compile) 2>conftest.er1
24031 grep -v '^ *+' conftest.er1
>conftest.err
24033 cat conftest.err
>&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } &&
24036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24038 (eval $ac_try) 2>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; } &&
24042 { ac_try
='test -s conftest.$ac_objext'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 echo "$as_me:$LINENO: result: yes" >&5
24049 echo "${ECHO_T}yes" >&6
24050 cat >>confdefs.h
<<\_ACEOF
24051 #define HAVE_STD_STRING_COMPARE 1
24055 echo "$as_me: failed program was:" >&5
24056 sed 's/^/| /' conftest.
$ac_ext >&5
24058 echo "$as_me:$LINENO: result: no" >&5
24059 echo "${ECHO_T}no" >&6
24061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24063 if test "${ac_cv_header_hash_map+set}" = set; then
24064 echo "$as_me:$LINENO: checking for hash_map" >&5
24065 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24066 if test "${ac_cv_header_hash_map+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24070 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24072 # Is the header compilable?
24073 echo "$as_me:$LINENO: checking hash_map usability" >&5
24074 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24075 cat >conftest.
$ac_ext <<_ACEOF
24078 cat confdefs.h
>>conftest.
$ac_ext
24079 cat >>conftest.
$ac_ext <<_ACEOF
24080 /* end confdefs.h. */
24081 $ac_includes_default
24082 #include <hash_map>
24084 rm -f conftest.
$ac_objext
24085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24086 (eval $ac_compile) 2>conftest.er1
24088 grep -v '^ *+' conftest.er1
>conftest.err
24090 cat conftest.err
>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; } &&
24099 { ac_try
='test -s conftest.$ac_objext'
24100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24101 (eval $ac_try) 2>&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); }; }; then
24105 ac_header_compiler
=yes
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.
$ac_ext >&5
24110 ac_header_compiler
=no
24112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24114 echo "${ECHO_T}$ac_header_compiler" >&6
24116 # Is the header present?
24117 echo "$as_me:$LINENO: checking hash_map presence" >&5
24118 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24119 cat >conftest.
$ac_ext <<_ACEOF
24122 cat confdefs.h
>>conftest.
$ac_ext
24123 cat >>conftest.
$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 #include <hash_map>
24127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24130 grep -v '^ *+' conftest.er1
>conftest.err
24132 cat conftest.err
>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } >/dev
/null
; then
24135 if test -s conftest.err
; then
24136 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24137 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24144 if test -z "$ac_cpp_err"; then
24145 ac_header_preproc
=yes
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.
$ac_ext >&5
24150 ac_header_preproc
=no
24152 rm -f conftest.err conftest.
$ac_ext
24153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24154 echo "${ECHO_T}$ac_header_preproc" >&6
24156 # So? What about this header?
24157 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24159 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24160 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24161 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24162 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24163 ac_header_preproc
=yes
24166 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24167 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24168 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24169 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24170 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24171 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24172 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24173 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24174 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24175 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24176 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24177 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24180 ## ----------------------------------------- ##
24181 ## Report this to wx-dev@lists.wxwidgets.org ##
24182 ## ----------------------------------------- ##
24185 sed "s/^/$as_me: WARNING: /" >&2
24188 echo "$as_me:$LINENO: checking for hash_map" >&5
24189 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24190 if test "${ac_cv_header_hash_map+set}" = set; then
24191 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 ac_cv_header_hash_map
=$ac_header_preproc
24195 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24196 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24199 if test $ac_cv_header_hash_map = yes; then
24200 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24201 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24202 cat >conftest.
$ac_ext <<_ACEOF
24205 cat confdefs.h
>>conftest.
$ac_ext
24206 cat >>conftest.
$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 #include <hash_map>
24209 #include <hash_set>
24213 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24214 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24219 rm -f conftest.
$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 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); } &&
24228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; } &&
24234 { ac_try
='test -s conftest.$ac_objext'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; }; then
24240 echo "$as_me:$LINENO: result: yes" >&5
24241 echo "${ECHO_T}yes" >&6
24242 cat >>confdefs.h
<<\_ACEOF
24243 #define HAVE_HASH_MAP 1
24246 cat >>confdefs.h
<<\_ACEOF
24247 #define HAVE_STD_HASH_MAP 1
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.
$ac_ext >&5
24254 echo "$as_me:$LINENO: result: no" >&5
24255 echo "${ECHO_T}no" >&6
24257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24263 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24264 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24265 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24266 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24269 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24270 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24272 # Is the header compilable?
24273 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24274 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24275 cat >conftest.
$ac_ext <<_ACEOF
24278 cat confdefs.h
>>conftest.
$ac_ext
24279 cat >>conftest.
$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281 $ac_includes_default
24282 #include <ext/hash_map>
24284 rm -f conftest.
$ac_objext
24285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24286 (eval $ac_compile) 2>conftest.er1
24288 grep -v '^ *+' conftest.er1
>conftest.err
24290 cat conftest.err
>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } &&
24293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; } &&
24299 { ac_try
='test -s conftest.$ac_objext'
24300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301 (eval $ac_try) 2>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); }; }; then
24305 ac_header_compiler
=yes
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.
$ac_ext >&5
24310 ac_header_compiler
=no
24312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24314 echo "${ECHO_T}$ac_header_compiler" >&6
24316 # Is the header present?
24317 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24318 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24319 cat >conftest.
$ac_ext <<_ACEOF
24322 cat confdefs.h
>>conftest.
$ac_ext
24323 cat >>conftest.
$ac_ext <<_ACEOF
24324 /* end confdefs.h. */
24325 #include <ext/hash_map>
24327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24330 grep -v '^ *+' conftest.er1
>conftest.err
24332 cat conftest.err
>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } >/dev
/null
; then
24335 if test -s conftest.err
; then
24336 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24337 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24344 if test -z "$ac_cpp_err"; then
24345 ac_header_preproc
=yes
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.
$ac_ext >&5
24350 ac_header_preproc
=no
24352 rm -f conftest.err conftest.
$ac_ext
24353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24354 echo "${ECHO_T}$ac_header_preproc" >&6
24356 # So? What about this header?
24357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24359 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24360 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24361 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24362 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24363 ac_header_preproc
=yes
24366 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24367 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24369 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24371 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24373 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24375 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24376 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24377 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24380 ## ----------------------------------------- ##
24381 ## Report this to wx-dev@lists.wxwidgets.org ##
24382 ## ----------------------------------------- ##
24385 sed "s/^/$as_me: WARNING: /" >&2
24388 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24389 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24390 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 ac_cv_header_ext_hash_map
=$ac_header_preproc
24395 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24396 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24399 if test $ac_cv_header_ext_hash_map = yes; then
24400 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24401 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24402 cat >conftest.
$ac_ext <<_ACEOF
24405 cat confdefs.h
>>conftest.
$ac_ext
24406 cat >>conftest.
$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 #include <ext/hash_map>
24409 #include <ext/hash_set>
24413 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24414 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24419 rm -f conftest.
$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>conftest.er1
24423 grep -v '^ *+' conftest.er1
>conftest.err
24425 cat conftest.err
>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 (eval $ac_try) 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; } &&
24434 { ac_try
='test -s conftest.$ac_objext'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; }; then
24440 echo "$as_me:$LINENO: result: yes" >&5
24441 echo "${ECHO_T}yes" >&6
24442 cat >>confdefs.h
<<\_ACEOF
24443 #define HAVE_EXT_HASH_MAP 1
24446 cat >>confdefs.h
<<\_ACEOF
24447 #define HAVE_GNU_CXX_HASH_MAP 1
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.
$ac_ext >&5
24454 echo "$as_me:$LINENO: result: no" >&5
24455 echo "${ECHO_T}no" >&6
24457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24466 /usr/local/include \
24468 /usr/Motif-2.1/include \
24469 /usr/Motif-1.2/include \
24470 /usr/include/Motif1.2 \
24473 /usr/openwin/include \
24477 /usr/X11R6/include \
24478 /usr/X11R6.4/include \
24479 /usr/X11R5/include \
24480 /usr/X11R4/include \
24482 /usr/include/X11R6 \
24483 /usr/include/X11R5 \
24484 /usr/include/X11R4 \
24486 /usr/local/X11R6/include \
24487 /usr/local/X11R5/include \
24488 /usr/local/X11R4/include \
24490 /usr/local/include/X11R6 \
24491 /usr/local/include/X11R5 \
24492 /usr/local/include/X11R4 \
24496 /usr/local/X11/include \
24497 /usr/local/include/X11 \
24499 /usr/XFree86/include/X11 \
24502 /usr/openwin/share/include"
24504 echo "$as_me:$LINENO: checking for libraries directory" >&5
24505 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24509 if test "${wx_cv_std_libpath+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24514 for e
in a so sl dylib dll.a
; do
24516 if test -f $libc; then
24519 cat >conftest.
$ac_ext <<_ACEOF
24520 int main() { return 0; }
24522 rm -f conftest.
$ac_objext conftest
$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>conftest.er1
24526 grep -v '^ *+' conftest.er1
>conftest.err
24528 cat conftest.err
>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } &&
24531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; } &&
24537 { ac_try
='test -s conftest$ac_exeext'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.
$ac_ext >&5
24549 rm -f conftest.err conftest.
$ac_objext \
24550 conftest
$ac_exeext conftest.
$ac_ext
24552 if test "x$wx_cv_std_libpath" != "x"; then
24558 if test "x$wx_cv_std_libpath" = "x"; then
24559 wx_cv_std_libpath
="lib"
24568 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24569 wx_cv_std_libpath
="lib/64"
24571 wx_cv_std_libpath
="lib"
24576 if test "$ac_cv_sizeof_void_p" = 8 -a \
24577 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24578 wx_cv_std_libpath
="lib64"
24580 wx_cv_std_libpath
="lib"
24585 wx_cv_std_libpath
="lib";
24589 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24590 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24592 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24594 if test "$build" != "$host" -a "$GCC" = yes; then
24595 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24596 cross_root
=`dirname $cross_root`
24597 cross_root
=`dirname $cross_root`
24599 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24600 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24601 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24603 if test -z "$PKG_CONFIG_PATH"; then
24604 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24605 export PKG_CONFIG_PATH
24608 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24611 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24613 if test -f "$ac_dir/X11/Intrinsic.h"; then
24614 ac_find_includes
=$ac_dir
24619 x_includes
=$ac_find_includes
24621 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24624 for ac_dir
in $SEARCH_LIB;
24626 for ac_extension
in a so sl dylib dll.a
; do
24627 if test -f "$ac_dir/libXt.$ac_extension"; then
24628 ac_find_libraries
=$ac_dir
24634 x_libraries
=$ac_find_libraries
24640 cat >confcache
<<\_ACEOF
24641 # This file is a shell script that caches the results of configure
24642 # tests run on this system so they can be shared between configure
24643 # scripts and configure runs, see configure's option --config-cache.
24644 # It is not useful on other systems. If it contains results you don't
24645 # want to keep, you may remove or edit it.
24647 # config.status only pays attention to the cache file if you give it
24648 # the --recheck option to rerun configure.
24650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24652 # following values.
24656 # The following way of writing the cache mishandles newlines in values,
24657 # but we know of no workaround that is simple, portable, and efficient.
24658 # So, don't put newlines in cache variables' values.
24659 # Ultrix sh set writes to stderr and can't be redirected directly,
24660 # and sets the high bit in the cache file unless we assign to the vars.
24663 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24665 # `set' does not quote correctly, so add quotes (double-quote
24666 # substitution turns \\\\ into \\, and sed turns \\ into \).
24669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24672 # `set' quotes correctly as required by POSIX, so do not add quotes.
24674 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24683 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24685 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24686 if test -w $cache_file; then
24687 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24688 cat confcache
>$cache_file
24690 echo "not updating unwritable cache $cache_file"
24695 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24696 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24697 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24698 if test "${wx_cv_lib_glibc21+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 cat >conftest.
$ac_ext <<_ACEOF
24705 cat confdefs.h
>>conftest.
$ac_ext
24706 cat >>conftest.
$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 #include <features.h>
24713 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24721 rm -f conftest.
$ac_objext
24722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24723 (eval $ac_compile) 2>conftest.er1
24725 grep -v '^ *+' conftest.er1
>conftest.err
24727 cat conftest.err
>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try
='test -s conftest.$ac_objext'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; }; then
24743 wx_cv_lib_glibc21
=yes
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.
$ac_ext >&5
24750 wx_cv_lib_glibc21
=no
24754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24757 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24758 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24759 if test "$wx_cv_lib_glibc21" = "yes"; then
24760 cat >>confdefs.h
<<\_ACEOF
24761 #define wxHAVE_GLIBC2 1
24767 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24768 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24769 cat >>confdefs.h
<<\_ACEOF
24770 #define _GNU_SOURCE 1
24781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24782 echo "$as_me:$LINENO: checking for $ac_func" >&5
24783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24784 if eval "test \"\${$as_ac_var+set}\" = set"; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 cat >conftest.
$ac_ext <<_ACEOF
24790 cat confdefs.h
>>conftest.
$ac_ext
24791 cat >>conftest.
$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24795 #define $ac_func innocuous_$ac_func
24797 /* System header to define __stub macros and hopefully few prototypes,
24798 which can conflict with char $ac_func (); below.
24799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24800 <limits.h> exists even on freestanding compilers. */
24803 # include <limits.h>
24805 # include <assert.h>
24810 /* Override any gcc2 internal prototype to avoid an error. */
24815 /* We use char because int might match the return type of a gcc2
24816 builtin and then its argument prototype would still apply. */
24818 /* The GNU C library defines this for functions which it implements
24819 to always fail with ENOSYS. Some functions are actually named
24820 something starting with __ and the normal name is an alias. */
24821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24824 char (*f) () = $ac_func;
24833 return f != $ac_func;
24838 rm -f conftest.
$ac_objext conftest
$ac_exeext
24839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24840 (eval $ac_link) 2>conftest.er1
24842 grep -v '^ *+' conftest.er1
>conftest.err
24844 cat conftest.err
>&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; } &&
24853 { ac_try
='test -s conftest$ac_exeext'
24854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24855 (eval $ac_try) 2>&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); }; }; then
24859 eval "$as_ac_var=yes"
24861 echo "$as_me: failed program was:" >&5
24862 sed 's/^/| /' conftest.
$ac_ext >&5
24864 eval "$as_ac_var=no"
24866 rm -f conftest.err conftest.
$ac_objext \
24867 conftest
$ac_exeext conftest.
$ac_ext
24869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24871 if test `eval echo '${'$as_ac_var'}'` = yes; then
24872 cat >>confdefs.h
<<_ACEOF
24873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24880 for ac_func
in floor
24882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24883 echo "$as_me:$LINENO: checking for $ac_func" >&5
24884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24885 if eval "test \"\${$as_ac_var+set}\" = set"; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 cat >conftest.
$ac_ext <<_ACEOF
24891 cat confdefs.h
>>conftest.
$ac_ext
24892 cat >>conftest.
$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24896 #define $ac_func innocuous_$ac_func
24898 /* System header to define __stub macros and hopefully few prototypes,
24899 which can conflict with char $ac_func (); below.
24900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24901 <limits.h> exists even on freestanding compilers. */
24904 # include <limits.h>
24906 # include <assert.h>
24911 /* Override any gcc2 internal prototype to avoid an error. */
24916 /* We use char because int might match the return type of a gcc2
24917 builtin and then its argument prototype would still apply. */
24919 /* The GNU C library defines this for functions which it implements
24920 to always fail with ENOSYS. Some functions are actually named
24921 something starting with __ and the normal name is an alias. */
24922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24925 char (*f) () = $ac_func;
24934 return f != $ac_func;
24939 rm -f conftest.
$ac_objext conftest
$ac_exeext
24940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24941 (eval $ac_link) 2>conftest.er1
24943 grep -v '^ *+' conftest.er1
>conftest.err
24945 cat conftest.err
>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); } &&
24948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try
='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 eval "$as_ac_var=yes"
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.
$ac_ext >&5
24965 eval "$as_ac_var=no"
24967 rm -f conftest.err conftest.
$ac_objext \
24968 conftest
$ac_exeext conftest.
$ac_ext
24970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24972 if test `eval echo '${'$as_ac_var'}'` = yes; then
24973 cat >>confdefs.h
<<_ACEOF
24974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24980 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24981 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24982 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24983 echo "$as_me:$LINENO: result: yes" >&5
24984 echo "${ECHO_T}yes" >&6
24986 echo "$as_me:$LINENO: result: no" >&5
24987 echo "${ECHO_T}no" >&6
24989 # use different functions to avoid configure caching
24995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24996 echo "$as_me:$LINENO: checking for $ac_func" >&5
24997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24998 if eval "test \"\${$as_ac_var+set}\" = set"; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 cat >conftest.
$ac_ext <<_ACEOF
25004 cat confdefs.h
>>conftest.
$ac_ext
25005 cat >>conftest.
$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25009 #define $ac_func innocuous_$ac_func
25011 /* System header to define __stub macros and hopefully few prototypes,
25012 which can conflict with char $ac_func (); below.
25013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25014 <limits.h> exists even on freestanding compilers. */
25017 # include <limits.h>
25019 # include <assert.h>
25024 /* Override any gcc2 internal prototype to avoid an error. */
25029 /* We use char because int might match the return type of a gcc2
25030 builtin and then its argument prototype would still apply. */
25032 /* The GNU C library defines this for functions which it implements
25033 to always fail with ENOSYS. Some functions are actually named
25034 something starting with __ and the normal name is an alias. */
25035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25038 char (*f) () = $ac_func;
25047 return f != $ac_func;
25052 rm -f conftest.
$ac_objext conftest
$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>conftest.er1
25056 grep -v '^ *+' conftest.er1
>conftest.err
25058 cat conftest.err
>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; } &&
25067 { ac_try
='test -s conftest$ac_exeext'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; }; then
25073 eval "$as_ac_var=yes"
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.
$ac_ext >&5
25078 eval "$as_ac_var=no"
25080 rm -f conftest.err conftest.
$ac_objext \
25081 conftest
$ac_exeext conftest.
$ac_ext
25083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25085 if test `eval echo '${'$as_ac_var'}'` = yes; then
25086 cat >>confdefs.h
<<_ACEOF
25087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25094 for ac_func
in ceil
25096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25097 echo "$as_me:$LINENO: checking for $ac_func" >&5
25098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25099 if eval "test \"\${$as_ac_var+set}\" = set"; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 cat >conftest.
$ac_ext <<_ACEOF
25105 cat confdefs.h
>>conftest.
$ac_ext
25106 cat >>conftest.
$ac_ext <<_ACEOF
25107 /* end confdefs.h. */
25108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25110 #define $ac_func innocuous_$ac_func
25112 /* System header to define __stub macros and hopefully few prototypes,
25113 which can conflict with char $ac_func (); below.
25114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25115 <limits.h> exists even on freestanding compilers. */
25118 # include <limits.h>
25120 # include <assert.h>
25125 /* Override any gcc2 internal prototype to avoid an error. */
25130 /* We use char because int might match the return type of a gcc2
25131 builtin and then its argument prototype would still apply. */
25133 /* The GNU C library defines this for functions which it implements
25134 to always fail with ENOSYS. Some functions are actually named
25135 something starting with __ and the normal name is an alias. */
25136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25139 char (*f) () = $ac_func;
25148 return f != $ac_func;
25153 rm -f conftest.
$ac_objext conftest
$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>conftest.er1
25157 grep -v '^ *+' conftest.er1
>conftest.err
25159 cat conftest.err
>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } &&
25162 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
25194 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25195 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25196 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25197 echo "$as_me:$LINENO: result: yes" >&5
25198 echo "${ECHO_T}yes" >&6
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25202 # not sure we should warn the user, crash, etc.
25208 if test "$wxUSE_REGEX" != "no"; then
25209 cat >>confdefs.h
<<\_ACEOF
25210 #define wxUSE_REGEX 1
25214 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25215 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25216 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25217 wxUSE_REGEX
=builtin
25220 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25221 if test "${ac_cv_header_regex_h+set}" = set; then
25222 echo "$as_me:$LINENO: checking for regex.h" >&5
25223 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25224 if test "${ac_cv_header_regex_h+set}" = set; then
25225 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25228 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25230 # Is the header compilable?
25231 echo "$as_me:$LINENO: checking regex.h usability" >&5
25232 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25233 cat >conftest.
$ac_ext <<_ACEOF
25236 cat confdefs.h
>>conftest.
$ac_ext
25237 cat >>conftest.
$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 $ac_includes_default
25242 rm -f conftest.
$ac_objext
25243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25244 (eval $ac_compile) 2>conftest.er1
25246 grep -v '^ *+' conftest.er1
>conftest.err
25248 cat conftest.err
>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } &&
25251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; } &&
25257 { ac_try
='test -s conftest.$ac_objext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 ac_header_compiler
=yes
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.
$ac_ext >&5
25268 ac_header_compiler
=no
25270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25272 echo "${ECHO_T}$ac_header_compiler" >&6
25274 # Is the header present?
25275 echo "$as_me:$LINENO: checking regex.h presence" >&5
25276 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25277 cat >conftest.
$ac_ext <<_ACEOF
25280 cat confdefs.h
>>conftest.
$ac_ext
25281 cat >>conftest.
$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25288 grep -v '^ *+' conftest.er1
>conftest.err
25290 cat conftest.err
>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } >/dev
/null
; then
25293 if test -s conftest.err
; then
25294 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25295 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25302 if test -z "$ac_cpp_err"; then
25303 ac_header_preproc
=yes
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.
$ac_ext >&5
25308 ac_header_preproc
=no
25310 rm -f conftest.err conftest.
$ac_ext
25311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25312 echo "${ECHO_T}$ac_header_preproc" >&6
25314 # So? What about this header?
25315 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25317 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25318 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25319 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25320 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25321 ac_header_preproc
=yes
25324 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25325 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25326 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25327 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25328 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25329 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25331 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25332 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25333 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25334 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25335 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25338 ## ----------------------------------------- ##
25339 ## Report this to wx-dev@lists.wxwidgets.org ##
25340 ## ----------------------------------------- ##
25343 sed "s/^/$as_me: WARNING: /" >&2
25346 echo "$as_me:$LINENO: checking for regex.h" >&5
25347 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25348 if test "${ac_cv_header_regex_h+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 ac_cv_header_regex_h
=$ac_header_preproc
25353 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25354 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25357 if test $ac_cv_header_regex_h = yes; then
25360 for ac_func
in regcomp re_search
25362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25363 echo "$as_me:$LINENO: checking for $ac_func" >&5
25364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25365 if eval "test \"\${$as_ac_var+set}\" = set"; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 cat >conftest.
$ac_ext <<_ACEOF
25371 cat confdefs.h
>>conftest.
$ac_ext
25372 cat >>conftest.
$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25376 #define $ac_func innocuous_$ac_func
25378 /* System header to define __stub macros and hopefully few prototypes,
25379 which can conflict with char $ac_func (); below.
25380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25381 <limits.h> exists even on freestanding compilers. */
25384 # include <limits.h>
25386 # include <assert.h>
25391 /* Override any gcc2 internal prototype to avoid an error. */
25396 /* We use char because int might match the return type of a gcc2
25397 builtin and then its argument prototype would still apply. */
25399 /* The GNU C library defines this for functions which it implements
25400 to always fail with ENOSYS. Some functions are actually named
25401 something starting with __ and the normal name is an alias. */
25402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25405 char (*f) () = $ac_func;
25414 return f != $ac_func;
25419 rm -f conftest.
$ac_objext conftest
$ac_exeext
25420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25421 (eval $ac_link) 2>conftest.er1
25423 grep -v '^ *+' conftest.er1
>conftest.err
25425 cat conftest.err
>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } &&
25428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; } &&
25434 { ac_try
='test -s conftest$ac_exeext'
25435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25436 (eval $ac_try) 2>&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); }; }; then
25440 eval "$as_ac_var=yes"
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.
$ac_ext >&5
25445 eval "$as_ac_var=no"
25447 rm -f conftest.err conftest.
$ac_objext \
25448 conftest
$ac_exeext conftest.
$ac_ext
25450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25452 if test `eval echo '${'$as_ac_var'}'` = yes; then
25453 cat >>confdefs.h
<<_ACEOF
25454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25464 if test "x$ac_cv_func_regcomp" != "xyes"; then
25465 if test "$wxUSE_REGEX" = "sys" ; then
25466 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25467 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25468 { (exit 1); exit 1; }; }
25470 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25471 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25472 wxUSE_REGEX
=builtin
25476 cat >>confdefs.h
<<\_ACEOF
25477 #define WX_NO_REGEX_ADVANCED 1
25486 if test "$wxUSE_ZLIB" != "no" ; then
25487 cat >>confdefs.h
<<\_ACEOF
25488 #define wxUSE_ZLIB 1
25492 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25493 if test "$USE_DARWIN" = 1; then
25494 system_zlib_h_ok
="yes"
25496 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25497 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25498 if test "${ac_cv_header_zlib_h+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 if test "$cross_compiling" = yes; then
25502 unset ac_cv_header_zlib_h
25505 cat >conftest.
$ac_ext <<_ACEOF
25508 cat confdefs.h
>>conftest.
$ac_ext
25509 cat >>conftest.
$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25517 FILE *f=fopen("conftestval", "w");
25520 ZLIB_VERSION[0] == '1' &&
25521 (ZLIB_VERSION[2] > '1' ||
25522 (ZLIB_VERSION[2] == '1' &&
25523 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25528 rm -f conftest
$ac_exeext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_header_zlib_h
=`cat conftestval`
25541 echo "$as_me: program exited with status $ac_status" >&5
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.
$ac_ext >&5
25545 ( exit $ac_status )
25546 ac_cv_header_zlib_h
=no
25548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25552 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25553 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25554 if test "${ac_cv_header_zlib_h+set}" = set; then
25555 echo "$as_me:$LINENO: checking for zlib.h" >&5
25556 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25557 if test "${ac_cv_header_zlib_h+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25561 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25563 # Is the header compilable?
25564 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25565 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25566 cat >conftest.
$ac_ext <<_ACEOF
25569 cat confdefs.h
>>conftest.
$ac_ext
25570 cat >>conftest.
$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25572 $ac_includes_default
25575 rm -f conftest.
$ac_objext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25577 (eval $ac_compile) 2>conftest.er1
25579 grep -v '^ *+' conftest.er1
>conftest.err
25581 cat conftest.err
>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; } &&
25590 { ac_try
='test -s conftest.$ac_objext'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; }; then
25596 ac_header_compiler
=yes
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.
$ac_ext >&5
25601 ac_header_compiler
=no
25603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25605 echo "${ECHO_T}$ac_header_compiler" >&6
25607 # Is the header present?
25608 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25609 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25610 cat >conftest.
$ac_ext <<_ACEOF
25613 cat confdefs.h
>>conftest.
$ac_ext
25614 cat >>conftest.
$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25621 grep -v '^ *+' conftest.er1
>conftest.err
25623 cat conftest.err
>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } >/dev
/null
; then
25626 if test -s conftest.err
; then
25627 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25628 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25635 if test -z "$ac_cpp_err"; then
25636 ac_header_preproc
=yes
25638 echo "$as_me: failed program was:" >&5
25639 sed 's/^/| /' conftest.
$ac_ext >&5
25641 ac_header_preproc
=no
25643 rm -f conftest.err conftest.
$ac_ext
25644 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25645 echo "${ECHO_T}$ac_header_preproc" >&6
25647 # So? What about this header?
25648 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25650 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25651 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25652 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25653 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25654 ac_header_preproc
=yes
25657 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25658 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25659 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25660 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25661 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25662 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25663 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25664 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25666 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25668 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25671 ## ----------------------------------------- ##
25672 ## Report this to wx-dev@lists.wxwidgets.org ##
25673 ## ----------------------------------------- ##
25676 sed "s/^/$as_me: WARNING: /" >&2
25679 echo "$as_me:$LINENO: checking for zlib.h" >&5
25680 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25681 if test "${ac_cv_header_zlib_h+set}" = set; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25684 ac_cv_header_zlib_h
=$ac_header_preproc
25686 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25687 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25693 system_zlib_h_ok
=$ac_cv_header_zlib_h
25696 if test "$system_zlib_h_ok" = "yes"; then
25697 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25698 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25699 if test "${ac_cv_lib_z_deflate+set}" = set; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 ac_check_lib_save_LIBS
=$LIBS
25704 cat >conftest.
$ac_ext <<_ACEOF
25707 cat confdefs.h
>>conftest.
$ac_ext
25708 cat >>conftest.
$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25711 /* Override any gcc2 internal prototype to avoid an error. */
25715 /* We use char because int might match the return type of a gcc2
25716 builtin and then its argument prototype would still apply. */
25726 rm -f conftest.
$ac_objext conftest
$ac_exeext
25727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25728 (eval $ac_link) 2>conftest.er1
25730 grep -v '^ *+' conftest.er1
>conftest.err
25732 cat conftest.err
>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; } &&
25741 { ac_try
='test -s conftest$ac_exeext'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; }; then
25747 ac_cv_lib_z_deflate
=yes
25749 echo "$as_me: failed program was:" >&5
25750 sed 's/^/| /' conftest.
$ac_ext >&5
25752 ac_cv_lib_z_deflate
=no
25754 rm -f conftest.err conftest.
$ac_objext \
25755 conftest
$ac_exeext conftest.
$ac_ext
25756 LIBS
=$ac_check_lib_save_LIBS
25758 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25759 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25760 if test $ac_cv_lib_z_deflate = yes; then
25766 if test "x$ZLIB_LINK" = "x" ; then
25767 if test "$wxUSE_ZLIB" = "sys" ; then
25768 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25769 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25770 { (exit 1); exit 1; }; }
25772 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25773 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25784 if test "$wxUSE_LIBPNG" != "no" ; then
25785 cat >>confdefs.h
<<\_ACEOF
25786 #define wxUSE_LIBPNG 1
25790 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25791 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25792 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25796 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25797 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25798 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25799 wxUSE_LIBPNG
=builtin
25802 if test "$wxUSE_MGL" != 1 ; then
25803 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25804 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25805 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25806 if test "${ac_cv_header_png_h+set}" = set; then
25807 echo $ECHO_N "(cached) $ECHO_C" >&6
25809 if test "$cross_compiling" = yes; then
25810 unset ac_cv_header_png_h
25813 cat >conftest.
$ac_ext <<_ACEOF
25816 cat confdefs.h
>>conftest.
$ac_ext
25817 cat >>conftest.
$ac_ext <<_ACEOF
25818 /* end confdefs.h. */
25825 FILE *f=fopen("conftestval", "w");
25828 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25833 rm -f conftest
$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_cv_header_png_h
=`cat conftestval`
25846 echo "$as_me: program exited with status $ac_status" >&5
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.
$ac_ext >&5
25850 ( exit $ac_status )
25851 ac_cv_header_png_h
=no
25853 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25857 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25858 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25859 if test "${ac_cv_header_png_h+set}" = set; then
25860 echo "$as_me:$LINENO: checking for png.h" >&5
25861 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25862 if test "${ac_cv_header_png_h+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25866 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25868 # Is the header compilable?
25869 echo "$as_me:$LINENO: checking png.h usability" >&5
25870 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25871 cat >conftest.
$ac_ext <<_ACEOF
25874 cat confdefs.h
>>conftest.
$ac_ext
25875 cat >>conftest.
$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 $ac_includes_default
25880 rm -f conftest.
$ac_objext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25882 (eval $ac_compile) 2>conftest.er1
25884 grep -v '^ *+' conftest.er1
>conftest.err
25886 cat conftest.err
>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try
='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_header_compiler
=yes
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.
$ac_ext >&5
25906 ac_header_compiler
=no
25908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25910 echo "${ECHO_T}$ac_header_compiler" >&6
25912 # Is the header present?
25913 echo "$as_me:$LINENO: checking png.h presence" >&5
25914 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25915 cat >conftest.
$ac_ext <<_ACEOF
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25926 grep -v '^ *+' conftest.er1
>conftest.err
25928 cat conftest.err
>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } >/dev
/null
; then
25931 if test -s conftest.err
; then
25932 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25933 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25940 if test -z "$ac_cpp_err"; then
25941 ac_header_preproc
=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.
$ac_ext >&5
25946 ac_header_preproc
=no
25948 rm -f conftest.err conftest.
$ac_ext
25949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25950 echo "${ECHO_T}$ac_header_preproc" >&6
25952 # So? What about this header?
25953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25955 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25956 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25957 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25958 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25959 ac_header_preproc
=yes
25962 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25963 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25964 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25965 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25966 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25967 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25968 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25969 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25970 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25971 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25973 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25976 ## ----------------------------------------- ##
25977 ## Report this to wx-dev@lists.wxwidgets.org ##
25978 ## ----------------------------------------- ##
25981 sed "s/^/$as_me: WARNING: /" >&2
25984 echo "$as_me:$LINENO: checking for png.h" >&5
25985 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25986 if test "${ac_cv_header_png_h+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25989 ac_cv_header_png_h
=$ac_header_preproc
25991 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25992 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25998 if test "$ac_cv_header_png_h" = "yes"; then
25999 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26000 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26001 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26002 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 ac_check_lib_save_LIBS
=$LIBS
26005 LIBS
="-lpng -lz -lm $LIBS"
26006 cat >conftest.
$ac_ext <<_ACEOF
26009 cat confdefs.h
>>conftest.
$ac_ext
26010 cat >>conftest.
$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26013 /* Override any gcc2 internal prototype to avoid an error. */
26017 /* We use char because int might match the return type of a gcc2
26018 builtin and then its argument prototype would still apply. */
26019 char png_check_sig ();
26028 rm -f conftest.
$ac_objext conftest
$ac_exeext
26029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26030 (eval $ac_link) 2>conftest.er1
26032 grep -v '^ *+' conftest.er1
>conftest.err
26034 cat conftest.err
>&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; } &&
26043 { ac_try
='test -s conftest$ac_exeext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 ac_cv_lib_png_png_check_sig
=yes
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.
$ac_ext >&5
26054 ac_cv_lib_png_png_check_sig
=no
26056 rm -f conftest.err conftest.
$ac_objext \
26057 conftest
$ac_exeext conftest.
$ac_ext
26058 LIBS
=$ac_check_lib_save_LIBS
26060 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26061 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26062 if test $ac_cv_lib_png_png_check_sig = yes; then
26063 PNG_LINK
=" -lpng -lz"
26068 if test "x$PNG_LINK" = "x" ; then
26069 if test "$wxUSE_LIBPNG" = "sys" ; then
26070 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26071 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26072 { (exit 1); exit 1; }; }
26074 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26075 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26076 wxUSE_LIBPNG
=builtin
26084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26089 if test "$wxUSE_LIBJPEG" != "no" ; then
26090 cat >>confdefs.h
<<\_ACEOF
26091 #define wxUSE_LIBJPEG 1
26095 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26096 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26097 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26101 if test "$wxUSE_MGL" != 1 ; then
26102 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26103 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26104 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26105 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 cat >conftest.
$ac_ext <<_ACEOF
26111 cat confdefs.h
>>conftest.
$ac_ext
26112 cat >>conftest.
$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26115 #undef HAVE_STDLIB_H
26117 #include <jpeglib.h>
26128 rm -f conftest.
$ac_objext
26129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26130 (eval $ac_compile) 2>conftest.er1
26132 grep -v '^ *+' conftest.er1
>conftest.err
26134 cat conftest.err
>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } &&
26137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; } &&
26143 { ac_try
='test -s conftest.$ac_objext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 ac_cv_header_jpeglib_h
=yes
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.
$ac_ext >&5
26154 ac_cv_header_jpeglib_h
=no
26157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26161 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26162 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26164 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26165 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26166 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26167 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 ac_check_lib_save_LIBS
=$LIBS
26171 LIBS
="-ljpeg $LIBS"
26172 cat >conftest.
$ac_ext <<_ACEOF
26175 cat confdefs.h
>>conftest.
$ac_ext
26176 cat >>conftest.
$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26179 /* Override any gcc2 internal prototype to avoid an error. */
26183 /* We use char because int might match the return type of a gcc2
26184 builtin and then its argument prototype would still apply. */
26185 char jpeg_read_header ();
26189 jpeg_read_header ();
26194 rm -f conftest.
$ac_objext conftest
$ac_exeext
26195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26196 (eval $ac_link) 2>conftest.er1
26198 grep -v '^ *+' conftest.er1
>conftest.err
26200 cat conftest.err
>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } &&
26203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26205 (eval $ac_try) 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); }; } &&
26209 { ac_try
='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 ac_cv_lib_jpeg_jpeg_read_header
=yes
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.
$ac_ext >&5
26220 ac_cv_lib_jpeg_jpeg_read_header
=no
26222 rm -f conftest.err conftest.
$ac_objext \
26223 conftest
$ac_exeext conftest.
$ac_ext
26224 LIBS
=$ac_check_lib_save_LIBS
26226 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26227 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26228 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26229 JPEG_LINK
=" -ljpeg"
26234 if test "x$JPEG_LINK" = "x" ; then
26235 if test "$wxUSE_LIBJPEG" = "sys" ; then
26236 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26237 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26238 { (exit 1); exit 1; }; }
26240 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26241 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26242 wxUSE_LIBJPEG
=builtin
26253 TIFF_PREREQ_LINKS
=-lm
26254 if test "$wxUSE_LIBTIFF" != "no" ; then
26255 cat >>confdefs.h
<<\_ACEOF
26256 #define wxUSE_LIBTIFF 1
26260 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26261 if test "$wxUSE_LIBJPEG" = "sys"; then
26262 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26264 if test "$wxUSE_ZLIB" = "sys"; then
26265 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26267 if test "${ac_cv_header_tiffio_h+set}" = set; then
26268 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26269 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26270 if test "${ac_cv_header_tiffio_h+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26274 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26276 # Is the header compilable?
26277 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26278 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26279 cat >conftest.
$ac_ext <<_ACEOF
26282 cat confdefs.h
>>conftest.
$ac_ext
26283 cat >>conftest.
$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285 $ac_includes_default
26286 #include <tiffio.h>
26288 rm -f conftest.
$ac_objext
26289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26290 (eval $ac_compile) 2>conftest.er1
26292 grep -v '^ *+' conftest.er1
>conftest.err
26294 cat conftest.err
>&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } &&
26297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26299 (eval $ac_try) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); }; } &&
26303 { ac_try
='test -s conftest.$ac_objext'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; }; then
26309 ac_header_compiler
=yes
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 ac_header_compiler
=no
26316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26318 echo "${ECHO_T}$ac_header_compiler" >&6
26320 # Is the header present?
26321 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26322 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26323 cat >conftest.
$ac_ext <<_ACEOF
26326 cat confdefs.h
>>conftest.
$ac_ext
26327 cat >>conftest.
$ac_ext <<_ACEOF
26328 /* end confdefs.h. */
26329 #include <tiffio.h>
26331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26334 grep -v '^ *+' conftest.er1
>conftest.err
26336 cat conftest.err
>&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } >/dev
/null
; then
26339 if test -s conftest.err
; then
26340 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26341 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26348 if test -z "$ac_cpp_err"; then
26349 ac_header_preproc
=yes
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.
$ac_ext >&5
26354 ac_header_preproc
=no
26356 rm -f conftest.err conftest.
$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26358 echo "${ECHO_T}$ac_header_preproc" >&6
26360 # So? What about this header?
26361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26363 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26364 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26365 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26366 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26367 ac_header_preproc
=yes
26370 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26371 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26373 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26375 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26377 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26379 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26380 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26381 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26384 ## ----------------------------------------- ##
26385 ## Report this to wx-dev@lists.wxwidgets.org ##
26386 ## ----------------------------------------- ##
26389 sed "s/^/$as_me: WARNING: /" >&2
26392 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26393 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26394 if test "${ac_cv_header_tiffio_h+set}" = set; then
26395 echo $ECHO_N "(cached) $ECHO_C" >&6
26397 ac_cv_header_tiffio_h
=$ac_header_preproc
26399 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26400 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26403 if test $ac_cv_header_tiffio_h = yes; then
26405 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26406 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26407 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26410 ac_check_lib_save_LIBS
=$LIBS
26411 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26412 cat >conftest.
$ac_ext <<_ACEOF
26415 cat confdefs.h
>>conftest.
$ac_ext
26416 cat >>conftest.
$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26419 /* Override any gcc2 internal prototype to avoid an error. */
26423 /* We use char because int might match the return type of a gcc2
26424 builtin and then its argument prototype would still apply. */
26434 rm -f conftest.
$ac_objext conftest
$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>conftest.er1
26438 grep -v '^ *+' conftest.er1
>conftest.err
26440 cat conftest.err
>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try
='test -s conftest$ac_exeext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 ac_cv_lib_tiff_TIFFError
=yes
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.
$ac_ext >&5
26460 ac_cv_lib_tiff_TIFFError
=no
26462 rm -f conftest.err conftest.
$ac_objext \
26463 conftest
$ac_exeext conftest.
$ac_ext
26464 LIBS
=$ac_check_lib_save_LIBS
26466 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26467 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26468 if test $ac_cv_lib_tiff_TIFFError = yes; then
26469 TIFF_LINK
=" -ltiff"
26478 if test "x$TIFF_LINK" = "x" ; then
26479 if test "$wxUSE_LIBTIFF" = "sys" ; then
26480 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26481 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26482 { (exit 1); exit 1; }; }
26484 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26485 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26486 wxUSE_LIBTIFF
=builtin
26495 if test "$wxUSE_WCHAR_T" != "yes"; then
26496 if test "$wxUSE_EXPAT" != "no"; then
26497 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26498 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26501 if test "$wxUSE_XML" != "no"; then
26502 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26503 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26508 if test "$wxUSE_EXPAT" != "no"; then
26510 cat >>confdefs.h
<<\_ACEOF
26511 #define wxUSE_EXPAT 1
26514 cat >>confdefs.h
<<\_ACEOF
26515 #define wxUSE_XML 1
26519 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26520 if test "${ac_cv_header_expat_h+set}" = set; then
26521 echo "$as_me:$LINENO: checking for expat.h" >&5
26522 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26523 if test "${ac_cv_header_expat_h+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26529 # Is the header compilable?
26530 echo "$as_me:$LINENO: checking expat.h usability" >&5
26531 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26532 cat >conftest.
$ac_ext <<_ACEOF
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 $ac_includes_default
26541 rm -f conftest.
$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try
='test -s conftest.$ac_objext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_header_compiler
=yes
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.
$ac_ext >&5
26567 ac_header_compiler
=no
26569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26571 echo "${ECHO_T}$ac_header_compiler" >&6
26573 # Is the header present?
26574 echo "$as_me:$LINENO: checking expat.h presence" >&5
26575 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26576 cat >conftest.
$ac_ext <<_ACEOF
26579 cat confdefs.h
>>conftest.
$ac_ext
26580 cat >>conftest.
$ac_ext <<_ACEOF
26581 /* end confdefs.h. */
26584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26587 grep -v '^ *+' conftest.er1
>conftest.err
26589 cat conftest.err
>&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } >/dev
/null
; then
26592 if test -s conftest.err
; then
26593 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26594 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26601 if test -z "$ac_cpp_err"; then
26602 ac_header_preproc
=yes
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.
$ac_ext >&5
26607 ac_header_preproc
=no
26609 rm -f conftest.err conftest.
$ac_ext
26610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26611 echo "${ECHO_T}$ac_header_preproc" >&6
26613 # So? What about this header?
26614 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26616 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26617 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26618 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26619 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26620 ac_header_preproc
=yes
26623 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26624 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26625 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26626 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26627 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26628 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26629 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26630 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26631 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26632 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26633 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26634 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26637 ## ----------------------------------------- ##
26638 ## Report this to wx-dev@lists.wxwidgets.org ##
26639 ## ----------------------------------------- ##
26642 sed "s/^/$as_me: WARNING: /" >&2
26645 echo "$as_me:$LINENO: checking for expat.h" >&5
26646 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26647 if test "${ac_cv_header_expat_h+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 ac_cv_header_expat_h
=$ac_header_preproc
26652 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26653 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26656 if test $ac_cv_header_expat_h = yes; then
26661 if test "x$found_expat_h" = "x1"; then
26662 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26663 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26664 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 cat >conftest.
$ac_ext <<_ACEOF
26671 cat confdefs.h
>>conftest.
$ac_ext
26672 cat >>conftest.
$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26683 rm -f conftest.
$ac_objext
26684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26685 (eval $ac_compile) 2>conftest.er1
26687 grep -v '^ *+' conftest.er1
>conftest.err
26689 cat conftest.err
>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } &&
26692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; } &&
26698 { ac_try
='test -s conftest.$ac_objext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26704 wx_cv_expat_is_not_broken
=yes
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.
$ac_ext >&5
26709 wx_cv_expat_is_not_broken
=no
26712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26716 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26717 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26718 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26719 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26720 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26721 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 ac_check_lib_save_LIBS
=$LIBS
26725 LIBS
="-lexpat $LIBS"
26726 cat >conftest.
$ac_ext <<_ACEOF
26729 cat confdefs.h
>>conftest.
$ac_ext
26730 cat >>conftest.
$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26733 /* Override any gcc2 internal prototype to avoid an error. */
26737 /* We use char because int might match the return type of a gcc2
26738 builtin and then its argument prototype would still apply. */
26739 char XML_ParserCreate ();
26743 XML_ParserCreate ();
26748 rm -f conftest.
$ac_objext conftest
$ac_exeext
26749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26750 (eval $ac_link) 2>conftest.er1
26752 grep -v '^ *+' conftest.er1
>conftest.err
26754 cat conftest.err
>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } &&
26757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try
='test -s conftest$ac_exeext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 ac_cv_lib_expat_XML_ParserCreate
=yes
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.
$ac_ext >&5
26774 ac_cv_lib_expat_XML_ParserCreate
=no
26776 rm -f conftest.err conftest.
$ac_objext \
26777 conftest
$ac_exeext conftest.
$ac_ext
26778 LIBS
=$ac_check_lib_save_LIBS
26780 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26781 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26782 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26783 EXPAT_LINK
=" -lexpat"
26788 if test "x$EXPAT_LINK" = "x" ; then
26789 if test "$wxUSE_EXPAT" = "sys" ; then
26790 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26791 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26792 { (exit 1); exit 1; }; }
26794 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26795 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26796 wxUSE_EXPAT
=builtin
26802 if test "$wxUSE_EXPAT" = "builtin" ; then
26805 subdirs
="$subdirs src/expat"
26812 if test "$wxUSE_LIBMSPACK" != "no"; then
26813 if test "${ac_cv_header_mspack_h+set}" = set; then
26814 echo "$as_me:$LINENO: checking for mspack.h" >&5
26815 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26816 if test "${ac_cv_header_mspack_h+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26819 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26822 # Is the header compilable?
26823 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26824 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26825 cat >conftest.
$ac_ext <<_ACEOF
26828 cat confdefs.h
>>conftest.
$ac_ext
26829 cat >>conftest.
$ac_ext <<_ACEOF
26830 /* end confdefs.h. */
26831 $ac_includes_default
26832 #include <mspack.h>
26834 rm -f conftest.
$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26838 grep -v '^ *+' conftest.er1
>conftest.err
26840 cat conftest.err
>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try
='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_header_compiler
=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.
$ac_ext >&5
26860 ac_header_compiler
=no
26862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26864 echo "${ECHO_T}$ac_header_compiler" >&6
26866 # Is the header present?
26867 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26868 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26869 cat >conftest.
$ac_ext <<_ACEOF
26872 cat confdefs.h
>>conftest.
$ac_ext
26873 cat >>conftest.
$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <mspack.h>
26877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26880 grep -v '^ *+' conftest.er1
>conftest.err
26882 cat conftest.err
>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } >/dev
/null
; then
26885 if test -s conftest.err
; then
26886 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26887 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26894 if test -z "$ac_cpp_err"; then
26895 ac_header_preproc
=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26900 ac_header_preproc
=no
26902 rm -f conftest.err conftest.
$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26904 echo "${ECHO_T}$ac_header_preproc" >&6
26906 # So? What about this header?
26907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26909 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26910 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26912 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26913 ac_header_preproc
=yes
26916 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26917 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26918 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26919 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26920 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26921 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26922 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26923 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26925 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26927 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26930 ## ----------------------------------------- ##
26931 ## Report this to wx-dev@lists.wxwidgets.org ##
26932 ## ----------------------------------------- ##
26935 sed "s/^/$as_me: WARNING: /" >&2
26938 echo "$as_me:$LINENO: checking for mspack.h" >&5
26939 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26940 if test "${ac_cv_header_mspack_h+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 ac_cv_header_mspack_h
=$ac_header_preproc
26945 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26946 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26949 if test $ac_cv_header_mspack_h = yes; then
26954 if test "x$found_mspack_h" = "x1"; then
26955 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26956 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26957 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26960 ac_check_lib_save_LIBS
=$LIBS
26961 LIBS
="-lmspack $LIBS"
26962 cat >conftest.
$ac_ext <<_ACEOF
26965 cat confdefs.h
>>conftest.
$ac_ext
26966 cat >>conftest.
$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26969 /* Override any gcc2 internal prototype to avoid an error. */
26973 /* We use char because int might match the return type of a gcc2
26974 builtin and then its argument prototype would still apply. */
26975 char mspack_create_chm_decompressor ();
26979 mspack_create_chm_decompressor ();
26984 rm -f conftest.
$ac_objext conftest
$ac_exeext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26986 (eval $ac_link) 2>conftest.er1
26988 grep -v '^ *+' conftest.er1
>conftest.err
26990 cat conftest.err
>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } &&
26993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; } &&
26999 { ac_try
='test -s conftest$ac_exeext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27010 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27012 rm -f conftest.err conftest.
$ac_objext \
27013 conftest
$ac_exeext conftest.
$ac_ext
27014 LIBS
=$ac_check_lib_save_LIBS
27016 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27017 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27018 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27019 MSPACK_LINK
=" -lmspack"
27023 if test "x$MSPACK_LINK" = "x" ; then
27028 if test "$wxUSE_LIBMSPACK" != "no"; then
27029 cat >>confdefs.h
<<\_ACEOF
27030 #define wxUSE_LIBMSPACK 1
27044 if test "$USE_WIN32" = 1 ; then
27046 for ac_header
in w32api.h
27048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27050 echo "$as_me:$LINENO: checking for $ac_header" >&5
27051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27058 # Is the header compilable?
27059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27061 cat >conftest.
$ac_ext <<_ACEOF
27064 cat confdefs.h
>>conftest.
$ac_ext
27065 cat >>conftest.
$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 $ac_includes_default
27068 #include <$ac_header>
27070 rm -f conftest.
$ac_objext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27072 (eval $ac_compile) 2>conftest.er1
27074 grep -v '^ *+' conftest.er1
>conftest.err
27076 cat conftest.err
>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try
='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_header_compiler
=yes
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27096 ac_header_compiler
=no
27098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27100 echo "${ECHO_T}$ac_header_compiler" >&6
27102 # Is the header present?
27103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27105 cat >conftest.
$ac_ext <<_ACEOF
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <$ac_header>
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27116 grep -v '^ *+' conftest.er1
>conftest.err
27118 cat conftest.err
>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev
/null
; then
27121 if test -s conftest.err
; then
27122 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27123 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27130 if test -z "$ac_cpp_err"; then
27131 ac_header_preproc
=yes
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.
$ac_ext >&5
27136 ac_header_preproc
=no
27138 rm -f conftest.err conftest.
$ac_ext
27139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27140 echo "${ECHO_T}$ac_header_preproc" >&6
27142 # So? What about this header?
27143 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27149 ac_header_preproc
=yes
27152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27166 ## ----------------------------------------- ##
27167 ## Report this to wx-dev@lists.wxwidgets.org ##
27168 ## ----------------------------------------- ##
27171 sed "s/^/$as_me: WARNING: /" >&2
27174 echo "$as_me:$LINENO: checking for $ac_header" >&5
27175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 eval "$as_ac_Header=\$ac_header_preproc"
27181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27186 cat >>confdefs.h
<<_ACEOF
27187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27194 if test "${ac_cv_header_windows_h+set}" = set; then
27195 echo "$as_me:$LINENO: checking for windows.h" >&5
27196 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27197 if test "${ac_cv_header_windows_h+set}" = set; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27201 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27203 # Is the header compilable?
27204 echo "$as_me:$LINENO: checking windows.h usability" >&5
27205 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27206 cat >conftest.
$ac_ext <<_ACEOF
27209 cat confdefs.h
>>conftest.
$ac_ext
27210 cat >>conftest.
$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 $ac_includes_default
27213 #include <windows.h>
27215 rm -f conftest.
$ac_objext
27216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27217 (eval $ac_compile) 2>conftest.er1
27219 grep -v '^ *+' conftest.er1
>conftest.err
27221 cat conftest.err
>&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); } &&
27224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; } &&
27230 { ac_try
='test -s conftest.$ac_objext'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; }; then
27236 ac_header_compiler
=yes
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.
$ac_ext >&5
27241 ac_header_compiler
=no
27243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27245 echo "${ECHO_T}$ac_header_compiler" >&6
27247 # Is the header present?
27248 echo "$as_me:$LINENO: checking windows.h presence" >&5
27249 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27250 cat >conftest.
$ac_ext <<_ACEOF
27253 cat confdefs.h
>>conftest.
$ac_ext
27254 cat >>conftest.
$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <windows.h>
27258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27261 grep -v '^ *+' conftest.er1
>conftest.err
27263 cat conftest.err
>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } >/dev
/null
; then
27266 if test -s conftest.err
; then
27267 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27268 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27275 if test -z "$ac_cpp_err"; then
27276 ac_header_preproc
=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.
$ac_ext >&5
27281 ac_header_preproc
=no
27283 rm -f conftest.err conftest.
$ac_ext
27284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27285 echo "${ECHO_T}$ac_header_preproc" >&6
27287 # So? What about this header?
27288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27290 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27291 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27292 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27293 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27294 ac_header_preproc
=yes
27297 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27298 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27299 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27300 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27301 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27302 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27303 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27304 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27305 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27306 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27307 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27308 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27311 ## ----------------------------------------- ##
27312 ## Report this to wx-dev@lists.wxwidgets.org ##
27313 ## ----------------------------------------- ##
27316 sed "s/^/$as_me: WARNING: /" >&2
27319 echo "$as_me:$LINENO: checking for windows.h" >&5
27320 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27321 if test "${ac_cv_header_windows_h+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 ac_cv_header_windows_h
=$ac_header_preproc
27326 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27327 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27330 if test $ac_cv_header_windows_h = yes; then
27334 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27335 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27336 { (exit 1); exit 1; }; }
27342 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27344 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27345 LIBS
="$LIBS -loleacc"
27350 LIBS
="$LIBS -lkernel32 -luser32"
27353 if test "$wxUSE_ODBC" = "sys" ; then
27356 if test "$wxUSE_ODBC" = "yes" ; then
27357 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27358 cat >>confdefs.h
<<\_ACEOF
27359 #define wxUSE_ODBC 1
27364 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27365 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27367 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27369 WIN32INSTALL
=win32install
27371 echo "$as_me:$LINENO: checking for boolean" >&5
27372 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27373 if test "${ac_cv_type_boolean+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 cat >conftest.
$ac_ext <<_ACEOF
27379 cat confdefs.h
>>conftest.
$ac_ext
27380 cat >>conftest.
$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 #include <windows.h>
27389 if (sizeof (boolean))
27395 rm -f conftest.
$ac_objext
27396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27397 (eval $ac_compile) 2>conftest.er1
27399 grep -v '^ *+' conftest.er1
>conftest.err
27401 cat conftest.err
>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); } &&
27404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try
='test -s conftest.$ac_objext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 ac_cv_type_boolean
=yes
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.
$ac_ext >&5
27421 ac_cv_type_boolean
=no
27423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27425 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27426 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27427 if test $ac_cv_type_boolean = yes; then
27429 cat >>confdefs.h
<<_ACEOF
27430 #define HAVE_BOOLEAN 1
27438 for ac_header
in pbt.h
27440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27442 echo "$as_me:$LINENO: checking for $ac_header" >&5
27443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27445 echo $ECHO_N "(cached) $ECHO_C" >&6
27447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27450 # Is the header compilable?
27451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27453 cat >conftest.
$ac_ext <<_ACEOF
27456 cat confdefs.h
>>conftest.
$ac_ext
27457 cat >>conftest.
$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 $ac_includes_default
27460 #include <$ac_header>
27462 rm -f conftest.
$ac_objext
27463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27464 (eval $ac_compile) 2>conftest.er1
27466 grep -v '^ *+' conftest.er1
>conftest.err
27468 cat conftest.err
>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } &&
27471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; } &&
27477 { ac_try
='test -s conftest.$ac_objext'
27478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27479 (eval $ac_try) 2>&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; }; then
27483 ac_header_compiler
=yes
27485 echo "$as_me: failed program was:" >&5
27486 sed 's/^/| /' conftest.
$ac_ext >&5
27488 ac_header_compiler
=no
27490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27492 echo "${ECHO_T}$ac_header_compiler" >&6
27494 # Is the header present?
27495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27497 cat >conftest.
$ac_ext <<_ACEOF
27500 cat confdefs.h
>>conftest.
$ac_ext
27501 cat >>conftest.
$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27503 #include <$ac_header>
27505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27508 grep -v '^ *+' conftest.er1
>conftest.err
27510 cat conftest.err
>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } >/dev
/null
; then
27513 if test -s conftest.err
; then
27514 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27515 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27522 if test -z "$ac_cpp_err"; then
27523 ac_header_preproc
=yes
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.
$ac_ext >&5
27528 ac_header_preproc
=no
27530 rm -f conftest.err conftest.
$ac_ext
27531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27532 echo "${ECHO_T}$ac_header_preproc" >&6
27534 # So? What about this header?
27535 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27541 ac_header_preproc
=yes
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27558 ## ----------------------------------------- ##
27559 ## Report this to wx-dev@lists.wxwidgets.org ##
27560 ## ----------------------------------------- ##
27563 sed "s/^/$as_me: WARNING: /" >&2
27566 echo "$as_me:$LINENO: checking for $ac_header" >&5
27567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27571 eval "$as_ac_Header=\$ac_header_preproc"
27573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27578 cat >>confdefs.h
<<_ACEOF
27579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27583 cat >>confdefs.h
<<\_ACEOF
27584 #define NEED_PBT_H 1
27593 if test "$wxUSE_GUI" = "yes"; then
27603 if test "$wxUSE_COCOA" = 1 ; then
27604 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27605 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27606 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27607 wxUSE_PRINTING_ARCHITECTURE
=no
27609 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27610 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27611 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27612 wxUSE_DRAG_AND_DROP
=no
27614 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27615 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27616 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27621 if test "$wxUSE_MSW" = 1 ; then
27627 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27631 if test "$wxUSE_GTK" = 1; then
27633 ac_cpp
='$CPP $CPPFLAGS'
27634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27639 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27640 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27642 gtk_version_cached
=1
27643 if test "${wx_cv_lib_gtk+set}" = set; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 gtk_version_cached
=0
27648 echo "$as_me:$LINENO: result: " >&5
27649 echo "${ECHO_T}" >&6
27652 if test "$wxUSE_THREADS" = "yes"; then
27653 GTK_MODULES
=gthread
27657 if test "x$wxGTK_VERSION" != "x1"
27661 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27666 # Check whether --enable-gtktest or --disable-gtktest was given.
27667 if test "${enable_gtktest+set}" = set; then
27668 enableval
="$enable_gtktest"
27674 pkg_config_args
=gtk
+-2.0
27675 for module
in .
$GTK_MODULES
27679 pkg_config_args
="$pkg_config_args gthread-2.0"
27686 # Extract the first word of "pkg-config", so it can be a program name with args.
27687 set dummy pkg
-config; ac_word
=$2
27688 echo "$as_me:$LINENO: checking for $ac_word" >&5
27689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27690 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27691 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 case $PKG_CONFIG in
27695 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27699 for as_dir
in $PATH
27702 test -z "$as_dir" && as_dir
=.
27703 for ac_exec_ext
in '' $ac_executable_extensions; do
27704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27705 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27712 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27716 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27718 if test -n "$PKG_CONFIG"; then
27719 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27720 echo "${ECHO_T}$PKG_CONFIG" >&6
27722 echo "$as_me:$LINENO: result: no" >&5
27723 echo "${ECHO_T}no" >&6
27727 if test x
$PKG_CONFIG != xno
; then
27728 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27731 echo "*** pkg-config too old; version 0.7 or better required."
27739 min_gtk_version
=2.0.0
27740 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27741 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27743 if test x
$PKG_CONFIG != xno
; then
27744 ## don't try to run the test against uninstalled libtool libs
27745 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27746 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27750 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27757 if test x
"$no_gtk" = x
; then
27758 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27759 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27760 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27762 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27764 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27766 if test "x$enable_gtktest" = "xyes" ; then
27767 ac_save_CFLAGS
="$CFLAGS"
27768 ac_save_LIBS
="$LIBS"
27769 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27770 LIBS
="$GTK_LIBS $LIBS"
27772 if test "$cross_compiling" = yes; then
27773 echo $ac_n "cross compiling; assumed OK... $ac_c"
27775 cat >conftest.
$ac_ext <<_ACEOF
27778 cat confdefs.h
>>conftest.
$ac_ext
27779 cat >>conftest.
$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27782 #include <gtk/gtk.h>
27784 #include <stdlib.h>
27789 int major, minor, micro;
27792 system ("touch conf.gtktest");
27794 /* HP/UX 9 (%@#!) writes to sscanf strings */
27795 tmp_version = g_strdup("$min_gtk_version");
27796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27797 printf("%s, bad version string\n", "$min_gtk_version");
27801 if ((gtk_major_version != $gtk_config_major_version) ||
27802 (gtk_minor_version != $gtk_config_minor_version) ||
27803 (gtk_micro_version != $gtk_config_micro_version))
27805 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27807 gtk_major_version, gtk_minor_version, gtk_micro_version);
27808 printf ("*** was found! If pkg-config was correct, then it is best\n");
27809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27812 printf("*** required on your system.\n");
27813 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27814 printf("*** to point to the correct configuration files\n");
27816 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27817 (gtk_minor_version != GTK_MINOR_VERSION) ||
27818 (gtk_micro_version != GTK_MICRO_VERSION))
27820 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27821 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27822 printf("*** library (version %d.%d.%d)\n",
27823 gtk_major_version, gtk_minor_version, gtk_micro_version);
27827 if ((gtk_major_version > major) ||
27828 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27829 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27835 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27836 gtk_major_version, gtk_minor_version, gtk_micro_version);
27837 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27838 major, minor, micro);
27839 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27841 printf("*** If you have already installed a sufficiently new version, this error\n");
27842 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27843 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27844 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27845 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27846 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27847 printf("*** so that the correct libraries are found at run-time))\n");
27854 rm -f conftest
$ac_exeext
27855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27856 (eval $ac_link) 2>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27867 echo "$as_me: program exited with status $ac_status" >&5
27868 echo "$as_me: failed program was:" >&5
27869 sed 's/^/| /' conftest.
$ac_ext >&5
27871 ( exit $ac_status )
27874 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27876 CFLAGS
="$ac_save_CFLAGS"
27877 LIBS
="$ac_save_LIBS"
27880 if test "x$no_gtk" = x
; then
27881 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27882 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27885 echo "$as_me:$LINENO: result: no" >&5
27886 echo "${ECHO_T}no" >&6
27887 if test "$PKG_CONFIG" = "no" ; then
27888 echo "*** A new enough version of pkg-config was not found."
27889 echo "*** See http://pkgconfig.sourceforge.net"
27891 if test -f conf.gtktest
; then
27894 echo "*** Could not run GTK+ test program, checking why..."
27895 ac_save_CFLAGS
="$CFLAGS"
27896 ac_save_LIBS
="$LIBS"
27897 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27898 LIBS
="$LIBS $GTK_LIBS"
27899 cat >conftest.
$ac_ext <<_ACEOF
27902 cat confdefs.h
>>conftest.
$ac_ext
27903 cat >>conftest.
$ac_ext <<_ACEOF
27904 /* end confdefs.h. */
27906 #include <gtk/gtk.h>
27912 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27917 rm -f conftest.
$ac_objext conftest
$ac_exeext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27919 (eval $ac_link) 2>conftest.er1
27921 grep -v '^ *+' conftest.er1
>conftest.err
27923 cat conftest.err
>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } &&
27926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928 (eval $ac_try) 2>&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); }; } &&
27932 { ac_try
='test -s conftest$ac_exeext'
27933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934 (eval $ac_try) 2>&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; }; then
27938 echo "*** The test program compiled, but did not run. This usually means"
27939 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27940 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27941 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27942 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27943 echo "*** is required on your system"
27945 echo "*** If you have an old version installed, it is best to remove it, although"
27946 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27948 echo "$as_me: failed program was:" >&5
27949 sed 's/^/| /' conftest.
$ac_ext >&5
27951 echo "*** The test program failed to compile or link. See the file config.log for the"
27952 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27954 rm -f conftest.err conftest.
$ac_objext \
27955 conftest
$ac_exeext conftest.
$ac_ext
27956 CFLAGS
="$ac_save_CFLAGS"
27957 LIBS
="$ac_save_LIBS"
27971 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27972 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27973 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27975 if test "$wxUSE_SHARED" != "yes"; then
27976 GTK_LIBS
="$GTK_LIBS -lX11"
27981 if test -z "$wx_cv_lib_gtk"; then
27982 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27984 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27985 if test "${with_gtk_prefix+set}" = set; then
27986 withval
="$with_gtk_prefix"
27987 gtk_config_prefix
="$withval"
27989 gtk_config_prefix
=""
27992 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27993 if test "${with_gtk_exec_prefix+set}" = set; then
27994 withval
="$with_gtk_exec_prefix"
27995 gtk_config_exec_prefix
="$withval"
27997 gtk_config_exec_prefix
=""
27999 # Check whether --enable-gtktest or --disable-gtktest was given.
28000 if test "${enable_gtktest+set}" = set; then
28001 enableval
="$enable_gtktest"
28007 for module
in .
$GTK_MODULES
28011 gtk_config_args
="$gtk_config_args gthread"
28016 if test x
$gtk_config_exec_prefix != x
; then
28017 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28018 if test x
${GTK_CONFIG+set} != xset
; then
28019 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28022 if test x
$gtk_config_prefix != x
; then
28023 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28024 if test x
${GTK_CONFIG+set} != xset
; then
28025 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28029 # Extract the first word of "gtk-config", so it can be a program name with args.
28030 set dummy gtk
-config; ac_word
=$2
28031 echo "$as_me:$LINENO: checking for $ac_word" >&5
28032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28033 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 case $GTK_CONFIG in
28038 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28042 for as_dir
in $PATH
28045 test -z "$as_dir" && as_dir
=.
28046 for ac_exec_ext
in '' $ac_executable_extensions; do
28047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28048 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28055 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28059 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28061 if test -n "$GTK_CONFIG"; then
28062 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28063 echo "${ECHO_T}$GTK_CONFIG" >&6
28065 echo "$as_me:$LINENO: result: no" >&5
28066 echo "${ECHO_T}no" >&6
28069 min_gtk_version
=1.2.7
28070 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28071 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28073 if test "$GTK_CONFIG" = "no" ; then
28076 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28077 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28078 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28080 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28082 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28084 if test "x$enable_gtktest" = "xyes" ; then
28085 ac_save_CFLAGS
="$CFLAGS"
28086 ac_save_LIBS
="$LIBS"
28087 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28088 LIBS
="$GTK_LIBS $LIBS"
28090 if test "$cross_compiling" = yes; then
28091 echo $ac_n "cross compiling; assumed OK... $ac_c"
28093 cat >conftest.
$ac_ext <<_ACEOF
28096 cat confdefs.h
>>conftest.
$ac_ext
28097 cat >>conftest.
$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28100 #include <gtk/gtk.h>
28102 #include <stdlib.h>
28107 int major, minor, micro;
28110 system ("touch conf.gtktest");
28112 /* HP/UX 9 (%@#!) writes to sscanf strings */
28113 tmp_version = g_strdup("$min_gtk_version");
28114 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28115 printf("%s, bad version string\n", "$min_gtk_version");
28119 if ((gtk_major_version != $gtk_config_major_version) ||
28120 (gtk_minor_version != $gtk_config_minor_version) ||
28121 (gtk_micro_version != $gtk_config_micro_version))
28123 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28124 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28125 gtk_major_version, gtk_minor_version, gtk_micro_version);
28126 printf ("*** was found! If gtk-config was correct, then it is best\n");
28127 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28128 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28129 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28130 printf("*** required on your system.\n");
28131 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28132 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28133 printf("*** before re-running configure\n");
28135 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28136 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28137 (gtk_minor_version != GTK_MINOR_VERSION) ||
28138 (gtk_micro_version != GTK_MICRO_VERSION))
28140 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28141 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28142 printf("*** library (version %d.%d.%d)\n",
28143 gtk_major_version, gtk_minor_version, gtk_micro_version);
28145 #endif /* defined (GTK_MAJOR_VERSION) ... */
28148 if ((gtk_major_version > major) ||
28149 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28150 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28156 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28157 gtk_major_version, gtk_minor_version, gtk_micro_version);
28158 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28159 major, minor, micro);
28160 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28162 printf("*** If you have already installed a sufficiently new version, this error\n");
28163 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28164 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28165 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28166 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28167 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28168 printf("*** so that the correct libraries are found at run-time))\n");
28175 rm -f conftest
$ac_exeext
28176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28177 (eval $ac_link) 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182 (eval $ac_try) 2>&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); }; }; then
28188 echo "$as_me: program exited with status $ac_status" >&5
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.
$ac_ext >&5
28192 ( exit $ac_status )
28195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28197 CFLAGS
="$ac_save_CFLAGS"
28198 LIBS
="$ac_save_LIBS"
28201 if test "x$no_gtk" = x
; then
28202 echo "$as_me:$LINENO: result: yes" >&5
28203 echo "${ECHO_T}yes" >&6
28204 wx_cv_lib_gtk
=1.2.7
28206 echo "$as_me:$LINENO: result: no" >&5
28207 echo "${ECHO_T}no" >&6
28208 if test "$GTK_CONFIG" = "no" ; then
28209 echo "*** The gtk-config script installed by GTK could not be found"
28210 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28211 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28212 echo "*** full path to gtk-config."
28214 if test -f conf.gtktest
; then
28217 echo "*** Could not run GTK test program, checking why..."
28218 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28219 LIBS
="$LIBS $GTK_LIBS"
28220 cat >conftest.
$ac_ext <<_ACEOF
28223 cat confdefs.h
>>conftest.
$ac_ext
28224 cat >>conftest.
$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28227 #include <gtk/gtk.h>
28233 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28238 rm -f conftest.
$ac_objext conftest
$ac_exeext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28240 (eval $ac_link) 2>conftest.er1
28242 grep -v '^ *+' conftest.er1
>conftest.err
28244 cat conftest.err
>&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try
='test -s conftest$ac_exeext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28259 echo "*** The test program compiled, but did not run. This usually means"
28260 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28261 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28262 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28263 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28264 echo "*** is required on your system"
28266 echo "*** If you have an old version installed, it is best to remove it, although"
28267 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28269 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28270 echo "*** came with the system with the command"
28272 echo "*** rpm --erase --nodeps gtk gtk-devel"
28274 echo "$as_me: failed program was:" >&5
28275 sed 's/^/| /' conftest.
$ac_ext >&5
28277 echo "*** The test program failed to compile or link. See the file config.log for the"
28278 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28279 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28280 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28282 rm -f conftest.err conftest.
$ac_objext \
28283 conftest
$ac_exeext conftest.
$ac_ext
28284 CFLAGS
="$ac_save_CFLAGS"
28285 LIBS
="$ac_save_LIBS"
28297 if test -z "$wx_cv_lib_gtk"; then
28299 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28300 if test "${with_gtk_prefix+set}" = set; then
28301 withval
="$with_gtk_prefix"
28302 gtk_config_prefix
="$withval"
28304 gtk_config_prefix
=""
28307 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28308 if test "${with_gtk_exec_prefix+set}" = set; then
28309 withval
="$with_gtk_exec_prefix"
28310 gtk_config_exec_prefix
="$withval"
28312 gtk_config_exec_prefix
=""
28314 # Check whether --enable-gtktest or --disable-gtktest was given.
28315 if test "${enable_gtktest+set}" = set; then
28316 enableval
="$enable_gtktest"
28322 for module
in .
$GTK_MODULES
28326 gtk_config_args
="$gtk_config_args gthread"
28331 if test x
$gtk_config_exec_prefix != x
; then
28332 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28333 if test x
${GTK_CONFIG+set} != xset
; then
28334 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28337 if test x
$gtk_config_prefix != x
; then
28338 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28339 if test x
${GTK_CONFIG+set} != xset
; then
28340 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28344 # Extract the first word of "gtk-config", so it can be a program name with args.
28345 set dummy gtk
-config; ac_word
=$2
28346 echo "$as_me:$LINENO: checking for $ac_word" >&5
28347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28348 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28351 case $GTK_CONFIG in
28353 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28357 for as_dir
in $PATH
28360 test -z "$as_dir" && as_dir
=.
28361 for ac_exec_ext
in '' $ac_executable_extensions; do
28362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28363 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28370 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28374 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28376 if test -n "$GTK_CONFIG"; then
28377 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28378 echo "${ECHO_T}$GTK_CONFIG" >&6
28380 echo "$as_me:$LINENO: result: no" >&5
28381 echo "${ECHO_T}no" >&6
28384 min_gtk_version
=1.2.3
28385 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28386 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28388 if test "$GTK_CONFIG" = "no" ; then
28391 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28392 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28393 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x$enable_gtktest" = "xyes" ; then
28400 ac_save_CFLAGS
="$CFLAGS"
28401 ac_save_LIBS
="$LIBS"
28402 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28403 LIBS
="$GTK_LIBS $LIBS"
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling; assumed OK... $ac_c"
28408 cat >conftest.
$ac_ext <<_ACEOF
28411 cat confdefs.h
>>conftest.
$ac_ext
28412 cat >>conftest.
$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28415 #include <gtk/gtk.h>
28417 #include <stdlib.h>
28422 int major, minor, micro;
28425 system ("touch conf.gtktest");
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28430 printf("%s, bad version string\n", "$min_gtk_version");
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28438 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found! If gtk-config was correct, then it is best\n");
28442 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28444 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28445 printf("*** required on your system.\n");
28446 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28447 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28448 printf("*** before re-running configure\n");
28450 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28452 (gtk_minor_version != GTK_MINOR_VERSION) ||
28453 (gtk_micro_version != GTK_MICRO_VERSION))
28455 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28457 printf("*** library (version %d.%d.%d)\n",
28458 gtk_major_version, gtk_minor_version, gtk_micro_version);
28460 #endif /* defined (GTK_MAJOR_VERSION) ... */
28463 if ((gtk_major_version > major) ||
28464 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28465 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28471 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28472 gtk_major_version, gtk_minor_version, gtk_micro_version);
28473 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28474 major, minor, micro);
28475 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28477 printf("*** If you have already installed a sufficiently new version, this error\n");
28478 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28479 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28480 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28481 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28482 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28483 printf("*** so that the correct libraries are found at run-time))\n");
28490 rm -f conftest
$ac_exeext
28491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28492 (eval $ac_link) 2>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28497 (eval $ac_try) 2>&5
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); }; }; then
28503 echo "$as_me: program exited with status $ac_status" >&5
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.
$ac_ext >&5
28507 ( exit $ac_status )
28510 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28512 CFLAGS
="$ac_save_CFLAGS"
28513 LIBS
="$ac_save_LIBS"
28516 if test "x$no_gtk" = x
; then
28517 echo "$as_me:$LINENO: result: yes" >&5
28518 echo "${ECHO_T}yes" >&6
28519 wx_cv_lib_gtk
=1.2.3
28521 echo "$as_me:$LINENO: result: no" >&5
28522 echo "${ECHO_T}no" >&6
28523 if test "$GTK_CONFIG" = "no" ; then
28524 echo "*** The gtk-config script installed by GTK could not be found"
28525 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28526 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28527 echo "*** full path to gtk-config."
28529 if test -f conf.gtktest
; then
28532 echo "*** Could not run GTK test program, checking why..."
28533 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28534 LIBS
="$LIBS $GTK_LIBS"
28535 cat >conftest.
$ac_ext <<_ACEOF
28538 cat confdefs.h
>>conftest.
$ac_ext
28539 cat >>conftest.
$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28542 #include <gtk/gtk.h>
28548 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28553 rm -f conftest.
$ac_objext conftest
$ac_exeext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28555 (eval $ac_link) 2>conftest.er1
28557 grep -v '^ *+' conftest.er1
>conftest.err
28559 cat conftest.err
>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; } &&
28568 { ac_try
='test -s conftest$ac_exeext'
28569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28570 (eval $ac_try) 2>&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); }; }; then
28574 echo "*** The test program compiled, but did not run. This usually means"
28575 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28576 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28579 echo "*** is required on your system"
28581 echo "*** If you have an old version installed, it is best to remove it, although"
28582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28584 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28585 echo "*** came with the system with the command"
28587 echo "*** rpm --erase --nodeps gtk gtk-devel"
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.
$ac_ext >&5
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28594 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28595 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28597 rm -f conftest.err conftest.
$ac_objext \
28598 conftest
$ac_exeext conftest.
$ac_ext
28599 CFLAGS
="$ac_save_CFLAGS"
28600 LIBS
="$ac_save_LIBS"
28615 if test -z "$wx_cv_lib_gtk"; then
28618 wx_cv_cflags_gtk
=$GTK_CFLAGS
28619 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28626 if test "$gtk_version_cached" = 1; then
28627 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28628 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28631 case "$wx_cv_lib_gtk" in
28640 *) { { echo "$as_me:$LINENO: error:
28641 The development files for GTK+ were not found. For GTK+ 2, please
28642 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28643 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28644 and that the version is 1.2.3 or above. Also check that the
28645 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28646 --libs' are in the LD_LIBRARY_PATH or equivalent.
28648 echo "$as_me: error:
28649 The development files for GTK+ were not found. For GTK+ 2, please
28650 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28651 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28652 and that the version is 1.2.3 or above. Also check that the
28653 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28654 --libs' are in the LD_LIBRARY_PATH or equivalent.
28656 { (exit 1); exit 1; }; }
28660 if test "$WXGTK20" = 1; then
28661 save_CFLAGS
="$CFLAGS"
28663 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28664 LIBS
="$LIBS $wx_cv_libs_gtk"
28666 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28667 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28668 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28669 echo $ECHO_N "(cached) $ECHO_C" >&6
28671 cat >conftest.
$ac_ext <<_ACEOF
28674 cat confdefs.h
>>conftest.
$ac_ext
28675 cat >>conftest.
$ac_ext <<_ACEOF
28676 /* end confdefs.h. */
28677 #include <gtk/gtk.h>
28682 #ifndef gtk_icon_size_lookup
28683 char *p = (char *) gtk_icon_size_lookup;
28690 rm -f conftest.
$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>conftest.er1
28694 grep -v '^ *+' conftest.er1
>conftest.err
28696 cat conftest.err
>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; } &&
28705 { ac_try
='test -s conftest.$ac_objext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.
$ac_ext >&5
28716 ac_cv_have_decl_gtk_icon_size_lookup
=no
28718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28720 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28721 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28722 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28724 cat >>confdefs.h
<<_ACEOF
28725 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28730 cat >>confdefs.h
<<_ACEOF
28731 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28734 cat >>confdefs.h
<<\_ACEOF
28735 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28742 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28743 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28744 cat >conftest.
$ac_ext <<_ACEOF
28747 cat confdefs.h
>>conftest.
$ac_ext
28748 cat >>conftest.
$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28751 #include <gtk/gtk.h>
28757 #if !GTK_CHECK_VERSION(2,6,0)
28765 rm -f conftest.
$ac_objext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28767 (eval $ac_compile) 2>conftest.er1
28769 grep -v '^ *+' conftest.er1
>conftest.err
28771 cat conftest.err
>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; } &&
28780 { ac_try
='test -s conftest.$ac_objext'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; }; then
28787 cat >>confdefs.h
<<\_ACEOF
28788 #define __WXGTK26__ 1
28791 cat >>confdefs.h
<<\_ACEOF
28792 #define __WXGTK24__ 1
28795 echo "$as_me:$LINENO: result: yes" >&5
28796 echo "${ECHO_T}yes" >&6
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.
$ac_ext >&5
28804 echo "$as_me:$LINENO: result: no" >&5
28805 echo "${ECHO_T}no" >&6
28809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28811 if test "$ac_wxgtk26" = 0; then
28812 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28813 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28814 cat >conftest.
$ac_ext <<_ACEOF
28817 cat confdefs.h
>>conftest.
$ac_ext
28818 cat >>conftest.
$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28821 #include <gtk/gtk.h>
28827 #if !GTK_CHECK_VERSION(2,4,0)
28835 rm -f conftest.
$ac_objext
28836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28837 (eval $ac_compile) 2>conftest.er1
28839 grep -v '^ *+' conftest.er1
>conftest.err
28841 cat conftest.err
>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } &&
28844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; } &&
28850 { ac_try
='test -s conftest.$ac_objext'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28857 cat >>confdefs.h
<<\_ACEOF
28858 #define __WXGTK24__ 1
28861 echo "$as_me:$LINENO: result: yes" >&5
28862 echo "${ECHO_T}yes" >&6
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.
$ac_ext >&5
28869 echo "$as_me:$LINENO: result: no" >&5
28870 echo "${ECHO_T}no" >&6
28873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28876 CFLAGS
="$save_CFLAGS"
28879 if test "$wxUSE_UNICODE" = "yes"; then
28880 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28881 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28885 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28886 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28887 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 ac_check_lib_save_LIBS
=$LIBS
28892 cat >conftest.
$ac_ext <<_ACEOF
28895 cat confdefs.h
>>conftest.
$ac_ext
28896 cat >>conftest.
$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28899 /* Override any gcc2 internal prototype to avoid an error. */
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28905 char gdk_im_open ();
28914 rm -f conftest.
$ac_objext conftest
$ac_exeext
28915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28916 (eval $ac_link) 2>conftest.er1
28918 grep -v '^ *+' conftest.er1
>conftest.err
28920 cat conftest.err
>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); } &&
28923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try
='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 ac_cv_lib_gdk_gdk_im_open
=yes
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.
$ac_ext >&5
28940 ac_cv_lib_gdk_gdk_im_open
=no
28942 rm -f conftest.err conftest.
$ac_objext \
28943 conftest
$ac_exeext conftest.
$ac_ext
28944 LIBS
=$ac_check_lib_save_LIBS
28946 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28947 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28948 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28949 cat >>confdefs.h
<<\_ACEOF
28958 ac_cpp
='$CXXCPP $CPPFLAGS'
28959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28964 if test "$USE_DARWIN" != 1; then
28966 for ac_func
in poll
28968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969 echo "$as_me:$LINENO: checking for $ac_func" >&5
28970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 cat >conftest.
$ac_ext <<_ACEOF
28977 cat confdefs.h
>>conftest.
$ac_ext
28978 cat >>conftest.
$ac_ext <<_ACEOF
28979 /* end confdefs.h. */
28980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28982 #define $ac_func innocuous_$ac_func
28984 /* System header to define __stub macros and hopefully few prototypes,
28985 which can conflict with char $ac_func (); below.
28986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28987 <limits.h> exists even on freestanding compilers. */
28990 # include <limits.h>
28992 # include <assert.h>
28997 /* Override any gcc2 internal prototype to avoid an error. */
29002 /* We use char because int might match the return type of a gcc2
29003 builtin and then its argument prototype would still apply. */
29005 /* The GNU C library defines this for functions which it implements
29006 to always fail with ENOSYS. Some functions are actually named
29007 something starting with __ and the normal name is an alias. */
29008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29011 char (*f) () = $ac_func;
29020 return f != $ac_func;
29025 rm -f conftest.
$ac_objext conftest
$ac_exeext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29027 (eval $ac_link) 2>conftest.er1
29029 grep -v '^ *+' conftest.er1
>conftest.err
29031 cat conftest.err
>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29036 (eval $ac_try) 2>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; } &&
29040 { ac_try
='test -s conftest$ac_exeext'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; }; then
29046 eval "$as_ac_var=yes"
29048 echo "$as_me: failed program was:" >&5
29049 sed 's/^/| /' conftest.
$ac_ext >&5
29051 eval "$as_ac_var=no"
29053 rm -f conftest.err conftest.
$ac_objext \
29054 conftest
$ac_exeext conftest.
$ac_ext
29056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29058 if test `eval echo '${'$as_ac_var'}'` = yes; then
29059 cat >>confdefs.h
<<_ACEOF
29060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29068 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29069 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29071 AFMINSTALL
=afminstall
29075 if test "$wxUSE_GPE" = "yes"; then
29076 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29077 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29080 for ac_dir
in $SEARCH_LIB;
29082 for ac_extension
in a so sl dylib dll.a
; do
29083 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29084 ac_find_libraries
=$ac_dir
29090 if test "$ac_find_libraries" != "" ; then
29092 if test "$ac_find_libraries" = "default location"; then
29095 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29097 if test $result = 0; then
29100 ac_path_to_link
=" -L$ac_find_libraries"
29104 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29106 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29107 echo "${ECHO_T}found in $ac_find_libraries" >&6
29109 echo "$as_me:$LINENO: result: not found" >&5
29110 echo "${ECHO_T}not found" >&6
29116 if test "$wxUSE_MGL" = 1; then
29117 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29118 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29119 if test "x$MGL_ROOT" = x
; then
29120 echo "$as_me:$LINENO: result: not found" >&5
29121 echo "${ECHO_T}not found" >&6
29122 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29123 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29124 { (exit 1); exit 1; }; }
29126 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29127 echo "${ECHO_T}$MGL_ROOT" >&6
29130 echo "$as_me:$LINENO: checking for libmgl location" >&5
29131 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29134 if test "x$wxUSE_SHARED" = xyes
; then
29135 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29137 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29141 mgl_os_candidates
="dos32/dj2"
29144 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29145 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29146 { (exit 1); exit 1; }; }
29152 for mgl_os_i
in $mgl_os_candidates ; do
29153 if test "x$mgl_os" = x
; then
29154 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29155 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29156 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29161 if test "x$mgl_lib_type" = x
; then
29162 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29163 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29164 mgl_lib_type
=release
29171 if test "x$mgl_os" = x
; then
29172 echo "$as_me:$LINENO: result: not found" >&5
29173 echo "${ECHO_T}not found" >&6
29174 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29175 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29176 { (exit 1); exit 1; }; }
29178 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29179 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29181 wxUSE_UNIVERSAL
="yes"
29183 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29184 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29186 AFMINSTALL
=afminstall
29191 if test "$wxUSE_DFB" = 1; then
29194 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29195 if test -n "$ac_tool_prefix"; then
29196 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29197 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29198 echo "$as_me:$LINENO: checking for $ac_word" >&5
29199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 case $PKG_CONFIG in
29205 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29209 for as_dir
in $PATH
29212 test -z "$as_dir" && as_dir
=.
29213 for ac_exec_ext
in '' $ac_executable_extensions; do
29214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29215 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29225 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29227 if test -n "$PKG_CONFIG"; then
29228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29229 echo "${ECHO_T}$PKG_CONFIG" >&6
29231 echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6
29236 if test -z "$ac_cv_path_PKG_CONFIG"; then
29237 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29238 # Extract the first word of "pkg-config", so it can be a program name with args.
29239 set dummy pkg
-config; ac_word
=$2
29240 echo "$as_me:$LINENO: checking for $ac_word" >&5
29241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29242 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29243 echo $ECHO_N "(cached) $ECHO_C" >&6
29245 case $ac_pt_PKG_CONFIG in
29247 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29251 for as_dir
in $PATH
29254 test -z "$as_dir" && as_dir
=.
29255 for ac_exec_ext
in '' $ac_executable_extensions; do
29256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29257 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29267 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29269 if test -n "$ac_pt_PKG_CONFIG"; then
29270 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29271 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29273 echo "$as_me:$LINENO: result: no" >&5
29274 echo "${ECHO_T}no" >&6
29277 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29279 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29283 if test -n "$PKG_CONFIG"; then
29284 _pkg_min_version
=0.9.0
29285 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29286 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29287 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29288 echo "$as_me:$LINENO: result: yes" >&5
29289 echo "${ECHO_T}yes" >&6
29291 echo "$as_me:$LINENO: result: no" >&5
29292 echo "${ECHO_T}no" >&6
29300 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29301 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29303 if test -n "$PKG_CONFIG"; then
29304 if test -n "$DIRECTFB_CFLAGS"; then
29305 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29307 if test -n "$PKG_CONFIG" && \
29308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29309 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; then
29313 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29321 if test -n "$PKG_CONFIG"; then
29322 if test -n "$DIRECTFB_LIBS"; then
29323 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29325 if test -n "$PKG_CONFIG" && \
29326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29327 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; then
29331 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29342 if test $pkg_failed = yes; then
29344 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29345 _pkg_short_errors_supported
=yes
29347 _pkg_short_errors_supported
=no
29349 if test $_pkg_short_errors_supported = yes; then
29350 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29352 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29354 # Put the nasty error message in config.log where it belongs
29355 echo "$DIRECTFB_PKG_ERRORS" >&5
29358 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29359 echo "$as_me: error: DirectFB not found." >&2;}
29360 { (exit 1); exit 1; }; }
29363 elif test $pkg_failed = untried
; then
29365 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29366 echo "$as_me: error: DirectFB not found." >&2;}
29367 { (exit 1); exit 1; }; }
29371 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29372 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29373 echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6
29376 wxUSE_UNIVERSAL
="yes"
29377 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29378 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29385 if test "$wxUSE_MICROWIN" = 1; then
29386 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29387 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29388 if test "x$MICROWINDOWS" = x
; then
29389 echo "$as_me:$LINENO: result: not found" >&5
29390 echo "${ECHO_T}not found" >&6
29391 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29392 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29393 { (exit 1); exit 1; }; }
29395 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29396 echo "${ECHO_T}$MICROWINDOWS" >&6
29399 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29400 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29401 echo "${ECHO_T}MicroWindows' libraries found." >&6
29403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29404 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29405 { (exit 1); exit 1; }; }
29408 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29409 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29411 wxUSE_UNIVERSAL
="yes"
29413 AFMINSTALL
=afminstall
29415 GUIDIST
=MICROWIN_DIST
29417 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29420 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29422 if test "x$ac_path_x_has_been_run" != xyes
; then
29423 echo "$as_me:$LINENO: checking for X" >&5
29424 echo $ECHO_N "checking for X... $ECHO_C" >&6
29426 ac_path_x_has_been_run
=yes
29428 # Check whether --with-x or --without-x was given.
29429 if test "${with_x+set}" = set; then
29433 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29434 if test "x$with_x" = xno
; then
29435 # The user explicitly disabled X.
29438 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29439 # Both variables are already set.
29442 if test "${ac_cv_have_x+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 # One or both of the vars are not set, and there is no cached value.
29446 ac_x_includes
=no ac_x_libraries
=no
29447 rm -fr conftest.dir
29448 if mkdir conftest.dir
; then
29450 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29451 cat >Imakefile
<<'_ACEOF'
29453 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29455 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29456 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29457 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29458 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29459 for ac_extension
in a so sl
; do
29460 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29461 test -f $ac_im_libdir/libX11.
$ac_extension; then
29462 ac_im_usrlibdir
=$ac_im_libdir; break
29465 # Screen out bogus values from the imake configuration. They are
29466 # bogus both because they are the default anyway, and because
29467 # using them would break gcc on systems where it needs fixed includes.
29468 case $ac_im_incroot in
29470 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29472 case $ac_im_usrlibdir in
29473 /usr
/lib
| /lib
) ;;
29474 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29478 rm -fr conftest.dir
29481 # Standard set of common directories for X headers.
29482 # Check X11 before X11Rn because it is often a symlink to the current release.
29494 /usr/local/X11/include
29495 /usr/local/X11R6/include
29496 /usr/local/X11R5/include
29497 /usr/local/X11R4/include
29499 /usr/local/include/X11
29500 /usr/local/include/X11R6
29501 /usr/local/include/X11R5
29502 /usr/local/include/X11R4
29506 /usr/XFree86/include/X11
29510 /usr/unsupported/include
29511 /usr/athena/include
29512 /usr/local/x11r5/include
29513 /usr/lpp/Xamples/include
29515 /usr/openwin/include
29516 /usr/openwin/share/include'
29518 if test "$ac_x_includes" = no
; then
29519 # Guess where to find include files, by looking for a specified header file.
29520 # First, try using that file with no special directory specified.
29521 cat >conftest.
$ac_ext <<_ACEOF
29524 cat confdefs.h
>>conftest.
$ac_ext
29525 cat >>conftest.
$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <X11/Xlib.h>
29529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29532 grep -v '^ *+' conftest.er1
>conftest.err
29534 cat conftest.err
>&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } >/dev
/null
; then
29537 if test -s conftest.err
; then
29538 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29539 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29546 if test -z "$ac_cpp_err"; then
29547 # We can compile using X headers with no special include directory.
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 for ac_dir
in $ac_x_header_dirs; do
29554 if test -r "$ac_dir/X11/Xlib.h"; then
29555 ac_x_includes
=$ac_dir
29560 rm -f conftest.err conftest.
$ac_ext
29561 fi # $ac_x_includes = no
29563 if test "$ac_x_libraries" = no
; then
29564 # Check for the libraries.
29565 # See if we find them without any special options.
29566 # Don't add to $LIBS permanently.
29569 cat >conftest.
$ac_ext <<_ACEOF
29572 cat confdefs.h
>>conftest.
$ac_ext
29573 cat >>conftest.
$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29575 #include <X11/Xlib.h>
29584 rm -f conftest.
$ac_objext conftest
$ac_exeext
29585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29586 (eval $ac_link) 2>conftest.er1
29588 grep -v '^ *+' conftest.er1
>conftest.err
29590 cat conftest.err
>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } &&
29593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; } &&
29599 { ac_try
='test -s conftest$ac_exeext'
29600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29601 (eval $ac_try) 2>&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); }; }; then
29606 # We can link X programs with no special library path.
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.
$ac_ext >&5
29613 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29615 # Don't even attempt the hair of trying to link an X program!
29616 for ac_extension
in a so sl
; do
29617 if test -r $ac_dir/libX11.
$ac_extension; then
29618 ac_x_libraries
=$ac_dir
29624 rm -f conftest.err conftest.
$ac_objext \
29625 conftest
$ac_exeext conftest.
$ac_ext
29626 fi # $ac_x_libraries = no
29628 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29629 # Didn't find X anywhere. Cache the known absence of X.
29630 ac_cv_have_x
="have_x=no"
29632 # Record where we found X for the cache.
29633 ac_cv_have_x
="have_x=yes \
29634 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29639 eval "$ac_cv_have_x"
29642 if test "$have_x" != yes; then
29643 echo "$as_me:$LINENO: result: $have_x" >&5
29644 echo "${ECHO_T}$have_x" >&6
29647 # If each of the values was on the command line, it overrides each guess.
29648 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29649 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29650 # Update the cache value to reflect the command line values.
29651 ac_cv_have_x
="have_x=yes \
29652 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29653 # It might be that x_includes is empty (headers are found in the
29654 # standard search path. Then output the corresponding message
29655 ac_out_x_includes
=$x_includes
29656 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29657 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29658 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29662 if test "$no_x" = yes; then
29663 # Not all programs may use this symbol, but it does not hurt to define it.
29665 cat >>confdefs.h
<<\_ACEOF
29666 #define X_DISPLAY_MISSING 1
29669 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29671 if test -n "$x_includes"; then
29672 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29675 # It would also be nice to do this for all -L options, not just this one.
29676 if test -n "$x_libraries"; then
29677 X_LIBS
="$X_LIBS -L$x_libraries"
29678 # For Solaris; some versions of Sun CC require a space after -R and
29679 # others require no space. Words are not sufficient . . . .
29680 case `(uname -sr) 2>/dev/null` in
29682 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29683 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29684 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29685 cat >conftest.
$ac_ext <<_ACEOF
29688 cat confdefs.h
>>conftest.
$ac_ext
29689 cat >>conftest.
$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29700 rm -f conftest.
$ac_objext conftest
$ac_exeext
29701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29702 (eval $ac_link) 2>conftest.er1
29704 grep -v '^ *+' conftest.er1
>conftest.err
29706 cat conftest.err
>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; } &&
29715 { ac_try
='test -s conftest$ac_exeext'
29716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29717 (eval $ac_try) 2>&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); }; }; then
29723 echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.
$ac_ext >&5
29728 rm -f conftest.err conftest.
$ac_objext \
29729 conftest
$ac_exeext conftest.
$ac_ext
29730 if test $ac_R_nospace = yes; then
29731 echo "$as_me:$LINENO: result: no" >&5
29732 echo "${ECHO_T}no" >&6
29733 X_LIBS
="$X_LIBS -R$x_libraries"
29735 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29736 cat >conftest.
$ac_ext <<_ACEOF
29739 cat confdefs.h
>>conftest.
$ac_ext
29740 cat >>conftest.
$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29751 rm -f conftest.
$ac_objext conftest
$ac_exeext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29753 (eval $ac_link) 2>conftest.er1
29755 grep -v '^ *+' conftest.er1
>conftest.err
29757 cat conftest.err
>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; } &&
29766 { ac_try
='test -s conftest$ac_exeext'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; }; then
29774 echo "$as_me: failed program was:" >&5
29775 sed 's/^/| /' conftest.
$ac_ext >&5
29779 rm -f conftest.err conftest.
$ac_objext \
29780 conftest
$ac_exeext conftest.
$ac_ext
29781 if test $ac_R_space = yes; then
29782 echo "$as_me:$LINENO: result: yes" >&5
29783 echo "${ECHO_T}yes" >&6
29784 X_LIBS
="$X_LIBS -R $x_libraries"
29786 echo "$as_me:$LINENO: result: neither works" >&5
29787 echo "${ECHO_T}neither works" >&6
29790 LIBS
=$ac_xsave_LIBS
29794 # Check for system-dependent libraries X programs must link with.
29795 # Do this before checking for the system-independent R6 libraries
29796 # (-lICE), since we may need -lsocket or whatever for X linking.
29798 if test "$ISC" = yes; then
29799 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29801 # Martyn Johnson says this is needed for Ultrix, if the X
29802 # libraries were built with DECnet support. And Karl Berry says
29803 # the Alpha needs dnet_stub (dnet does not exist).
29804 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29805 cat >conftest.
$ac_ext <<_ACEOF
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29812 /* Override any gcc2 internal prototype to avoid an error. */
29816 /* We use char because int might match the return type of a gcc2
29817 builtin and then its argument prototype would still apply. */
29818 char XOpenDisplay ();
29827 rm -f conftest.
$ac_objext conftest
$ac_exeext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29829 (eval $ac_link) 2>conftest.er1
29831 grep -v '^ *+' conftest.er1
>conftest.err
29833 cat conftest.err
>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try
='test -s conftest$ac_exeext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29850 echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.
$ac_ext >&5
29853 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29854 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29855 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29856 echo $ECHO_N "(cached) $ECHO_C" >&6
29858 ac_check_lib_save_LIBS
=$LIBS
29859 LIBS
="-ldnet $LIBS"
29860 cat >conftest.
$ac_ext <<_ACEOF
29863 cat confdefs.h
>>conftest.
$ac_ext
29864 cat >>conftest.
$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29867 /* Override any gcc2 internal prototype to avoid an error. */
29871 /* We use char because int might match the return type of a gcc2
29872 builtin and then its argument prototype would still apply. */
29882 rm -f conftest.
$ac_objext conftest
$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29886 grep -v '^ *+' conftest.er1
>conftest.err
29888 cat conftest.err
>&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try
='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29903 ac_cv_lib_dnet_dnet_ntoa
=yes
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.
$ac_ext >&5
29908 ac_cv_lib_dnet_dnet_ntoa
=no
29910 rm -f conftest.err conftest.
$ac_objext \
29911 conftest
$ac_exeext conftest.
$ac_ext
29912 LIBS
=$ac_check_lib_save_LIBS
29914 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29915 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29916 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29920 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29921 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29922 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29923 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 ac_check_lib_save_LIBS
=$LIBS
29927 LIBS
="-ldnet_stub $LIBS"
29928 cat >conftest.
$ac_ext <<_ACEOF
29931 cat confdefs.h
>>conftest.
$ac_ext
29932 cat >>conftest.
$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29935 /* Override any gcc2 internal prototype to avoid an error. */
29939 /* We use char because int might match the return type of a gcc2
29940 builtin and then its argument prototype would still apply. */
29950 rm -f conftest.
$ac_objext conftest
$ac_exeext
29951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29952 (eval $ac_link) 2>conftest.er1
29954 grep -v '^ *+' conftest.er1
>conftest.err
29956 cat conftest.err
>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; } &&
29965 { ac_try
='test -s conftest$ac_exeext'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; }; then
29971 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29973 echo "$as_me: failed program was:" >&5
29974 sed 's/^/| /' conftest.
$ac_ext >&5
29976 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29978 rm -f conftest.err conftest.
$ac_objext \
29979 conftest
$ac_exeext conftest.
$ac_ext
29980 LIBS
=$ac_check_lib_save_LIBS
29982 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29983 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29984 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29985 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29990 rm -f conftest.err conftest.
$ac_objext \
29991 conftest
$ac_exeext conftest.
$ac_ext
29992 LIBS
="$ac_xsave_LIBS"
29994 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29995 # to get the SysV transport functions.
29996 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29998 # The nsl library prevents programs from opening the X display
29999 # on Irix 5.2, according to T.E. Dickey.
30000 # The functions gethostbyname, getservbyname, and inet_addr are
30001 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30002 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30003 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30004 if test "${ac_cv_func_gethostbyname+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 cat >conftest.
$ac_ext <<_ACEOF
30010 cat confdefs.h
>>conftest.
$ac_ext
30011 cat >>conftest.
$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30015 #define gethostbyname innocuous_gethostbyname
30017 /* System header to define __stub macros and hopefully few prototypes,
30018 which can conflict with char gethostbyname (); below.
30019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30020 <limits.h> exists even on freestanding compilers. */
30023 # include <limits.h>
30025 # include <assert.h>
30028 #undef gethostbyname
30030 /* Override any gcc2 internal prototype to avoid an error. */
30035 /* We use char because int might match the return type of a gcc2
30036 builtin and then its argument prototype would still apply. */
30037 char gethostbyname ();
30038 /* The GNU C library defines this for functions which it implements
30039 to always fail with ENOSYS. Some functions are actually named
30040 something starting with __ and the normal name is an alias. */
30041 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30044 char (*f) () = gethostbyname;
30053 return f != gethostbyname;
30058 rm -f conftest.
$ac_objext conftest
$ac_exeext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30060 (eval $ac_link) 2>conftest.er1
30062 grep -v '^ *+' conftest.er1
>conftest.err
30064 cat conftest.err
>&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); } &&
30067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try
='test -s conftest$ac_exeext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 ac_cv_func_gethostbyname
=yes
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.
$ac_ext >&5
30084 ac_cv_func_gethostbyname
=no
30086 rm -f conftest.err conftest.
$ac_objext \
30087 conftest
$ac_exeext conftest.
$ac_ext
30089 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30090 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30092 if test $ac_cv_func_gethostbyname = no
; then
30093 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30094 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30095 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 ac_check_lib_save_LIBS
=$LIBS
30100 cat >conftest.
$ac_ext <<_ACEOF
30103 cat confdefs.h
>>conftest.
$ac_ext
30104 cat >>conftest.
$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30107 /* Override any gcc2 internal prototype to avoid an error. */
30111 /* We use char because int might match the return type of a gcc2
30112 builtin and then its argument prototype would still apply. */
30113 char gethostbyname ();
30122 rm -f conftest.
$ac_objext conftest
$ac_exeext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30124 (eval $ac_link) 2>conftest.er1
30126 grep -v '^ *+' conftest.er1
>conftest.err
30128 cat conftest.err
>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; } &&
30137 { ac_try
='test -s conftest$ac_exeext'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30143 ac_cv_lib_nsl_gethostbyname
=yes
30145 echo "$as_me: failed program was:" >&5
30146 sed 's/^/| /' conftest.
$ac_ext >&5
30148 ac_cv_lib_nsl_gethostbyname
=no
30150 rm -f conftest.err conftest.
$ac_objext \
30151 conftest
$ac_exeext conftest.
$ac_ext
30152 LIBS
=$ac_check_lib_save_LIBS
30154 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30155 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30156 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30160 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30161 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30162 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30163 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 ac_check_lib_save_LIBS
=$LIBS
30168 cat >conftest.
$ac_ext <<_ACEOF
30171 cat confdefs.h
>>conftest.
$ac_ext
30172 cat >>conftest.
$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30175 /* Override any gcc2 internal prototype to avoid an error. */
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30181 char gethostbyname ();
30190 rm -f conftest.
$ac_objext conftest
$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30194 grep -v '^ *+' conftest.er1
>conftest.err
30196 cat conftest.err
>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try
='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 ac_cv_lib_bsd_gethostbyname
=yes
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.
$ac_ext >&5
30216 ac_cv_lib_bsd_gethostbyname
=no
30218 rm -f conftest.err conftest.
$ac_objext \
30219 conftest
$ac_exeext conftest.
$ac_ext
30220 LIBS
=$ac_check_lib_save_LIBS
30222 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30223 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30224 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30225 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30231 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30232 # socket/setsockopt and other routines are undefined under SCO ODT
30233 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30234 # on later versions), says Simon Leinen: it contains gethostby*
30235 # variants that don't use the name server (or something). -lsocket
30236 # must be given before -lnsl if both are needed. We assume that
30237 # if connect needs -lnsl, so does gethostbyname.
30238 echo "$as_me:$LINENO: checking for connect" >&5
30239 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30240 if test "${ac_cv_func_connect+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define connect innocuous_connect
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char connect (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30259 # include <limits.h>
30261 # include <assert.h>
30266 /* Override any gcc2 internal prototype to avoid an error. */
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_connect) || defined (__stub___connect)
30280 char (*f) () = connect;
30289 return f != connect;
30294 rm -f conftest.
$ac_objext conftest
$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30298 grep -v '^ *+' conftest.er1
>conftest.err
30300 cat conftest.err
>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try
='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 ac_cv_func_connect
=yes
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.
$ac_ext >&5
30320 ac_cv_func_connect
=no
30322 rm -f conftest.err conftest.
$ac_objext \
30323 conftest
$ac_exeext conftest.
$ac_ext
30325 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30326 echo "${ECHO_T}$ac_cv_func_connect" >&6
30328 if test $ac_cv_func_connect = no
; then
30329 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30330 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30331 if test "${ac_cv_lib_socket_connect+set}" = set; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 ac_check_lib_save_LIBS
=$LIBS
30335 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30336 cat >conftest.
$ac_ext <<_ACEOF
30339 cat confdefs.h
>>conftest.
$ac_ext
30340 cat >>conftest.
$ac_ext <<_ACEOF
30341 /* end confdefs.h. */
30343 /* Override any gcc2 internal prototype to avoid an error. */
30347 /* We use char because int might match the return type of a gcc2
30348 builtin and then its argument prototype would still apply. */
30358 rm -f conftest.
$ac_objext conftest
$ac_exeext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30360 (eval $ac_link) 2>conftest.er1
30362 grep -v '^ *+' conftest.er1
>conftest.err
30364 cat conftest.err
>&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try
='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 ac_cv_lib_socket_connect
=yes
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.
$ac_ext >&5
30384 ac_cv_lib_socket_connect
=no
30386 rm -f conftest.err conftest.
$ac_objext \
30387 conftest
$ac_exeext conftest.
$ac_ext
30388 LIBS
=$ac_check_lib_save_LIBS
30390 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30391 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30392 if test $ac_cv_lib_socket_connect = yes; then
30393 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30398 # Guillermo Gomez says -lposix is necessary on A/UX.
30399 echo "$as_me:$LINENO: checking for remove" >&5
30400 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30401 if test "${ac_cv_func_remove+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 cat >conftest.
$ac_ext <<_ACEOF
30407 cat confdefs.h
>>conftest.
$ac_ext
30408 cat >>conftest.
$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30412 #define remove innocuous_remove
30414 /* System header to define __stub macros and hopefully few prototypes,
30415 which can conflict with char remove (); below.
30416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30417 <limits.h> exists even on freestanding compilers. */
30420 # include <limits.h>
30422 # include <assert.h>
30427 /* Override any gcc2 internal prototype to avoid an error. */
30432 /* We use char because int might match the return type of a gcc2
30433 builtin and then its argument prototype would still apply. */
30435 /* The GNU C library defines this for functions which it implements
30436 to always fail with ENOSYS. Some functions are actually named
30437 something starting with __ and the normal name is an alias. */
30438 #if defined (__stub_remove) || defined (__stub___remove)
30441 char (*f) () = remove;
30450 return f != remove;
30455 rm -f conftest.
$ac_objext conftest
$ac_exeext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30457 (eval $ac_link) 2>conftest.er1
30459 grep -v '^ *+' conftest.er1
>conftest.err
30461 cat conftest.err
>&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); } &&
30464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30466 (eval $ac_try) 2>&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); }; } &&
30470 { ac_try
='test -s conftest$ac_exeext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30476 ac_cv_func_remove
=yes
30478 echo "$as_me: failed program was:" >&5
30479 sed 's/^/| /' conftest.
$ac_ext >&5
30481 ac_cv_func_remove
=no
30483 rm -f conftest.err conftest.
$ac_objext \
30484 conftest
$ac_exeext conftest.
$ac_ext
30486 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30487 echo "${ECHO_T}$ac_cv_func_remove" >&6
30489 if test $ac_cv_func_remove = no
; then
30490 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30491 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30492 if test "${ac_cv_lib_posix_remove+set}" = set; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 ac_check_lib_save_LIBS
=$LIBS
30496 LIBS
="-lposix $LIBS"
30497 cat >conftest.
$ac_ext <<_ACEOF
30500 cat confdefs.h
>>conftest.
$ac_ext
30501 cat >>conftest.
$ac_ext <<_ACEOF
30502 /* end confdefs.h. */
30504 /* Override any gcc2 internal prototype to avoid an error. */
30508 /* We use char because int might match the return type of a gcc2
30509 builtin and then its argument prototype would still apply. */
30519 rm -f conftest.
$ac_objext conftest
$ac_exeext
30520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30521 (eval $ac_link) 2>conftest.er1
30523 grep -v '^ *+' conftest.er1
>conftest.err
30525 cat conftest.err
>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; } &&
30534 { ac_try
='test -s conftest$ac_exeext'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30540 ac_cv_lib_posix_remove
=yes
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.
$ac_ext >&5
30545 ac_cv_lib_posix_remove
=no
30547 rm -f conftest.err conftest.
$ac_objext \
30548 conftest
$ac_exeext conftest.
$ac_ext
30549 LIBS
=$ac_check_lib_save_LIBS
30551 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30552 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30553 if test $ac_cv_lib_posix_remove = yes; then
30554 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30559 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30560 echo "$as_me:$LINENO: checking for shmat" >&5
30561 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30562 if test "${ac_cv_func_shmat+set}" = set; then
30563 echo $ECHO_N "(cached) $ECHO_C" >&6
30565 cat >conftest.
$ac_ext <<_ACEOF
30568 cat confdefs.h
>>conftest.
$ac_ext
30569 cat >>conftest.
$ac_ext <<_ACEOF
30570 /* end confdefs.h. */
30571 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30573 #define shmat innocuous_shmat
30575 /* System header to define __stub macros and hopefully few prototypes,
30576 which can conflict with char shmat (); below.
30577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30578 <limits.h> exists even on freestanding compilers. */
30581 # include <limits.h>
30583 # include <assert.h>
30588 /* Override any gcc2 internal prototype to avoid an error. */
30593 /* We use char because int might match the return type of a gcc2
30594 builtin and then its argument prototype would still apply. */
30596 /* The GNU C library defines this for functions which it implements
30597 to always fail with ENOSYS. Some functions are actually named
30598 something starting with __ and the normal name is an alias. */
30599 #if defined (__stub_shmat) || defined (__stub___shmat)
30602 char (*f) () = shmat;
30616 rm -f conftest.
$ac_objext conftest
$ac_exeext
30617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30618 (eval $ac_link) 2>conftest.er1
30620 grep -v '^ *+' conftest.er1
>conftest.err
30622 cat conftest.err
>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try
='test -s conftest$ac_exeext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 ac_cv_func_shmat
=yes
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.
$ac_ext >&5
30642 ac_cv_func_shmat
=no
30644 rm -f conftest.err conftest.
$ac_objext \
30645 conftest
$ac_exeext conftest.
$ac_ext
30647 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30648 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30650 if test $ac_cv_func_shmat = no
; then
30651 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30652 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30653 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 ac_check_lib_save_LIBS
=$LIBS
30658 cat >conftest.
$ac_ext <<_ACEOF
30661 cat confdefs.h
>>conftest.
$ac_ext
30662 cat >>conftest.
$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30665 /* Override any gcc2 internal prototype to avoid an error. */
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30680 rm -f conftest.
$ac_objext conftest
$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>conftest.er1
30684 grep -v '^ *+' conftest.er1
>conftest.err
30686 cat conftest.err
>&5
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); } &&
30689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; } &&
30695 { ac_try
='test -s conftest$ac_exeext'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; }; then
30701 ac_cv_lib_ipc_shmat
=yes
30703 echo "$as_me: failed program was:" >&5
30704 sed 's/^/| /' conftest.
$ac_ext >&5
30706 ac_cv_lib_ipc_shmat
=no
30708 rm -f conftest.err conftest.
$ac_objext \
30709 conftest
$ac_exeext conftest.
$ac_ext
30710 LIBS
=$ac_check_lib_save_LIBS
30712 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30713 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30714 if test $ac_cv_lib_ipc_shmat = yes; then
30715 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30721 # Check for libraries that X11R6 Xt/Xaw programs need.
30722 ac_save_LDFLAGS
=$LDFLAGS
30723 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30724 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30725 # check for ICE first), but we must link in the order -lSM -lICE or
30726 # we get undefined symbols. So assume we have SM if we have ICE.
30727 # These have to be linked with before -lX11, unlike the other
30728 # libraries we check for below, so use a different variable.
30729 # John Interrante, Karl Berry
30730 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30731 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30732 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30733 echo $ECHO_N "(cached) $ECHO_C" >&6
30735 ac_check_lib_save_LIBS
=$LIBS
30736 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30737 cat >conftest.
$ac_ext <<_ACEOF
30740 cat confdefs.h
>>conftest.
$ac_ext
30741 cat >>conftest.
$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30744 /* Override any gcc2 internal prototype to avoid an error. */
30748 /* We use char because int might match the return type of a gcc2
30749 builtin and then its argument prototype would still apply. */
30750 char IceConnectionNumber ();
30754 IceConnectionNumber ();
30759 rm -f conftest.
$ac_objext conftest
$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30763 grep -v '^ *+' conftest.er1
>conftest.err
30765 cat conftest.err
>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try
='test -s conftest$ac_exeext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 ac_cv_lib_ICE_IceConnectionNumber
=yes
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.
$ac_ext >&5
30785 ac_cv_lib_ICE_IceConnectionNumber
=no
30787 rm -f conftest.err conftest.
$ac_objext \
30788 conftest
$ac_exeext conftest.
$ac_ext
30789 LIBS
=$ac_check_lib_save_LIBS
30791 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30792 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30793 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30794 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30797 LDFLAGS
=$ac_save_LDFLAGS
30802 if test "$no_x" = "yes"; then
30803 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30804 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30805 { (exit 1); exit 1; }; }
30808 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30809 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30810 AFMINSTALL
=afminstall
30811 COMPILED_X_PROGRAM
=0
30815 if test "$wxUSE_X11" = 1; then
30816 if test "$wxUSE_NANOX" = "yes"; then
30817 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30818 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30819 if test "x$MICROWIN" = x
; then
30820 echo "$as_me:$LINENO: result: not found" >&5
30821 echo "${ECHO_T}not found" >&6
30822 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30823 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30824 { (exit 1); exit 1; }; }
30826 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30827 echo "${ECHO_T}$MICROWIN" >&6
30828 cat >>confdefs.h
<<\_ACEOF
30829 #define wxUSE_NANOX 1
30835 if test "$wxUSE_UNICODE" = "yes"; then
30838 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30839 if test -n "$ac_tool_prefix"; then
30840 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30841 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30842 echo "$as_me:$LINENO: checking for $ac_word" >&5
30843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 case $PKG_CONFIG in
30849 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30853 for as_dir
in $PATH
30856 test -z "$as_dir" && as_dir
=.
30857 for ac_exec_ext
in '' $ac_executable_extensions; do
30858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30859 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30869 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30871 if test -n "$PKG_CONFIG"; then
30872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30873 echo "${ECHO_T}$PKG_CONFIG" >&6
30875 echo "$as_me:$LINENO: result: no" >&5
30876 echo "${ECHO_T}no" >&6
30880 if test -z "$ac_cv_path_PKG_CONFIG"; then
30881 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30882 # Extract the first word of "pkg-config", so it can be a program name with args.
30883 set dummy pkg
-config; ac_word
=$2
30884 echo "$as_me:$LINENO: checking for $ac_word" >&5
30885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30886 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 case $ac_pt_PKG_CONFIG in
30891 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30895 for as_dir
in $PATH
30898 test -z "$as_dir" && as_dir
=.
30899 for ac_exec_ext
in '' $ac_executable_extensions; do
30900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30901 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30911 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30913 if test -n "$ac_pt_PKG_CONFIG"; then
30914 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30915 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30917 echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6
30921 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30923 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30927 if test -n "$PKG_CONFIG"; then
30928 _pkg_min_version
=0.9.0
30929 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30930 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30932 echo "$as_me:$LINENO: result: yes" >&5
30933 echo "${ECHO_T}yes" >&6
30935 echo "$as_me:$LINENO: result: no" >&5
30936 echo "${ECHO_T}no" >&6
30944 echo "$as_me:$LINENO: checking for PANGOX" >&5
30945 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30947 if test -n "$PKG_CONFIG"; then
30948 if test -n "$PANGOX_CFLAGS"; then
30949 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30951 if test -n "$PKG_CONFIG" && \
30952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30953 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); }; then
30957 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30965 if test -n "$PKG_CONFIG"; then
30966 if test -n "$PANGOX_LIBS"; then
30967 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30969 if test -n "$PKG_CONFIG" && \
30970 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30971 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); }; then
30975 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30986 if test $pkg_failed = yes; then
30988 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30989 _pkg_short_errors_supported
=yes
30991 _pkg_short_errors_supported
=no
30993 if test $_pkg_short_errors_supported = yes; then
30994 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30996 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30998 # Put the nasty error message in config.log where it belongs
30999 echo "$PANGOX_PKG_ERRORS" >&5
31002 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31003 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31004 { (exit 1); exit 1; }; }
31007 elif test $pkg_failed = untried
; then
31009 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31010 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31011 { (exit 1); exit 1; }; }
31015 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31016 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31017 echo "$as_me:$LINENO: result: yes" >&5
31018 echo "${ECHO_T}yes" >&6
31020 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31021 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31026 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31027 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31029 if test -n "$PKG_CONFIG"; then
31030 if test -n "$PANGOFT2_CFLAGS"; then
31031 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31033 if test -n "$PKG_CONFIG" && \
31034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31035 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; then
31039 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31047 if test -n "$PKG_CONFIG"; then
31048 if test -n "$PANGOFT2_LIBS"; then
31049 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31051 if test -n "$PKG_CONFIG" && \
31052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31053 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; then
31057 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31068 if test $pkg_failed = yes; then
31070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31071 _pkg_short_errors_supported
=yes
31073 _pkg_short_errors_supported
=no
31075 if test $_pkg_short_errors_supported = yes; then
31076 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31078 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31080 # Put the nasty error message in config.log where it belongs
31081 echo "$PANGOFT2_PKG_ERRORS" >&5
31084 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31085 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31086 wxUSE_PRINTING_ARCHITECTURE
="no"
31089 elif test $pkg_failed = untried
; then
31091 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31092 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31093 wxUSE_PRINTING_ARCHITECTURE
="no"
31097 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31098 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31099 echo "$as_me:$LINENO: result: yes" >&5
31100 echo "${ECHO_T}yes" >&6
31102 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31103 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31108 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31109 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31111 if test -n "$PKG_CONFIG"; then
31112 if test -n "$PANGOXFT_CFLAGS"; then
31113 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31115 if test -n "$PKG_CONFIG" && \
31116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31117 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; then
31121 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31129 if test -n "$PKG_CONFIG"; then
31130 if test -n "$PANGOXFT_LIBS"; then
31131 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31133 if test -n "$PKG_CONFIG" && \
31134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31135 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; then
31139 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31150 if test $pkg_failed = yes; then
31152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31153 _pkg_short_errors_supported
=yes
31155 _pkg_short_errors_supported
=no
31157 if test $_pkg_short_errors_supported = yes; then
31158 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31160 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31162 # Put the nasty error message in config.log where it belongs
31163 echo "$PANGOXFT_PKG_ERRORS" >&5
31166 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31167 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31170 elif test $pkg_failed = untried
; then
31172 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31173 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31177 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31178 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31179 echo "$as_me:$LINENO: result: yes" >&5
31180 echo "${ECHO_T}yes" >&6
31182 cat >>confdefs.h
<<\_ACEOF
31183 #define HAVE_PANGO_XFT 1
31186 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31187 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31190 save_CXXFLAGS
="$CXXFLAGS"
31192 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31193 LIBS
="$LIBS $PANGOX_LIBS"
31195 for ac_func
in pango_font_family_is_monospace
31197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31198 echo "$as_me:$LINENO: checking for $ac_func" >&5
31199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31200 if eval "test \"\${$as_ac_var+set}\" = set"; then
31201 echo $ECHO_N "(cached) $ECHO_C" >&6
31203 cat >conftest.
$ac_ext <<_ACEOF
31206 cat confdefs.h
>>conftest.
$ac_ext
31207 cat >>conftest.
$ac_ext <<_ACEOF
31208 /* end confdefs.h. */
31209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31211 #define $ac_func innocuous_$ac_func
31213 /* System header to define __stub macros and hopefully few prototypes,
31214 which can conflict with char $ac_func (); below.
31215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31216 <limits.h> exists even on freestanding compilers. */
31219 # include <limits.h>
31221 # include <assert.h>
31226 /* Override any gcc2 internal prototype to avoid an error. */
31231 /* We use char because int might match the return type of a gcc2
31232 builtin and then its argument prototype would still apply. */
31234 /* The GNU C library defines this for functions which it implements
31235 to always fail with ENOSYS. Some functions are actually named
31236 something starting with __ and the normal name is an alias. */
31237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31240 char (*f) () = $ac_func;
31249 return f != $ac_func;
31254 rm -f conftest.
$ac_objext conftest
$ac_exeext
31255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31256 (eval $ac_link) 2>conftest.er1
31258 grep -v '^ *+' conftest.er1
>conftest.err
31260 cat conftest.err
>&5
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); } &&
31263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31265 (eval $ac_try) 2>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); }; } &&
31269 { ac_try
='test -s conftest$ac_exeext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 eval "$as_ac_var=yes"
31277 echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.
$ac_ext >&5
31280 eval "$as_ac_var=no"
31282 rm -f conftest.err conftest.
$ac_objext \
31283 conftest
$ac_exeext conftest.
$ac_ext
31285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31287 if test `eval echo '${'$as_ac_var'}'` = yes; then
31288 cat >>confdefs.h
<<_ACEOF
31289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31295 CXXFLAGS
="$save_CXXFLAGS"
31299 wxUSE_UNIVERSAL
="yes"
31301 if test "$wxUSE_NANOX" = "yes"; then
31302 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31303 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"
31304 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31306 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31313 if test "$wxUSE_MOTIF" = 1; then
31314 if test "$wxUSE_UNICODE" = "yes"; then
31315 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31316 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31317 { (exit 1); exit 1; }; }
31320 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31321 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31324 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31326 if test -f "$ac_dir/Xm/Xm.h"; then
31327 ac_find_includes
=$ac_dir
31332 if test "$ac_find_includes" != "" ; then
31333 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31334 echo "${ECHO_T}found in $ac_find_includes" >&6
31336 if test "x$ac_find_includes" = "x/usr/include"; then
31337 ac_path_to_include
=""
31339 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31341 if test $result = 0; then
31342 ac_path_to_include
=""
31344 ac_path_to_include
=" -I$ac_find_includes"
31348 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31350 save_CXXFLAGS
=$CXXFLAGS
31351 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31353 cat >conftest.
$ac_ext <<_ACEOF
31356 cat confdefs.h
>>conftest.
$ac_ext
31357 cat >>conftest.
$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31367 version = xmUseVersion;
31373 rm -f conftest.
$ac_objext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31375 (eval $ac_compile) 2>conftest.er1
31377 grep -v '^ *+' conftest.er1
>conftest.err
31379 cat conftest.err
>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; } &&
31388 { ac_try
='test -s conftest.$ac_objext'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; }; then
31395 echo "$as_me:$LINENO: result: found in default search path" >&5
31396 echo "${ECHO_T}found in default search path" >&6
31397 COMPILED_X_PROGRAM
=1
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.
$ac_ext >&5
31404 echo "$as_me:$LINENO: result: no" >&5
31405 echo "${ECHO_T}no" >&6
31406 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31407 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31408 { (exit 1); exit 1; }; }
31412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31414 CXXFLAGS
=$save_CXXFLAGS
31418 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31419 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31422 for ac_dir
in $SEARCH_LIB;
31424 for ac_extension
in a so sl dylib dll.a
; do
31425 if test -f "$ac_dir/libXm.$ac_extension"; then
31426 ac_find_libraries
=$ac_dir
31433 if test "x$ac_find_libraries" != "x" ; then
31434 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31435 echo "${ECHO_T}found in $ac_find_libraries" >&6
31438 if test "$ac_find_libraries" = "default location"; then
31441 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31443 if test $result = 0; then
31446 ac_path_to_link
=" -L$ac_find_libraries"
31450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31452 save_CXXFLAGS
=$CXXFLAGS
31453 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31455 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31457 cat >conftest.
$ac_ext <<_ACEOF
31460 cat confdefs.h
>>conftest.
$ac_ext
31461 cat >>conftest.
$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31471 version = xmUseVersion;
31477 rm -f conftest.
$ac_objext conftest
$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>conftest.er1
31481 grep -v '^ *+' conftest.er1
>conftest.err
31483 cat conftest.err
>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } &&
31486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31488 (eval $ac_try) 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; } &&
31492 { ac_try
='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31499 echo "$as_me:$LINENO: result: found in default search path" >&5
31500 echo "${ECHO_T}found in default search path" >&6
31501 COMPILED_X_PROGRAM
=1
31504 echo "$as_me: failed program was:" >&5
31505 sed 's/^/| /' conftest.
$ac_ext >&5
31508 echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6
31510 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31511 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31512 { (exit 1); exit 1; }; }
31516 rm -f conftest.err conftest.
$ac_objext \
31517 conftest
$ac_exeext conftest.
$ac_ext
31519 CXXFLAGS
=$save_CXXFLAGS
31523 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31524 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31528 for libp
in "" " -lXp"; do
31529 if test "$libs_found" = "0"; then
31530 for libsm_ice
in "" " -lSM -lICE"; do
31531 if test "$libs_found" = "0"; then
31533 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31534 save_CXXFLAGS
=$CXXFLAGS
31535 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31537 cat >conftest.
$ac_ext <<_ACEOF
31540 cat confdefs.h
>>conftest.
$ac_ext
31541 cat >>conftest.
$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31545 #include <Xm/List.h>
31551 XmString string = NULL;
31554 XmListAddItem(w, string, position);
31560 rm -f conftest.
$ac_objext conftest
$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562 (eval $ac_link) 2>conftest.er1
31564 grep -v '^ *+' conftest.er1
>conftest.err
31566 cat conftest.err
>&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } &&
31569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31571 (eval $ac_try) 2>&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; } &&
31575 { ac_try
='test -s conftest$ac_exeext'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; }; then
31583 libsm_ice_link
="$libsm_ice"
31584 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31585 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31589 echo "$as_me: failed program was:" >&5
31590 sed 's/^/| /' conftest.
$ac_ext >&5
31595 rm -f conftest.err conftest.
$ac_objext \
31596 conftest
$ac_exeext conftest.
$ac_ext
31599 CXXFLAGS
=$save_CXXFLAGS
31605 if test "$libs_found" = "0"; then
31606 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31607 echo "${ECHO_T}can't find the right libraries" >&6
31608 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31609 echo "$as_me: error: can't link a simple motif program" >&2;}
31610 { (exit 1); exit 1; }; }
31613 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31614 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31615 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31616 echo $ECHO_N "(cached) $ECHO_C" >&6
31618 ac_check_lib_save_LIBS
=$LIBS
31620 cat >conftest.
$ac_ext <<_ACEOF
31623 cat confdefs.h
>>conftest.
$ac_ext
31624 cat >>conftest.
$ac_ext <<_ACEOF
31625 /* end confdefs.h. */
31627 /* Override any gcc2 internal prototype to avoid an error. */
31631 /* We use char because int might match the return type of a gcc2
31632 builtin and then its argument prototype would still apply. */
31633 char SgCreateList ();
31642 rm -f conftest.
$ac_objext conftest
$ac_exeext
31643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31644 (eval $ac_link) 2>conftest.er1
31646 grep -v '^ *+' conftest.er1
>conftest.err
31648 cat conftest.err
>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } &&
31651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; } &&
31657 { ac_try
='test -s conftest$ac_exeext'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }; then
31663 ac_cv_lib_Sgm_SgCreateList
=yes
31665 echo "$as_me: failed program was:" >&5
31666 sed 's/^/| /' conftest.
$ac_ext >&5
31668 ac_cv_lib_Sgm_SgCreateList
=no
31670 rm -f conftest.err conftest.
$ac_objext \
31671 conftest
$ac_exeext conftest.
$ac_ext
31672 LIBS
=$ac_check_lib_save_LIBS
31674 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31675 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31676 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31677 libsgm_link
=" -lSgm"
31681 save_CXXFLAGS
=$CXXFLAGS
31682 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31684 echo "$as_me:$LINENO: checking for Motif 2" >&5
31685 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31686 if test "${wx_cv_lib_motif2+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31689 cat >conftest.
$ac_ext <<_ACEOF
31692 cat confdefs.h
>>conftest.
$ac_ext
31693 cat >>conftest.
$ac_ext <<_ACEOF
31694 /* end confdefs.h. */
31702 #if XmVersion < 2000
31710 rm -f conftest.
$ac_objext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31712 (eval $ac_compile) 2>conftest.er1
31714 grep -v '^ *+' conftest.er1
>conftest.err
31716 cat conftest.err
>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try
='test -s conftest.$ac_objext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 wx_cv_lib_motif2
="yes"
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.
$ac_ext >&5
31736 wx_cv_lib_motif2
="no"
31738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31740 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31741 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31742 if test "$wx_cv_lib_motif2" = "yes"; then
31743 cat >>confdefs.h
<<\_ACEOF
31744 #define __WXMOTIF20__ 1
31748 cat >>confdefs.h
<<\_ACEOF
31749 #define __WXMOTIF20__ 0
31754 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31755 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31756 if test "${wx_cv_lib_lesstif+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 cat >conftest.
$ac_ext <<_ACEOF
31762 cat confdefs.h
>>conftest.
$ac_ext
31763 cat >>conftest.
$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31772 #if !defined(LesstifVersion) || LesstifVersion <= 0
31780 rm -f conftest.
$ac_objext
31781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31782 (eval $ac_compile) 2>conftest.er1
31784 grep -v '^ *+' conftest.er1
>conftest.err
31786 cat conftest.err
>&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } &&
31789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; } &&
31795 { ac_try
='test -s conftest.$ac_objext'
31796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31797 (eval $ac_try) 2>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); }; }; then
31801 wx_cv_lib_lesstif
="yes"
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.
$ac_ext >&5
31806 wx_cv_lib_lesstif
="no"
31808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31811 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31812 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31813 if test "$wx_cv_lib_lesstif" = "yes"; then
31814 cat >>confdefs.h
<<\_ACEOF
31815 #define __WXLESSTIF__ 1
31819 cat >>confdefs.h
<<\_ACEOF
31820 #define __WXLESSTIF__ 0
31825 CXXFLAGS
=$save_CXXFLAGS
31827 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31832 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31833 if test "$wxUSE_LIBXPM" = "sys"; then
31834 echo "$as_me:$LINENO: checking for Xpm library" >&5
31835 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31838 for ac_dir
in $SEARCH_LIB;
31840 for ac_extension
in a so sl dylib dll.a
; do
31841 if test -f "$ac_dir/libXpm.$ac_extension"; then
31842 ac_find_libraries
=$ac_dir
31848 if test "$ac_find_libraries" != "" ; then
31850 if test "$ac_find_libraries" = "default location"; then
31853 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31855 if test $result = 0; then
31858 ac_path_to_link
=" -L$ac_find_libraries"
31862 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31863 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31864 echo "${ECHO_T}found in $ac_find_libraries" >&6
31866 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31867 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31868 if test "${wx_cv_x11_xpm_h+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 save_CXXFLAGS
=$CXXFLAGS
31873 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31875 cat >conftest.
$ac_ext <<_ACEOF
31878 cat confdefs.h
>>conftest.
$ac_ext
31879 cat >>conftest.
$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31882 #include <X11/xpm.h>
31889 version = XpmLibraryVersion();
31895 rm -f conftest.
$ac_objext
31896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31897 (eval $ac_compile) 2>conftest.er1
31899 grep -v '^ *+' conftest.er1
>conftest.err
31901 cat conftest.err
>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } &&
31904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; } &&
31910 { ac_try
='test -s conftest.$ac_objext'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; }; then
31916 wx_cv_x11_xpm_h
=yes
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.
$ac_ext >&5
31924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31926 CXXFLAGS
=$save_CXXFLAGS
31930 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31931 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31933 if test $wx_cv_x11_xpm_h = "yes"; then
31934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31935 cat >>confdefs.h
<<\_ACEOF
31936 #define wxHAVE_LIB_XPM 1
31940 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31941 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31947 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31948 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31949 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 ac_check_lib_save_LIBS
=$LIBS
31953 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31954 cat >conftest.
$ac_ext <<_ACEOF
31957 cat confdefs.h
>>conftest.
$ac_ext
31958 cat >>conftest.
$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31961 /* Override any gcc2 internal prototype to avoid an error. */
31965 /* We use char because int might match the return type of a gcc2
31966 builtin and then its argument prototype would still apply. */
31967 char XShapeQueryExtension ();
31971 XShapeQueryExtension ();
31976 rm -f conftest.
$ac_objext conftest
$ac_exeext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31978 (eval $ac_link) 2>conftest.er1
31980 grep -v '^ *+' conftest.er1
>conftest.err
31982 cat conftest.err
>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); } &&
31985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; } &&
31991 { ac_try
='test -s conftest$ac_exeext'
31992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31993 (eval $ac_try) 2>&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); }; }; then
31997 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.
$ac_ext >&5
32002 ac_cv_lib_Xext_XShapeQueryExtension
=no
32004 rm -f conftest.err conftest.
$ac_objext \
32005 conftest
$ac_exeext conftest.
$ac_ext
32006 LIBS
=$ac_check_lib_save_LIBS
32008 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32009 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32010 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32018 if test "$wxHAVE_XEXT_LIB" = 1; then
32019 save_CXXFLAGS
="$CXXFLAGS"
32020 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32022 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32023 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32024 cat >conftest.
$ac_ext <<_ACEOF
32027 cat confdefs.h
>>conftest.
$ac_ext
32028 cat >>conftest.
$ac_ext <<_ACEOF
32029 /* end confdefs.h. */
32031 #include <X11/Xlib.h>
32032 #include <X11/extensions/shape.h>
32038 int dummy1, dummy2;
32039 XShapeQueryExtension((Display*)NULL,
32040 (int*)NULL, (int*)NULL);
32046 rm -f conftest.
$ac_objext
32047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32048 (eval $ac_compile) 2>conftest.er1
32050 grep -v '^ *+' conftest.er1
>conftest.err
32052 cat conftest.err
>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } &&
32055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057 (eval $ac_try) 2>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); }; } &&
32061 { ac_try
='test -s conftest.$ac_objext'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; }; then
32068 cat >>confdefs.h
<<\_ACEOF
32069 #define HAVE_XSHAPE 1
32072 echo "$as_me:$LINENO: result: found" >&5
32073 echo "${ECHO_T}found" >&6
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.
$ac_ext >&5
32080 echo "$as_me:$LINENO: result: not found" >&5
32081 echo "${ECHO_T}not found" >&6
32084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32085 CXXFLAGS
="$save_CXXFLAGS"
32090 if test "$wxUSE_MAC" = 1; then
32091 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32092 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32093 if test "$GCC" = yes; then
32094 echo "$as_me:$LINENO: result: gcc" >&5
32095 echo "${ECHO_T}gcc" >&6
32096 CPPFLAGS_PASCAL
="-fpascal-strings"
32097 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32098 echo "$as_me:$LINENO: result: xlc" >&5
32099 echo "${ECHO_T}xlc" >&6
32100 CPPFLAGS_PASCAL
="-qmacpstr"
32102 echo "$as_me:$LINENO: result: none" >&5
32103 echo "${ECHO_T}none" >&6
32106 if test "x$wxUSE_UNIX" = "xyes"; then
32107 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32109 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32114 WXBASEPORT
="_carbon"
32117 if test "$wxUSE_COCOA" = 1; then
32122 if test "$wxUSE_PM" = 1; then
32125 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32126 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32127 if test "${wx_cv_spbcdata+set}" = set; then
32128 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 cat >conftest.
$ac_ext <<_ACEOF
32134 cat confdefs.h
>>conftest.
$ac_ext
32135 cat >>conftest.
$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32151 rm -f conftest.
$ac_objext
32152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32153 (eval $ac_compile) 2>conftest.er1
32155 grep -v '^ *+' conftest.er1
>conftest.err
32157 cat conftest.err
>&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } &&
32160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162 (eval $ac_try) 2>&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); }; } &&
32166 { ac_try
='test -s conftest.$ac_objext'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; }; then
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.
$ac_ext >&5
32180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32184 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32185 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32187 if test $wx_cv_spbcdata = "yes"; then
32188 cat >>confdefs.h
<<\_ACEOF
32189 #define HAVE_SPBCDATA 1
32195 if test "$TOOLKIT" = "PM" ; then
32198 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32201 if test "$wxUSE_UNIVERSAL" = "yes"; then
32202 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32206 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32207 DISTDIR
="wx\$(TOOLKIT)"
32213 if test "$USE_WIN32" = 1 ; then
32217 GUIDIST
="BASE_DIST"
32222 if test "$wxUSE_GUI" = "yes"; then
32223 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32225 for ac_header
in X
11/Xlib.h
32227 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32229 echo "$as_me:$LINENO: checking for $ac_header" >&5
32230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32232 echo $ECHO_N "(cached) $ECHO_C" >&6
32234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32237 # Is the header compilable?
32238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32240 cat >conftest.
$ac_ext <<_ACEOF
32243 cat confdefs.h
>>conftest.
$ac_ext
32244 cat >>conftest.
$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 $ac_includes_default
32247 #include <$ac_header>
32249 rm -f conftest.
$ac_objext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32251 (eval $ac_compile) 2>conftest.er1
32253 grep -v '^ *+' conftest.er1
>conftest.err
32255 cat conftest.err
>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try
='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 ac_header_compiler
=yes
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.
$ac_ext >&5
32275 ac_header_compiler
=no
32277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32279 echo "${ECHO_T}$ac_header_compiler" >&6
32281 # Is the header present?
32282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32284 cat >conftest.
$ac_ext <<_ACEOF
32287 cat confdefs.h
>>conftest.
$ac_ext
32288 cat >>conftest.
$ac_ext <<_ACEOF
32289 /* end confdefs.h. */
32290 #include <$ac_header>
32292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32293 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
32300 if test -s conftest.err
; then
32301 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32302 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32309 if test -z "$ac_cpp_err"; then
32310 ac_header_preproc
=yes
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.
$ac_ext >&5
32315 ac_header_preproc
=no
32317 rm -f conftest.err conftest.
$ac_ext
32318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32319 echo "${ECHO_T}$ac_header_preproc" >&6
32321 # So? What about this header?
32322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32328 ac_header_preproc
=yes
32331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32345 ## ----------------------------------------- ##
32346 ## Report this to wx-dev@lists.wxwidgets.org ##
32347 ## ----------------------------------------- ##
32350 sed "s/^/$as_me: WARNING: /" >&2
32353 echo "$as_me:$LINENO: checking for $ac_header" >&5
32354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 eval "$as_ac_Header=\$ac_header_preproc"
32360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32365 cat >>confdefs.h
<<_ACEOF
32366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32374 for ac_header
in X
11/XKBlib.h
32376 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32377 echo "$as_me:$LINENO: checking for $ac_header" >&5
32378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32380 echo $ECHO_N "(cached) $ECHO_C" >&6
32382 cat >conftest.
$ac_ext <<_ACEOF
32385 cat confdefs.h
>>conftest.
$ac_ext
32386 cat >>conftest.
$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32389 #if HAVE_X11_XLIB_H
32390 #include <X11/Xlib.h>
32394 #include <$ac_header>
32396 rm -f conftest.
$ac_objext
32397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32398 (eval $ac_compile) 2>conftest.er1
32400 grep -v '^ *+' conftest.er1
>conftest.err
32402 cat conftest.err
>&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } &&
32405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32407 (eval $ac_try) 2>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); }; } &&
32411 { ac_try
='test -s conftest.$ac_objext'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; }; then
32417 eval "$as_ac_Header=yes"
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.
$ac_ext >&5
32422 eval "$as_ac_Header=no"
32424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32429 cat >>confdefs.h
<<_ACEOF
32430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32445 if test "$TOOLKIT" != "MSW" ; then
32447 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32449 if test "${ac_cv_header_sql_h+set}" = set; then
32450 echo "$as_me:$LINENO: checking for sql.h" >&5
32451 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32452 if test "${ac_cv_header_sql_h+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32456 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32458 # Is the header compilable?
32459 echo "$as_me:$LINENO: checking sql.h usability" >&5
32460 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32461 cat >conftest.
$ac_ext <<_ACEOF
32464 cat confdefs.h
>>conftest.
$ac_ext
32465 cat >>conftest.
$ac_ext <<_ACEOF
32466 /* end confdefs.h. */
32467 $ac_includes_default
32470 rm -f conftest.
$ac_objext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32472 (eval $ac_compile) 2>conftest.er1
32474 grep -v '^ *+' conftest.er1
>conftest.err
32476 cat conftest.err
>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; } &&
32485 { ac_try
='test -s conftest.$ac_objext'
32486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32487 (eval $ac_try) 2>&5
32489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490 (exit $ac_status); }; }; then
32491 ac_header_compiler
=yes
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.
$ac_ext >&5
32496 ac_header_compiler
=no
32498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32500 echo "${ECHO_T}$ac_header_compiler" >&6
32502 # Is the header present?
32503 echo "$as_me:$LINENO: checking sql.h presence" >&5
32504 echo $ECHO_N "checking sql.h presence... $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. */
32513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32516 grep -v '^ *+' conftest.er1
>conftest.err
32518 cat conftest.err
>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } >/dev
/null
; then
32521 if test -s conftest.err
; then
32522 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32523 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32530 if test -z "$ac_cpp_err"; then
32531 ac_header_preproc
=yes
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.
$ac_ext >&5
32536 ac_header_preproc
=no
32538 rm -f conftest.err conftest.
$ac_ext
32539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32540 echo "${ECHO_T}$ac_header_preproc" >&6
32542 # So? What about this header?
32543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32545 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32546 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32547 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32548 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32549 ac_header_preproc
=yes
32552 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32553 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32554 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32555 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32556 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32557 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32559 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32560 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32561 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32562 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32563 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32566 ## ----------------------------------------- ##
32567 ## Report this to wx-dev@lists.wxwidgets.org ##
32568 ## ----------------------------------------- ##
32571 sed "s/^/$as_me: WARNING: /" >&2
32574 echo "$as_me:$LINENO: checking for sql.h" >&5
32575 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32576 if test "${ac_cv_header_sql_h+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32579 ac_cv_header_sql_h
=$ac_header_preproc
32581 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32582 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32585 if test $ac_cv_header_sql_h = yes; then
32590 if test "x$found_sql_h" = "x1" ; then
32591 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32592 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32593 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 ac_check_lib_save_LIBS
=$LIBS
32597 LIBS
="-liodbc $LIBS"
32598 cat >conftest.
$ac_ext <<_ACEOF
32601 cat confdefs.h
>>conftest.
$ac_ext
32602 cat >>conftest.
$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32605 /* Override any gcc2 internal prototype to avoid an error. */
32609 /* We use char because int might match the return type of a gcc2
32610 builtin and then its argument prototype would still apply. */
32611 char SQLAllocEnv ();
32620 rm -f conftest.
$ac_objext conftest
$ac_exeext
32621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32622 (eval $ac_link) 2>conftest.er1
32624 grep -v '^ *+' conftest.er1
>conftest.err
32626 cat conftest.err
>&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); } &&
32629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32631 (eval $ac_try) 2>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; } &&
32635 { ac_try
='test -s conftest$ac_exeext'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; }; then
32641 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.
$ac_ext >&5
32646 ac_cv_lib_iodbc_SQLAllocEnv
=no
32648 rm -f conftest.err conftest.
$ac_objext \
32649 conftest
$ac_exeext conftest.
$ac_ext
32650 LIBS
=$ac_check_lib_save_LIBS
32652 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32653 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32654 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32655 ODBC_LINK
=" -liodbc"
32658 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32659 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32660 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 ac_check_lib_save_LIBS
=$LIBS
32664 LIBS
="-lunixodbc $LIBS"
32665 cat >conftest.
$ac_ext <<_ACEOF
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32672 /* Override any gcc2 internal prototype to avoid an error. */
32676 /* We use char because int might match the return type of a gcc2
32677 builtin and then its argument prototype would still apply. */
32678 char SQLAllocEnv ();
32687 rm -f conftest.
$ac_objext conftest
$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32691 grep -v '^ *+' conftest.er1
>conftest.err
32693 cat conftest.err
>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698 (eval $ac_try) 2>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try
='test -s conftest$ac_exeext'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; }; then
32708 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.
$ac_ext >&5
32713 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32715 rm -f conftest.err conftest.
$ac_objext \
32716 conftest
$ac_exeext conftest.
$ac_ext
32717 LIBS
=$ac_check_lib_save_LIBS
32719 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32720 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32721 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32722 ODBC_LINK
=" -lunixodbc"
32725 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32726 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32727 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32728 echo $ECHO_N "(cached) $ECHO_C" >&6
32730 ac_check_lib_save_LIBS
=$LIBS
32731 LIBS
="-lodbc $LIBS"
32732 cat >conftest.
$ac_ext <<_ACEOF
32735 cat confdefs.h
>>conftest.
$ac_ext
32736 cat >>conftest.
$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32739 /* Override any gcc2 internal prototype to avoid an error. */
32743 /* We use char because int might match the return type of a gcc2
32744 builtin and then its argument prototype would still apply. */
32745 char SQLAllocEnv ();
32754 rm -f conftest.
$ac_objext conftest
$ac_exeext
32755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32756 (eval $ac_link) 2>conftest.er1
32758 grep -v '^ *+' conftest.er1
>conftest.err
32760 cat conftest.err
>&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } &&
32763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32765 (eval $ac_try) 2>&5
32767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768 (exit $ac_status); }; } &&
32769 { ac_try
='test -s conftest$ac_exeext'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; }; then
32775 ac_cv_lib_odbc_SQLAllocEnv
=yes
32777 echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.
$ac_ext >&5
32780 ac_cv_lib_odbc_SQLAllocEnv
=no
32782 rm -f conftest.err conftest.
$ac_objext \
32783 conftest
$ac_exeext conftest.
$ac_ext
32784 LIBS
=$ac_check_lib_save_LIBS
32786 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32787 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32788 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32789 ODBC_LINK
=" -lodbc"
32799 if test "x$ODBC_LINK" = "x" ; then
32800 if test "$wxUSE_ODBC" = "sys" ; then
32801 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32802 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32803 { (exit 1); exit 1; }; }
32805 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32806 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32814 if test "$wxUSE_ODBC" = "builtin" ; then
32815 cat >>confdefs.h
<<\_ACEOF
32816 #define wxUSE_BUILTIN_IODBC 1
32822 if test "$wxUSE_ODBC" != "no" ; then
32823 cat >>confdefs.h
<<\_ACEOF
32824 #define wxUSE_ODBC 1
32827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32829 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32833 if test "$wxUSE_DISPLAY" = "yes"; then
32834 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32835 echo "$as_me:$LINENO: checking for Xinerama" >&5
32836 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32839 for ac_dir
in $SEARCH_LIB;
32841 for ac_extension
in a so sl dylib dll.a
; do
32842 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32843 ac_find_libraries
=$ac_dir
32849 if test "$ac_find_libraries" != "" ; then
32851 if test "$ac_find_libraries" = "default location"; then
32854 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32856 if test $result = 0; then
32859 ac_path_to_link
=" -L$ac_find_libraries"
32863 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32864 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32866 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32867 echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6
32870 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32871 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32874 for ac_dir
in $SEARCH_LIB;
32876 for ac_extension
in a so sl dylib dll.a
; do
32877 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32878 ac_find_libraries
=$ac_dir
32884 if test "$ac_find_libraries" != "" ; then
32885 echo "$as_me:$LINENO: result: yes" >&5
32886 echo "${ECHO_T}yes" >&6
32888 for ac_header
in X
11/extensions
/xf86vmode.h
32890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32891 echo "$as_me:$LINENO: checking for $ac_header" >&5
32892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 cat >conftest.
$ac_ext <<_ACEOF
32899 cat confdefs.h
>>conftest.
$ac_ext
32900 cat >>conftest.
$ac_ext <<_ACEOF
32901 /* end confdefs.h. */
32903 #if HAVE_X11_XLIB_H
32904 #include <X11/Xlib.h>
32908 #include <$ac_header>
32910 rm -f conftest.
$ac_objext
32911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32912 (eval $ac_compile) 2>conftest.er1
32914 grep -v '^ *+' conftest.er1
>conftest.err
32916 cat conftest.err
>&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); } &&
32919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try
='test -s conftest.$ac_objext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32931 eval "$as_ac_Header=yes"
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.
$ac_ext >&5
32936 eval "$as_ac_Header=no"
32938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32943 cat >>confdefs.h
<<_ACEOF
32944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32947 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32954 echo "$as_me:$LINENO: result: no" >&5
32955 echo "${ECHO_T}no" >&6
32959 echo "$as_me:$LINENO: result: no" >&5
32960 echo "${ECHO_T}no" >&6
32961 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32962 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32965 elif test "$wxUSE_MSW" = 1; then
32967 for ac_header
in ddraw.h
32969 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32970 echo "$as_me:$LINENO: checking for $ac_header" >&5
32971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32973 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 cat >conftest.
$ac_ext <<_ACEOF
32978 cat confdefs.h
>>conftest.
$ac_ext
32979 cat >>conftest.
$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32981 #include <windows.h>
32983 #include <$ac_header>
32985 rm -f conftest.
$ac_objext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32987 (eval $ac_compile) 2>conftest.er1
32989 grep -v '^ *+' conftest.er1
>conftest.err
32991 cat conftest.err
>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; } &&
33000 { ac_try
='test -s conftest.$ac_objext'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; }; then
33006 eval "$as_ac_Header=yes"
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.
$ac_ext >&5
33011 eval "$as_ac_Header=no"
33013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33018 cat >>confdefs.h
<<_ACEOF
33019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33029 if test "$wxUSE_DETECT_SM" = "yes"; then
33030 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33031 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33032 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33035 for ac_dir
in $SEARCH_LIB;
33037 for ac_extension
in a so sl dylib dll.a
; do
33038 if test -f "$ac_dir/libSM.$ac_extension"; then
33039 ac_find_libraries
=$ac_dir
33045 if test "$ac_find_libraries" != "" ; then
33047 if test "$ac_find_libraries" = "default location"; then
33050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33052 if test $result = 0; then
33055 ac_path_to_link
=" -L$ac_find_libraries"
33059 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33060 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33062 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33063 echo "$as_me:$LINENO: result: yes" >&5
33064 echo "${ECHO_T}yes" >&6
33066 echo "$as_me:$LINENO: result: no" >&5
33067 echo "${ECHO_T}no" >&6
33068 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33069 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33070 wxUSE_DETECT_SM
="no"
33073 wxUSE_DETECT_SM
="no"
33080 if test "$wxUSE_OPENGL" = "yes"; then
33081 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33082 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33083 elif test "$wxUSE_MSW" = 1; then
33084 OPENGL_LIBS
="-lopengl32 -lglu32"
33089 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33091 if test -f "$ac_dir/GL/gl.h"; then
33092 ac_find_includes
=$ac_dir
33097 if test "$ac_find_includes" != "" ; then
33098 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33099 echo "${ECHO_T}found in $ac_find_includes" >&6
33101 if test "x$ac_find_includes" = "x/usr/include"; then
33102 ac_path_to_include
=""
33104 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33106 if test $result = 0; then
33107 ac_path_to_include
=""
33109 ac_path_to_include
=" -I$ac_find_includes"
33113 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33116 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33117 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33118 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33119 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33123 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33125 # Is the header compilable?
33126 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33127 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 $ac_includes_default
33137 rm -f conftest.
$ac_objext
33138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33139 (eval $ac_compile) 2>conftest.er1
33141 grep -v '^ *+' conftest.er1
>conftest.err
33143 cat conftest.err
>&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); } &&
33146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33148 (eval $ac_try) 2>&5
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); }; } &&
33152 { ac_try
='test -s conftest.$ac_objext'
33153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154 (eval $ac_try) 2>&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; }; then
33158 ac_header_compiler
=yes
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.
$ac_ext >&5
33163 ac_header_compiler
=no
33165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33167 echo "${ECHO_T}$ac_header_compiler" >&6
33169 # Is the header present?
33170 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33171 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33172 cat >conftest.
$ac_ext <<_ACEOF
33175 cat confdefs.h
>>conftest.
$ac_ext
33176 cat >>conftest.
$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33183 grep -v '^ *+' conftest.er1
>conftest.err
33185 cat conftest.err
>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } >/dev
/null
; then
33188 if test -s conftest.err
; then
33189 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33190 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33197 if test -z "$ac_cpp_err"; then
33198 ac_header_preproc
=yes
33200 echo "$as_me: failed program was:" >&5
33201 sed 's/^/| /' conftest.
$ac_ext >&5
33203 ac_header_preproc
=no
33205 rm -f conftest.err conftest.
$ac_ext
33206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33207 echo "${ECHO_T}$ac_header_preproc" >&6
33209 # So? What about this header?
33210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33212 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33213 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33215 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33216 ac_header_preproc
=yes
33219 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33220 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33221 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33222 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33223 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33224 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33226 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33228 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33230 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33233 ## ----------------------------------------- ##
33234 ## Report this to wx-dev@lists.wxwidgets.org ##
33235 ## ----------------------------------------- ##
33238 sed "s/^/$as_me: WARNING: /" >&2
33241 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33242 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33243 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 ac_cv_header_GL_gl_h
=$ac_header_preproc
33248 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33249 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33252 if test $ac_cv_header_GL_gl_h = yes; then
33256 echo "$as_me:$LINENO: checking for -lGL" >&5
33257 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33260 for ac_dir
in $SEARCH_LIB;
33262 for ac_extension
in a so sl dylib dll.a
; do
33263 if test -f "$ac_dir/libGL.$ac_extension"; then
33264 ac_find_libraries
=$ac_dir
33270 if test "$ac_find_libraries" != "" ; then
33271 echo "$as_me:$LINENO: result: yes" >&5
33272 echo "${ECHO_T}yes" >&6
33275 if test "$ac_find_libraries" = "default location"; then
33278 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33280 if test $result = 0; then
33283 ac_path_to_link
=" -L$ac_find_libraries"
33287 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33288 LDFLAGS_GL
="$ac_path_to_link"
33291 echo "$as_me:$LINENO: checking for -lGLU" >&5
33292 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33295 for ac_dir
in $SEARCH_LIB;
33297 for ac_extension
in a so sl dylib dll.a
; do
33298 if test -f "$ac_dir/libGLU.$ac_extension"; then
33299 ac_find_libraries
=$ac_dir
33305 if test "$ac_find_libraries" != "" ; then
33307 if test "$ac_find_libraries" = "default location"; then
33310 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33312 if test $result = 0; then
33315 ac_path_to_link
=" -L$ac_find_libraries"
33319 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33320 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33321 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33325 OPENGL_LIBS
="-lGL -lGLU"
33326 echo "$as_me:$LINENO: result: yes" >&5
33327 echo "${ECHO_T}yes" >&6
33329 echo "$as_me:$LINENO: result: no" >&5
33330 echo "${ECHO_T}no" >&6
33333 echo "$as_me:$LINENO: result: no" >&5
33334 echo "${ECHO_T}no" >&6
33337 if test "$found_gl" != 1; then
33338 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33339 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33342 for ac_dir
in $SEARCH_LIB;
33344 for ac_extension
in a so sl dylib dll.a
; do
33345 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33346 ac_find_libraries
=$ac_dir
33352 if test "$ac_find_libraries" != "" ; then
33354 if test "$ac_find_libraries" = "default location"; then
33357 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33359 if test $result = 0; then
33362 ac_path_to_link
=" -L$ac_find_libraries"
33366 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33367 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33368 echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6
33371 echo "$as_me:$LINENO: result: no" >&5
33372 echo "${ECHO_T}no" >&6
33380 if test "x$OPENGL_LIBS" = "x"; then
33381 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33382 echo "$as_me: error: OpenGL libraries not available" >&2;}
33383 { (exit 1); exit 1; }; }
33387 if test "$wxUSE_OPENGL" = "yes"; then
33389 cat >>confdefs.h
<<\_ACEOF
33390 #define wxUSE_OPENGL 1
33393 cat >>confdefs.h
<<\_ACEOF
33394 #define wxUSE_GLCANVAS 1
33397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33402 if test -n "$TOOLKIT" ; then
33403 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33408 if test "$wxUSE_SHARED" = "yes"; then
33412 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33413 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33418 if test "$wxUSE_SHARED" = "yes"; then
33421 found_versioning
=no
33424 if test $found_versioning = no
; then
33425 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33426 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33427 if test "${wx_cv_version_script+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 echo "VER_1 { *; };" >conftest.sym
33432 echo "int main() { return 0; }" >conftest.cpp
33435 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33436 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; } ; then
33442 if test -s conftest.stderr
; then
33443 wx_cv_version_script
=no
33445 wx_cv_version_script
=yes
33448 wx_cv_version_script
=no
33451 if test $wx_cv_version_script = yes
33453 echo "struct B { virtual ~B() { } }; \
33454 struct D : public B { }; \
33455 void F() { D d; }" > conftest.cpp
33458 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33459 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; } &&
33466 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33467 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }
33475 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33476 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; }
33483 wx_cv_version_script
=yes
33485 wx_cv_version_script
=no
33490 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33491 rm -f conftest1.output conftest2.output conftest3.output
33494 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33495 echo "${ECHO_T}$wx_cv_version_script" >&6
33496 if test $wx_cv_version_script = yes ; then
33497 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33503 *-*-linux* | *-*-gnu* )
33504 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33505 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33509 if test "$GCC" = yes ; then
33510 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33512 saveLdflags
="$LDFLAGS"
33513 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33514 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33516 cat >conftest.
$ac_ext <<_ACEOF
33519 cat confdefs.h
>>conftest.
$ac_ext
33520 cat >>conftest.
$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33531 rm -f conftest.
$ac_objext conftest
$ac_exeext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>conftest.er1
33535 grep -v '^ *+' conftest.er1
>conftest.err
33537 cat conftest.err
>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } &&
33540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; } &&
33546 { ac_try
='test -s conftest$ac_exeext'
33547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548 (eval $ac_try) 2>&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); }; }; then
33553 echo "$as_me:$LINENO: result: yes" >&5
33554 echo "${ECHO_T}yes" >&6
33555 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33556 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.
$ac_ext >&5
33563 echo "$as_me:$LINENO: result: no" >&5
33564 echo "${ECHO_T}no" >&6
33565 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33566 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33567 LDFLAGS
="$saveLdflags -Wl,-R,/"
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33583 rm -f conftest.
$ac_objext conftest
$ac_exeext
33584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33585 (eval $ac_link) 2>conftest.er1
33587 grep -v '^ *+' conftest.er1
>conftest.err
33589 cat conftest.err
>&5
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); } &&
33592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 (eval $ac_try) 2>&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); }; } &&
33598 { ac_try
='test -s conftest$ac_exeext'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; }; then
33605 echo "$as_me:$LINENO: result: yes" >&5
33606 echo "${ECHO_T}yes" >&6
33607 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33608 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.
$ac_ext >&5
33615 echo "$as_me:$LINENO: result: no" >&5
33616 echo "${ECHO_T}no" >&6
33619 rm -f conftest.err conftest.
$ac_objext \
33620 conftest
$ac_exeext conftest.
$ac_ext
33623 rm -f conftest.err conftest.
$ac_objext \
33624 conftest
$ac_exeext conftest.
$ac_ext
33625 LDFLAGS
="$saveLdflags"
33627 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33628 WXCONFIG_RPATH
="-R\$libdir"
33633 install_name_tool
=`which install_name_tool`
33634 if test "$install_name_tool" -a -x "$install_name_tool"; then
33635 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33636 cat <<EOF >change-install-names
33638 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33639 inst_cmd="install_name_tool "
33640 for i in \${libnames} ; do
33641 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33645 chmod +x change
-install-names
33649 *-*-cygwin* | *-*-mingw32* )
33650 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33654 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33655 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33660 if test $wxUSE_RPATH = "no"; then
33661 SAMPLES_RPATH_FLAG
=''
33662 SAMPLES_RPATH_POSTLINK
=''
33670 config_linkage_component
="-static"
33677 lib_unicode_suffix
=
33679 if test "$wxUSE_UNICODE" = "yes"; then
33680 lib_unicode_suffix
=u
33681 WX_CHARTYPE
="unicode"
33686 WX_DEBUGTYPE
="release"
33688 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33690 WX_DEBUGTYPE
="debug"
33694 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33695 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33698 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33702 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33704 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33706 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33708 if test "$cross_compiling" = "yes"; then
33709 HOST_SUFFIX
="-$host_alias"
33710 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33711 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33714 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33715 if test "${TOOLKIT_DIR}" = "os2"; then
33716 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33718 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33723 if test "$wxUSE_COCOA" = 1; then
33727 ac_cpp
='$CPP $CPPFLAGS'
33728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33734 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33735 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33736 cat >conftest.
$ac_ext <<_ACEOF
33739 cat confdefs.h
>>conftest.
$ac_ext
33740 cat >>conftest.
$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742 #include <AppKit/NSEvent.h>
33743 #include <CoreFoundation/CoreFoundation.h>
33753 rm -f conftest.
$ac_objext
33754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33755 (eval $ac_compile) 2>conftest.er1
33757 grep -v '^ *+' conftest.er1
>conftest.err
33759 cat conftest.err
>&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } &&
33762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; } &&
33768 { ac_try
='test -s conftest.$ac_objext'
33769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33770 (eval $ac_try) 2>&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); }; }; then
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.
$ac_ext >&5
33780 echo "$as_me:$LINENO: result: yes" >&5
33781 echo "${ECHO_T}yes" >&6
33782 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33783 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33784 cat >conftest.
$ac_ext <<_ACEOF
33787 cat confdefs.h
>>conftest.
$ac_ext
33788 cat >>conftest.
$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33790 #define __Point__ 1
33791 #include <AppKit/NSEvent.h>
33792 #include <CoreFoundation/CoreFoundation.h>
33802 rm -f conftest.
$ac_objext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33804 (eval $ac_compile) 2>conftest.er1
33806 grep -v '^ *+' conftest.er1
>conftest.err
33808 cat conftest.err
>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33823 echo "$as_me:$LINENO: result: yes" >&5
33824 echo "${ECHO_T}yes" >&6
33825 cat >>confdefs.h
<<\_ACEOF
33826 #define __Point__ 1
33831 echo "$as_me: failed program was:" >&5
33832 sed 's/^/| /' conftest.
$ac_ext >&5
33834 { { echo "$as_me:$LINENO: error: no
33835 See \`config.log' for more details." >&5
33836 echo "$as_me: error: no
33837 See \`config.log' for more details." >&2;}
33838 { (exit 1); exit 1; }; }
33841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33846 ac_cpp
='$CXXCPP $CPPFLAGS'
33847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33853 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33854 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33855 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33857 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33859 # Extract the first word of "Rez", so it can be a program name with args.
33860 set dummy Rez
; ac_word
=$2
33861 echo "$as_me:$LINENO: checking for $ac_word" >&5
33862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33863 if test "${ac_cv_prog_REZ+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33866 if test -n "$REZ"; then
33867 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33870 for as_dir
in $PATH
33873 test -z "$as_dir" && as_dir
=.
33874 for ac_exec_ext
in '' $ac_executable_extensions; do
33875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33876 ac_cv_prog_REZ
="Rez"
33877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33883 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33886 REZ
=$ac_cv_prog_REZ
33887 if test -n "$REZ"; then
33888 echo "$as_me:$LINENO: result: $REZ" >&5
33889 echo "${ECHO_T}$REZ" >&6
33891 echo "$as_me:$LINENO: result: no" >&5
33892 echo "${ECHO_T}no" >&6
33895 # Extract the first word of "DeRez", so it can be a program name with args.
33896 set dummy DeRez
; ac_word
=$2
33897 echo "$as_me:$LINENO: checking for $ac_word" >&5
33898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33899 if test "${ac_cv_prog_DEREZ+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 if test -n "$DEREZ"; then
33903 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33906 for as_dir
in $PATH
33909 test -z "$as_dir" && as_dir
=.
33910 for ac_exec_ext
in '' $ac_executable_extensions; do
33911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33912 ac_cv_prog_DEREZ
="DeRez"
33913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33919 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33922 DEREZ
=$ac_cv_prog_DEREZ
33923 if test -n "$DEREZ"; then
33924 echo "$as_me:$LINENO: result: $DEREZ" >&5
33925 echo "${ECHO_T}$DEREZ" >&6
33927 echo "$as_me:$LINENO: result: no" >&5
33928 echo "${ECHO_T}no" >&6
33931 # Extract the first word of "SetFile", so it can be a program name with args.
33932 set dummy SetFile
; ac_word
=$2
33933 echo "$as_me:$LINENO: checking for $ac_word" >&5
33934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33935 if test "${ac_cv_prog_SETFILE+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 if test -n "$SETFILE"; then
33939 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33942 for as_dir
in $PATH
33945 test -z "$as_dir" && as_dir
=.
33946 for ac_exec_ext
in '' $ac_executable_extensions; do
33947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33948 ac_cv_prog_SETFILE
="SetFile"
33949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33955 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33958 SETFILE
=$ac_cv_prog_SETFILE
33959 if test -n "$SETFILE"; then
33960 echo "$as_me:$LINENO: result: $SETFILE" >&5
33961 echo "${ECHO_T}$SETFILE" >&6
33963 echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6
33968 MACSETFILE
="\$(SETFILE)"
33970 if test "$wxUSE_MAC" = 1; then
33971 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33973 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33975 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33976 RESCOMP
="echo -n \| $REZ"
33977 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33983 if test "$wxUSE_PM" = 1; then
33985 WXCONFIG_RESFLAGS
="-ep"
33987 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33989 POSTLINK_COMMAND
="@true"
33996 echo "$as_me:$LINENO: checking for mode_t" >&5
33997 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33998 if test "${ac_cv_type_mode_t+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 cat >conftest.
$ac_ext <<_ACEOF
34004 cat confdefs.h
>>conftest.
$ac_ext
34005 cat >>conftest.
$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007 $ac_includes_default
34013 if (sizeof (mode_t))
34019 rm -f conftest.
$ac_objext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34021 (eval $ac_compile) 2>conftest.er1
34023 grep -v '^ *+' conftest.er1
>conftest.err
34025 cat conftest.err
>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try
='test -s conftest.$ac_objext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 ac_cv_type_mode_t
=yes
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.
$ac_ext >&5
34045 ac_cv_type_mode_t
=no
34047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34049 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34050 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34051 if test $ac_cv_type_mode_t = yes; then
34055 cat >>confdefs.h
<<_ACEOF
34061 echo "$as_me:$LINENO: checking for off_t" >&5
34062 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34063 if test "${ac_cv_type_off_t+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 cat >conftest.
$ac_ext <<_ACEOF
34069 cat confdefs.h
>>conftest.
$ac_ext
34070 cat >>conftest.
$ac_ext <<_ACEOF
34071 /* end confdefs.h. */
34072 $ac_includes_default
34078 if (sizeof (off_t))
34084 rm -f conftest.
$ac_objext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34086 (eval $ac_compile) 2>conftest.er1
34088 grep -v '^ *+' conftest.er1
>conftest.err
34090 cat conftest.err
>&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; } &&
34099 { ac_try
='test -s conftest.$ac_objext'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; }; then
34105 ac_cv_type_off_t
=yes
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.
$ac_ext >&5
34110 ac_cv_type_off_t
=no
34112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34114 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34115 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34116 if test $ac_cv_type_off_t = yes; then
34120 cat >>confdefs.h
<<_ACEOF
34126 echo "$as_me:$LINENO: checking for pid_t" >&5
34127 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34128 if test "${ac_cv_type_pid_t+set}" = set; then
34129 echo $ECHO_N "(cached) $ECHO_C" >&6
34131 cat >conftest.
$ac_ext <<_ACEOF
34134 cat confdefs.h
>>conftest.
$ac_ext
34135 cat >>conftest.
$ac_ext <<_ACEOF
34136 /* end confdefs.h. */
34137 $ac_includes_default
34143 if (sizeof (pid_t))
34149 rm -f conftest.
$ac_objext
34150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34151 (eval $ac_compile) 2>conftest.er1
34153 grep -v '^ *+' conftest.er1
>conftest.err
34155 cat conftest.err
>&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } &&
34158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; } &&
34164 { ac_try
='test -s conftest.$ac_objext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 ac_cv_type_pid_t
=yes
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.
$ac_ext >&5
34175 ac_cv_type_pid_t
=no
34177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34179 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34180 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34181 if test $ac_cv_type_pid_t = yes; then
34185 cat >>confdefs.h
<<_ACEOF
34191 echo "$as_me:$LINENO: checking for size_t" >&5
34192 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34193 if test "${ac_cv_type_size_t+set}" = set; then
34194 echo $ECHO_N "(cached) $ECHO_C" >&6
34196 cat >conftest.
$ac_ext <<_ACEOF
34199 cat confdefs.h
>>conftest.
$ac_ext
34200 cat >>conftest.
$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34202 $ac_includes_default
34208 if (sizeof (size_t))
34214 rm -f conftest.
$ac_objext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34216 (eval $ac_compile) 2>conftest.er1
34218 grep -v '^ *+' conftest.er1
>conftest.err
34220 cat conftest.err
>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try
='test -s conftest.$ac_objext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 ac_cv_type_size_t
=yes
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.
$ac_ext >&5
34240 ac_cv_type_size_t
=no
34242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34244 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34245 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34246 if test $ac_cv_type_size_t = yes; then
34250 cat >>confdefs.h
<<_ACEOF
34251 #define size_t unsigned
34256 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34257 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34258 if test "${ac_cv_type_uid_t+set}" = set; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267 #include <sys/types.h>
34270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34271 $EGREP "uid_t" >/dev
/null
2>&1; then
34272 ac_cv_type_uid_t
=yes
34274 ac_cv_type_uid_t
=no
34279 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34280 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34281 if test $ac_cv_type_uid_t = no
; then
34283 cat >>confdefs.h
<<\_ACEOF
34288 cat >>confdefs.h
<<\_ACEOF
34295 echo "$as_me:$LINENO: checking for ssize_t" >&5
34296 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34297 if test "${ac_cv_type_ssize_t+set}" = set; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 cat >conftest.
$ac_ext <<_ACEOF
34303 cat confdefs.h
>>conftest.
$ac_ext
34304 cat >>conftest.
$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34306 $ac_includes_default
34312 if (sizeof (ssize_t))
34318 rm -f conftest.
$ac_objext
34319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34320 (eval $ac_compile) 2>conftest.er1
34322 grep -v '^ *+' conftest.er1
>conftest.err
34324 cat conftest.err
>&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } &&
34327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; } &&
34333 { ac_try
='test -s conftest.$ac_objext'
34334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34335 (eval $ac_try) 2>&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); }; }; then
34339 ac_cv_type_ssize_t
=yes
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.
$ac_ext >&5
34344 ac_cv_type_ssize_t
=no
34346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34348 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34349 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34350 if test $ac_cv_type_ssize_t = yes; then
34352 cat >>confdefs.h
<<_ACEOF
34353 #define HAVE_SSIZE_T 1
34360 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34361 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34362 if test "${wx_cv_size_t_is_uint+set}" = set; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 cat >conftest.
$ac_ext <<_ACEOF
34369 cat confdefs.h
>>conftest.
$ac_ext
34370 cat >>conftest.
$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34372 #include <stddef.h>
34379 struct Foo { void foo(size_t); void foo(unsigned int); };
34387 rm -f conftest.
$ac_objext
34388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34389 (eval $ac_compile) 2>conftest.er1
34391 grep -v '^ *+' conftest.er1
>conftest.err
34393 cat conftest.err
>&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } &&
34396 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; } &&
34402 { ac_try
='test -s conftest.$ac_objext'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; }; then
34408 wx_cv_size_t_is_uint
=no
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.
$ac_ext >&5
34413 wx_cv_size_t_is_uint
=yes
34416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34420 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34421 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34423 if test "$wx_cv_size_t_is_uint" = "yes"; then
34424 cat >>confdefs.h
<<\_ACEOF
34425 #define wxSIZE_T_IS_UINT 1
34429 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34430 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34431 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34432 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 cat >conftest.
$ac_ext <<_ACEOF
34437 cat confdefs.h
>>conftest.
$ac_ext
34438 cat >>conftest.
$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440 #include <stddef.h>
34447 struct Foo { void foo(size_t); void foo(unsigned long); };
34455 rm -f conftest.
$ac_objext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34457 (eval $ac_compile) 2>conftest.er1
34459 grep -v '^ *+' conftest.er1
>conftest.err
34461 cat conftest.err
>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try
='test -s conftest.$ac_objext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 wx_cv_size_t_is_ulong
=no
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.
$ac_ext >&5
34481 wx_cv_size_t_is_ulong
=yes
34484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34487 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34488 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34490 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34491 cat >>confdefs.h
<<\_ACEOF
34492 #define wxSIZE_T_IS_ULONG 1
34499 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34500 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34501 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34502 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 cat >conftest.
$ac_ext <<_ACEOF
34508 cat confdefs.h
>>conftest.
$ac_ext
34509 cat >>conftest.
$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34524 rm -f conftest.
$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34528 grep -v '^ *+' conftest.er1
>conftest.err
34530 cat conftest.err
>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; } &&
34539 { ac_try
='test -s conftest.$ac_objext'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; }; then
34546 wx_cv_struct_pw_gecos
=yes
34549 echo "$as_me: failed program was:" >&5
34550 sed 's/^/| /' conftest.
$ac_ext >&5
34553 wx_cv_struct_pw_gecos
=no
34557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34561 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34562 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34564 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34565 cat >>confdefs.h
<<\_ACEOF
34566 #define HAVE_PW_GECOS 1
34572 if test "$wxUSE_WCHAR_T" = "yes"; then
34573 cat >>confdefs.h
<<\_ACEOF
34574 #define wxUSE_WCHAR_T 1
34581 for ac_func
in wcslen
34583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34584 echo "$as_me:$LINENO: checking for $ac_func" >&5
34585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34586 if eval "test \"\${$as_ac_var+set}\" = set"; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 cat >conftest.
$ac_ext <<_ACEOF
34592 cat confdefs.h
>>conftest.
$ac_ext
34593 cat >>conftest.
$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34597 #define $ac_func innocuous_$ac_func
34599 /* System header to define __stub macros and hopefully few prototypes,
34600 which can conflict with char $ac_func (); below.
34601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34602 <limits.h> exists even on freestanding compilers. */
34605 # include <limits.h>
34607 # include <assert.h>
34612 /* Override any gcc2 internal prototype to avoid an error. */
34617 /* We use char because int might match the return type of a gcc2
34618 builtin and then its argument prototype would still apply. */
34620 /* The GNU C library defines this for functions which it implements
34621 to always fail with ENOSYS. Some functions are actually named
34622 something starting with __ and the normal name is an alias. */
34623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34626 char (*f) () = $ac_func;
34635 return f != $ac_func;
34640 rm -f conftest.
$ac_objext conftest
$ac_exeext
34641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34642 (eval $ac_link) 2>conftest.er1
34644 grep -v '^ *+' conftest.er1
>conftest.err
34646 cat conftest.err
>&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); } &&
34649 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34651 (eval $ac_try) 2>&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; } &&
34655 { ac_try
='test -s conftest$ac_exeext'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; }; then
34661 eval "$as_ac_var=yes"
34663 echo "$as_me: failed program was:" >&5
34664 sed 's/^/| /' conftest.
$ac_ext >&5
34666 eval "$as_ac_var=no"
34668 rm -f conftest.err conftest.
$ac_objext \
34669 conftest
$ac_exeext conftest.
$ac_ext
34671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34673 if test `eval echo '${'$as_ac_var'}'` = yes; then
34674 cat >>confdefs.h
<<_ACEOF
34675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 if test "$WCSLEN_FOUND" = 0; then
34683 if test "$TOOLKIT" = "MSW"; then
34684 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34685 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34686 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34687 echo $ECHO_N "(cached) $ECHO_C" >&6
34689 ac_check_lib_save_LIBS
=$LIBS
34690 LIBS
="-lmsvcrt $LIBS"
34691 cat >conftest.
$ac_ext <<_ACEOF
34694 cat confdefs.h
>>conftest.
$ac_ext
34695 cat >>conftest.
$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34698 /* Override any gcc2 internal prototype to avoid an error. */
34702 /* We use char because int might match the return type of a gcc2
34703 builtin and then its argument prototype would still apply. */
34713 rm -f conftest.
$ac_objext conftest
$ac_exeext
34714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34715 (eval $ac_link) 2>conftest.er1
34717 grep -v '^ *+' conftest.er1
>conftest.err
34719 cat conftest.err
>&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); } &&
34722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34724 (eval $ac_try) 2>&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); }; } &&
34728 { ac_try
='test -s conftest$ac_exeext'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; }; then
34734 ac_cv_lib_msvcrt_wcslen
=yes
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.
$ac_ext >&5
34739 ac_cv_lib_msvcrt_wcslen
=no
34741 rm -f conftest.err conftest.
$ac_objext \
34742 conftest
$ac_exeext conftest.
$ac_ext
34743 LIBS
=$ac_check_lib_save_LIBS
34745 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34746 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34747 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34752 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34753 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34754 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34755 echo $ECHO_N "(cached) $ECHO_C" >&6
34757 ac_check_lib_save_LIBS
=$LIBS
34759 cat >conftest.
$ac_ext <<_ACEOF
34762 cat confdefs.h
>>conftest.
$ac_ext
34763 cat >>conftest.
$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34766 /* Override any gcc2 internal prototype to avoid an error. */
34770 /* We use char because int might match the return type of a gcc2
34771 builtin and then its argument prototype would still apply. */
34781 rm -f conftest.
$ac_objext conftest
$ac_exeext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34783 (eval $ac_link) 2>conftest.er1
34785 grep -v '^ *+' conftest.er1
>conftest.err
34787 cat conftest.err
>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try
='test -s conftest$ac_exeext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 ac_cv_lib_w_wcslen
=yes
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.
$ac_ext >&5
34807 ac_cv_lib_w_wcslen
=no
34809 rm -f conftest.err conftest.
$ac_objext \
34810 conftest
$ac_exeext conftest.
$ac_ext
34811 LIBS
=$ac_check_lib_save_LIBS
34813 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34814 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34815 if test $ac_cv_lib_w_wcslen = yes; then
34825 if test "$WCSLEN_FOUND" = 1; then
34826 cat >>confdefs.h
<<\_ACEOF
34827 #define HAVE_WCSLEN 1
34832 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34833 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34836 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34837 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34838 if test "${ac_cv_type_mbstate_t+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 cat >conftest.
$ac_ext <<_ACEOF
34844 cat confdefs.h
>>conftest.
$ac_ext
34845 cat >>conftest.
$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34852 if ((mbstate_t *) 0)
34854 if (sizeof (mbstate_t))
34860 rm -f conftest.
$ac_objext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34862 (eval $ac_compile) 2>conftest.er1
34864 grep -v '^ *+' conftest.er1
>conftest.err
34866 cat conftest.err
>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; } &&
34875 { ac_try
='test -s conftest.$ac_objext'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; }; then
34881 ac_cv_type_mbstate_t
=yes
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.
$ac_ext >&5
34886 ac_cv_type_mbstate_t
=no
34888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34890 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34891 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34892 if test $ac_cv_type_mbstate_t = yes; then
34894 cat >>confdefs.h
<<_ACEOF
34895 #define HAVE_MBSTATE_T 1
34899 for ac_func
in wcsrtombs
34901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34902 echo "$as_me:$LINENO: checking for $ac_func" >&5
34903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34904 if eval "test \"\${$as_ac_var+set}\" = set"; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 cat >conftest.
$ac_ext <<_ACEOF
34910 cat confdefs.h
>>conftest.
$ac_ext
34911 cat >>conftest.
$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34915 #define $ac_func innocuous_$ac_func
34917 /* System header to define __stub macros and hopefully few prototypes,
34918 which can conflict with char $ac_func (); below.
34919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34920 <limits.h> exists even on freestanding compilers. */
34923 # include <limits.h>
34925 # include <assert.h>
34930 /* Override any gcc2 internal prototype to avoid an error. */
34935 /* We use char because int might match the return type of a gcc2
34936 builtin and then its argument prototype would still apply. */
34938 /* The GNU C library defines this for functions which it implements
34939 to always fail with ENOSYS. Some functions are actually named
34940 something starting with __ and the normal name is an alias. */
34941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34944 char (*f) () = $ac_func;
34953 return f != $ac_func;
34958 rm -f conftest.
$ac_objext conftest
$ac_exeext
34959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34960 (eval $ac_link) 2>conftest.er1
34962 grep -v '^ *+' conftest.er1
>conftest.err
34964 cat conftest.err
>&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); } &&
34967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34973 { ac_try
='test -s conftest$ac_exeext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34979 eval "$as_ac_var=yes"
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.
$ac_ext >&5
34984 eval "$as_ac_var=no"
34986 rm -f conftest.err conftest.
$ac_objext \
34987 conftest
$ac_exeext conftest.
$ac_ext
34989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34991 if test `eval echo '${'$as_ac_var'}'` = yes; then
34992 cat >>confdefs.h
<<_ACEOF
34993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35002 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35003 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35008 for ac_func
in snprintf vsnprintf
35010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35011 echo "$as_me:$LINENO: checking for $ac_func" >&5
35012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35013 if eval "test \"\${$as_ac_var+set}\" = set"; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 cat >conftest.
$ac_ext <<_ACEOF
35019 cat confdefs.h
>>conftest.
$ac_ext
35020 cat >>conftest.
$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35024 #define $ac_func innocuous_$ac_func
35026 /* System header to define __stub macros and hopefully few prototypes,
35027 which can conflict with char $ac_func (); below.
35028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35029 <limits.h> exists even on freestanding compilers. */
35032 # include <limits.h>
35034 # include <assert.h>
35039 /* Override any gcc2 internal prototype to avoid an error. */
35044 /* We use char because int might match the return type of a gcc2
35045 builtin and then its argument prototype would still apply. */
35047 /* The GNU C library defines this for functions which it implements
35048 to always fail with ENOSYS. Some functions are actually named
35049 something starting with __ and the normal name is an alias. */
35050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35053 char (*f) () = $ac_func;
35062 return f != $ac_func;
35067 rm -f conftest.
$ac_objext conftest
$ac_exeext
35068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35069 (eval $ac_link) 2>conftest.er1
35071 grep -v '^ *+' conftest.er1
>conftest.err
35073 cat conftest.err
>&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); } &&
35076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try
='test -s conftest$ac_exeext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35088 eval "$as_ac_var=yes"
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.
$ac_ext >&5
35093 eval "$as_ac_var=no"
35095 rm -f conftest.err conftest.
$ac_objext \
35096 conftest
$ac_exeext conftest.
$ac_ext
35098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35100 if test `eval echo '${'$as_ac_var'}'` = yes; then
35101 cat >>confdefs.h
<<_ACEOF
35102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35109 if test "$ac_cv_func_vsnprintf" = "yes"; then
35110 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35111 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35112 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 cat >conftest.
$ac_ext <<_ACEOF
35119 cat confdefs.h
>>conftest.
$ac_ext
35120 cat >>conftest.
$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35124 #include <stdarg.h>
35126 #if __MSL__ >= 0x6000
35128 using namespace std;
35138 vsnprintf(buf, 10u, "%s", ap);
35144 rm -f conftest.
$ac_objext
35145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35146 (eval $ac_compile) 2>conftest.er1
35148 grep -v '^ *+' conftest.er1
>conftest.err
35150 cat conftest.err
>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } &&
35153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try
='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 wx_cv_func_vsnprintf_decl
=yes
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.
$ac_ext >&5
35170 wx_cv_func_vsnprintf_decl
=no
35173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35177 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35178 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35180 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35181 cat >>confdefs.h
<<\_ACEOF
35182 #define HAVE_VSNPRINTF_DECL 1
35186 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35187 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35188 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35192 cat >conftest.
$ac_ext <<_ACEOF
35195 cat confdefs.h
>>conftest.
$ac_ext
35196 cat >>conftest.
$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35200 #include <stdarg.h>
35202 #if __MSL__ >= 0x6000
35204 using namespace std;
35214 const char *fmt = "%s";
35215 vsnprintf(buf, 10u, fmt, ap);
35221 rm -f conftest.
$ac_objext
35222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35223 (eval $ac_compile) 2>conftest.er1
35225 grep -v '^ *+' conftest.er1
>conftest.err
35227 cat conftest.err
>&5
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); } &&
35230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35232 (eval $ac_try) 2>&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); }; } &&
35236 { ac_try
='test -s conftest.$ac_objext'
35237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238 (eval $ac_try) 2>&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); }; }; then
35242 wx_cv_func_broken_vsnprintf_decl
=no
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.
$ac_ext >&5
35247 wx_cv_func_broken_vsnprintf_decl
=yes
35250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35254 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35255 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35257 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35258 cat >>confdefs.h
<<\_ACEOF
35259 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35266 if test "$ac_cv_func_snprintf" = "yes"; then
35267 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35268 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35269 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35270 echo $ECHO_N "(cached) $ECHO_C" >&6
35273 cat >conftest.
$ac_ext <<_ACEOF
35276 cat confdefs.h
>>conftest.
$ac_ext
35277 cat >>conftest.
$ac_ext <<_ACEOF
35278 /* end confdefs.h. */
35281 #include <stdarg.h>
35283 #if __MSL__ >= 0x6000
35285 using namespace std;
35294 snprintf(buf, 10u, "%s", "wx");
35300 rm -f conftest.
$ac_objext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35302 (eval $ac_compile) 2>conftest.er1
35304 grep -v '^ *+' conftest.er1
>conftest.err
35306 cat conftest.err
>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35311 (eval $ac_try) 2>&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); }; } &&
35315 { ac_try
='test -s conftest.$ac_objext'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; }; then
35321 wx_cv_func_snprintf_decl
=yes
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.
$ac_ext >&5
35326 wx_cv_func_snprintf_decl
=no
35329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35333 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35334 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35336 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35337 cat >>confdefs.h
<<\_ACEOF
35338 #define HAVE_SNPRINTF_DECL 1
35342 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35343 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35344 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35348 cat >conftest.
$ac_ext <<_ACEOF
35351 cat confdefs.h
>>conftest.
$ac_ext
35352 cat >>conftest.
$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35356 #include <stdarg.h>
35358 #if __MSL__ >= 0x6000
35360 using namespace std;
35369 const char *fmt = "%s";
35370 snprintf(buf, 10u, fmt, "wx");
35376 rm -f conftest.
$ac_objext
35377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35378 (eval $ac_compile) 2>conftest.er1
35380 grep -v '^ *+' conftest.er1
>conftest.err
35382 cat conftest.err
>&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); } &&
35385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; } &&
35391 { ac_try
='test -s conftest.$ac_objext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35397 wx_cv_func_broken_snprintf_decl
=no
35399 echo "$as_me: failed program was:" >&5
35400 sed 's/^/| /' conftest.
$ac_ext >&5
35402 wx_cv_func_broken_snprintf_decl
=yes
35405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35409 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35410 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35412 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35413 cat >>confdefs.h
<<\_ACEOF
35414 #define HAVE_BROKEN_SNPRINTF_DECL 1
35420 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35422 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35423 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35424 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35425 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 if test "$cross_compiling" = yes; then
35430 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35431 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35432 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35433 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35434 wx_cv_func_snprintf_pos_params
=no
35438 cat >conftest.
$ac_ext <<_ACEOF
35441 cat confdefs.h
>>conftest.
$ac_ext
35442 cat >>conftest.
$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35450 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35451 if (strcmp ("2 3 1", buffer) == 0)
35457 rm -f conftest
$ac_exeext
35458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35459 (eval $ac_link) 2>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35464 (eval $ac_try) 2>&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); }; }; then
35468 wx_cv_func_snprintf_pos_params
=no
35470 echo "$as_me: program exited with status $ac_status" >&5
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.
$ac_ext >&5
35474 ( exit $ac_status )
35475 wx_cv_func_snprintf_pos_params
=yes
35477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35482 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35483 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35485 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35486 cat >>confdefs.h
<<\_ACEOF
35487 #define HAVE_UNIX98_PRINTF 1
35494 if test "$wxUSE_UNICODE" = yes; then
35497 for ac_func
in swprintf
35499 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35500 echo "$as_me:$LINENO: checking for $ac_func" >&5
35501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35502 if eval "test \"\${$as_ac_var+set}\" = set"; then
35503 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 cat >conftest.
$ac_ext <<_ACEOF
35508 cat confdefs.h
>>conftest.
$ac_ext
35509 cat >>conftest.
$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35513 #define $ac_func innocuous_$ac_func
35515 /* System header to define __stub macros and hopefully few prototypes,
35516 which can conflict with char $ac_func (); below.
35517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35518 <limits.h> exists even on freestanding compilers. */
35521 # include <limits.h>
35523 # include <assert.h>
35528 /* Override any gcc2 internal prototype to avoid an error. */
35533 /* We use char because int might match the return type of a gcc2
35534 builtin and then its argument prototype would still apply. */
35536 /* The GNU C library defines this for functions which it implements
35537 to always fail with ENOSYS. Some functions are actually named
35538 something starting with __ and the normal name is an alias. */
35539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35542 char (*f) () = $ac_func;
35551 return f != $ac_func;
35556 rm -f conftest.
$ac_objext conftest
$ac_exeext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35558 (eval $ac_link) 2>conftest.er1
35560 grep -v '^ *+' conftest.er1
>conftest.err
35562 cat conftest.err
>&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } &&
35565 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; } &&
35571 { ac_try
='test -s conftest$ac_exeext'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; }; then
35577 eval "$as_ac_var=yes"
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.
$ac_ext >&5
35582 eval "$as_ac_var=no"
35584 rm -f conftest.err conftest.
$ac_objext \
35585 conftest
$ac_exeext conftest.
$ac_ext
35587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35589 if test `eval echo '${'$as_ac_var'}'` = yes; then
35590 cat >>confdefs.h
<<_ACEOF
35591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35598 if test "$ac_cv_func_swprintf" = "yes"; then
35599 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35600 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35601 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35602 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 cat >conftest.
$ac_ext <<_ACEOF
35608 cat confdefs.h
>>conftest.
$ac_ext
35609 cat >>conftest.
$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35613 #include <stdarg.h>
35621 const wchar_t *fmt = L"test";
35622 swprintf(buf, 10u, fmt);
35628 rm -f conftest.
$ac_objext
35629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35630 (eval $ac_compile) 2>conftest.er1
35632 grep -v '^ *+' conftest.er1
>conftest.err
35634 cat conftest.err
>&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try
='test -s conftest.$ac_objext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 wx_cv_func_broken_swprintf_decl
=no
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.
$ac_ext >&5
35654 wx_cv_func_broken_swprintf_decl
=yes
35657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35661 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35662 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35664 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35665 cat >>confdefs.h
<<\_ACEOF
35666 #define HAVE_BROKEN_SWPRINTF_DECL 1
35678 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35681 echo "$as_me:$LINENO: checking for $ac_func" >&5
35682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35683 if eval "test \"\${$as_ac_var+set}\" = set"; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35686 cat >conftest.
$ac_ext <<_ACEOF
35689 cat confdefs.h
>>conftest.
$ac_ext
35690 cat >>conftest.
$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35694 #define $ac_func innocuous_$ac_func
35696 /* System header to define __stub macros and hopefully few prototypes,
35697 which can conflict with char $ac_func (); below.
35698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35699 <limits.h> exists even on freestanding compilers. */
35702 # include <limits.h>
35704 # include <assert.h>
35709 /* Override any gcc2 internal prototype to avoid an error. */
35714 /* We use char because int might match the return type of a gcc2
35715 builtin and then its argument prototype would still apply. */
35717 /* The GNU C library defines this for functions which it implements
35718 to always fail with ENOSYS. Some functions are actually named
35719 something starting with __ and the normal name is an alias. */
35720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35723 char (*f) () = $ac_func;
35732 return f != $ac_func;
35737 rm -f conftest.
$ac_objext conftest
$ac_exeext
35738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35739 (eval $ac_link) 2>conftest.er1
35741 grep -v '^ *+' conftest.er1
>conftest.err
35743 cat conftest.err
>&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } &&
35746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35748 (eval $ac_try) 2>&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); }; } &&
35752 { ac_try
='test -s conftest$ac_exeext'
35753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754 (eval $ac_try) 2>&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); }; }; then
35758 eval "$as_ac_var=yes"
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.
$ac_ext >&5
35763 eval "$as_ac_var=no"
35765 rm -f conftest.err conftest.
$ac_objext \
35766 conftest
$ac_exeext conftest.
$ac_ext
35768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35770 if test `eval echo '${'$as_ac_var'}'` = yes; then
35771 cat >>confdefs.h
<<_ACEOF
35772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35779 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35780 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35781 cat >conftest.
$ac_ext <<_ACEOF
35784 cat confdefs.h
>>conftest.
$ac_ext
35785 cat >>conftest.
$ac_ext <<_ACEOF
35786 /* end confdefs.h. */
35796 rm -f conftest.
$ac_objext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35798 (eval $ac_compile) 2>conftest.er1
35800 grep -v '^ *+' conftest.er1
>conftest.err
35802 cat conftest.err
>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try
='test -s conftest.$ac_objext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 echo "$as_me:$LINENO: result: yes" >&5
35818 echo "${ECHO_T}yes" >&6
35819 cat >>confdefs.h
<<\_ACEOF
35820 #define HAVE__VSNWPRINTF 1
35824 echo "$as_me: failed program was:" >&5
35825 sed 's/^/| /' conftest.
$ac_ext >&5
35827 echo "$as_me:$LINENO: result: no" >&5
35828 echo "${ECHO_T}no" >&6
35830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35833 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35835 for ac_func
in fnmatch
35837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35838 echo "$as_me:$LINENO: checking for $ac_func" >&5
35839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35840 if eval "test \"\${$as_ac_var+set}\" = set"; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 cat >conftest.
$ac_ext <<_ACEOF
35846 cat confdefs.h
>>conftest.
$ac_ext
35847 cat >>conftest.
$ac_ext <<_ACEOF
35848 /* end confdefs.h. */
35849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35851 #define $ac_func innocuous_$ac_func
35853 /* System header to define __stub macros and hopefully few prototypes,
35854 which can conflict with char $ac_func (); below.
35855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35856 <limits.h> exists even on freestanding compilers. */
35859 # include <limits.h>
35861 # include <assert.h>
35866 /* Override any gcc2 internal prototype to avoid an error. */
35871 /* We use char because int might match the return type of a gcc2
35872 builtin and then its argument prototype would still apply. */
35874 /* The GNU C library defines this for functions which it implements
35875 to always fail with ENOSYS. Some functions are actually named
35876 something starting with __ and the normal name is an alias. */
35877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35880 char (*f) () = $ac_func;
35889 return f != $ac_func;
35894 rm -f conftest.
$ac_objext conftest
$ac_exeext
35895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35896 (eval $ac_link) 2>conftest.er1
35898 grep -v '^ *+' conftest.er1
>conftest.err
35900 cat conftest.err
>&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } &&
35903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; } &&
35909 { ac_try
='test -s conftest$ac_exeext'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; }; then
35915 eval "$as_ac_var=yes"
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.
$ac_ext >&5
35920 eval "$as_ac_var=no"
35922 rm -f conftest.err conftest.
$ac_objext \
35923 conftest
$ac_exeext conftest.
$ac_ext
35925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35927 if test `eval echo '${'$as_ac_var'}'` = yes; then
35928 cat >>confdefs.h
<<_ACEOF
35929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35937 if test "$wxUSE_FILE" = "yes"; then
35939 for ac_func
in fsync
35941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35942 echo "$as_me:$LINENO: checking for $ac_func" >&5
35943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35944 if eval "test \"\${$as_ac_var+set}\" = set"; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 cat >conftest.
$ac_ext <<_ACEOF
35950 cat confdefs.h
>>conftest.
$ac_ext
35951 cat >>conftest.
$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35955 #define $ac_func innocuous_$ac_func
35957 /* System header to define __stub macros and hopefully few prototypes,
35958 which can conflict with char $ac_func (); below.
35959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35960 <limits.h> exists even on freestanding compilers. */
35963 # include <limits.h>
35965 # include <assert.h>
35970 /* Override any gcc2 internal prototype to avoid an error. */
35975 /* We use char because int might match the return type of a gcc2
35976 builtin and then its argument prototype would still apply. */
35978 /* The GNU C library defines this for functions which it implements
35979 to always fail with ENOSYS. Some functions are actually named
35980 something starting with __ and the normal name is an alias. */
35981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35984 char (*f) () = $ac_func;
35993 return f != $ac_func;
35998 rm -f conftest.
$ac_objext conftest
$ac_exeext
35999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36000 (eval $ac_link) 2>conftest.er1
36002 grep -v '^ *+' conftest.er1
>conftest.err
36004 cat conftest.err
>&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } &&
36007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try
='test -s conftest$ac_exeext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 eval "$as_ac_var=yes"
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36024 eval "$as_ac_var=no"
36026 rm -f conftest.err conftest.
$ac_objext \
36027 conftest
$ac_exeext conftest.
$ac_ext
36029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36031 if test `eval echo '${'$as_ac_var'}'` = yes; then
36032 cat >>confdefs.h
<<_ACEOF
36033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36042 for ac_func
in round
36044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36045 echo "$as_me:$LINENO: checking for $ac_func" >&5
36046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36047 if eval "test \"\${$as_ac_var+set}\" = set"; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 cat >conftest.
$ac_ext <<_ACEOF
36053 cat confdefs.h
>>conftest.
$ac_ext
36054 cat >>conftest.
$ac_ext <<_ACEOF
36055 /* end confdefs.h. */
36056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36058 #define $ac_func innocuous_$ac_func
36060 /* System header to define __stub macros and hopefully few prototypes,
36061 which can conflict with char $ac_func (); below.
36062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36063 <limits.h> exists even on freestanding compilers. */
36066 # include <limits.h>
36068 # include <assert.h>
36073 /* Override any gcc2 internal prototype to avoid an error. */
36078 /* We use char because int might match the return type of a gcc2
36079 builtin and then its argument prototype would still apply. */
36081 /* The GNU C library defines this for functions which it implements
36082 to always fail with ENOSYS. Some functions are actually named
36083 something starting with __ and the normal name is an alias. */
36084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36087 char (*f) () = $ac_func;
36096 return f != $ac_func;
36101 rm -f conftest.
$ac_objext conftest
$ac_exeext
36102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36103 (eval $ac_link) 2>conftest.er1
36105 grep -v '^ *+' conftest.er1
>conftest.err
36107 cat conftest.err
>&5
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); } &&
36110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; } &&
36116 { ac_try
='test -s conftest$ac_exeext'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; }; then
36122 eval "$as_ac_var=yes"
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.
$ac_ext >&5
36127 eval "$as_ac_var=no"
36129 rm -f conftest.err conftest.
$ac_objext \
36130 conftest
$ac_exeext conftest.
$ac_ext
36132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36134 if test `eval echo '${'$as_ac_var'}'` = yes; then
36135 cat >>confdefs.h
<<_ACEOF
36136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36142 if test "$ac_cv_func_round" = yes; then
36143 echo "$as_me:$LINENO: checking whether round is declared" >&5
36144 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36145 if test "${ac_cv_have_decl_round+set}" = set; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36148 cat >conftest.
$ac_ext <<_ACEOF
36151 cat confdefs.h
>>conftest.
$ac_ext
36152 cat >>conftest.
$ac_ext <<_ACEOF
36153 /* end confdefs.h. */
36160 char *p = (char *) round;
36167 rm -f conftest.
$ac_objext
36168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36169 (eval $ac_compile) 2>conftest.er1
36171 grep -v '^ *+' conftest.er1
>conftest.err
36173 cat conftest.err
>&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); } &&
36176 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; } &&
36182 { ac_try
='test -s conftest.$ac_objext'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; }; then
36188 ac_cv_have_decl_round
=yes
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.
$ac_ext >&5
36193 ac_cv_have_decl_round
=no
36195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36197 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36198 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36199 if test $ac_cv_have_decl_round = yes; then
36201 cat >>confdefs.h
<<_ACEOF
36202 #define HAVE_DECL_ROUND 1
36207 cat >>confdefs.h
<<_ACEOF
36208 #define HAVE_DECL_ROUND 0
36218 if test "$TOOLKIT" != "MSW"; then
36224 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36225 if test "${with_libiconv_prefix+set}" = set; then
36226 withval
="$with_libiconv_prefix"
36228 for dir
in `echo "$withval" | tr : ' '`; do
36229 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36230 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36235 echo "$as_me:$LINENO: checking for iconv" >&5
36236 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36237 if test "${am_cv_func_iconv+set}" = set; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 am_cv_func_iconv
="no, consider installing GNU libiconv"
36243 cat >conftest.
$ac_ext <<_ACEOF
36246 cat confdefs.h
>>conftest.
$ac_ext
36247 cat >>conftest.
$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249 #include <stdlib.h>
36254 iconv_t cd = iconv_open("","");
36255 iconv(cd,NULL,NULL,NULL,NULL);
36261 rm -f conftest.
$ac_objext conftest
$ac_exeext
36262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36263 (eval $ac_link) 2>conftest.er1
36265 grep -v '^ *+' conftest.er1
>conftest.err
36267 cat conftest.err
>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); } &&
36270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; } &&
36276 { ac_try
='test -s conftest$ac_exeext'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; }; then
36282 am_cv_func_iconv
=yes
36284 echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.
$ac_ext >&5
36288 rm -f conftest.err conftest.
$ac_objext \
36289 conftest
$ac_exeext conftest.
$ac_ext
36290 if test "$am_cv_func_iconv" != yes; then
36291 am_save_LIBS
="$LIBS"
36292 LIBS
="$LIBS -liconv"
36293 cat >conftest.
$ac_ext <<_ACEOF
36296 cat confdefs.h
>>conftest.
$ac_ext
36297 cat >>conftest.
$ac_ext <<_ACEOF
36298 /* end confdefs.h. */
36299 #include <stdlib.h>
36304 iconv_t cd = iconv_open("","");
36305 iconv(cd,NULL,NULL,NULL,NULL);
36311 rm -f conftest.
$ac_objext conftest
$ac_exeext
36312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36313 (eval $ac_link) 2>conftest.er1
36315 grep -v '^ *+' conftest.er1
>conftest.err
36317 cat conftest.err
>&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); } &&
36320 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36322 (eval $ac_try) 2>&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); }; } &&
36326 { ac_try
='test -s conftest$ac_exeext'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; }; then
36332 am_cv_lib_iconv
=yes
36333 am_cv_func_iconv
=yes
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.
$ac_ext >&5
36339 rm -f conftest.err conftest.
$ac_objext \
36340 conftest
$ac_exeext conftest.
$ac_ext
36341 LIBS
="$am_save_LIBS"
36345 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36346 echo "${ECHO_T}$am_cv_func_iconv" >&6
36347 if test "$am_cv_func_iconv" = yes; then
36349 cat >>confdefs.h
<<\_ACEOF
36350 #define HAVE_ICONV 1
36353 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36354 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36355 if test "${wx_cv_func_iconv_const+set}" = set; then
36356 echo $ECHO_N "(cached) $ECHO_C" >&6
36358 cat >conftest.
$ac_ext <<_ACEOF
36361 cat confdefs.h
>>conftest.
$ac_ext
36362 cat >>conftest.
$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36365 #include <stdlib.h>
36371 #if defined(__STDC__) || defined(__cplusplus)
36372 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36385 rm -f conftest.
$ac_objext
36386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36387 (eval $ac_compile) 2>conftest.er1
36389 grep -v '^ *+' conftest.er1
>conftest.err
36391 cat conftest.err
>&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); } &&
36394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36396 (eval $ac_try) 2>&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); }; } &&
36400 { ac_try
='test -s conftest.$ac_objext'
36401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36402 (eval $ac_try) 2>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; }; then
36406 wx_cv_func_iconv_const
="no"
36408 echo "$as_me: failed program was:" >&5
36409 sed 's/^/| /' conftest.
$ac_ext >&5
36411 wx_cv_func_iconv_const
="yes"
36414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36417 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36418 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36421 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36422 iconv_const
="const"
36426 cat >>confdefs.h
<<_ACEOF
36427 #define ICONV_CONST $iconv_const
36432 if test "$am_cv_lib_iconv" = yes; then
36437 LIBS
="$LIBICONV $LIBS"
36439 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36441 for ac_func
in sigaction
36443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36444 echo "$as_me:$LINENO: checking for $ac_func" >&5
36445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36446 if eval "test \"\${$as_ac_var+set}\" = set"; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36449 cat >conftest.
$ac_ext <<_ACEOF
36452 cat confdefs.h
>>conftest.
$ac_ext
36453 cat >>conftest.
$ac_ext <<_ACEOF
36454 /* end confdefs.h. */
36455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36457 #define $ac_func innocuous_$ac_func
36459 /* System header to define __stub macros and hopefully few prototypes,
36460 which can conflict with char $ac_func (); below.
36461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36462 <limits.h> exists even on freestanding compilers. */
36465 # include <limits.h>
36467 # include <assert.h>
36472 /* Override any gcc2 internal prototype to avoid an error. */
36477 /* We use char because int might match the return type of a gcc2
36478 builtin and then its argument prototype would still apply. */
36480 /* The GNU C library defines this for functions which it implements
36481 to always fail with ENOSYS. Some functions are actually named
36482 something starting with __ and the normal name is an alias. */
36483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36486 char (*f) () = $ac_func;
36495 return f != $ac_func;
36500 rm -f conftest.
$ac_objext conftest
$ac_exeext
36501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36502 (eval $ac_link) 2>conftest.er1
36504 grep -v '^ *+' conftest.er1
>conftest.err
36506 cat conftest.err
>&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } &&
36509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; } &&
36515 { ac_try
='test -s conftest$ac_exeext'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; }; then
36521 eval "$as_ac_var=yes"
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.
$ac_ext >&5
36526 eval "$as_ac_var=no"
36528 rm -f conftest.err conftest.
$ac_objext \
36529 conftest
$ac_exeext conftest.
$ac_ext
36531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36533 if test `eval echo '${'$as_ac_var'}'` = yes; then
36534 cat >>confdefs.h
<<_ACEOF
36535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36542 if test "$ac_cv_func_sigaction" = "no"; then
36543 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36544 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36545 wxUSE_ON_FATAL_EXCEPTION
=no
36548 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36549 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36550 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36551 if test "${wx_cv_type_sa_handler+set}" = set; then
36552 echo $ECHO_N "(cached) $ECHO_C" >&6
36555 cat >conftest.
$ac_ext <<_ACEOF
36558 cat confdefs.h
>>conftest.
$ac_ext
36559 cat >>conftest.
$ac_ext <<_ACEOF
36560 /* end confdefs.h. */
36561 #include <signal.h>
36566 extern void testSigHandler(int);
36568 struct sigaction sa;
36569 sa.sa_handler = testSigHandler;
36575 rm -f conftest.
$ac_objext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36577 (eval $ac_compile) 2>conftest.er1
36579 grep -v '^ *+' conftest.er1
>conftest.err
36581 cat conftest.err
>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try
='test -s conftest.$ac_objext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36597 wx_cv_type_sa_handler
=int
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.
$ac_ext >&5
36604 wx_cv_type_sa_handler
=void
36607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36610 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36611 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36613 cat >>confdefs.h
<<_ACEOF
36614 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36620 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36621 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36622 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36623 if test "${wx_cv_func_backtrace+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 cat >conftest.
$ac_ext <<_ACEOF
36630 cat confdefs.h
>>conftest.
$ac_ext
36631 cat >>conftest.
$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36633 #include <execinfo.h>
36641 backtrace(trace, 1);
36642 messages = backtrace_symbols(trace, 1);
36648 rm -f conftest.
$ac_objext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36650 (eval $ac_compile) 2>conftest.er1
36652 grep -v '^ *+' conftest.er1
>conftest.err
36654 cat conftest.err
>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; } &&
36663 { ac_try
='test -s conftest.$ac_objext'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; }; then
36669 wx_cv_func_backtrace
=yes
36671 echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.
$ac_ext >&5
36674 wx_cv_func_backtrace
=no
36677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36681 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36682 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36685 if test "$wx_cv_func_backtrace" = "no"; then
36686 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36687 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36688 wxUSE_STACKWALKER
=no
36690 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36691 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36692 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 cat >conftest.
$ac_ext <<_ACEOF
36699 cat confdefs.h
>>conftest.
$ac_ext
36700 cat >>conftest.
$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702 #include <cxxabi.h>
36708 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36714 rm -f conftest.
$ac_objext conftest
$ac_exeext
36715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36716 (eval $ac_link) 2>conftest.er1
36718 grep -v '^ *+' conftest.er1
>conftest.err
36720 cat conftest.err
>&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); } &&
36723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36725 (eval $ac_try) 2>&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); }; } &&
36729 { ac_try
='test -s conftest$ac_exeext'
36730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36731 (eval $ac_try) 2>&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); }; }; then
36735 wx_cv_func_cxa_demangle
=yes
36737 echo "$as_me: failed program was:" >&5
36738 sed 's/^/| /' conftest.
$ac_ext >&5
36740 wx_cv_func_cxa_demangle
=no
36743 rm -f conftest.err conftest.
$ac_objext \
36744 conftest
$ac_exeext conftest.
$ac_ext
36748 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36749 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36751 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define HAVE_CXA_DEMANGLE 1
36760 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36761 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36762 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36763 wxUSE_STACKWALKER
=no
36769 for ac_func
in mkstemp mktemp
36771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 echo "$as_me:$LINENO: checking for $ac_func" >&5
36773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36774 if eval "test \"\${$as_ac_var+set}\" = set"; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36777 cat >conftest.
$ac_ext <<_ACEOF
36780 cat confdefs.h
>>conftest.
$ac_ext
36781 cat >>conftest.
$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36785 #define $ac_func innocuous_$ac_func
36787 /* System header to define __stub macros and hopefully few prototypes,
36788 which can conflict with char $ac_func (); below.
36789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36790 <limits.h> exists even on freestanding compilers. */
36793 # include <limits.h>
36795 # include <assert.h>
36800 /* Override any gcc2 internal prototype to avoid an error. */
36805 /* We use char because int might match the return type of a gcc2
36806 builtin and then its argument prototype would still apply. */
36808 /* The GNU C library defines this for functions which it implements
36809 to always fail with ENOSYS. Some functions are actually named
36810 something starting with __ and the normal name is an alias. */
36811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36814 char (*f) () = $ac_func;
36823 return f != $ac_func;
36828 rm -f conftest.
$ac_objext conftest
$ac_exeext
36829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36830 (eval $ac_link) 2>conftest.er1
36832 grep -v '^ *+' conftest.er1
>conftest.err
36834 cat conftest.err
>&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } &&
36837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839 (eval $ac_try) 2>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); }; } &&
36843 { ac_try
='test -s conftest$ac_exeext'
36844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36845 (eval $ac_try) 2>&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); }; }; then
36849 eval "$as_ac_var=yes"
36851 echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.
$ac_ext >&5
36854 eval "$as_ac_var=no"
36856 rm -f conftest.err conftest.
$ac_objext \
36857 conftest
$ac_exeext conftest.
$ac_ext
36859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36861 if test `eval echo '${'$as_ac_var'}'` = yes; then
36862 cat >>confdefs.h
<<_ACEOF
36863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36870 echo "$as_me:$LINENO: checking for statfs" >&5
36871 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36872 if test "${wx_cv_func_statfs+set}" = set; then
36873 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 cat >conftest.
$ac_ext <<_ACEOF
36878 cat confdefs.h
>>conftest.
$ac_ext
36879 cat >>conftest.
$ac_ext <<_ACEOF
36880 /* end confdefs.h. */
36882 #if defined(__BSD__)
36883 #include <sys/param.h>
36884 #include <sys/mount.h>
36886 #include <sys/vfs.h>
36904 rm -f conftest.
$ac_objext
36905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36906 (eval $ac_compile) 2>conftest.er1
36908 grep -v '^ *+' conftest.er1
>conftest.err
36910 cat conftest.err
>&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } &&
36913 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915 (eval $ac_try) 2>&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); }; } &&
36919 { ac_try
='test -s conftest.$ac_objext'
36920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36921 (eval $ac_try) 2>&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); }; }; then
36925 wx_cv_func_statfs
=yes
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.
$ac_ext >&5
36930 wx_cv_func_statfs
=no
36933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36936 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36937 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36939 if test "$wx_cv_func_statfs" = "yes"; then
36940 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36941 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36942 if test "${wx_cv_func_statfs_decl+set}" = set; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 cat >conftest.
$ac_ext <<_ACEOF
36948 cat confdefs.h
>>conftest.
$ac_ext
36949 cat >>conftest.
$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36952 #if defined(__BSD__)
36953 #include <sys/param.h>
36954 #include <sys/mount.h>
36956 #include <sys/vfs.h>
36970 rm -f conftest.
$ac_objext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36972 (eval $ac_compile) 2>conftest.er1
36974 grep -v '^ *+' conftest.er1
>conftest.err
36976 cat conftest.err
>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try
='test -s conftest.$ac_objext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 wx_cv_func_statfs_decl
=yes
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.
$ac_ext >&5
36996 wx_cv_func_statfs_decl
=no
36999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37002 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37003 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37005 if test "$wx_cv_func_statfs_decl" = "yes"; then
37006 cat >>confdefs.h
<<\_ACEOF
37007 #define HAVE_STATFS_DECL 1
37012 wx_cv_type_statvfs_t
="struct statfs"
37013 cat >>confdefs.h
<<\_ACEOF
37014 #define HAVE_STATFS 1
37018 echo "$as_me:$LINENO: checking for statvfs" >&5
37019 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37020 if test "${wx_cv_func_statvfs+set}" = set; then
37021 echo $ECHO_N "(cached) $ECHO_C" >&6
37023 cat >conftest.
$ac_ext <<_ACEOF
37026 cat confdefs.h
>>conftest.
$ac_ext
37027 cat >>conftest.
$ac_ext <<_ACEOF
37028 /* end confdefs.h. */
37030 #include <stddef.h>
37031 #include <sys/statvfs.h>
37037 statvfs("/", NULL);
37043 rm -f conftest.
$ac_objext
37044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37045 (eval $ac_compile) 2>conftest.er1
37047 grep -v '^ *+' conftest.er1
>conftest.err
37049 cat conftest.err
>&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } &&
37052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; } &&
37058 { ac_try
='test -s conftest.$ac_objext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37064 wx_cv_func_statvfs
=yes
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.
$ac_ext >&5
37069 wx_cv_func_statvfs
=no
37072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37075 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37076 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37078 if test "$wx_cv_func_statvfs" = "yes"; then
37079 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37080 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37081 if test "${wx_cv_type_statvfs_t+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37084 cat >conftest.
$ac_ext <<_ACEOF
37087 cat confdefs.h
>>conftest.
$ac_ext
37088 cat >>conftest.
$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37091 #include <sys/statvfs.h>
37108 rm -f conftest.
$ac_objext
37109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37110 (eval $ac_compile) 2>conftest.er1
37112 grep -v '^ *+' conftest.er1
>conftest.err
37114 cat conftest.err
>&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); } &&
37117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37119 (eval $ac_try) 2>&5
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); }; } &&
37123 { ac_try
='test -s conftest.$ac_objext'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; }; then
37129 wx_cv_type_statvfs_t
=statvfs_t
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.
$ac_ext >&5
37135 cat >conftest.
$ac_ext <<_ACEOF
37138 cat confdefs.h
>>conftest.
$ac_ext
37139 cat >>conftest.
$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37142 #include <sys/statvfs.h>
37159 rm -f conftest.
$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37163 grep -v '^ *+' conftest.er1
>conftest.err
37165 cat conftest.err
>&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try
='test -s conftest.$ac_objext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 wx_cv_type_statvfs_t
="struct statvfs"
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.
$ac_ext >&5
37185 wx_cv_type_statvfs_t
="unknown"
37188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37195 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37196 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37198 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37199 cat >>confdefs.h
<<\_ACEOF
37200 #define HAVE_STATVFS 1
37205 wx_cv_type_statvfs_t
="unknown"
37209 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37210 cat >>confdefs.h
<<_ACEOF
37211 #define WX_STATFS_T $wx_cv_type_statvfs_t
37215 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37216 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37219 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37222 for ac_func
in fcntl flock
37224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37225 echo "$as_me:$LINENO: checking for $ac_func" >&5
37226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37227 if eval "test \"\${$as_ac_var+set}\" = set"; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 cat >conftest.
$ac_ext <<_ACEOF
37233 cat confdefs.h
>>conftest.
$ac_ext
37234 cat >>conftest.
$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37238 #define $ac_func innocuous_$ac_func
37240 /* System header to define __stub macros and hopefully few prototypes,
37241 which can conflict with char $ac_func (); below.
37242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37243 <limits.h> exists even on freestanding compilers. */
37246 # include <limits.h>
37248 # include <assert.h>
37253 /* Override any gcc2 internal prototype to avoid an error. */
37258 /* We use char because int might match the return type of a gcc2
37259 builtin and then its argument prototype would still apply. */
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37267 char (*f) () = $ac_func;
37276 return f != $ac_func;
37281 rm -f conftest.
$ac_objext conftest
$ac_exeext
37282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37283 (eval $ac_link) 2>conftest.er1
37285 grep -v '^ *+' conftest.er1
>conftest.err
37287 cat conftest.err
>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } &&
37290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try
='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.
$ac_ext >&5
37307 eval "$as_ac_var=no"
37309 rm -f conftest.err conftest.
$ac_objext \
37310 conftest
$ac_exeext conftest.
$ac_ext
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h
<<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37323 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37324 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37325 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37326 wxUSE_SNGLINST_CHECKER
=no
37331 for ac_func
in timegm
37333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37334 echo "$as_me:$LINENO: checking for $ac_func" >&5
37335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37336 if eval "test \"\${$as_ac_var+set}\" = set"; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.
$ac_ext <<_ACEOF
37342 cat confdefs.h
>>conftest.
$ac_ext
37343 cat >>conftest.
$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define $ac_func innocuous_$ac_func
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char $ac_func (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37355 # include <limits.h>
37357 # include <assert.h>
37362 /* Override any gcc2 internal prototype to avoid an error. */
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37376 char (*f) () = $ac_func;
37385 return f != $ac_func;
37390 rm -f conftest.
$ac_objext conftest
$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37394 grep -v '^ *+' conftest.er1
>conftest.err
37396 cat conftest.err
>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try
='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 eval "$as_ac_var=yes"
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.
$ac_ext >&5
37416 eval "$as_ac_var=no"
37418 rm -f conftest.err conftest.
$ac_objext \
37419 conftest
$ac_exeext conftest.
$ac_ext
37421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37423 if test `eval echo '${'$as_ac_var'}'` = yes; then
37424 cat >>confdefs.h
<<_ACEOF
37425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 for ac_func
in putenv setenv
37436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37437 echo "$as_me:$LINENO: checking for $ac_func" >&5
37438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37439 if eval "test \"\${$as_ac_var+set}\" = set"; then
37440 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 cat >conftest.
$ac_ext <<_ACEOF
37445 cat confdefs.h
>>conftest.
$ac_ext
37446 cat >>conftest.
$ac_ext <<_ACEOF
37447 /* end confdefs.h. */
37448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37450 #define $ac_func innocuous_$ac_func
37452 /* System header to define __stub macros and hopefully few prototypes,
37453 which can conflict with char $ac_func (); below.
37454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37455 <limits.h> exists even on freestanding compilers. */
37458 # include <limits.h>
37460 # include <assert.h>
37465 /* Override any gcc2 internal prototype to avoid an error. */
37470 /* We use char because int might match the return type of a gcc2
37471 builtin and then its argument prototype would still apply. */
37473 /* The GNU C library defines this for functions which it implements
37474 to always fail with ENOSYS. Some functions are actually named
37475 something starting with __ and the normal name is an alias. */
37476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37479 char (*f) () = $ac_func;
37488 return f != $ac_func;
37493 rm -f conftest.
$ac_objext conftest
$ac_exeext
37494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37495 (eval $ac_link) 2>conftest.er1
37497 grep -v '^ *+' conftest.er1
>conftest.err
37499 cat conftest.err
>&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } &&
37502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; } &&
37508 { ac_try
='test -s conftest$ac_exeext'
37509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510 (eval $ac_try) 2>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); }; }; then
37514 eval "$as_ac_var=yes"
37516 echo "$as_me: failed program was:" >&5
37517 sed 's/^/| /' conftest.
$ac_ext >&5
37519 eval "$as_ac_var=no"
37521 rm -f conftest.err conftest.
$ac_objext \
37522 conftest
$ac_exeext conftest.
$ac_ext
37524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37526 if test `eval echo '${'$as_ac_var'}'` = yes; then
37527 cat >>confdefs.h
<<_ACEOF
37528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37535 HAVE_SOME_SLEEP_FUNC
=0
37536 if test "$USE_BEOS" = 1; then
37537 cat >>confdefs.h
<<\_ACEOF
37538 #define HAVE_SLEEP 1
37541 HAVE_SOME_SLEEP_FUNC
=1
37544 if test "$USE_DARWIN" = 1; then
37545 cat >>confdefs.h
<<\_ACEOF
37546 #define HAVE_USLEEP 1
37549 HAVE_SOME_SLEEP_FUNC
=1
37552 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37555 for ac_func
in nanosleep
37557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37558 echo "$as_me:$LINENO: checking for $ac_func" >&5
37559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37560 if eval "test \"\${$as_ac_var+set}\" = set"; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 cat >conftest.
$ac_ext <<_ACEOF
37566 cat confdefs.h
>>conftest.
$ac_ext
37567 cat >>conftest.
$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37571 #define $ac_func innocuous_$ac_func
37573 /* System header to define __stub macros and hopefully few prototypes,
37574 which can conflict with char $ac_func (); below.
37575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37576 <limits.h> exists even on freestanding compilers. */
37579 # include <limits.h>
37581 # include <assert.h>
37586 /* Override any gcc2 internal prototype to avoid an error. */
37591 /* We use char because int might match the return type of a gcc2
37592 builtin and then its argument prototype would still apply. */
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37600 char (*f) () = $ac_func;
37609 return f != $ac_func;
37614 rm -f conftest.
$ac_objext conftest
$ac_exeext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37616 (eval $ac_link) 2>conftest.er1
37618 grep -v '^ *+' conftest.er1
>conftest.err
37620 cat conftest.err
>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625 (eval $ac_try) 2>&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); }; } &&
37629 { ac_try
='test -s conftest$ac_exeext'
37630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631 (eval $ac_try) 2>&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); }; }; then
37635 eval "$as_ac_var=yes"
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.
$ac_ext >&5
37640 eval "$as_ac_var=no"
37642 rm -f conftest.err conftest.
$ac_objext \
37643 conftest
$ac_exeext conftest.
$ac_ext
37645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37647 if test `eval echo '${'$as_ac_var'}'` = yes; then
37648 cat >>confdefs.h
<<_ACEOF
37649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37651 cat >>confdefs.h
<<\_ACEOF
37652 #define HAVE_NANOSLEEP 1
37657 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37658 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37659 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37662 ac_check_lib_save_LIBS
=$LIBS
37663 LIBS
="-lposix4 $LIBS"
37664 cat >conftest.
$ac_ext <<_ACEOF
37667 cat confdefs.h
>>conftest.
$ac_ext
37668 cat >>conftest.
$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37671 /* Override any gcc2 internal prototype to avoid an error. */
37675 /* We use char because int might match the return type of a gcc2
37676 builtin and then its argument prototype would still apply. */
37686 rm -f conftest.
$ac_objext conftest
$ac_exeext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37688 (eval $ac_link) 2>conftest.er1
37690 grep -v '^ *+' conftest.er1
>conftest.err
37692 cat conftest.err
>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37697 (eval $ac_try) 2>&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); }; } &&
37701 { ac_try
='test -s conftest$ac_exeext'
37702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37703 (eval $ac_try) 2>&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); }; }; then
37707 ac_cv_lib_posix4_nanosleep
=yes
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.
$ac_ext >&5
37712 ac_cv_lib_posix4_nanosleep
=no
37714 rm -f conftest.err conftest.
$ac_objext \
37715 conftest
$ac_exeext conftest.
$ac_ext
37716 LIBS
=$ac_check_lib_save_LIBS
37718 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37719 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37720 if test $ac_cv_lib_posix4_nanosleep = yes; then
37722 cat >>confdefs.h
<<\_ACEOF
37723 #define HAVE_NANOSLEEP 1
37726 POSIX4_LINK
=" -lposix4"
37731 for ac_func
in usleep
37733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734 echo "$as_me:$LINENO: checking for $ac_func" >&5
37735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37736 if eval "test \"\${$as_ac_var+set}\" = set"; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 cat >conftest.
$ac_ext <<_ACEOF
37742 cat confdefs.h
>>conftest.
$ac_ext
37743 cat >>conftest.
$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37755 # include <limits.h>
37757 # include <assert.h>
37762 /* Override any gcc2 internal prototype to avoid an error. */
37767 /* We use char because int might match the return type of a gcc2
37768 builtin and then its argument prototype would still apply. */
37770 /* The GNU C library defines this for functions which it implements
37771 to always fail with ENOSYS. Some functions are actually named
37772 something starting with __ and the normal name is an alias. */
37773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37776 char (*f) () = $ac_func;
37785 return f != $ac_func;
37790 rm -f conftest.
$ac_objext conftest
$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792 (eval $ac_link) 2>conftest.er1
37794 grep -v '^ *+' conftest.er1
>conftest.err
37796 cat conftest.err
>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; } &&
37805 { ac_try
='test -s conftest$ac_exeext'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; }; then
37811 eval "$as_ac_var=yes"
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.
$ac_ext >&5
37816 eval "$as_ac_var=no"
37818 rm -f conftest.err conftest.
$ac_objext \
37819 conftest
$ac_exeext conftest.
$ac_ext
37821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37823 if test `eval echo '${'$as_ac_var'}'` = yes; then
37824 cat >>confdefs.h
<<_ACEOF
37825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37827 cat >>confdefs.h
<<\_ACEOF
37828 #define HAVE_USLEEP 1
37832 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37833 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37851 for ac_func
in uname gethostname
37853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37854 echo "$as_me:$LINENO: checking for $ac_func" >&5
37855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37856 if eval "test \"\${$as_ac_var+set}\" = set"; then
37857 echo $ECHO_N "(cached) $ECHO_C" >&6
37859 cat >conftest.
$ac_ext <<_ACEOF
37862 cat confdefs.h
>>conftest.
$ac_ext
37863 cat >>conftest.
$ac_ext <<_ACEOF
37864 /* end confdefs.h. */
37865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37867 #define $ac_func innocuous_$ac_func
37869 /* System header to define __stub macros and hopefully few prototypes,
37870 which can conflict with char $ac_func (); below.
37871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37872 <limits.h> exists even on freestanding compilers. */
37875 # include <limits.h>
37877 # include <assert.h>
37882 /* Override any gcc2 internal prototype to avoid an error. */
37887 /* We use char because int might match the return type of a gcc2
37888 builtin and then its argument prototype would still apply. */
37890 /* The GNU C library defines this for functions which it implements
37891 to always fail with ENOSYS. Some functions are actually named
37892 something starting with __ and the normal name is an alias. */
37893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37896 char (*f) () = $ac_func;
37905 return f != $ac_func;
37910 rm -f conftest.
$ac_objext conftest
$ac_exeext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37912 (eval $ac_link) 2>conftest.er1
37914 grep -v '^ *+' conftest.er1
>conftest.err
37916 cat conftest.err
>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try
='test -s conftest$ac_exeext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931 eval "$as_ac_var=yes"
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.
$ac_ext >&5
37936 eval "$as_ac_var=no"
37938 rm -f conftest.err conftest.
$ac_objext \
37939 conftest
$ac_exeext conftest.
$ac_ext
37941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37943 if test `eval echo '${'$as_ac_var'}'` = yes; then
37944 cat >>confdefs.h
<<_ACEOF
37945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37953 for wx_func
in strtok_r
37955 echo "$as_me:$LINENO: checking for $wx_func" >&5
37956 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37957 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37958 echo $ECHO_N "(cached) $ECHO_C" >&6
37961 cat >conftest.
$ac_ext <<_ACEOF
37965 cat confdefs.h
>>conftest.
$ac_ext
37966 cat >>conftest.
$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37970 $ac_includes_default
37986 rm -f conftest.
$ac_objext conftest
$ac_exeext
37987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37988 (eval $ac_link) 2>conftest.er1
37990 grep -v '^ *+' conftest.er1
>conftest.err
37992 cat conftest.err
>&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); } &&
37995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; } &&
38001 { ac_try
='test -s conftest$ac_exeext'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; }; then
38007 eval wx_cv_func_
$wx_func=yes
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.
$ac_ext >&5
38012 eval wx_cv_func_
$wx_func=no
38014 rm -f conftest.err conftest.
$ac_objext \
38015 conftest
$ac_exeext conftest.
$ac_ext
38018 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38019 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38021 if eval test \
$wx_cv_func_$wx_func = yes
38023 cat >>confdefs.h
<<_ACEOF
38024 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38037 for ac_func
in inet_addr
38039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38040 echo "$as_me:$LINENO: checking for $ac_func" >&5
38041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38042 if eval "test \"\${$as_ac_var+set}\" = set"; then
38043 echo $ECHO_N "(cached) $ECHO_C" >&6
38045 cat >conftest.
$ac_ext <<_ACEOF
38048 cat confdefs.h
>>conftest.
$ac_ext
38049 cat >>conftest.
$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38053 #define $ac_func innocuous_$ac_func
38055 /* System header to define __stub macros and hopefully few prototypes,
38056 which can conflict with char $ac_func (); below.
38057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38058 <limits.h> exists even on freestanding compilers. */
38061 # include <limits.h>
38063 # include <assert.h>
38068 /* Override any gcc2 internal prototype to avoid an error. */
38073 /* We use char because int might match the return type of a gcc2
38074 builtin and then its argument prototype would still apply. */
38076 /* The GNU C library defines this for functions which it implements
38077 to always fail with ENOSYS. Some functions are actually named
38078 something starting with __ and the normal name is an alias. */
38079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38082 char (*f) () = $ac_func;
38091 return f != $ac_func;
38096 rm -f conftest.
$ac_objext conftest
$ac_exeext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38098 (eval $ac_link) 2>conftest.er1
38100 grep -v '^ *+' conftest.er1
>conftest.err
38102 cat conftest.err
>&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38107 (eval $ac_try) 2>&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); }; } &&
38111 { ac_try
='test -s conftest$ac_exeext'
38112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113 (eval $ac_try) 2>&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); }; }; then
38117 eval "$as_ac_var=yes"
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.
$ac_ext >&5
38122 eval "$as_ac_var=no"
38124 rm -f conftest.err conftest.
$ac_objext \
38125 conftest
$ac_exeext conftest.
$ac_ext
38127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38129 if test `eval echo '${'$as_ac_var'}'` = yes; then
38130 cat >>confdefs.h
<<_ACEOF
38131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38133 cat >>confdefs.h
<<\_ACEOF
38134 #define HAVE_INET_ADDR 1
38139 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38140 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38141 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38144 ac_check_lib_save_LIBS
=$LIBS
38146 cat >conftest.
$ac_ext <<_ACEOF
38149 cat confdefs.h
>>conftest.
$ac_ext
38150 cat >>conftest.
$ac_ext <<_ACEOF
38151 /* end confdefs.h. */
38153 /* Override any gcc2 internal prototype to avoid an error. */
38157 /* We use char because int might match the return type of a gcc2
38158 builtin and then its argument prototype would still apply. */
38168 rm -f conftest.
$ac_objext conftest
$ac_exeext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38170 (eval $ac_link) 2>conftest.er1
38172 grep -v '^ *+' conftest.er1
>conftest.err
38174 cat conftest.err
>&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try
='test -s conftest$ac_exeext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 ac_cv_lib_nsl_inet_addr
=yes
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.
$ac_ext >&5
38194 ac_cv_lib_nsl_inet_addr
=no
38196 rm -f conftest.err conftest.
$ac_objext \
38197 conftest
$ac_exeext conftest.
$ac_ext
38198 LIBS
=$ac_check_lib_save_LIBS
38200 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38201 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38202 if test $ac_cv_lib_nsl_inet_addr = yes; then
38206 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38207 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38208 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 ac_check_lib_save_LIBS
=$LIBS
38212 LIBS
="-lresolv $LIBS"
38213 cat >conftest.
$ac_ext <<_ACEOF
38216 cat confdefs.h
>>conftest.
$ac_ext
38217 cat >>conftest.
$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38220 /* Override any gcc2 internal prototype to avoid an error. */
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38235 rm -f conftest.
$ac_objext conftest
$ac_exeext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38237 (eval $ac_link) 2>conftest.er1
38239 grep -v '^ *+' conftest.er1
>conftest.err
38241 cat conftest.err
>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } &&
38244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38246 (eval $ac_try) 2>&5
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); }; } &&
38250 { ac_try
='test -s conftest$ac_exeext'
38251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38252 (eval $ac_try) 2>&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); }; }; then
38256 ac_cv_lib_resolv_inet_addr
=yes
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.
$ac_ext >&5
38261 ac_cv_lib_resolv_inet_addr
=no
38263 rm -f conftest.err conftest.
$ac_objext \
38264 conftest
$ac_exeext conftest.
$ac_ext
38265 LIBS
=$ac_check_lib_save_LIBS
38267 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38268 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38269 if test $ac_cv_lib_resolv_inet_addr = yes; then
38273 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38274 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38275 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38278 ac_check_lib_save_LIBS
=$LIBS
38279 LIBS
="-lsocket $LIBS"
38280 cat >conftest.
$ac_ext <<_ACEOF
38283 cat confdefs.h
>>conftest.
$ac_ext
38284 cat >>conftest.
$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38287 /* Override any gcc2 internal prototype to avoid an error. */
38291 /* We use char because int might match the return type of a gcc2
38292 builtin and then its argument prototype would still apply. */
38302 rm -f conftest.
$ac_objext conftest
$ac_exeext
38303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38304 (eval $ac_link) 2>conftest.er1
38306 grep -v '^ *+' conftest.er1
>conftest.err
38308 cat conftest.err
>&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } &&
38311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38313 (eval $ac_try) 2>&5
38315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38316 (exit $ac_status); }; } &&
38317 { ac_try
='test -s conftest$ac_exeext'
38318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38319 (eval $ac_try) 2>&5
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); }; }; then
38323 ac_cv_lib_socket_inet_addr
=yes
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.
$ac_ext >&5
38328 ac_cv_lib_socket_inet_addr
=no
38330 rm -f conftest.err conftest.
$ac_objext \
38331 conftest
$ac_exeext conftest.
$ac_ext
38332 LIBS
=$ac_check_lib_save_LIBS
38334 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38335 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38336 if test $ac_cv_lib_socket_inet_addr = yes; then
38356 for ac_func
in inet_aton
38358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38359 echo "$as_me:$LINENO: checking for $ac_func" >&5
38360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38361 if eval "test \"\${$as_ac_var+set}\" = set"; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 cat >conftest.
$ac_ext <<_ACEOF
38367 cat confdefs.h
>>conftest.
$ac_ext
38368 cat >>conftest.
$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define $ac_func innocuous_$ac_func
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char $ac_func (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38380 # include <limits.h>
38382 # include <assert.h>
38387 /* Override any gcc2 internal prototype to avoid an error. */
38392 /* We use char because int might match the return type of a gcc2
38393 builtin and then its argument prototype would still apply. */
38395 /* The GNU C library defines this for functions which it implements
38396 to always fail with ENOSYS. Some functions are actually named
38397 something starting with __ and the normal name is an alias. */
38398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38401 char (*f) () = $ac_func;
38410 return f != $ac_func;
38415 rm -f conftest.
$ac_objext conftest
$ac_exeext
38416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38417 (eval $ac_link) 2>conftest.er1
38419 grep -v '^ *+' conftest.er1
>conftest.err
38421 cat conftest.err
>&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } &&
38424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; } &&
38430 { ac_try
='test -s conftest$ac_exeext'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; }; then
38436 eval "$as_ac_var=yes"
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.
$ac_ext >&5
38441 eval "$as_ac_var=no"
38443 rm -f conftest.err conftest.
$ac_objext \
38444 conftest
$ac_exeext conftest.
$ac_ext
38446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38448 if test `eval echo '${'$as_ac_var'}'` = yes; then
38449 cat >>confdefs.h
<<_ACEOF
38450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38452 cat >>confdefs.h
<<\_ACEOF
38453 #define HAVE_INET_ATON 1
38458 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38459 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38460 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38461 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38462 echo $ECHO_N "(cached) $ECHO_C" >&6
38464 ac_check_lib_save_LIBS
=$LIBS
38465 LIBS
="-l$INET_LINK $LIBS"
38466 cat >conftest.
$ac_ext <<_ACEOF
38469 cat confdefs.h
>>conftest.
$ac_ext
38470 cat >>conftest.
$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38473 /* Override any gcc2 internal prototype to avoid an error. */
38477 /* We use char because int might match the return type of a gcc2
38478 builtin and then its argument prototype would still apply. */
38488 rm -f conftest.
$ac_objext conftest
$ac_exeext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38490 (eval $ac_link) 2>conftest.er1
38492 grep -v '^ *+' conftest.er1
>conftest.err
38494 cat conftest.err
>&5
38495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38496 (exit $ac_status); } &&
38497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499 (eval $ac_try) 2>&5
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); }; } &&
38503 { ac_try
='test -s conftest$ac_exeext'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; }; then
38509 eval "$as_ac_Lib=yes"
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.
$ac_ext >&5
38514 eval "$as_ac_Lib=no"
38516 rm -f conftest.err conftest.
$ac_objext \
38517 conftest
$ac_exeext conftest.
$ac_ext
38518 LIBS
=$ac_check_lib_save_LIBS
38520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38521 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38522 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38523 cat >>confdefs.h
<<\_ACEOF
38524 #define HAVE_INET_ATON 1
38534 if test "x$INET_LINK" != "x"; then
38535 cat >>confdefs.h
<<\_ACEOF
38536 #define HAVE_INET_ADDR 1
38539 INET_LINK
=" -l$INET_LINK"
38547 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38548 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38549 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 ac_check_lib_save_LIBS
=$LIBS
38554 cat >conftest.
$ac_ext <<_ACEOF
38557 cat confdefs.h
>>conftest.
$ac_ext
38558 cat >>conftest.
$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38561 /* Override any gcc2 internal prototype to avoid an error. */
38565 /* We use char because int might match the return type of a gcc2
38566 builtin and then its argument prototype would still apply. */
38576 rm -f conftest.
$ac_objext conftest
$ac_exeext
38577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38578 (eval $ac_link) 2>conftest.er1
38580 grep -v '^ *+' conftest.er1
>conftest.err
38582 cat conftest.err
>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } &&
38585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; } &&
38591 { ac_try
='test -s conftest$ac_exeext'
38592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593 (eval $ac_try) 2>&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); }; }; then
38597 ac_cv_lib_esd_esd_close
=yes
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.
$ac_ext >&5
38602 ac_cv_lib_esd_esd_close
=no
38604 rm -f conftest.err conftest.
$ac_objext \
38605 conftest
$ac_exeext conftest.
$ac_ext
38606 LIBS
=$ac_check_lib_save_LIBS
38608 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38609 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38610 if test $ac_cv_lib_esd_esd_close = yes; then
38613 for ac_header
in esd.h
38615 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38617 echo "$as_me:$LINENO: checking for $ac_header" >&5
38618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38625 # Is the header compilable?
38626 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38628 cat >conftest.
$ac_ext <<_ACEOF
38631 cat confdefs.h
>>conftest.
$ac_ext
38632 cat >>conftest.
$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38634 $ac_includes_default
38635 #include <$ac_header>
38637 rm -f conftest.
$ac_objext
38638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38639 (eval $ac_compile) 2>conftest.er1
38641 grep -v '^ *+' conftest.er1
>conftest.err
38643 cat conftest.err
>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } &&
38646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; } &&
38652 { ac_try
='test -s conftest.$ac_objext'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; }; then
38658 ac_header_compiler
=yes
38660 echo "$as_me: failed program was:" >&5
38661 sed 's/^/| /' conftest.
$ac_ext >&5
38663 ac_header_compiler
=no
38665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38667 echo "${ECHO_T}$ac_header_compiler" >&6
38669 # Is the header present?
38670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38672 cat >conftest.
$ac_ext <<_ACEOF
38675 cat confdefs.h
>>conftest.
$ac_ext
38676 cat >>conftest.
$ac_ext <<_ACEOF
38677 /* end confdefs.h. */
38678 #include <$ac_header>
38680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38683 grep -v '^ *+' conftest.er1
>conftest.err
38685 cat conftest.err
>&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } >/dev
/null
; then
38688 if test -s conftest.err
; then
38689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38697 if test -z "$ac_cpp_err"; then
38698 ac_header_preproc
=yes
38700 echo "$as_me: failed program was:" >&5
38701 sed 's/^/| /' conftest.
$ac_ext >&5
38703 ac_header_preproc
=no
38705 rm -f conftest.err conftest.
$ac_ext
38706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38707 echo "${ECHO_T}$ac_header_preproc" >&6
38709 # So? What about this header?
38710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38716 ac_header_preproc
=yes
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38733 ## ----------------------------------------- ##
38734 ## Report this to wx-dev@lists.wxwidgets.org ##
38735 ## ----------------------------------------- ##
38738 sed "s/^/$as_me: WARNING: /" >&2
38741 echo "$as_me:$LINENO: checking for $ac_header" >&5
38742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38746 eval "$as_ac_Header=\$ac_header_preproc"
38748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38753 cat >>confdefs.h
<<_ACEOF
38754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38757 EXTRALIBS_ESD
="-lesd"
38768 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38769 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38770 cat >conftest.
$ac_ext <<_ACEOF
38773 cat confdefs.h
>>conftest.
$ac_ext
38774 cat >>conftest.
$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38777 #include <linux/cdrom.h>
38780 #include <sys/cdio.h>
38786 struct cdrom_tocentry entry, old_entry;
38791 rm -f conftest.
$ac_objext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38793 (eval $ac_compile) 2>conftest.er1
38795 grep -v '^ *+' conftest.er1
>conftest.err
38797 cat conftest.err
>&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try
='test -s conftest.$ac_objext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812 echo "$as_me:$LINENO: result: yes" >&5
38813 echo "${ECHO_T}yes" >&6
38814 cat >>confdefs.h
<<\_ACEOF
38815 #define HAVE_KNOWN_CDROM_INTERFACE 1
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.
$ac_ext >&5
38822 echo "$as_me:$LINENO: result: no" >&5
38823 echo "${ECHO_T}no" >&6
38825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38828 cat >confcache
<<\_ACEOF
38829 # This file is a shell script that caches the results of configure
38830 # tests run on this system so they can be shared between configure
38831 # scripts and configure runs, see configure's option --config-cache.
38832 # It is not useful on other systems. If it contains results you don't
38833 # want to keep, you may remove or edit it.
38835 # config.status only pays attention to the cache file if you give it
38836 # the --recheck option to rerun configure.
38838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38840 # following values.
38844 # The following way of writing the cache mishandles newlines in values,
38845 # but we know of no workaround that is simple, portable, and efficient.
38846 # So, don't put newlines in cache variables' values.
38847 # Ultrix sh set writes to stderr and can't be redirected directly,
38848 # and sets the high bit in the cache file unless we assign to the vars.
38851 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38853 # `set' does not quote correctly, so add quotes (double-quote
38854 # substitution turns \\\\ into \\, and sed turns \\ into \).
38857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38860 # `set' quotes correctly as required by POSIX, so do not add quotes.
38862 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38871 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38873 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38874 if test -w $cache_file; then
38875 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38876 cat confcache
>$cache_file
38878 echo "not updating unwritable cache $cache_file"
38884 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38890 if test "$wxUSE_THREADS" = "yes" ; then
38891 if test "$USE_BEOS" = 1; then
38892 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38893 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38898 if test "$wxUSE_THREADS" = "yes" ; then
38901 THREAD_OPTS
="-pthread"
38903 *-*-solaris2* | *-*-sunos4* )
38904 if test "x$GCC" = "xyes"; then
38905 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38907 THREAD_OPTS
="-mt $THREAD_OPTS"
38911 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38913 *-*-darwin* | *-*-cygwin* )
38917 THREAD_OPTS
="pthreads"
38920 if test "x$GCC" = "xyes"; then
38921 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38929 if test "x$GCC" = "xyes"; then
38935 if test "x$GCC" != "xyes"; then
38936 THREAD_OPTS
="-Ethread"
38941 THREAD_OPTS
="$THREAD_OPTS pthread none"
38944 for flag
in $THREAD_OPTS; do
38947 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38948 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38952 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38953 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38954 THREADS_CXXFLAGS
="$flag"
38958 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38959 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38960 THREADS_LINK
="-l$flag"
38965 save_CXXFLAGS
="$CXXFLAGS"
38966 LIBS
="$THREADS_LINK $LIBS"
38967 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38969 cat >conftest.
$ac_ext <<_ACEOF
38972 cat confdefs.h
>>conftest.
$ac_ext
38973 cat >>conftest.
$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38975 #include <pthread.h>
38979 pthread_create(0,0,0,0);
38984 rm -f conftest.
$ac_objext conftest
$ac_exeext
38985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38986 (eval $ac_link) 2>conftest.er1
38988 grep -v '^ *+' conftest.er1
>conftest.err
38990 cat conftest.err
>&5
38991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38992 (exit $ac_status); } &&
38993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38995 (eval $ac_try) 2>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); }; } &&
38999 { ac_try
='test -s conftest$ac_exeext'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; }; then
39007 echo "$as_me: failed program was:" >&5
39008 sed 's/^/| /' conftest.
$ac_ext >&5
39011 rm -f conftest.err conftest.
$ac_objext \
39012 conftest
$ac_exeext conftest.
$ac_ext
39015 CXXFLAGS
="$save_CXXFLAGS"
39017 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39018 echo "${ECHO_T}$THREADS_OK" >&6
39019 if test "x$THREADS_OK" = "xyes"; then
39024 THREADS_CXXFLAGS
=""
39027 if test "x$THREADS_OK" != "xyes"; then
39029 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39030 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39032 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39033 LIBS
="$THREADS_LINK $LIBS"
39035 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39036 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39040 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39041 flag
="-D_THREAD_SAFE"
39044 flag
="-D_THREAD_SAFE"
39047 flag
="-D_REENTRANT"
39048 if test "x$GCC" != "xyes"; then
39049 flag
="$flag -D_RWSTD_MULTI_THREAD"
39052 *solaris
* | alpha
*-osf*)
39053 flag
="-D_REENTRANT"
39056 echo "$as_me:$LINENO: result: ${flag}" >&5
39057 echo "${ECHO_T}${flag}" >&6
39058 if test "x$flag" != xno
; then
39059 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39062 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39066 if test "$wxUSE_THREADS" = "yes" ; then
39068 for ac_func
in thr_setconcurrency
39070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39071 echo "$as_me:$LINENO: checking for $ac_func" >&5
39072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39073 if eval "test \"\${$as_ac_var+set}\" = set"; then
39074 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 cat >conftest.
$ac_ext <<_ACEOF
39079 cat confdefs.h
>>conftest.
$ac_ext
39080 cat >>conftest.
$ac_ext <<_ACEOF
39081 /* end confdefs.h. */
39082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39084 #define $ac_func innocuous_$ac_func
39086 /* System header to define __stub macros and hopefully few prototypes,
39087 which can conflict with char $ac_func (); below.
39088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089 <limits.h> exists even on freestanding compilers. */
39092 # include <limits.h>
39094 # include <assert.h>
39099 /* Override any gcc2 internal prototype to avoid an error. */
39104 /* We use char because int might match the return type of a gcc2
39105 builtin and then its argument prototype would still apply. */
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39113 char (*f) () = $ac_func;
39122 return f != $ac_func;
39127 rm -f conftest.
$ac_objext conftest
$ac_exeext
39128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39129 (eval $ac_link) 2>conftest.er1
39131 grep -v '^ *+' conftest.er1
>conftest.err
39133 cat conftest.err
>&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } &&
39136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39138 (eval $ac_try) 2>&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); }; } &&
39142 { ac_try
='test -s conftest$ac_exeext'
39143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39144 (eval $ac_try) 2>&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); }; }; then
39148 eval "$as_ac_var=yes"
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.
$ac_ext >&5
39153 eval "$as_ac_var=no"
39155 rm -f conftest.err conftest.
$ac_objext \
39156 conftest
$ac_exeext conftest.
$ac_ext
39158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39160 if test `eval echo '${'$as_ac_var'}'` = yes; then
39161 cat >>confdefs.h
<<_ACEOF
39162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39169 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39170 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39171 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 cat >conftest.
$ac_ext <<_ACEOF
39178 cat confdefs.h
>>conftest.
$ac_ext
39179 cat >>conftest.
$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 #include <pthread.h>
39182 void ThreadCleanupFunc(void *p);
39189 pthread_cleanup_push(ThreadCleanupFunc, p);
39190 pthread_cleanup_pop(0);
39196 rm -f conftest.
$ac_objext
39197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39198 (eval $ac_compile) 2>conftest.er1
39200 grep -v '^ *+' conftest.er1
>conftest.err
39202 cat conftest.err
>&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } &&
39205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207 (eval $ac_try) 2>&5
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); }; } &&
39211 { ac_try
='test -s conftest.$ac_objext'
39212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213 (eval $ac_try) 2>&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); }; }; then
39218 wx_cv_func_pthread_cleanup
=yes
39221 echo "$as_me: failed program was:" >&5
39222 sed 's/^/| /' conftest.
$ac_ext >&5
39225 wx_cv_func_pthread_cleanup
=no
39229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39232 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39233 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39234 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39235 cat >>confdefs.h
<<\_ACEOF
39236 #define wxHAVE_PTHREAD_CLEANUP 1
39242 for ac_header
in sched.h
39244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39246 echo "$as_me:$LINENO: checking for $ac_header" >&5
39247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39249 echo $ECHO_N "(cached) $ECHO_C" >&6
39251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39254 # Is the header compilable?
39255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39257 cat >conftest.
$ac_ext <<_ACEOF
39260 cat confdefs.h
>>conftest.
$ac_ext
39261 cat >>conftest.
$ac_ext <<_ACEOF
39262 /* end confdefs.h. */
39263 $ac_includes_default
39264 #include <$ac_header>
39266 rm -f conftest.
$ac_objext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39268 (eval $ac_compile) 2>conftest.er1
39270 grep -v '^ *+' conftest.er1
>conftest.err
39272 cat conftest.err
>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } &&
39275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; } &&
39281 { ac_try
='test -s conftest.$ac_objext'
39282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283 (eval $ac_try) 2>&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); }; }; then
39287 ac_header_compiler
=yes
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.
$ac_ext >&5
39292 ac_header_compiler
=no
39294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39296 echo "${ECHO_T}$ac_header_compiler" >&6
39298 # Is the header present?
39299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39301 cat >conftest.
$ac_ext <<_ACEOF
39304 cat confdefs.h
>>conftest.
$ac_ext
39305 cat >>conftest.
$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307 #include <$ac_header>
39309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39312 grep -v '^ *+' conftest.er1
>conftest.err
39314 cat conftest.err
>&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } >/dev
/null
; then
39317 if test -s conftest.err
; then
39318 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39319 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39326 if test -z "$ac_cpp_err"; then
39327 ac_header_preproc
=yes
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.
$ac_ext >&5
39332 ac_header_preproc
=no
39334 rm -f conftest.err conftest.
$ac_ext
39335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39336 echo "${ECHO_T}$ac_header_preproc" >&6
39338 # So? What about this header?
39339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39345 ac_header_preproc
=yes
39348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39362 ## ----------------------------------------- ##
39363 ## Report this to wx-dev@lists.wxwidgets.org ##
39364 ## ----------------------------------------- ##
39367 sed "s/^/$as_me: WARNING: /" >&2
39370 echo "$as_me:$LINENO: checking for $ac_header" >&5
39371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39373 echo $ECHO_N "(cached) $ECHO_C" >&6
39375 eval "$as_ac_Header=\$ac_header_preproc"
39377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39382 cat >>confdefs.h
<<_ACEOF
39383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39390 if test "$ac_cv_header_sched_h" = "yes"; then
39391 echo "$as_me:$LINENO: checking for sched_yield" >&5
39392 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39393 if test "${ac_cv_func_sched_yield+set}" = set; then
39394 echo $ECHO_N "(cached) $ECHO_C" >&6
39396 cat >conftest.
$ac_ext <<_ACEOF
39399 cat confdefs.h
>>conftest.
$ac_ext
39400 cat >>conftest.
$ac_ext <<_ACEOF
39401 /* end confdefs.h. */
39402 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39404 #define sched_yield innocuous_sched_yield
39406 /* System header to define __stub macros and hopefully few prototypes,
39407 which can conflict with char sched_yield (); below.
39408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39409 <limits.h> exists even on freestanding compilers. */
39412 # include <limits.h>
39414 # include <assert.h>
39419 /* Override any gcc2 internal prototype to avoid an error. */
39424 /* We use char because int might match the return type of a gcc2
39425 builtin and then its argument prototype would still apply. */
39426 char sched_yield ();
39427 /* The GNU C library defines this for functions which it implements
39428 to always fail with ENOSYS. Some functions are actually named
39429 something starting with __ and the normal name is an alias. */
39430 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39433 char (*f) () = sched_yield;
39442 return f != sched_yield;
39447 rm -f conftest.
$ac_objext conftest
$ac_exeext
39448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39449 (eval $ac_link) 2>conftest.er1
39451 grep -v '^ *+' conftest.er1
>conftest.err
39453 cat conftest.err
>&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } &&
39456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39458 (eval $ac_try) 2>&5
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); }; } &&
39462 { ac_try
='test -s conftest$ac_exeext'
39463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39464 (eval $ac_try) 2>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); }; }; then
39468 ac_cv_func_sched_yield
=yes
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.
$ac_ext >&5
39473 ac_cv_func_sched_yield
=no
39475 rm -f conftest.err conftest.
$ac_objext \
39476 conftest
$ac_exeext conftest.
$ac_ext
39478 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39479 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39480 if test $ac_cv_func_sched_yield = yes; then
39481 cat >>confdefs.h
<<\_ACEOF
39482 #define HAVE_SCHED_YIELD 1
39487 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39488 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39489 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39490 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 ac_check_lib_save_LIBS
=$LIBS
39493 LIBS
="-lposix4 $LIBS"
39494 cat >conftest.
$ac_ext <<_ACEOF
39497 cat confdefs.h
>>conftest.
$ac_ext
39498 cat >>conftest.
$ac_ext <<_ACEOF
39499 /* end confdefs.h. */
39501 /* Override any gcc2 internal prototype to avoid an error. */
39505 /* We use char because int might match the return type of a gcc2
39506 builtin and then its argument prototype would still apply. */
39507 char sched_yield ();
39516 rm -f conftest.
$ac_objext conftest
$ac_exeext
39517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39518 (eval $ac_link) 2>conftest.er1
39520 grep -v '^ *+' conftest.er1
>conftest.err
39522 cat conftest.err
>&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } &&
39525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39527 (eval $ac_try) 2>&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); }; } &&
39531 { ac_try
='test -s conftest$ac_exeext'
39532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533 (eval $ac_try) 2>&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); }; }; then
39537 ac_cv_lib_posix4_sched_yield
=yes
39539 echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.
$ac_ext >&5
39542 ac_cv_lib_posix4_sched_yield
=no
39544 rm -f conftest.err conftest.
$ac_objext \
39545 conftest
$ac_exeext conftest.
$ac_ext
39546 LIBS
=$ac_check_lib_save_LIBS
39548 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39549 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39550 if test $ac_cv_lib_posix4_sched_yield = yes; then
39551 cat >>confdefs.h
<<\_ACEOF
39552 #define HAVE_SCHED_YIELD 1
39554 POSIX4_LINK
=" -lposix4"
39556 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39557 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39568 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39569 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39570 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39573 cat >conftest.
$ac_ext <<_ACEOF
39576 cat confdefs.h
>>conftest.
$ac_ext
39577 cat >>conftest.
$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char pthread_attr_getschedpolicy (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39589 # include <limits.h>
39591 # include <assert.h>
39594 #undef pthread_attr_getschedpolicy
39596 /* Override any gcc2 internal prototype to avoid an error. */
39601 /* We use char because int might match the return type of a gcc2
39602 builtin and then its argument prototype would still apply. */
39603 char pthread_attr_getschedpolicy ();
39604 /* The GNU C library defines this for functions which it implements
39605 to always fail with ENOSYS. Some functions are actually named
39606 something starting with __ and the normal name is an alias. */
39607 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39610 char (*f) () = pthread_attr_getschedpolicy;
39619 return f != pthread_attr_getschedpolicy;
39624 rm -f conftest.
$ac_objext conftest
$ac_exeext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39626 (eval $ac_link) 2>conftest.er1
39628 grep -v '^ *+' conftest.er1
>conftest.err
39630 cat conftest.err
>&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try
='test -s conftest$ac_exeext'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; }; then
39645 ac_cv_func_pthread_attr_getschedpolicy
=yes
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.
$ac_ext >&5
39650 ac_cv_func_pthread_attr_getschedpolicy
=no
39652 rm -f conftest.err conftest.
$ac_objext \
39653 conftest
$ac_exeext conftest.
$ac_ext
39655 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39656 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39657 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39658 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39659 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39660 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39661 echo $ECHO_N "(cached) $ECHO_C" >&6
39663 cat >conftest.
$ac_ext <<_ACEOF
39666 cat confdefs.h
>>conftest.
$ac_ext
39667 cat >>conftest.
$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39669 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39671 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39673 /* System header to define __stub macros and hopefully few prototypes,
39674 which can conflict with char pthread_attr_setschedparam (); below.
39675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676 <limits.h> exists even on freestanding compilers. */
39679 # include <limits.h>
39681 # include <assert.h>
39684 #undef pthread_attr_setschedparam
39686 /* Override any gcc2 internal prototype to avoid an error. */
39691 /* We use char because int might match the return type of a gcc2
39692 builtin and then its argument prototype would still apply. */
39693 char pthread_attr_setschedparam ();
39694 /* The GNU C library defines this for functions which it implements
39695 to always fail with ENOSYS. Some functions are actually named
39696 something starting with __ and the normal name is an alias. */
39697 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39700 char (*f) () = pthread_attr_setschedparam;
39709 return f != pthread_attr_setschedparam;
39714 rm -f conftest.
$ac_objext conftest
$ac_exeext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39716 (eval $ac_link) 2>conftest.er1
39718 grep -v '^ *+' conftest.er1
>conftest.err
39720 cat conftest.err
>&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } &&
39723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; } &&
39729 { ac_try
='test -s conftest$ac_exeext'
39730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39731 (eval $ac_try) 2>&5
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); }; }; then
39735 ac_cv_func_pthread_attr_setschedparam
=yes
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.
$ac_ext >&5
39740 ac_cv_func_pthread_attr_setschedparam
=no
39742 rm -f conftest.err conftest.
$ac_objext \
39743 conftest
$ac_exeext conftest.
$ac_ext
39745 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39746 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39747 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39748 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39749 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39750 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 cat >conftest.
$ac_ext <<_ACEOF
39756 cat confdefs.h
>>conftest.
$ac_ext
39757 cat >>conftest.
$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39761 #define sched_get_priority_max innocuous_sched_get_priority_max
39763 /* System header to define __stub macros and hopefully few prototypes,
39764 which can conflict with char sched_get_priority_max (); below.
39765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39766 <limits.h> exists even on freestanding compilers. */
39769 # include <limits.h>
39771 # include <assert.h>
39774 #undef sched_get_priority_max
39776 /* Override any gcc2 internal prototype to avoid an error. */
39781 /* We use char because int might match the return type of a gcc2
39782 builtin and then its argument prototype would still apply. */
39783 char sched_get_priority_max ();
39784 /* The GNU C library defines this for functions which it implements
39785 to always fail with ENOSYS. Some functions are actually named
39786 something starting with __ and the normal name is an alias. */
39787 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39790 char (*f) () = sched_get_priority_max;
39799 return f != sched_get_priority_max;
39804 rm -f conftest.
$ac_objext conftest
$ac_exeext
39805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39806 (eval $ac_link) 2>conftest.er1
39808 grep -v '^ *+' conftest.er1
>conftest.err
39810 cat conftest.err
>&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } &&
39813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39815 (eval $ac_try) 2>&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); }; } &&
39819 { ac_try
='test -s conftest$ac_exeext'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 ac_cv_func_sched_get_priority_max
=yes
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.
$ac_ext >&5
39830 ac_cv_func_sched_get_priority_max
=no
39832 rm -f conftest.err conftest.
$ac_objext \
39833 conftest
$ac_exeext conftest.
$ac_ext
39835 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39836 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39837 if test $ac_cv_func_sched_get_priority_max = yes; then
39840 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39841 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39842 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39843 echo $ECHO_N "(cached) $ECHO_C" >&6
39845 ac_check_lib_save_LIBS
=$LIBS
39846 LIBS
="-lposix4 $LIBS"
39847 cat >conftest.
$ac_ext <<_ACEOF
39850 cat confdefs.h
>>conftest.
$ac_ext
39851 cat >>conftest.
$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39854 /* Override any gcc2 internal prototype to avoid an error. */
39858 /* We use char because int might match the return type of a gcc2
39859 builtin and then its argument prototype would still apply. */
39860 char sched_get_priority_max ();
39864 sched_get_priority_max ();
39869 rm -f conftest.
$ac_objext conftest
$ac_exeext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39871 (eval $ac_link) 2>conftest.er1
39873 grep -v '^ *+' conftest.er1
>conftest.err
39875 cat conftest.err
>&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } &&
39878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; } &&
39884 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
39890 ac_cv_lib_posix4_sched_get_priority_max
=yes
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.
$ac_ext >&5
39895 ac_cv_lib_posix4_sched_get_priority_max
=no
39897 rm -f conftest.err conftest.
$ac_objext \
39898 conftest
$ac_exeext conftest.
$ac_ext
39899 LIBS
=$ac_check_lib_save_LIBS
39901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39902 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39903 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39906 POSIX4_LINK
=" -lposix4"
39920 if test "$HAVE_PRIOR_FUNCS" = 1; then
39921 cat >>confdefs.h
<<\_ACEOF
39922 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39926 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39927 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39930 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39931 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39932 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39933 echo $ECHO_N "(cached) $ECHO_C" >&6
39935 cat >conftest.
$ac_ext <<_ACEOF
39938 cat confdefs.h
>>conftest.
$ac_ext
39939 cat >>conftest.
$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39943 #define pthread_cancel innocuous_pthread_cancel
39945 /* System header to define __stub macros and hopefully few prototypes,
39946 which can conflict with char pthread_cancel (); below.
39947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39948 <limits.h> exists even on freestanding compilers. */
39951 # include <limits.h>
39953 # include <assert.h>
39956 #undef pthread_cancel
39958 /* Override any gcc2 internal prototype to avoid an error. */
39963 /* We use char because int might match the return type of a gcc2
39964 builtin and then its argument prototype would still apply. */
39965 char pthread_cancel ();
39966 /* The GNU C library defines this for functions which it implements
39967 to always fail with ENOSYS. Some functions are actually named
39968 something starting with __ and the normal name is an alias. */
39969 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39972 char (*f) () = pthread_cancel;
39981 return f != pthread_cancel;
39986 rm -f conftest.
$ac_objext conftest
$ac_exeext
39987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39988 (eval $ac_link) 2>conftest.er1
39990 grep -v '^ *+' conftest.er1
>conftest.err
39992 cat conftest.err
>&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } &&
39995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39997 (eval $ac_try) 2>&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); }; } &&
40001 { ac_try
='test -s conftest$ac_exeext'
40002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40003 (eval $ac_try) 2>&5
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); }; }; then
40007 ac_cv_func_pthread_cancel
=yes
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.
$ac_ext >&5
40012 ac_cv_func_pthread_cancel
=no
40014 rm -f conftest.err conftest.
$ac_objext \
40015 conftest
$ac_exeext conftest.
$ac_ext
40017 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40018 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40019 if test $ac_cv_func_pthread_cancel = yes; then
40020 cat >>confdefs.h
<<\_ACEOF
40021 #define HAVE_PTHREAD_CANCEL 1
40025 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40026 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40030 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40031 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40032 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 cat >conftest.
$ac_ext <<_ACEOF
40038 cat confdefs.h
>>conftest.
$ac_ext
40039 cat >>conftest.
$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char pthread_attr_setstacksize (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40051 # include <limits.h>
40053 # include <assert.h>
40056 #undef pthread_attr_setstacksize
40058 /* Override any gcc2 internal prototype to avoid an error. */
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char pthread_attr_setstacksize ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40072 char (*f) () = pthread_attr_setstacksize;
40081 return f != pthread_attr_setstacksize;
40086 rm -f conftest.
$ac_objext conftest
$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40090 grep -v '^ *+' conftest.er1
>conftest.err
40092 cat conftest.err
>&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try
='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 ac_cv_func_pthread_attr_setstacksize
=yes
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.
$ac_ext >&5
40112 ac_cv_func_pthread_attr_setstacksize
=no
40114 rm -f conftest.err conftest.
$ac_objext \
40115 conftest
$ac_exeext conftest.
$ac_ext
40117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40119 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40120 cat >>confdefs.h
<<\_ACEOF
40121 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40128 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40129 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40130 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 cat >conftest.
$ac_ext <<_ACEOF
40137 cat confdefs.h
>>conftest.
$ac_ext
40138 cat >>conftest.
$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 #include <pthread.h>
40145 pthread_mutexattr_t attr;
40146 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40152 rm -f conftest.
$ac_objext
40153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40154 (eval $ac_compile) 2>conftest.er1
40156 grep -v '^ *+' conftest.er1
>conftest.err
40158 cat conftest.err
>&5
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); } &&
40161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163 (eval $ac_try) 2>&5
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); }; } &&
40167 { ac_try
='test -s conftest.$ac_objext'
40168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40169 (eval $ac_try) 2>&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); }; }; then
40173 wx_cv_type_pthread_mutexattr_t
=yes
40175 echo "$as_me: failed program was:" >&5
40176 sed 's/^/| /' conftest.
$ac_ext >&5
40178 wx_cv_type_pthread_mutexattr_t
=no
40181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40184 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40185 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40187 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40188 cat >>confdefs.h
<<\_ACEOF
40189 #define HAVE_PTHREAD_MUTEXATTR_T 1
40193 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40194 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40195 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40196 echo $ECHO_N "(cached) $ECHO_C" >&6
40199 cat >conftest.
$ac_ext <<_ACEOF
40202 cat confdefs.h
>>conftest.
$ac_ext
40203 cat >>conftest.
$ac_ext <<_ACEOF
40204 /* end confdefs.h. */
40205 #include <pthread.h>
40210 pthread_mutexattr_t attr;
40211 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40217 rm -f conftest.
$ac_objext
40218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40219 (eval $ac_compile) 2>conftest.er1
40221 grep -v '^ *+' conftest.er1
>conftest.err
40223 cat conftest.err
>&5
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); } &&
40226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try
='test -s conftest.$ac_objext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.
$ac_ext >&5
40243 wx_cv_func_pthread_mutexattr_settype_decl
=no
40246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40249 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40250 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40251 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40252 cat >>confdefs.h
<<\_ACEOF
40253 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40258 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40259 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40260 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40264 cat >conftest.
$ac_ext <<_ACEOF
40267 cat confdefs.h
>>conftest.
$ac_ext
40268 cat >>conftest.
$ac_ext <<_ACEOF
40269 /* end confdefs.h. */
40270 #include <pthread.h>
40275 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40281 rm -f conftest.
$ac_objext
40282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40283 (eval $ac_compile) 2>conftest.er1
40285 grep -v '^ *+' conftest.er1
>conftest.err
40287 cat conftest.err
>&5
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); } &&
40290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; } &&
40296 { ac_try
='test -s conftest.$ac_objext'
40297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298 (eval $ac_try) 2>&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); }; }; then
40303 wx_cv_type_pthread_rec_mutex_init
=yes
40306 echo "$as_me: failed program was:" >&5
40307 sed 's/^/| /' conftest.
$ac_ext >&5
40310 wx_cv_type_pthread_rec_mutex_init
=no
40314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40317 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40318 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40319 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40320 cat >>confdefs.h
<<\_ACEOF
40321 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40325 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40326 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40332 if test "$wxUSE_THREADS" = "yes" ; then
40335 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40336 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40337 if test "${wx_cv_cflags_mthread+set}" = set; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40341 CXXFLAGS_OLD
="$CXXFLAGS"
40342 CXXFLAGS
="-mthreads $CXXFLAGS"
40343 cat >conftest.
$ac_ext <<_ACEOF
40346 cat confdefs.h
>>conftest.
$ac_ext
40347 cat >>conftest.
$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40358 rm -f conftest.
$ac_objext
40359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40360 (eval $ac_compile) 2>conftest.er1
40362 grep -v '^ *+' conftest.er1
>conftest.err
40364 cat conftest.err
>&5
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); } &&
40367 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
40379 wx_cv_cflags_mthread
=yes
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.
$ac_ext >&5
40384 wx_cv_cflags_mthread
=no
40387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40391 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40392 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40394 if test "$wx_cv_cflags_mthread" = "yes"; then
40395 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40396 LDFLAGS
="$LDFLAGS -mthreads"
40398 CXXFLAGS
="$CXXFLAGS_OLD"
40402 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40403 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40404 LDFLAGS
="$LDFLAGS -Zmt"
40410 echo "$as_me:$LINENO: checking for localtime_r" >&5
40411 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40412 if test "${ac_cv_func_localtime_r+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 cat >conftest.
$ac_ext <<_ACEOF
40418 cat confdefs.h
>>conftest.
$ac_ext
40419 cat >>conftest.
$ac_ext <<_ACEOF
40420 /* end confdefs.h. */
40421 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40423 #define localtime_r innocuous_localtime_r
40425 /* System header to define __stub macros and hopefully few prototypes,
40426 which can conflict with char localtime_r (); below.
40427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40428 <limits.h> exists even on freestanding compilers. */
40431 # include <limits.h>
40433 # include <assert.h>
40438 /* Override any gcc2 internal prototype to avoid an error. */
40443 /* We use char because int might match the return type of a gcc2
40444 builtin and then its argument prototype would still apply. */
40445 char localtime_r ();
40446 /* The GNU C library defines this for functions which it implements
40447 to always fail with ENOSYS. Some functions are actually named
40448 something starting with __ and the normal name is an alias. */
40449 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40452 char (*f) () = localtime_r;
40461 return f != localtime_r;
40466 rm -f conftest.
$ac_objext conftest
$ac_exeext
40467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40468 (eval $ac_link) 2>conftest.er1
40470 grep -v '^ *+' conftest.er1
>conftest.err
40472 cat conftest.err
>&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } &&
40475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40477 (eval $ac_try) 2>&5
40479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40480 (exit $ac_status); }; } &&
40481 { ac_try
='test -s conftest$ac_exeext'
40482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40483 (eval $ac_try) 2>&5
40485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486 (exit $ac_status); }; }; then
40487 ac_cv_func_localtime_r
=yes
40489 echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.
$ac_ext >&5
40492 ac_cv_func_localtime_r
=no
40494 rm -f conftest.err conftest.
$ac_objext \
40495 conftest
$ac_exeext conftest.
$ac_ext
40497 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40498 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40499 if test $ac_cv_func_localtime_r = yes; then
40500 cat >>confdefs.h
<<\_ACEOF
40501 #define HAVE_LOCALTIME_R 1
40506 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40507 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40508 if test "${ac_cv_func_gmtime_r+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 cat >conftest.
$ac_ext <<_ACEOF
40514 cat confdefs.h
>>conftest.
$ac_ext
40515 cat >>conftest.
$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40519 #define gmtime_r innocuous_gmtime_r
40521 /* System header to define __stub macros and hopefully few prototypes,
40522 which can conflict with char gmtime_r (); below.
40523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40524 <limits.h> exists even on freestanding compilers. */
40527 # include <limits.h>
40529 # include <assert.h>
40534 /* Override any gcc2 internal prototype to avoid an error. */
40539 /* We use char because int might match the return type of a gcc2
40540 builtin and then its argument prototype would still apply. */
40542 /* The GNU C library defines this for functions which it implements
40543 to always fail with ENOSYS. Some functions are actually named
40544 something starting with __ and the normal name is an alias. */
40545 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40548 char (*f) () = gmtime_r;
40557 return f != gmtime_r;
40562 rm -f conftest.
$ac_objext conftest
$ac_exeext
40563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40564 (eval $ac_link) 2>conftest.er1
40566 grep -v '^ *+' conftest.er1
>conftest.err
40568 cat conftest.err
>&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); } &&
40571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; } &&
40577 { ac_try
='test -s conftest$ac_exeext'
40578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40579 (eval $ac_try) 2>&5
40581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40582 (exit $ac_status); }; }; then
40583 ac_cv_func_gmtime_r
=yes
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.
$ac_ext >&5
40588 ac_cv_func_gmtime_r
=no
40590 rm -f conftest.err conftest.
$ac_objext \
40591 conftest
$ac_exeext conftest.
$ac_ext
40593 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40594 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40595 if test $ac_cv_func_gmtime_r = yes; then
40596 cat >>confdefs.h
<<\_ACEOF
40597 #define HAVE_GMTIME_R 1
40602 echo "$as_me:$LINENO: checking for readdir_r" >&5
40603 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40604 if test "${ac_cv_func_readdir_r+set}" = set; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40607 cat >conftest.
$ac_ext <<_ACEOF
40610 cat confdefs.h
>>conftest.
$ac_ext
40611 cat >>conftest.
$ac_ext <<_ACEOF
40612 /* end confdefs.h. */
40613 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40615 #define readdir_r innocuous_readdir_r
40617 /* System header to define __stub macros and hopefully few prototypes,
40618 which can conflict with char readdir_r (); below.
40619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40620 <limits.h> exists even on freestanding compilers. */
40623 # include <limits.h>
40625 # include <assert.h>
40630 /* Override any gcc2 internal prototype to avoid an error. */
40635 /* We use char because int might match the return type of a gcc2
40636 builtin and then its argument prototype would still apply. */
40638 /* The GNU C library defines this for functions which it implements
40639 to always fail with ENOSYS. Some functions are actually named
40640 something starting with __ and the normal name is an alias. */
40641 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40644 char (*f) () = readdir_r;
40653 return f != readdir_r;
40658 rm -f conftest.
$ac_objext conftest
$ac_exeext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40660 (eval $ac_link) 2>conftest.er1
40662 grep -v '^ *+' conftest.er1
>conftest.err
40664 cat conftest.err
>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try
='test -s conftest$ac_exeext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 ac_cv_func_readdir_r
=yes
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.
$ac_ext >&5
40684 ac_cv_func_readdir_r
=no
40686 rm -f conftest.err conftest.
$ac_objext \
40687 conftest
$ac_exeext conftest.
$ac_ext
40689 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40690 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40691 if test $ac_cv_func_readdir_r = yes; then
40692 cat >>confdefs.h
<<\_ACEOF
40693 #define HAVE_READDIR_R 1
40702 ac_cpp
='$CPP $CPPFLAGS'
40703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40707 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40708 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40710 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 ################################################################
40717 ac_cv_func_which_gethostbyname_r
=unknown
40720 # ONE ARGUMENT (sanity check)
40723 # This should fail, as there is no variant of gethostbyname_r() that takes
40724 # a single argument. If it actually compiles, then we can assume that
40725 # netdb.h is not declaring the function, and the compiler is thereby
40726 # assuming an implicit prototype. In which case, we're out of luck.
40728 cat >conftest.
$ac_ext <<_ACEOF
40731 cat confdefs.h
>>conftest.
$ac_ext
40732 cat >>conftest.
$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40739 char *name = "www.gnu.org";
40740 (void)gethostbyname_r(name) /* ; */
40746 rm -f conftest.
$ac_objext
40747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40748 (eval $ac_compile) 2>conftest.er1
40750 grep -v '^ *+' conftest.er1
>conftest.err
40752 cat conftest.err
>&5
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); } &&
40755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try
='test -s conftest.$ac_objext'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; }; then
40767 ac_cv_func_which_gethostbyname_r
=no
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.
$ac_ext >&5
40773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40780 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40782 cat >conftest.
$ac_ext <<_ACEOF
40785 cat confdefs.h
>>conftest.
$ac_ext
40786 cat >>conftest.
$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40793 char *name = "www.gnu.org";
40794 struct hostent ret, *retp;
40798 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40804 rm -f conftest.
$ac_objext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40806 (eval $ac_compile) 2>conftest.er1
40808 grep -v '^ *+' conftest.er1
>conftest.err
40810 cat conftest.err
>&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try
='test -s conftest.$ac_objext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 ac_cv_func_which_gethostbyname_r
=six
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.
$ac_ext >&5
40831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40840 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40842 cat >conftest.
$ac_ext <<_ACEOF
40845 cat confdefs.h
>>conftest.
$ac_ext
40846 cat >>conftest.
$ac_ext <<_ACEOF
40847 /* end confdefs.h. */
40853 char *name = "www.gnu.org";
40854 struct hostent ret;
40858 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40864 rm -f conftest.
$ac_objext
40865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40866 (eval $ac_compile) 2>conftest.er1
40868 grep -v '^ *+' conftest.er1
>conftest.err
40870 cat conftest.err
>&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } &&
40873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; } &&
40879 { ac_try
='test -s conftest.$ac_objext'
40880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40881 (eval $ac_try) 2>&5
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); }; }; then
40885 ac_cv_func_which_gethostbyname_r
=five
40887 echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.
$ac_ext >&5
40891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40897 # (e.g. AIX, HP-UX, Tru64)
40900 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40902 cat >conftest.
$ac_ext <<_ACEOF
40905 cat confdefs.h
>>conftest.
$ac_ext
40906 cat >>conftest.
$ac_ext <<_ACEOF
40907 /* end confdefs.h. */
40913 char *name = "www.gnu.org";
40914 struct hostent ret;
40915 struct hostent_data data;
40916 (void)gethostbyname_r(name, &ret, &data) /* ; */
40922 rm -f conftest.
$ac_objext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40924 (eval $ac_compile) 2>conftest.er1
40926 grep -v '^ *+' conftest.er1
>conftest.err
40928 cat conftest.err
>&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); } &&
40931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40933 (eval $ac_try) 2>&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); }; } &&
40937 { ac_try
='test -s conftest.$ac_objext'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; }; then
40943 ac_cv_func_which_gethostbyname_r
=three
40945 echo "$as_me: failed program was:" >&5
40946 sed 's/^/| /' conftest.
$ac_ext >&5
40949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40953 ################################################################
40958 case "$ac_cv_func_which_gethostbyname_r" in
40960 echo "$as_me:$LINENO: result: three" >&5
40961 echo "${ECHO_T}three" >&6
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40969 echo "$as_me:$LINENO: result: five" >&5
40970 echo "${ECHO_T}five" >&6
40971 cat >>confdefs.h
<<\_ACEOF
40972 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40978 echo "$as_me:$LINENO: result: six" >&5
40979 echo "${ECHO_T}six" >&6
40980 cat >>confdefs.h
<<\_ACEOF
40981 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40987 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40988 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40992 echo "$as_me:$LINENO: result: can't tell" >&5
40993 echo "${ECHO_T}can't tell" >&6
40997 { { echo "$as_me:$LINENO: error: internal error" >&5
40998 echo "$as_me: error: internal error" >&2;}
40999 { (exit 1); exit 1; }; }
41004 ac_cpp
='$CXXCPP $CPPFLAGS'
41005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41011 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41012 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41013 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41014 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41015 if test "${ac_cv_func_gethostbyname+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 cat >conftest.
$ac_ext <<_ACEOF
41021 cat confdefs.h
>>conftest.
$ac_ext
41022 cat >>conftest.
$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define gethostbyname innocuous_gethostbyname
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char gethostbyname (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41034 # include <limits.h>
41036 # include <assert.h>
41039 #undef gethostbyname
41041 /* Override any gcc2 internal prototype to avoid an error. */
41046 /* We use char because int might match the return type of a gcc2
41047 builtin and then its argument prototype would still apply. */
41048 char gethostbyname ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41055 char (*f) () = gethostbyname;
41064 return f != gethostbyname;
41069 rm -f conftest.
$ac_objext conftest
$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>conftest.er1
41073 grep -v '^ *+' conftest.er1
>conftest.err
41075 cat conftest.err
>&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } &&
41078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try
='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 ac_cv_func_gethostbyname
=yes
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.
$ac_ext >&5
41095 ac_cv_func_gethostbyname
=no
41097 rm -f conftest.err conftest.
$ac_objext \
41098 conftest
$ac_exeext conftest.
$ac_ext
41100 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41101 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41102 if test $ac_cv_func_gethostbyname = yes; then
41103 cat >>confdefs.h
<<\_ACEOF
41104 #define HAVE_GETHOSTBYNAME 1
41111 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41112 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41113 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 cat >conftest.
$ac_ext <<_ACEOF
41120 cat confdefs.h
>>conftest.
$ac_ext
41121 cat >>conftest.
$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41130 struct servent *se, *res;
41133 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41139 rm -f conftest.
$ac_objext
41140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41141 (eval $ac_compile) 2>conftest.er1
41143 grep -v '^ *+' conftest.er1
>conftest.err
41145 cat conftest.err
>&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); } &&
41148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41150 (eval $ac_try) 2>&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); }; } &&
41154 { ac_try
='test -s conftest.$ac_objext'
41155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41156 (eval $ac_try) 2>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 ac_cv_func_which_getservbyname_r
=six
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.
$ac_ext >&5
41166 cat >conftest.
$ac_ext <<_ACEOF
41169 cat confdefs.h
>>conftest.
$ac_ext
41170 cat >>conftest.
$ac_ext <<_ACEOF
41171 /* end confdefs.h. */
41179 struct servent *se;
41182 (void) getservbyname_r(name, proto, se, buffer, buflen)
41188 rm -f conftest.
$ac_objext
41189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41190 (eval $ac_compile) 2>conftest.er1
41192 grep -v '^ *+' conftest.er1
>conftest.err
41194 cat conftest.err
>&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } &&
41197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; } &&
41203 { ac_try
='test -s conftest.$ac_objext'
41204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41205 (eval $ac_try) 2>&5
41207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 (exit $ac_status); }; }; then
41209 ac_cv_func_which_getservbyname_r
=five
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.
$ac_ext >&5
41215 cat >conftest.
$ac_ext <<_ACEOF
41218 cat confdefs.h
>>conftest.
$ac_ext
41219 cat >>conftest.
$ac_ext <<_ACEOF
41220 /* end confdefs.h. */
41228 struct servent *se;
41229 struct servent_data data;
41230 (void) getservbyname_r(name, proto, se, &data);
41236 rm -f conftest.
$ac_objext
41237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41238 (eval $ac_compile) 2>conftest.er1
41240 grep -v '^ *+' conftest.er1
>conftest.err
41242 cat conftest.err
>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } &&
41245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; } &&
41251 { ac_try
='test -s conftest.$ac_objext'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; }; then
41257 ac_cv_func_which_getservbyname_r
=four
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.
$ac_ext >&5
41262 ac_cv_func_which_getservbyname_r
=no
41265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41277 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41278 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41280 if test $ac_cv_func_which_getservbyname_r = six
; then
41281 cat >>confdefs.h
<<\_ACEOF
41282 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41285 elif test $ac_cv_func_which_getservbyname_r = five
; then
41286 cat >>confdefs.h
<<\_ACEOF
41287 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41290 elif test $ac_cv_func_which_getservbyname_r = four
; then
41291 cat >>confdefs.h
<<\_ACEOF
41292 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41298 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41299 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41301 for ac_func
in getservbyname
41303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41304 echo "$as_me:$LINENO: checking for $ac_func" >&5
41305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41306 if eval "test \"\${$as_ac_var+set}\" = set"; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 cat >conftest.
$ac_ext <<_ACEOF
41312 cat confdefs.h
>>conftest.
$ac_ext
41313 cat >>conftest.
$ac_ext <<_ACEOF
41314 /* end confdefs.h. */
41315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41317 #define $ac_func innocuous_$ac_func
41319 /* System header to define __stub macros and hopefully few prototypes,
41320 which can conflict with char $ac_func (); below.
41321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41322 <limits.h> exists even on freestanding compilers. */
41325 # include <limits.h>
41327 # include <assert.h>
41332 /* Override any gcc2 internal prototype to avoid an error. */
41337 /* We use char because int might match the return type of a gcc2
41338 builtin and then its argument prototype would still apply. */
41340 /* The GNU C library defines this for functions which it implements
41341 to always fail with ENOSYS. Some functions are actually named
41342 something starting with __ and the normal name is an alias. */
41343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41346 char (*f) () = $ac_func;
41355 return f != $ac_func;
41360 rm -f conftest.
$ac_objext conftest
$ac_exeext
41361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41362 (eval $ac_link) 2>conftest.er1
41364 grep -v '^ *+' conftest.er1
>conftest.err
41366 cat conftest.err
>&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } &&
41369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41371 (eval $ac_try) 2>&5
41373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374 (exit $ac_status); }; } &&
41375 { ac_try
='test -s conftest$ac_exeext'
41376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41377 (eval $ac_try) 2>&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); }; }; then
41381 eval "$as_ac_var=yes"
41383 echo "$as_me: failed program was:" >&5
41384 sed 's/^/| /' conftest.
$ac_ext >&5
41386 eval "$as_ac_var=no"
41388 rm -f conftest.err conftest.
$ac_objext \
41389 conftest
$ac_exeext conftest.
$ac_ext
41391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41393 if test `eval echo '${'$as_ac_var'}'` = yes; then
41394 cat >>confdefs.h
<<_ACEOF
41395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41397 cat >>confdefs.h
<<\_ACEOF
41398 #define HAVE_GETSERVBYNAME 1
41406 if test "$wxUSE_THREADS" = "yes"; then
41407 cat >>confdefs.h
<<\_ACEOF
41408 #define wxUSE_THREADS 1
41412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41414 if test "$wx_cv_func_strtok_r" = "yes"; then
41415 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41416 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41417 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41418 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41419 echo "$as_me:$LINENO: result: yes" >&5
41420 echo "${ECHO_T}yes" >&6
41422 echo "$as_me:$LINENO: result: no" >&5
41423 echo "${ECHO_T}no" >&6
41428 if test "$WXGTK20" = 1 ; then
41429 cat >>confdefs.h
<<_ACEOF
41430 #define __WXGTK20__ $WXGTK20
41436 if test "$WXGTK12" = 1 ; then
41437 cat >>confdefs.h
<<_ACEOF
41438 #define __WXGTK12__ $WXGTK12
41443 if test "$WXGTK127" = 1 ; then
41444 cat >>confdefs.h
<<_ACEOF
41445 #define __WXGTK127__ $WXGTK127
41450 if test "$WXGPE" = 1 ; then
41451 cat >>confdefs.h
<<_ACEOF
41452 #define __WXGPE__ $WXGPE
41458 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41463 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41464 wxUSE_DEBUG_INFO
=yes
41465 if test "$GCC" = yes; then
41466 DEBUG_CFLAGS
="-ggdb"
41470 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41471 cat >>confdefs.h
<<\_ACEOF
41475 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41477 if test "$wxUSE_GTK" = 1 ; then
41478 if test "x$wxGTK_VERSION" = "x1" ; then
41479 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41484 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41485 cat >>confdefs.h
<<\_ACEOF
41486 #define wxUSE_MEMORY_TRACING 1
41489 cat >>confdefs.h
<<\_ACEOF
41490 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41493 cat >>confdefs.h
<<\_ACEOF
41494 #define wxUSE_DEBUG_NEW_ALWAYS 1
41497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41500 if test "$wxUSE_DMALLOC" = "yes" ; then
41501 DMALLOC_LIBS
="-ldmallocthcxx"
41505 if test "$wxUSE_PROFILE" = "yes" ; then
41506 PROFILE_FLAGS
=" -pg"
41509 if test "$GCC" = "yes" ; then
41510 if test "$wxUSE_NO_RTTI" = "yes" ; then
41511 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41513 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41514 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41516 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41517 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41522 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41525 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41531 if test "$wxUSE_OPTIMISE" = "no" ; then
41532 if test "$GCC" = yes ; then
41533 OPTIMISE_CFLAGS
="-O0"
41536 if test "$GCC" = yes ; then
41538 *-pc-os2_emx | *-pc-os2-emx )
41539 OPTIMISE_CFLAGS
="-O2"
41542 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41546 OPTIMISE_CFLAGS
="-O"
41551 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41552 cat >>confdefs.h
<<\_ACEOF
41553 #define WXWIN_COMPATIBILITY_2_4 1
41557 WXWIN_COMPATIBILITY_2_6
="yes"
41560 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41561 cat >>confdefs.h
<<\_ACEOF
41562 #define WXWIN_COMPATIBILITY_2_6 1
41568 if test "$wxUSE_GUI" = "yes"; then
41569 cat >>confdefs.h
<<\_ACEOF
41570 #define wxUSE_GUI 1
41577 if test "$wxUSE_UNIX" = "yes"; then
41578 cat >>confdefs.h
<<\_ACEOF
41579 #define wxUSE_UNIX 1
41585 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41589 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41590 if test "$USE_DARWIN" = 1; then
41592 elif test "$USE_DOS" = 1; then
41596 for ac_func
in dlopen
41598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41599 echo "$as_me:$LINENO: checking for $ac_func" >&5
41600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41601 if eval "test \"\${$as_ac_var+set}\" = set"; then
41602 echo $ECHO_N "(cached) $ECHO_C" >&6
41604 cat >conftest.
$ac_ext <<_ACEOF
41607 cat confdefs.h
>>conftest.
$ac_ext
41608 cat >>conftest.
$ac_ext <<_ACEOF
41609 /* end confdefs.h. */
41610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41612 #define $ac_func innocuous_$ac_func
41614 /* System header to define __stub macros and hopefully few prototypes,
41615 which can conflict with char $ac_func (); below.
41616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41617 <limits.h> exists even on freestanding compilers. */
41620 # include <limits.h>
41622 # include <assert.h>
41627 /* Override any gcc2 internal prototype to avoid an error. */
41632 /* We use char because int might match the return type of a gcc2
41633 builtin and then its argument prototype would still apply. */
41635 /* The GNU C library defines this for functions which it implements
41636 to always fail with ENOSYS. Some functions are actually named
41637 something starting with __ and the normal name is an alias. */
41638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41641 char (*f) () = $ac_func;
41650 return f != $ac_func;
41655 rm -f conftest.
$ac_objext conftest
$ac_exeext
41656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41657 (eval $ac_link) 2>conftest.er1
41659 grep -v '^ *+' conftest.er1
>conftest.err
41661 cat conftest.err
>&5
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); } &&
41664 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41666 (eval $ac_try) 2>&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); }; } &&
41670 { ac_try
='test -s conftest$ac_exeext'
41671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672 (eval $ac_try) 2>&5
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); }; }; then
41676 eval "$as_ac_var=yes"
41678 echo "$as_me: failed program was:" >&5
41679 sed 's/^/| /' conftest.
$ac_ext >&5
41681 eval "$as_ac_var=no"
41683 rm -f conftest.err conftest.
$ac_objext \
41684 conftest
$ac_exeext conftest.
$ac_ext
41686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41688 if test `eval echo '${'$as_ac_var'}'` = yes; then
41689 cat >>confdefs.h
<<_ACEOF
41690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41693 cat >>confdefs.h
<<\_ACEOF
41694 #define HAVE_DLOPEN 1
41701 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41702 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41703 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41704 echo $ECHO_N "(cached) $ECHO_C" >&6
41706 ac_check_lib_save_LIBS
=$LIBS
41708 cat >conftest.
$ac_ext <<_ACEOF
41711 cat confdefs.h
>>conftest.
$ac_ext
41712 cat >>conftest.
$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41715 /* Override any gcc2 internal prototype to avoid an error. */
41719 /* We use char because int might match the return type of a gcc2
41720 builtin and then its argument prototype would still apply. */
41730 rm -f conftest.
$ac_objext conftest
$ac_exeext
41731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41732 (eval $ac_link) 2>conftest.er1
41734 grep -v '^ *+' conftest.er1
>conftest.err
41736 cat conftest.err
>&5
41737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738 (exit $ac_status); } &&
41739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41741 (eval $ac_try) 2>&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); }; } &&
41745 { ac_try
='test -s conftest$ac_exeext'
41746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41747 (eval $ac_try) 2>&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); }; }; then
41751 ac_cv_lib_dl_dlopen
=yes
41753 echo "$as_me: failed program was:" >&5
41754 sed 's/^/| /' conftest.
$ac_ext >&5
41756 ac_cv_lib_dl_dlopen
=no
41758 rm -f conftest.err conftest.
$ac_objext \
41759 conftest
$ac_exeext conftest.
$ac_ext
41760 LIBS
=$ac_check_lib_save_LIBS
41762 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41763 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41764 if test $ac_cv_lib_dl_dlopen = yes; then
41766 cat >>confdefs.h
<<\_ACEOF
41767 #define HAVE_DLOPEN 1
41771 DL_LINK
=" -ldl$DL_LINK"
41776 for ac_func
in shl_load
41778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41779 echo "$as_me:$LINENO: checking for $ac_func" >&5
41780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41781 if eval "test \"\${$as_ac_var+set}\" = set"; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 cat >conftest.
$ac_ext <<_ACEOF
41787 cat confdefs.h
>>conftest.
$ac_ext
41788 cat >>conftest.
$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41792 #define $ac_func innocuous_$ac_func
41794 /* System header to define __stub macros and hopefully few prototypes,
41795 which can conflict with char $ac_func (); below.
41796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41797 <limits.h> exists even on freestanding compilers. */
41800 # include <limits.h>
41802 # include <assert.h>
41807 /* Override any gcc2 internal prototype to avoid an error. */
41812 /* We use char because int might match the return type of a gcc2
41813 builtin and then its argument prototype would still apply. */
41815 /* The GNU C library defines this for functions which it implements
41816 to always fail with ENOSYS. Some functions are actually named
41817 something starting with __ and the normal name is an alias. */
41818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41821 char (*f) () = $ac_func;
41830 return f != $ac_func;
41835 rm -f conftest.
$ac_objext conftest
$ac_exeext
41836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41837 (eval $ac_link) 2>conftest.er1
41839 grep -v '^ *+' conftest.er1
>conftest.err
41841 cat conftest.err
>&5
41842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41843 (exit $ac_status); } &&
41844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41846 (eval $ac_try) 2>&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; } &&
41850 { ac_try
='test -s conftest$ac_exeext'
41851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41852 (eval $ac_try) 2>&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; }; then
41856 eval "$as_ac_var=yes"
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.
$ac_ext >&5
41861 eval "$as_ac_var=no"
41863 rm -f conftest.err conftest.
$ac_objext \
41864 conftest
$ac_exeext conftest.
$ac_ext
41866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41868 if test `eval echo '${'$as_ac_var'}'` = yes; then
41869 cat >>confdefs.h
<<_ACEOF
41870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41873 cat >>confdefs.h
<<\_ACEOF
41874 #define HAVE_SHL_LOAD 1
41881 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41882 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41883 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 ac_check_lib_save_LIBS
=$LIBS
41887 LIBS
="-lshl_load $LIBS"
41888 cat >conftest.
$ac_ext <<_ACEOF
41891 cat confdefs.h
>>conftest.
$ac_ext
41892 cat >>conftest.
$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41895 /* Override any gcc2 internal prototype to avoid an error. */
41899 /* We use char because int might match the return type of a gcc2
41900 builtin and then its argument prototype would still apply. */
41910 rm -f conftest.
$ac_objext conftest
$ac_exeext
41911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41912 (eval $ac_link) 2>conftest.er1
41914 grep -v '^ *+' conftest.er1
>conftest.err
41916 cat conftest.err
>&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; } &&
41925 { ac_try
='test -s conftest$ac_exeext'
41926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41927 (eval $ac_try) 2>&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); }; }; then
41931 ac_cv_lib_shl_load_dld
=yes
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.
$ac_ext >&5
41936 ac_cv_lib_shl_load_dld
=no
41938 rm -f conftest.err conftest.
$ac_objext \
41939 conftest
$ac_exeext conftest.
$ac_ext
41940 LIBS
=$ac_check_lib_save_LIBS
41942 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41943 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41944 if test $ac_cv_lib_shl_load_dld = yes; then
41947 DL_LINK
=" -ldld$DL_LINK"
41963 if test "$HAVE_DL_FUNCS" = 1; then
41965 for ac_func
in dlerror
41967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41968 echo "$as_me:$LINENO: checking for $ac_func" >&5
41969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41970 if eval "test \"\${$as_ac_var+set}\" = set"; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 cat >conftest.
$ac_ext <<_ACEOF
41976 cat confdefs.h
>>conftest.
$ac_ext
41977 cat >>conftest.
$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41981 #define $ac_func innocuous_$ac_func
41983 /* System header to define __stub macros and hopefully few prototypes,
41984 which can conflict with char $ac_func (); below.
41985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41986 <limits.h> exists even on freestanding compilers. */
41989 # include <limits.h>
41991 # include <assert.h>
41996 /* Override any gcc2 internal prototype to avoid an error. */
42001 /* We use char because int might match the return type of a gcc2
42002 builtin and then its argument prototype would still apply. */
42004 /* The GNU C library defines this for functions which it implements
42005 to always fail with ENOSYS. Some functions are actually named
42006 something starting with __ and the normal name is an alias. */
42007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42010 char (*f) () = $ac_func;
42019 return f != $ac_func;
42024 rm -f conftest.
$ac_objext conftest
$ac_exeext
42025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42026 (eval $ac_link) 2>conftest.er1
42028 grep -v '^ *+' conftest.er1
>conftest.err
42030 cat conftest.err
>&5
42031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42032 (exit $ac_status); } &&
42033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42035 (eval $ac_try) 2>&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); }; } &&
42039 { ac_try
='test -s conftest$ac_exeext'
42040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42041 (eval $ac_try) 2>&5
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); }; }; then
42045 eval "$as_ac_var=yes"
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.
$ac_ext >&5
42050 eval "$as_ac_var=no"
42052 rm -f conftest.err conftest.
$ac_objext \
42053 conftest
$ac_exeext conftest.
$ac_ext
42055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42057 if test `eval echo '${'$as_ac_var'}'` = yes; then
42058 cat >>confdefs.h
<<_ACEOF
42059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42061 cat >>confdefs.h
<<\_ACEOF
42062 #define HAVE_DLERROR 1
42067 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42068 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42069 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42072 ac_check_lib_save_LIBS
=$LIBS
42074 cat >conftest.
$ac_ext <<_ACEOF
42077 cat confdefs.h
>>conftest.
$ac_ext
42078 cat >>conftest.
$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42081 /* Override any gcc2 internal prototype to avoid an error. */
42085 /* We use char because int might match the return type of a gcc2
42086 builtin and then its argument prototype would still apply. */
42096 rm -f conftest.
$ac_objext conftest
$ac_exeext
42097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42098 (eval $ac_link) 2>conftest.er1
42100 grep -v '^ *+' conftest.er1
>conftest.err
42102 cat conftest.err
>&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } &&
42105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42107 (eval $ac_try) 2>&5
42109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42110 (exit $ac_status); }; } &&
42111 { ac_try
='test -s conftest$ac_exeext'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; }; then
42117 ac_cv_lib_dl_dlerror
=yes
42119 echo "$as_me: failed program was:" >&5
42120 sed 's/^/| /' conftest.
$ac_ext >&5
42122 ac_cv_lib_dl_dlerror
=no
42124 rm -f conftest.err conftest.
$ac_objext \
42125 conftest
$ac_exeext conftest.
$ac_ext
42126 LIBS
=$ac_check_lib_save_LIBS
42128 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42129 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42130 if test $ac_cv_lib_dl_dlerror = yes; then
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define HAVE_DLERROR 1
42145 if test "$HAVE_DL_FUNCS" = 0; then
42146 if test "$HAVE_SHL_FUNCS" = 0; then
42147 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42148 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42149 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42150 wxUSE_DYNAMIC_LOADER
=no
42151 wxUSE_DYNLIB_CLASS
=no
42153 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42154 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42161 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42162 cat >>confdefs.h
<<\_ACEOF
42163 #define wxUSE_DYNAMIC_LOADER 1
42167 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42168 cat >>confdefs.h
<<\_ACEOF
42169 #define wxUSE_DYNLIB_CLASS 1
42176 if test "$wxUSE_PLUGINS" = "yes" ; then
42177 if test "$wxUSE_SHARED" = "no" ; then
42178 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42179 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42182 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42183 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42184 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42187 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42188 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42189 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42192 if test "$wxUSE_PLUGINS" = "yes" ; then
42193 cat >>confdefs.h
<<\_ACEOF
42194 #define wxUSE_PLUGINS 1
42201 if test "$wxUSE_STL" = "yes"; then
42202 cat >>confdefs.h
<<\_ACEOF
42203 #define wxUSE_STL 1
42208 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42209 cat >>confdefs.h
<<\_ACEOF
42210 #define wxUSE_APPLE_IEEE 1
42215 if test "$wxUSE_TIMER" = "yes"; then
42216 cat >>confdefs.h
<<\_ACEOF
42217 #define wxUSE_TIMER 1
42222 if test "$USE_UNIX" = "1" ; then
42223 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42224 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42225 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42229 cat >conftest.
$ac_ext <<_ACEOF
42232 cat confdefs.h
>>conftest.
$ac_ext
42233 cat >>conftest.
$ac_ext <<_ACEOF
42234 /* end confdefs.h. */
42236 #include <sys/ioctl.h>
42237 #include <sys/soundcard.h>
42243 ioctl(0, SNDCTL_DSP_SPEED, 0);
42249 rm -f conftest.
$ac_objext conftest
$ac_exeext
42250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42251 (eval $ac_link) 2>conftest.er1
42253 grep -v '^ *+' conftest.er1
>conftest.err
42255 cat conftest.err
>&5
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); } &&
42258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42260 (eval $ac_try) 2>&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; } &&
42264 { ac_try
='test -s conftest$ac_exeext'
42265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42266 (eval $ac_try) 2>&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; }; then
42270 ac_cv_header_sys_soundcard
=yes
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.
$ac_ext >&5
42277 LIBS
="$saveLibs -lossaudio"
42278 cat >conftest.
$ac_ext <<_ACEOF
42281 cat confdefs.h
>>conftest.
$ac_ext
42282 cat >>conftest.
$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42285 #include <sys/ioctl.h>
42286 #include <sys/soundcard.h>
42292 ioctl(0, SNDCTL_DSP_SPEED, 0);
42298 rm -f conftest.
$ac_objext conftest
$ac_exeext
42299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42300 (eval $ac_link) 2>conftest.er1
42302 grep -v '^ *+' conftest.er1
>conftest.err
42304 cat conftest.err
>&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } &&
42307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42309 (eval $ac_try) 2>&5
42311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42312 (exit $ac_status); }; } &&
42313 { ac_try
='test -s conftest$ac_exeext'
42314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42315 (eval $ac_try) 2>&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); }; }; then
42319 ac_cv_header_sys_soundcard
=yes
42321 echo "$as_me: failed program was:" >&5
42322 sed 's/^/| /' conftest.
$ac_ext >&5
42326 ac_cv_header_sys_soundcard
=no
42330 rm -f conftest.err conftest.
$ac_objext \
42331 conftest
$ac_exeext conftest.
$ac_ext
42335 rm -f conftest.err conftest.
$ac_objext \
42336 conftest
$ac_exeext conftest.
$ac_ext
42339 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42340 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42342 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42343 cat >>confdefs.h
<<\_ACEOF
42344 #define HAVE_SYS_SOUNDCARD_H 1
42348 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42352 if test "$wxUSE_SOUND" = "yes"; then
42353 if test "$USE_UNIX" = "1" ; then
42354 if test "$wxUSE_LIBSDL" != "no"; then
42356 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42357 if test "${with_sdl_prefix+set}" = set; then
42358 withval
="$with_sdl_prefix"
42359 sdl_prefix
="$withval"
42364 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42365 if test "${with_sdl_exec_prefix+set}" = set; then
42366 withval
="$with_sdl_exec_prefix"
42367 sdl_exec_prefix
="$withval"
42371 # Check whether --enable-sdltest or --disable-sdltest was given.
42372 if test "${enable_sdltest+set}" = set; then
42373 enableval
="$enable_sdltest"
42379 if test x
$sdl_exec_prefix != x
; then
42380 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42381 if test x
${SDL_CONFIG+set} != xset
; then
42382 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42385 if test x
$sdl_prefix != x
; then
42386 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42387 if test x
${SDL_CONFIG+set} != xset
; then
42388 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42392 if test "x$prefix" != xNONE
; then
42393 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42395 # Extract the first word of "sdl-config", so it can be a program name with args.
42396 set dummy sdl
-config; ac_word
=$2
42397 echo "$as_me:$LINENO: checking for $ac_word" >&5
42398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42399 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42400 echo $ECHO_N "(cached) $ECHO_C" >&6
42402 case $SDL_CONFIG in
42404 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42408 for as_dir
in $PATH
42411 test -z "$as_dir" && as_dir
=.
42412 for ac_exec_ext
in '' $ac_executable_extensions; do
42413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42414 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42421 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42425 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42427 if test -n "$SDL_CONFIG"; then
42428 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42429 echo "${ECHO_T}$SDL_CONFIG" >&6
42431 echo "$as_me:$LINENO: result: no" >&5
42432 echo "${ECHO_T}no" >&6
42435 min_sdl_version
=1.2.0
42436 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42437 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42439 if test "$SDL_CONFIG" = "no" ; then
42442 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42443 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42445 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42447 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42449 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42451 if test "x$enable_sdltest" = "xyes" ; then
42452 ac_save_CFLAGS
="$CFLAGS"
42453 ac_save_CXXFLAGS
="$CXXFLAGS"
42454 ac_save_LIBS
="$LIBS"
42455 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42456 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42457 LIBS
="$LIBS $SDL_LIBS"
42459 if test "$cross_compiling" = yes; then
42460 echo $ac_n "cross compiling; assumed OK... $ac_c"
42462 cat >conftest.
$ac_ext <<_ACEOF
42465 cat confdefs.h
>>conftest.
$ac_ext
42466 cat >>conftest.
$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42470 #include <stdlib.h>
42471 #include <string.h>
42475 my_strdup (char *str)
42481 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42482 strcpy (new_str, str);
42490 int main (int argc, char *argv[])
42492 int major, minor, micro;
42495 /* This hangs on some systems (?)
42496 system ("touch conf.sdltest");
42498 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42500 /* HP/UX 9 (%@#!) writes to sscanf strings */
42501 tmp_version = my_strdup("$min_sdl_version");
42502 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42503 printf("%s, bad version string\n", "$min_sdl_version");
42507 if (($sdl_major_version > major) ||
42508 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42509 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42515 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42516 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42517 printf("*** best to upgrade to the required version.\n");
42518 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42519 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42520 printf("*** config.cache before re-running configure\n");
42527 rm -f conftest
$ac_exeext
42528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42529 (eval $ac_link) 2>&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; }; then
42540 echo "$as_me: program exited with status $ac_status" >&5
42541 echo "$as_me: failed program was:" >&5
42542 sed 's/^/| /' conftest.
$ac_ext >&5
42544 ( exit $ac_status )
42547 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42549 CFLAGS
="$ac_save_CFLAGS"
42550 CXXFLAGS
="$ac_save_CXXFLAGS"
42551 LIBS
="$ac_save_LIBS"
42554 if test "x$no_sdl" = x
; then
42555 echo "$as_me:$LINENO: result: yes" >&5
42556 echo "${ECHO_T}yes" >&6
42558 EXTRALIBS_SDL
="$SDL_LIBS"
42559 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42560 cat >>confdefs.h
<<\_ACEOF
42561 #define wxUSE_LIBSDL 1
42566 echo "$as_me:$LINENO: result: no" >&5
42567 echo "${ECHO_T}no" >&6
42568 if test "$SDL_CONFIG" = "no" ; then
42569 echo "*** The sdl-config script installed by SDL could not be found"
42570 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42571 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42572 echo "*** full path to sdl-config."
42574 if test -f conf.sdltest
; then
42577 echo "*** Could not run SDL test program, checking why..."
42578 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42579 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42580 LIBS
="$LIBS $SDL_LIBS"
42581 cat >conftest.
$ac_ext <<_ACEOF
42584 cat confdefs.h
>>conftest.
$ac_ext
42585 cat >>conftest.
$ac_ext <<_ACEOF
42586 /* end confdefs.h. */
42591 int main(int argc, char *argv[])
42594 #define main K_and_R_C_main
42604 rm -f conftest.
$ac_objext conftest
$ac_exeext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42606 (eval $ac_link) 2>conftest.er1
42608 grep -v '^ *+' conftest.er1
>conftest.err
42610 cat conftest.err
>&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42615 (eval $ac_try) 2>&5
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); }; } &&
42619 { ac_try
='test -s conftest$ac_exeext'
42620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42621 (eval $ac_try) 2>&5
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); }; }; then
42625 echo "*** The test program compiled, but did not run. This usually means"
42626 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42627 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42630 echo "*** is required on your system"
42632 echo "*** If you have an old version installed, it is best to remove it, although"
42633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.
$ac_ext >&5
42638 echo "*** The test program failed to compile or link. See the file config.log for the"
42639 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42640 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42641 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42643 rm -f conftest.err conftest.
$ac_objext \
42644 conftest
$ac_exeext conftest.
$ac_ext
42645 CFLAGS
="$ac_save_CFLAGS"
42646 CXXFLAGS
="$ac_save_CXXFLAGS"
42647 LIBS
="$ac_save_LIBS"
42658 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define wxUSE_SOUND 1
42668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42671 if test "$WXGTK20" = 1; then
42672 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42673 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42677 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42678 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42680 if test -n "$PKG_CONFIG"; then
42681 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42682 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42684 if test -n "$PKG_CONFIG" && \
42685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42686 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; then
42690 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42698 if test -n "$PKG_CONFIG"; then
42699 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42700 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42702 if test -n "$PKG_CONFIG" && \
42703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42704 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); }; then
42708 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42719 if test $pkg_failed = yes; then
42721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42722 _pkg_short_errors_supported
=yes
42724 _pkg_short_errors_supported
=no
42726 if test $_pkg_short_errors_supported = yes; then
42727 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42729 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42731 # Put the nasty error message in config.log where it belongs
42732 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42735 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42736 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42737 wxUSE_LIBGNOMEPRINT
="no"
42740 elif test $pkg_failed = untried
; then
42742 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42743 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42744 wxUSE_LIBGNOMEPRINT
="no"
42748 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42749 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42750 echo "$as_me:$LINENO: result: yes" >&5
42751 echo "${ECHO_T}yes" >&6
42753 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42754 cat >>confdefs.h
<<\_ACEOF
42755 #define wxUSE_LIBGNOMEPRINT 1
42764 if test "$WXGTK20" = 1; then
42765 if test "$wxUSE_MIMETYPE" = "yes" ; then
42766 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42770 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42771 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42773 if test -n "$PKG_CONFIG"; then
42774 if test -n "$GNOMEVFS_CFLAGS"; then
42775 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42777 if test -n "$PKG_CONFIG" && \
42778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42779 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); }; then
42783 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42791 if test -n "$PKG_CONFIG"; then
42792 if test -n "$GNOMEVFS_LIBS"; then
42793 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42795 if test -n "$PKG_CONFIG" && \
42796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42797 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); }; then
42801 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42812 if test $pkg_failed = yes; then
42814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42815 _pkg_short_errors_supported
=yes
42817 _pkg_short_errors_supported
=no
42819 if test $_pkg_short_errors_supported = yes; then
42820 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42822 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42824 # Put the nasty error message in config.log where it belongs
42825 echo "$GNOMEVFS_PKG_ERRORS" >&5
42828 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42829 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42830 wxUSE_LIBGNOMEVFS
="no"
42833 elif test $pkg_failed = untried
; then
42835 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42836 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42837 wxUSE_LIBGNOMEVFS
="no"
42841 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42842 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42843 echo "$as_me:$LINENO: result: yes" >&5
42844 echo "${ECHO_T}yes" >&6
42846 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42847 cat >>confdefs.h
<<\_ACEOF
42848 #define wxUSE_LIBGNOMEVFS 1
42857 if test "$WXGTK20" = 1; then
42858 if test "$wxUSE_LIBHILDON" = "yes" ; then
42861 echo "$as_me:$LINENO: checking for HILDON" >&5
42862 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42864 if test -n "$PKG_CONFIG"; then
42865 if test -n "$HILDON_CFLAGS"; then
42866 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42868 if test -n "$PKG_CONFIG" && \
42869 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42870 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); }; then
42874 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42882 if test -n "$PKG_CONFIG"; then
42883 if test -n "$HILDON_LIBS"; then
42884 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42886 if test -n "$PKG_CONFIG" && \
42887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42888 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; then
42892 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42903 if test $pkg_failed = yes; then
42905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42906 _pkg_short_errors_supported
=yes
42908 _pkg_short_errors_supported
=no
42910 if test $_pkg_short_errors_supported = yes; then
42911 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42913 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42915 # Put the nasty error message in config.log where it belongs
42916 echo "$HILDON_PKG_ERRORS" >&5
42919 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42920 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42921 wxUSE_LIBHILDON
="no"
42924 elif test $pkg_failed = untried
; then
42926 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42927 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42928 wxUSE_LIBHILDON
="no"
42932 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42933 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42934 echo "$as_me:$LINENO: result: yes" >&5
42935 echo "${ECHO_T}yes" >&6
42937 EXTRALIBS_HILDON
="$HILDON_LIBS"
42938 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42939 cat >>confdefs.h
<<\_ACEOF
42940 #define wxUSE_LIBHILDON 1
42948 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42949 cat >>confdefs.h
<<\_ACEOF
42950 #define wxUSE_CMDLINE_PARSER 1
42955 if test "$wxUSE_STOPWATCH" = "yes"; then
42956 cat >>confdefs.h
<<\_ACEOF
42957 #define wxUSE_STOPWATCH 1
42962 if test "$wxUSE_DATETIME" = "yes"; then
42963 cat >>confdefs.h
<<\_ACEOF
42964 #define wxUSE_DATETIME 1
42969 if test "$wxUSE_FILE" = "yes"; then
42970 cat >>confdefs.h
<<\_ACEOF
42971 #define wxUSE_FILE 1
42976 if test "$wxUSE_FFILE" = "yes"; then
42977 cat >>confdefs.h
<<\_ACEOF
42978 #define wxUSE_FFILE 1
42983 if test "$wxUSE_FILESYSTEM" = "yes"; then
42984 cat >>confdefs.h
<<\_ACEOF
42985 #define wxUSE_FILESYSTEM 1
42990 if test "$wxUSE_FS_ZIP" = "yes"; then
42991 cat >>confdefs.h
<<\_ACEOF
42992 #define wxUSE_FS_ZIP 1
42997 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42998 cat >>confdefs.h
<<\_ACEOF
42999 #define wxUSE_ARCHIVE_STREAMS 1
43004 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43005 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43006 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43007 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43008 elif test "$wxUSE_ZLIB" = "no"; then
43009 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43010 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43012 cat >>confdefs.h
<<\_ACEOF
43013 #define wxUSE_ZIPSTREAM 1
43019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43020 if test "$USE_UNIX" != 1; then
43021 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43022 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43023 wxUSE_ON_FATAL_EXCEPTION
=no
43025 cat >>confdefs.h
<<\_ACEOF
43026 #define wxUSE_ON_FATAL_EXCEPTION 1
43032 if test "$wxUSE_STACKWALKER" = "yes"; then
43033 cat >>confdefs.h
<<\_ACEOF
43034 #define wxUSE_STACKWALKER 1
43039 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43040 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43041 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43042 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43043 wxUSE_DEBUGREPORT
=no
43045 cat >>confdefs.h
<<\_ACEOF
43046 #define wxUSE_DEBUGREPORT 1
43049 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43055 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43056 cat >>confdefs.h
<<\_ACEOF
43057 #define wxUSE_SNGLINST_CHECKER 1
43062 if test "$wxUSE_BUSYINFO" = "yes"; then
43063 cat >>confdefs.h
<<\_ACEOF
43064 #define wxUSE_BUSYINFO 1
43069 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43070 cat >>confdefs.h
<<\_ACEOF
43071 #define wxUSE_STD_IOSTREAM 1
43076 if test "$wxUSE_STD_STRING" = "yes"; then
43077 cat >>confdefs.h
<<\_ACEOF
43078 #define wxUSE_STD_STRING 1
43083 if test "$wxUSE_STDPATHS" = "yes"; then
43084 cat >>confdefs.h
<<\_ACEOF
43085 #define wxUSE_STDPATHS 1
43090 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43091 cat >>confdefs.h
<<\_ACEOF
43092 #define wxUSE_TEXTBUFFER 1
43097 if test "$wxUSE_TEXTFILE" = "yes"; then
43098 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43099 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43100 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43102 cat >>confdefs.h
<<\_ACEOF
43103 #define wxUSE_TEXTFILE 1
43109 if test "$wxUSE_CONFIG" = "yes" ; then
43110 if test "$wxUSE_TEXTFILE" != "yes"; then
43111 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43112 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43114 cat >>confdefs.h
<<\_ACEOF
43115 #define wxUSE_CONFIG 1
43118 cat >>confdefs.h
<<\_ACEOF
43119 #define wxUSE_CONFIG_NATIVE 1
43122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43126 if test "$wxUSE_INTL" = "yes" ; then
43127 if test "$wxUSE_FILE" != "yes"; then
43128 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43129 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_INTL 1
43135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43136 GUIDIST
="$GUIDIST INTL_DIST"
43140 if test "$wxUSE_LOG" = "yes"; then
43141 cat >>confdefs.h
<<\_ACEOF
43142 #define wxUSE_LOG 1
43146 if test "$wxUSE_LOGGUI" = "yes"; then
43147 cat >>confdefs.h
<<\_ACEOF
43148 #define wxUSE_LOGGUI 1
43153 if test "$wxUSE_LOGWINDOW" = "yes"; then
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define wxUSE_LOGWINDOW 1
43160 if test "$wxUSE_LOGDIALOG" = "yes"; then
43161 cat >>confdefs.h
<<\_ACEOF
43162 #define wxUSE_LOG_DIALOG 1
43167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43170 if test "$wxUSE_LONGLONG" = "yes"; then
43171 cat >>confdefs.h
<<\_ACEOF
43172 #define wxUSE_LONGLONG 1
43177 if test "$wxUSE_GEOMETRY" = "yes"; then
43178 cat >>confdefs.h
<<\_ACEOF
43179 #define wxUSE_GEOMETRY 1
43184 if test "$wxUSE_STREAMS" = "yes" ; then
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_STREAMS 1
43191 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43192 cat >>confdefs.h
<<\_ACEOF
43193 #define wxUSE_PRINTF_POS_PARAMS 1
43200 if test "$wxUSE_DATETIME" = "yes"; then
43202 for ac_func
in strptime
43204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43205 echo "$as_me:$LINENO: checking for $ac_func" >&5
43206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43207 if eval "test \"\${$as_ac_var+set}\" = set"; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 cat >conftest.
$ac_ext <<_ACEOF
43213 cat confdefs.h
>>conftest.
$ac_ext
43214 cat >>conftest.
$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43218 #define $ac_func innocuous_$ac_func
43220 /* System header to define __stub macros and hopefully few prototypes,
43221 which can conflict with char $ac_func (); below.
43222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43223 <limits.h> exists even on freestanding compilers. */
43226 # include <limits.h>
43228 # include <assert.h>
43233 /* Override any gcc2 internal prototype to avoid an error. */
43238 /* We use char because int might match the return type of a gcc2
43239 builtin and then its argument prototype would still apply. */
43241 /* The GNU C library defines this for functions which it implements
43242 to always fail with ENOSYS. Some functions are actually named
43243 something starting with __ and the normal name is an alias. */
43244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43247 char (*f) () = $ac_func;
43256 return f != $ac_func;
43261 rm -f conftest.
$ac_objext conftest
$ac_exeext
43262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43263 (eval $ac_link) 2>conftest.er1
43265 grep -v '^ *+' conftest.er1
>conftest.err
43267 cat conftest.err
>&5
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); } &&
43270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43272 (eval $ac_try) 2>&5
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; } &&
43276 { ac_try
='test -s conftest$ac_exeext'
43277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43278 (eval $ac_try) 2>&5
43280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281 (exit $ac_status); }; }; then
43282 eval "$as_ac_var=yes"
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.
$ac_ext >&5
43287 eval "$as_ac_var=no"
43289 rm -f conftest.err conftest.
$ac_objext \
43290 conftest
$ac_exeext conftest.
$ac_ext
43292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43294 if test `eval echo '${'$as_ac_var'}'` = yes; then
43295 cat >>confdefs.h
<<_ACEOF
43296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43302 if test "$ac_cv_func_strptime" = "yes"; then
43303 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43304 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43305 if test "${wx_cv_func_strptime_decl+set}" = set; then
43306 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. */
43323 strptime("foo", "bar", &t);
43329 rm -f conftest.
$ac_objext
43330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43331 (eval $ac_compile) 2>conftest.er1
43333 grep -v '^ *+' conftest.er1
>conftest.err
43335 cat conftest.err
>&5
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); } &&
43338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43340 (eval $ac_try) 2>&5
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); }; } &&
43344 { ac_try
='test -s conftest.$ac_objext'
43345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43346 (eval $ac_try) 2>&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 wx_cv_func_strptime_decl
=yes
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.
$ac_ext >&5
43355 wx_cv_func_strptime_decl
=no
43358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43362 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43363 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43365 if test "$wx_cv_func_strptime_decl" = "yes"; then
43366 cat >>confdefs.h
<<\_ACEOF
43367 #define HAVE_STRPTIME_DECL 1
43372 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43373 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43374 if test "${wx_cv_var_timezone+set}" = set; then
43375 echo $ECHO_N "(cached) $ECHO_C" >&6
43378 cat >conftest.
$ac_ext <<_ACEOF
43381 cat confdefs.h
>>conftest.
$ac_ext
43382 cat >>conftest.
$ac_ext <<_ACEOF
43383 /* end confdefs.h. */
43398 rm -f conftest.
$ac_objext
43399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43400 (eval $ac_compile) 2>conftest.er1
43402 grep -v '^ *+' conftest.er1
>conftest.err
43404 cat conftest.err
>&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43409 (eval $ac_try) 2>&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); }; } &&
43413 { ac_try
='test -s conftest.$ac_objext'
43414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43415 (eval $ac_try) 2>&5
43417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43418 (exit $ac_status); }; }; then
43420 wx_cv_var_timezone
=timezone
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.
$ac_ext >&5
43427 cat >conftest.
$ac_ext <<_ACEOF
43430 cat confdefs.h
>>conftest.
$ac_ext
43431 cat >>conftest.
$ac_ext <<_ACEOF
43432 /* end confdefs.h. */
43447 rm -f conftest.
$ac_objext
43448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43449 (eval $ac_compile) 2>conftest.er1
43451 grep -v '^ *+' conftest.er1
>conftest.err
43453 cat conftest.err
>&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } &&
43456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try
='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43469 wx_cv_var_timezone
=_timezone
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.
$ac_ext >&5
43476 cat >conftest.
$ac_ext <<_ACEOF
43479 cat confdefs.h
>>conftest.
$ac_ext
43480 cat >>conftest.
$ac_ext <<_ACEOF
43481 /* end confdefs.h. */
43496 rm -f conftest.
$ac_objext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43498 (eval $ac_compile) 2>conftest.er1
43500 grep -v '^ *+' conftest.er1
>conftest.err
43502 cat conftest.err
>&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } &&
43505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43507 (eval $ac_try) 2>&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); }; } &&
43511 { ac_try
='test -s conftest.$ac_objext'
43512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513 (eval $ac_try) 2>&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); }; }; then
43518 wx_cv_var_timezone
=__timezone
43521 echo "$as_me: failed program was:" >&5
43522 sed 's/^/| /' conftest.
$ac_ext >&5
43525 if test "$USE_DOS" = 0 ; then
43526 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43527 echo "$as_me: WARNING: no timezone variable" >&2;}
43532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43544 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43545 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43547 if test "x$wx_cv_var_timezone" != x
; then
43548 cat >>confdefs.h
<<_ACEOF
43549 #define WX_TIMEZONE $wx_cv_var_timezone
43555 for ac_func
in localtime
43557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43558 echo "$as_me:$LINENO: checking for $ac_func" >&5
43559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43560 if eval "test \"\${$as_ac_var+set}\" = set"; then
43561 echo $ECHO_N "(cached) $ECHO_C" >&6
43563 cat >conftest.
$ac_ext <<_ACEOF
43566 cat confdefs.h
>>conftest.
$ac_ext
43567 cat >>conftest.
$ac_ext <<_ACEOF
43568 /* end confdefs.h. */
43569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43571 #define $ac_func innocuous_$ac_func
43573 /* System header to define __stub macros and hopefully few prototypes,
43574 which can conflict with char $ac_func (); below.
43575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43576 <limits.h> exists even on freestanding compilers. */
43579 # include <limits.h>
43581 # include <assert.h>
43586 /* Override any gcc2 internal prototype to avoid an error. */
43591 /* We use char because int might match the return type of a gcc2
43592 builtin and then its argument prototype would still apply. */
43594 /* The GNU C library defines this for functions which it implements
43595 to always fail with ENOSYS. Some functions are actually named
43596 something starting with __ and the normal name is an alias. */
43597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43600 char (*f) () = $ac_func;
43609 return f != $ac_func;
43614 rm -f conftest.
$ac_objext conftest
$ac_exeext
43615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43616 (eval $ac_link) 2>conftest.er1
43618 grep -v '^ *+' conftest.er1
>conftest.err
43620 cat conftest.err
>&5
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); } &&
43623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43625 (eval $ac_try) 2>&5
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); }; } &&
43629 { ac_try
='test -s conftest$ac_exeext'
43630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43631 (eval $ac_try) 2>&5
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); }; }; then
43635 eval "$as_ac_var=yes"
43637 echo "$as_me: failed program was:" >&5
43638 sed 's/^/| /' conftest.
$ac_ext >&5
43640 eval "$as_ac_var=no"
43642 rm -f conftest.err conftest.
$ac_objext \
43643 conftest
$ac_exeext conftest.
$ac_ext
43645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43647 if test `eval echo '${'$as_ac_var'}'` = yes; then
43648 cat >>confdefs.h
<<_ACEOF
43649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43656 if test "$ac_cv_func_localtime" = "yes"; then
43657 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43658 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43659 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43660 echo $ECHO_N "(cached) $ECHO_C" >&6
43663 cat >conftest.
$ac_ext <<_ACEOF
43666 cat confdefs.h
>>conftest.
$ac_ext
43667 cat >>conftest.
$ac_ext <<_ACEOF
43668 /* end confdefs.h. */
43683 rm -f conftest.
$ac_objext
43684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43685 (eval $ac_compile) 2>conftest.er1
43687 grep -v '^ *+' conftest.er1
>conftest.err
43689 cat conftest.err
>&5
43690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43691 (exit $ac_status); } &&
43692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43694 (eval $ac_try) 2>&5
43696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697 (exit $ac_status); }; } &&
43698 { ac_try
='test -s conftest.$ac_objext'
43699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43700 (eval $ac_try) 2>&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; }; then
43705 wx_cv_struct_tm_has_gmtoff
=yes
43708 echo "$as_me: failed program was:" >&5
43709 sed 's/^/| /' conftest.
$ac_ext >&5
43711 wx_cv_struct_tm_has_gmtoff
=no
43714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43717 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43718 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43721 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define WX_GMTOFF_IN_TM 1
43730 for ac_func
in gettimeofday ftime
43732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43733 echo "$as_me:$LINENO: checking for $ac_func" >&5
43734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43735 if eval "test \"\${$as_ac_var+set}\" = set"; then
43736 echo $ECHO_N "(cached) $ECHO_C" >&6
43738 cat >conftest.
$ac_ext <<_ACEOF
43741 cat confdefs.h
>>conftest.
$ac_ext
43742 cat >>conftest.
$ac_ext <<_ACEOF
43743 /* end confdefs.h. */
43744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43746 #define $ac_func innocuous_$ac_func
43748 /* System header to define __stub macros and hopefully few prototypes,
43749 which can conflict with char $ac_func (); below.
43750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751 <limits.h> exists even on freestanding compilers. */
43754 # include <limits.h>
43756 # include <assert.h>
43761 /* Override any gcc2 internal prototype to avoid an error. */
43766 /* We use char because int might match the return type of a gcc2
43767 builtin and then its argument prototype would still apply. */
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43775 char (*f) () = $ac_func;
43784 return f != $ac_func;
43789 rm -f conftest.
$ac_objext conftest
$ac_exeext
43790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43791 (eval $ac_link) 2>conftest.er1
43793 grep -v '^ *+' conftest.er1
>conftest.err
43795 cat conftest.err
>&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } &&
43798 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_exeext'
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
43810 eval "$as_ac_var=yes"
43812 echo "$as_me: failed program was:" >&5
43813 sed 's/^/| /' conftest.
$ac_ext >&5
43815 eval "$as_ac_var=no"
43817 rm -f conftest.err conftest.
$ac_objext \
43818 conftest
$ac_exeext conftest.
$ac_ext
43820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43822 if test `eval echo '${'$as_ac_var'}'` = yes; then
43823 cat >>confdefs.h
<<_ACEOF
43824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43831 if test "$ac_cv_func_gettimeofday" = "yes"; then
43832 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43833 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43834 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43838 cat >conftest.
$ac_ext <<_ACEOF
43841 cat confdefs.h
>>conftest.
$ac_ext
43842 cat >>conftest.
$ac_ext <<_ACEOF
43843 /* end confdefs.h. */
43845 #include <sys/time.h>
43846 #include <unistd.h>
43853 gettimeofday(&tv, NULL);
43859 rm -f conftest.
$ac_objext
43860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43861 (eval $ac_compile) 2>conftest.er1
43863 grep -v '^ *+' conftest.er1
>conftest.err
43865 cat conftest.err
>&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } &&
43868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43870 (eval $ac_try) 2>&5
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); }; } &&
43874 { ac_try
='test -s conftest.$ac_objext'
43875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43876 (eval $ac_try) 2>&5
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; }; then
43880 wx_cv_func_gettimeofday_has_2_args
=yes
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.
$ac_ext >&5
43885 cat >conftest.
$ac_ext <<_ACEOF
43888 cat confdefs.h
>>conftest.
$ac_ext
43889 cat >>conftest.
$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43892 #include <sys/time.h>
43893 #include <unistd.h>
43906 rm -f conftest.
$ac_objext
43907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43908 (eval $ac_compile) 2>conftest.er1
43910 grep -v '^ *+' conftest.er1
>conftest.err
43912 cat conftest.err
>&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); } &&
43915 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43917 (eval $ac_try) 2>&5
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); }; } &&
43921 { ac_try
='test -s conftest.$ac_objext'
43922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923 (eval $ac_try) 2>&5
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); }; }; then
43927 wx_cv_func_gettimeofday_has_2_args
=no
43929 echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.
$ac_ext >&5
43933 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43934 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43935 wx_cv_func_gettimeofday_has_2_args
=unknown
43939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43945 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43946 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43948 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43949 cat >>confdefs.h
<<\_ACEOF
43950 #define WX_GETTIMEOFDAY_NO_TZ 1
43956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43960 if test "$wxUSE_SOCKETS" = "yes"; then
43961 if test "$wxUSE_MGL" = "1"; then
43962 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43963 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43968 if test "$wxUSE_SOCKETS" = "yes"; then
43969 if test "$TOOLKIT" != "MSW"; then
43970 echo "$as_me:$LINENO: checking for socket" >&5
43971 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43972 if test "${ac_cv_func_socket+set}" = set; then
43973 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 cat >conftest.
$ac_ext <<_ACEOF
43978 cat confdefs.h
>>conftest.
$ac_ext
43979 cat >>conftest.
$ac_ext <<_ACEOF
43980 /* end confdefs.h. */
43981 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43983 #define socket innocuous_socket
43985 /* System header to define __stub macros and hopefully few prototypes,
43986 which can conflict with char socket (); below.
43987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43988 <limits.h> exists even on freestanding compilers. */
43991 # include <limits.h>
43993 # include <assert.h>
43998 /* Override any gcc2 internal prototype to avoid an error. */
44003 /* We use char because int might match the return type of a gcc2
44004 builtin and then its argument prototype would still apply. */
44006 /* The GNU C library defines this for functions which it implements
44007 to always fail with ENOSYS. Some functions are actually named
44008 something starting with __ and the normal name is an alias. */
44009 #if defined (__stub_socket) || defined (__stub___socket)
44012 char (*f) () = socket;
44021 return f != socket;
44026 rm -f conftest.
$ac_objext conftest
$ac_exeext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44028 (eval $ac_link) 2>conftest.er1
44030 grep -v '^ *+' conftest.er1
>conftest.err
44032 cat conftest.err
>&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037 (eval $ac_try) 2>&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; } &&
44041 { ac_try
='test -s conftest$ac_exeext'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; }; then
44047 ac_cv_func_socket
=yes
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.
$ac_ext >&5
44052 ac_cv_func_socket
=no
44054 rm -f conftest.err conftest.
$ac_objext \
44055 conftest
$ac_exeext conftest.
$ac_ext
44057 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44058 echo "${ECHO_T}$ac_cv_func_socket" >&6
44059 if test $ac_cv_func_socket = yes; then
44063 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44064 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44065 if test "${ac_cv_lib_socket_socket+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44068 ac_check_lib_save_LIBS
=$LIBS
44069 LIBS
="-lsocket $LIBS"
44070 cat >conftest.
$ac_ext <<_ACEOF
44073 cat confdefs.h
>>conftest.
$ac_ext
44074 cat >>conftest.
$ac_ext <<_ACEOF
44075 /* end confdefs.h. */
44077 /* Override any gcc2 internal prototype to avoid an error. */
44081 /* We use char because int might match the return type of a gcc2
44082 builtin and then its argument prototype would still apply. */
44092 rm -f conftest.
$ac_objext conftest
$ac_exeext
44093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44094 (eval $ac_link) 2>conftest.er1
44096 grep -v '^ *+' conftest.er1
>conftest.err
44098 cat conftest.err
>&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); } &&
44101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44103 (eval $ac_try) 2>&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); }; } &&
44107 { ac_try
='test -s conftest$ac_exeext'
44108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109 (eval $ac_try) 2>&5
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; }; then
44113 ac_cv_lib_socket_socket
=yes
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.
$ac_ext >&5
44118 ac_cv_lib_socket_socket
=no
44120 rm -f conftest.err conftest.
$ac_objext \
44121 conftest
$ac_exeext conftest.
$ac_ext
44122 LIBS
=$ac_check_lib_save_LIBS
44124 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44125 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44126 if test $ac_cv_lib_socket_socket = yes; then
44127 if test "$INET_LINK" != " -lsocket"; then
44128 INET_LINK
="$INET_LINK -lsocket"
44132 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44133 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44146 if test "$wxUSE_SOCKETS" = "yes" ; then
44147 if test "$TOOLKIT" != "MSW"; then
44148 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44149 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44150 if test "${wx_cv_type_getsockname3+set}" = set; then
44151 echo $ECHO_N "(cached) $ECHO_C" >&6
44154 cat >conftest.
$ac_ext <<_ACEOF
44157 cat confdefs.h
>>conftest.
$ac_ext
44158 cat >>conftest.
$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44161 #include <sys/types.h>
44162 #include <sys/socket.h>
44169 getsockname(0, 0, &len);
44175 rm -f conftest.
$ac_objext
44176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44177 (eval $ac_compile) 2>conftest.er1
44179 grep -v '^ *+' conftest.er1
>conftest.err
44181 cat conftest.err
>&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } &&
44184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44186 (eval $ac_try) 2>&5
44188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189 (exit $ac_status); }; } &&
44190 { ac_try
='test -s conftest.$ac_objext'
44191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44192 (eval $ac_try) 2>&5
44194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44195 (exit $ac_status); }; }; then
44196 wx_cv_type_getsockname3
=socklen_t
44198 echo "$as_me: failed program was:" >&5
44199 sed 's/^/| /' conftest.
$ac_ext >&5
44202 CXXFLAGS_OLD
="$CXXFLAGS"
44203 if test "$GCC" = yes ; then
44204 CXXFLAGS
="-Werror $CXXFLAGS"
44207 cat >conftest.
$ac_ext <<_ACEOF
44210 cat confdefs.h
>>conftest.
$ac_ext
44211 cat >>conftest.
$ac_ext <<_ACEOF
44212 /* end confdefs.h. */
44214 #include <sys/types.h>
44215 #include <sys/socket.h>
44222 getsockname(0, 0, &len);
44228 rm -f conftest.
$ac_objext
44229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44230 (eval $ac_compile) 2>conftest.er1
44232 grep -v '^ *+' conftest.er1
>conftest.err
44234 cat conftest.err
>&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } &&
44237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44239 (eval $ac_try) 2>&5
44241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44242 (exit $ac_status); }; } &&
44243 { ac_try
='test -s conftest.$ac_objext'
44244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44245 (eval $ac_try) 2>&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); }; }; then
44249 wx_cv_type_getsockname3
=size_t
44251 echo "$as_me: failed program was:" >&5
44252 sed 's/^/| /' conftest.
$ac_ext >&5
44254 cat >conftest.
$ac_ext <<_ACEOF
44257 cat confdefs.h
>>conftest.
$ac_ext
44258 cat >>conftest.
$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44261 #include <sys/types.h>
44262 #include <sys/socket.h>
44269 getsockname(0, 0, &len);
44275 rm -f conftest.
$ac_objext
44276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44277 (eval $ac_compile) 2>conftest.er1
44279 grep -v '^ *+' conftest.er1
>conftest.err
44281 cat conftest.err
>&5
44282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44283 (exit $ac_status); } &&
44284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44286 (eval $ac_try) 2>&5
44288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 (exit $ac_status); }; } &&
44290 { ac_try
='test -s conftest.$ac_objext'
44291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44292 (eval $ac_try) 2>&5
44294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44295 (exit $ac_status); }; }; then
44296 wx_cv_type_getsockname3
=int
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.
$ac_ext >&5
44301 wx_cv_type_getsockname3
=unknown
44304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44309 CXXFLAGS
="$CXXFLAGS_OLD"
44313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44316 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44317 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44319 if test "$wx_cv_type_getsockname3" = "unknown"; then
44321 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44322 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44324 cat >>confdefs.h
<<_ACEOF
44325 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44329 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44330 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44331 if test "${wx_cv_type_getsockopt5+set}" = set; then
44332 echo $ECHO_N "(cached) $ECHO_C" >&6
44335 cat >conftest.
$ac_ext <<_ACEOF
44338 cat confdefs.h
>>conftest.
$ac_ext
44339 cat >>conftest.
$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44342 #include <sys/types.h>
44343 #include <sys/socket.h>
44350 getsockopt(0, 0, 0, 0, &len);
44356 rm -f conftest.
$ac_objext
44357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44358 (eval $ac_compile) 2>conftest.er1
44360 grep -v '^ *+' conftest.er1
>conftest.err
44362 cat conftest.err
>&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); } &&
44365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44367 (eval $ac_try) 2>&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); }; } &&
44371 { ac_try
='test -s conftest.$ac_objext'
44372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44373 (eval $ac_try) 2>&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; }; then
44377 wx_cv_type_getsockopt5
=socklen_t
44379 echo "$as_me: failed program was:" >&5
44380 sed 's/^/| /' conftest.
$ac_ext >&5
44383 CXXFLAGS_OLD
="$CXXFLAGS"
44384 if test "$GCC" = yes ; then
44385 CXXFLAGS
="-Werror $CXXFLAGS"
44388 cat >conftest.
$ac_ext <<_ACEOF
44391 cat confdefs.h
>>conftest.
$ac_ext
44392 cat >>conftest.
$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44395 #include <sys/types.h>
44396 #include <sys/socket.h>
44403 getsockopt(0, 0, 0, 0, &len);
44409 rm -f conftest.
$ac_objext
44410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44411 (eval $ac_compile) 2>conftest.er1
44413 grep -v '^ *+' conftest.er1
>conftest.err
44415 cat conftest.err
>&5
44416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417 (exit $ac_status); } &&
44418 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44420 (eval $ac_try) 2>&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); }; } &&
44424 { ac_try
='test -s conftest.$ac_objext'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; }; then
44430 wx_cv_type_getsockopt5
=size_t
44432 echo "$as_me: failed program was:" >&5
44433 sed 's/^/| /' conftest.
$ac_ext >&5
44435 cat >conftest.
$ac_ext <<_ACEOF
44438 cat confdefs.h
>>conftest.
$ac_ext
44439 cat >>conftest.
$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44442 #include <sys/types.h>
44443 #include <sys/socket.h>
44450 getsockopt(0, 0, 0, 0, &len);
44456 rm -f conftest.
$ac_objext
44457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44458 (eval $ac_compile) 2>conftest.er1
44460 grep -v '^ *+' conftest.er1
>conftest.err
44462 cat conftest.err
>&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); } &&
44465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467 (eval $ac_try) 2>&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; } &&
44471 { ac_try
='test -s conftest.$ac_objext'
44472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473 (eval $ac_try) 2>&5
44475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476 (exit $ac_status); }; }; then
44477 wx_cv_type_getsockopt5
=int
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.
$ac_ext >&5
44482 wx_cv_type_getsockopt5
=unknown
44485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44490 CXXFLAGS
="$CXXFLAGS_OLD"
44494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44497 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44498 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44500 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44502 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44503 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44505 cat >>confdefs.h
<<_ACEOF
44506 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44513 if test "$wxUSE_SOCKETS" = "yes" ; then
44514 cat >>confdefs.h
<<\_ACEOF
44515 #define wxUSE_SOCKETS 1
44518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44521 if test "$wxUSE_PROTOCOL" = "yes"; then
44522 if test "$wxUSE_SOCKETS" != "yes"; then
44523 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44524 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44529 if test "$wxUSE_PROTOCOL" = "yes"; then
44530 cat >>confdefs.h
<<\_ACEOF
44531 #define wxUSE_PROTOCOL 1
44535 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_PROTOCOL_HTTP 1
44541 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_PROTOCOL_FTP 1
44547 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44548 cat >>confdefs.h
<<\_ACEOF
44549 #define wxUSE_PROTOCOL_FILE 1
44554 if test "$wxUSE_FS_INET" = "yes"; then
44555 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44556 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44561 if test "$wxUSE_URL" = "yes"; then
44562 if test "$wxUSE_PROTOCOL" != "yes"; then
44563 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44564 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44567 if test "$wxUSE_URL" = "yes"; then
44568 cat >>confdefs.h
<<\_ACEOF
44569 #define wxUSE_URL 1
44575 if test "$wxUSE_VARIANT" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_VARIANT 1
44582 if test "$wxUSE_FS_INET" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_FS_INET 1
44590 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44593 if test "$TOOLKIT" = "MSW"; then
44596 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44597 if test "$USE_DARWIN" = 1; then
44598 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44599 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44600 cat >conftest.
$ac_ext <<_ACEOF
44603 cat confdefs.h
>>conftest.
$ac_ext
44604 cat >>conftest.
$ac_ext <<_ACEOF
44605 /* end confdefs.h. */
44606 #include <IOKit/hid/IOHIDLib.h>
44610 IOHIDQueueInterface *qi = NULL;
44611 IOHIDCallbackFunction cb = NULL;
44612 qi->setEventCallout(NULL, cb, NULL, NULL);
44617 rm -f conftest.
$ac_objext
44618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44619 (eval $ac_compile) 2>conftest.er1
44621 grep -v '^ *+' conftest.er1
>conftest.err
44623 cat conftest.err
>&5
44624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625 (exit $ac_status); } &&
44626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44628 (eval $ac_try) 2>&5
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); }; } &&
44632 { ac_try
='test -s conftest.$ac_objext'
44633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44634 (eval $ac_try) 2>&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; }; then
44641 echo "$as_me: failed program was:" >&5
44642 sed 's/^/| /' conftest.
$ac_ext >&5
44645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44646 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44647 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44652 for ac_header
in linux
/joystick.h
44654 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44656 echo "$as_me:$LINENO: checking for $ac_header" >&5
44657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44664 # Is the header compilable?
44665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44667 cat >conftest.
$ac_ext <<_ACEOF
44670 cat confdefs.h
>>conftest.
$ac_ext
44671 cat >>conftest.
$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44673 $ac_includes_default
44674 #include <$ac_header>
44676 rm -f conftest.
$ac_objext
44677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44678 (eval $ac_compile) 2>conftest.er1
44680 grep -v '^ *+' conftest.er1
>conftest.err
44682 cat conftest.err
>&5
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); } &&
44685 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687 (eval $ac_try) 2>&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); }; } &&
44691 { ac_try
='test -s conftest.$ac_objext'
44692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44693 (eval $ac_try) 2>&5
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); }; }; then
44697 ac_header_compiler
=yes
44699 echo "$as_me: failed program was:" >&5
44700 sed 's/^/| /' conftest.
$ac_ext >&5
44702 ac_header_compiler
=no
44704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44706 echo "${ECHO_T}$ac_header_compiler" >&6
44708 # Is the header present?
44709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44711 cat >conftest.
$ac_ext <<_ACEOF
44714 cat confdefs.h
>>conftest.
$ac_ext
44715 cat >>conftest.
$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44717 #include <$ac_header>
44719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44722 grep -v '^ *+' conftest.er1
>conftest.err
44724 cat conftest.err
>&5
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); } >/dev
/null
; then
44727 if test -s conftest.err
; then
44728 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44729 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44736 if test -z "$ac_cpp_err"; then
44737 ac_header_preproc
=yes
44739 echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.
$ac_ext >&5
44742 ac_header_preproc
=no
44744 rm -f conftest.err conftest.
$ac_ext
44745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44746 echo "${ECHO_T}$ac_header_preproc" >&6
44748 # So? What about this header?
44749 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44755 ac_header_preproc
=yes
44758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44772 ## ----------------------------------------- ##
44773 ## Report this to wx-dev@lists.wxwidgets.org ##
44774 ## ----------------------------------------- ##
44777 sed "s/^/$as_me: WARNING: /" >&2
44780 echo "$as_me:$LINENO: checking for $ac_header" >&5
44781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44783 echo $ECHO_N "(cached) $ECHO_C" >&6
44785 eval "$as_ac_Header=\$ac_header_preproc"
44787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44792 cat >>confdefs.h
<<_ACEOF
44793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44802 if test "$wxUSE_JOYSTICK" = "yes"; then
44803 cat >>confdefs.h
<<\_ACEOF
44804 #define wxUSE_JOYSTICK 1
44807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44809 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44810 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44816 if test "$wxUSE_FONTMAP" = "yes" ; then
44817 cat >>confdefs.h
<<\_ACEOF
44818 #define wxUSE_FONTMAP 1
44823 if test "$wxUSE_UNICODE" = "yes" ; then
44824 cat >>confdefs.h
<<\_ACEOF
44825 #define wxUSE_UNICODE 1
44829 if test "$USE_WIN32" != 1; then
44830 wxUSE_UNICODE_MSLU
=no
44833 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44834 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44835 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44836 if test "${ac_cv_lib_unicows_main+set}" = set; then
44837 echo $ECHO_N "(cached) $ECHO_C" >&6
44839 ac_check_lib_save_LIBS
=$LIBS
44840 LIBS
="-lunicows $LIBS"
44841 cat >conftest.
$ac_ext <<_ACEOF
44844 cat confdefs.h
>>conftest.
$ac_ext
44845 cat >>conftest.
$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44857 rm -f conftest.
$ac_objext conftest
$ac_exeext
44858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44859 (eval $ac_link) 2>conftest.er1
44861 grep -v '^ *+' conftest.er1
>conftest.err
44863 cat conftest.err
>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } &&
44866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try
='test -s conftest$ac_exeext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 ac_cv_lib_unicows_main
=yes
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.
$ac_ext >&5
44883 ac_cv_lib_unicows_main
=no
44885 rm -f conftest.err conftest.
$ac_objext \
44886 conftest
$ac_exeext conftest.
$ac_ext
44887 LIBS
=$ac_check_lib_save_LIBS
44889 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44890 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44891 if test $ac_cv_lib_unicows_main = yes; then
44893 cat >>confdefs.h
<<\_ACEOF
44894 #define wxUSE_UNICODE_MSLU 1
44900 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44901 Applications will only run on Windows NT/2000/XP!" >&5
44902 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44903 Applications will only run on Windows NT/2000/XP!" >&2;}
44904 wxUSE_UNICODE_MSLU
=no
44911 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44912 cat >>confdefs.h
<<\_ACEOF
44913 #define wxUSE_EXPERIMENTAL_PRINTF 1
44919 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44920 cat >>confdefs.h
<<\_ACEOF
44921 #define wxUSE_POSTSCRIPT 1
44926 cat >>confdefs.h
<<\_ACEOF
44927 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_NORMALIZED_PS_FONTS 1
44937 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44938 cat >>confdefs.h
<<\_ACEOF
44939 #define wxUSE_CONSTRAINTS 1
44942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44945 if test "$wxUSE_MDI" = "yes"; then
44946 cat >>confdefs.h
<<\_ACEOF
44947 #define wxUSE_MDI 1
44951 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44952 cat >>confdefs.h
<<\_ACEOF
44953 #define wxUSE_MDI_ARCHITECTURE 1
44956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44960 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44961 cat >>confdefs.h
<<\_ACEOF
44962 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44966 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44971 if test "$wxUSE_HELP" = "yes"; then
44972 cat >>confdefs.h
<<\_ACEOF
44973 #define wxUSE_HELP 1
44976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44978 if test "$wxUSE_MSW" = 1; then
44979 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44980 cat >>confdefs.h
<<\_ACEOF
44981 #define wxUSE_MS_HTML_HELP 1
44987 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44988 if test "$wxUSE_HTML" = "yes"; then
44989 cat >>confdefs.h
<<\_ACEOF
44990 #define wxUSE_WXHTML_HELP 1
44994 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44995 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44996 wxUSE_WXHTML_HELP
=no
45001 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45002 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45003 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45004 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45006 cat >>confdefs.h
<<\_ACEOF
45007 #define wxUSE_PRINTING_ARCHITECTURE 1
45011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45014 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45015 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45016 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45017 { (exit 1); exit 1; }; }
45021 if test "$wxUSE_METAFILE" = "yes"; then
45022 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45023 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45024 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45030 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45031 -o "$wxUSE_CLIPBOARD" = "yes" \
45032 -o "$wxUSE_OLE" = "yes" \
45033 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45035 for ac_header
in ole2.h
45037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45039 echo "$as_me:$LINENO: checking for $ac_header" >&5
45040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45042 echo $ECHO_N "(cached) $ECHO_C" >&6
45044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45047 # Is the header compilable?
45048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45050 cat >conftest.
$ac_ext <<_ACEOF
45053 cat confdefs.h
>>conftest.
$ac_ext
45054 cat >>conftest.
$ac_ext <<_ACEOF
45055 /* end confdefs.h. */
45056 $ac_includes_default
45057 #include <$ac_header>
45059 rm -f conftest.
$ac_objext
45060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45061 (eval $ac_compile) 2>conftest.er1
45063 grep -v '^ *+' conftest.er1
>conftest.err
45065 cat conftest.err
>&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); } &&
45068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try
='test -s conftest.$ac_objext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 ac_header_compiler
=yes
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.
$ac_ext >&5
45085 ac_header_compiler
=no
45087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45089 echo "${ECHO_T}$ac_header_compiler" >&6
45091 # Is the header present?
45092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45094 cat >conftest.
$ac_ext <<_ACEOF
45097 cat confdefs.h
>>conftest.
$ac_ext
45098 cat >>conftest.
$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45100 #include <$ac_header>
45102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45105 grep -v '^ *+' conftest.er1
>conftest.err
45107 cat conftest.err
>&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); } >/dev
/null
; then
45110 if test -s conftest.err
; then
45111 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45112 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45119 if test -z "$ac_cpp_err"; then
45120 ac_header_preproc
=yes
45122 echo "$as_me: failed program was:" >&5
45123 sed 's/^/| /' conftest.
$ac_ext >&5
45125 ac_header_preproc
=no
45127 rm -f conftest.err conftest.
$ac_ext
45128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45129 echo "${ECHO_T}$ac_header_preproc" >&6
45131 # So? What about this header?
45132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45138 ac_header_preproc
=yes
45141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45155 ## ----------------------------------------- ##
45156 ## Report this to wx-dev@lists.wxwidgets.org ##
45157 ## ----------------------------------------- ##
45160 sed "s/^/$as_me: WARNING: /" >&2
45163 echo "$as_me:$LINENO: checking for $ac_header" >&5
45164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45166 echo $ECHO_N "(cached) $ECHO_C" >&6
45168 eval "$as_ac_Header=\$ac_header_preproc"
45170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45175 cat >>confdefs.h
<<_ACEOF
45176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45184 if test "$ac_cv_header_ole2_h" = "yes" ; then
45185 if test "$GCC" = yes ; then
45186 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45187 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45188 cat >conftest.
$ac_ext <<_ACEOF
45191 cat confdefs.h
>>conftest.
$ac_ext
45192 cat >>conftest.
$ac_ext <<_ACEOF
45193 /* end confdefs.h. */
45194 #include <windows.h>
45204 rm -f conftest.
$ac_objext
45205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45206 (eval $ac_compile) 2>conftest.er1
45208 grep -v '^ *+' conftest.er1
>conftest.err
45210 cat conftest.err
>&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); } &&
45213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215 (eval $ac_try) 2>&5
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); }; } &&
45219 { ac_try
='test -s conftest.$ac_objext'
45220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45221 (eval $ac_try) 2>&5
45223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45224 (exit $ac_status); }; }; then
45225 echo "$as_me:$LINENO: result: no" >&5
45226 echo "${ECHO_T}no" >&6
45228 echo "$as_me: failed program was:" >&5
45229 sed 's/^/| /' conftest.
$ac_ext >&5
45231 echo "$as_me:$LINENO: result: yes" >&5
45232 echo "${ECHO_T}yes" >&6
45233 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45236 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45237 if test "$wxUSE_OLE" = "yes" ; then
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_OLE 1
45242 cat >>confdefs.h
<<\_ACEOF
45243 #define wxUSE_OLE_AUTOMATION 1
45246 cat >>confdefs.h
<<\_ACEOF
45247 #define wxUSE_OLE_ACTIVEX 1
45250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45254 if test "$wxUSE_DATAOBJ" = "yes" ; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_DATAOBJ 1
45261 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45262 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45265 wxUSE_DRAG_AND_DROP
=no
45270 if test "$wxUSE_METAFILE" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_METAFILE 1
45276 cat >>confdefs.h
<<\_ACEOF
45277 #define wxUSE_ENH_METAFILE 1
45283 if test "$wxUSE_IPC" = "yes"; then
45284 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45285 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45286 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45290 if test "$wxUSE_IPC" = "yes"; then
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_IPC 1
45295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45299 if test "$wxUSE_DATAOBJ" = "yes"; then
45300 if test "$wxUSE_MGL" = 1; then
45301 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45302 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45305 cat >>confdefs.h
<<\_ACEOF
45306 #define wxUSE_DATAOBJ 1
45311 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45312 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45314 wxUSE_DRAG_AND_DROP
=no
45317 if test "$wxUSE_CLIPBOARD" = "yes"; then
45318 if test "$wxUSE_MGL" = 1; then
45319 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45320 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45324 if test "$wxUSE_CLIPBOARD" = "yes"; then
45325 cat >>confdefs.h
<<\_ACEOF
45326 #define wxUSE_CLIPBOARD 1
45332 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45333 if test "$wxUSE_GTK" = 1; then
45334 if test "$WXGTK12" != 1; then
45335 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45336 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45337 wxUSE_DRAG_AND_DROP
=no
45341 if test "$wxUSE_MOTIF" = 1; then
45342 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45343 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45344 wxUSE_DRAG_AND_DROP
=no
45347 if test "$wxUSE_X11" = 1; then
45348 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45349 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45350 wxUSE_DRAG_AND_DROP
=no
45353 if test "$wxUSE_MGL" = 1; then
45354 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45355 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45356 wxUSE_DRAG_AND_DROP
=no
45359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45360 cat >>confdefs.h
<<\_ACEOF
45361 #define wxUSE_DRAG_AND_DROP 1
45368 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45372 if test "$wxUSE_SPLINES" = "yes" ; then
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_SPLINES 1
45379 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45380 cat >>confdefs.h
<<\_ACEOF
45381 #define wxUSE_MOUSEWHEEL 1
45388 if test "$wxUSE_CONTROLS" = "yes"; then
45392 if test "$wxUSE_ACCEL" = "yes"; then
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_ACCEL 1
45400 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_ANIMATIONCTRL 1
45406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45409 if test "$wxUSE_BUTTON" = "yes"; then
45410 cat >>confdefs.h
<<\_ACEOF
45411 #define wxUSE_BUTTON 1
45417 if test "$wxUSE_BMPBUTTON" = "yes"; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_BMPBUTTON 1
45425 if test "$wxUSE_CALCTRL" = "yes"; then
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_CALENDARCTRL 1
45431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45434 if test "$wxUSE_CARET" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_CARET 1
45440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45443 if test "$wxUSE_COMBOBOX" = "yes"; then
45444 cat >>confdefs.h
<<\_ACEOF
45445 #define wxUSE_COMBOBOX 1
45451 if test "$wxUSE_COMBOCTRL" = "yes"; then
45452 cat >>confdefs.h
<<\_ACEOF
45453 #define wxUSE_COMBOCTRL 1
45459 if test "$wxUSE_CHOICE" = "yes"; then
45460 cat >>confdefs.h
<<\_ACEOF
45461 #define wxUSE_CHOICE 1
45467 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45468 cat >>confdefs.h
<<\_ACEOF
45469 #define wxUSE_CHOICEBOOK 1
45475 if test "$wxUSE_CHECKBOX" = "yes"; then
45476 cat >>confdefs.h
<<\_ACEOF
45477 #define wxUSE_CHECKBOX 1
45483 if test "$wxUSE_CHECKLST" = "yes"; then
45484 cat >>confdefs.h
<<\_ACEOF
45485 #define wxUSE_CHECKLISTBOX 1
45489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45492 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_COLOURPICKERCTRL 1
45500 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45501 cat >>confdefs.h
<<\_ACEOF
45502 #define wxUSE_DATEPICKCTRL 1
45508 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_DIRPICKERCTRL 1
45516 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_FILEPICKERCTRL 1
45524 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_FONTPICKERCTRL 1
45532 if test "$wxUSE_DISPLAY" = "yes"; then
45533 cat >>confdefs.h
<<\_ACEOF
45534 #define wxUSE_DISPLAY 1
45537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45540 if test "$wxUSE_DETECT_SM" = "yes"; then
45541 cat >>confdefs.h
<<\_ACEOF
45542 #define wxUSE_DETECT_SM 1
45547 if test "$wxUSE_GAUGE" = "yes"; then
45548 cat >>confdefs.h
<<\_ACEOF
45549 #define wxUSE_GAUGE 1
45555 if test "$wxUSE_GRID" = "yes"; then
45556 cat >>confdefs.h
<<\_ACEOF
45557 #define wxUSE_GRID 1
45561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45564 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45565 cat >>confdefs.h
<<\_ACEOF
45566 #define wxUSE_HYPERLINKCTRL 1
45572 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45573 cat >>confdefs.h
<<\_ACEOF
45574 #define wxUSE_BITMAPCOMBOBOX 1
45580 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_DATAVIEWCTRL 1
45586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45589 if test "$wxUSE_IMAGLIST" = "yes"; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_IMAGLIST 1
45596 if test "$wxUSE_LISTBOOK" = "yes"; then
45597 cat >>confdefs.h
<<\_ACEOF
45598 #define wxUSE_LISTBOOK 1
45604 if test "$wxUSE_LISTBOX" = "yes"; then
45605 cat >>confdefs.h
<<\_ACEOF
45606 #define wxUSE_LISTBOX 1
45610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45613 if test "$wxUSE_LISTCTRL" = "yes"; then
45614 if test "$wxUSE_IMAGLIST" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_LISTCTRL 1
45620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45622 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45623 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45627 if test "$wxUSE_NOTEBOOK" = "yes"; then
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_NOTEBOOK 1
45633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45636 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45637 cat >>confdefs.h
<<\_ACEOF
45638 #define wxUSE_ODCOMBOBOX 1
45642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45646 if test "$wxUSE_RADIOBOX" = "yes"; then
45647 cat >>confdefs.h
<<\_ACEOF
45648 #define wxUSE_RADIOBOX 1
45654 if test "$wxUSE_RADIOBTN" = "yes"; then
45655 cat >>confdefs.h
<<\_ACEOF
45656 #define wxUSE_RADIOBTN 1
45662 if test "$wxUSE_SASH" = "yes"; then
45663 cat >>confdefs.h
<<\_ACEOF
45664 #define wxUSE_SASH 1
45667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45670 if test "$wxUSE_SCROLLBAR" = "yes"; then
45671 cat >>confdefs.h
<<\_ACEOF
45672 #define wxUSE_SCROLLBAR 1
45676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45679 if test "$wxUSE_SLIDER" = "yes"; then
45680 cat >>confdefs.h
<<\_ACEOF
45681 #define wxUSE_SLIDER 1
45687 if test "$wxUSE_SPINBTN" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_SPINBTN 1
45695 if test "$wxUSE_SPINCTRL" = "yes"; then
45696 cat >>confdefs.h
<<\_ACEOF
45697 #define wxUSE_SPINCTRL 1
45703 if test "$wxUSE_SPLITTER" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_SPLITTER 1
45708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45711 if test "$wxUSE_STATBMP" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_STATBMP 1
45719 if test "$wxUSE_STATBOX" = "yes"; then
45720 cat >>confdefs.h
<<\_ACEOF
45721 #define wxUSE_STATBOX 1
45727 if test "$wxUSE_STATTEXT" = "yes"; then
45728 cat >>confdefs.h
<<\_ACEOF
45729 #define wxUSE_STATTEXT 1
45735 if test "$wxUSE_STATLINE" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_STATLINE 1
45743 if test "$wxUSE_STATUSBAR" = "yes"; then
45744 cat >>confdefs.h
<<\_ACEOF
45745 #define wxUSE_NATIVE_STATUSBAR 1
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_STATUSBAR 1
45754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45757 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45758 cat >>confdefs.h
<<\_ACEOF
45759 #define wxUSE_TAB_DIALOG 1
45764 if test "$wxUSE_TEXTCTRL" = "yes"; then
45765 cat >>confdefs.h
<<\_ACEOF
45766 #define wxUSE_TEXTCTRL 1
45770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45773 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45774 if test "$wxUSE_COCOA" = 1 ; then
45775 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45776 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_TOGGLEBTN 1
45789 if test "$wxUSE_TOOLBAR" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_TOOLBAR 1
45796 if test "$wxUSE_UNIVERSAL" = "yes"; then
45797 wxUSE_TOOLBAR_NATIVE
="no"
45799 wxUSE_TOOLBAR_NATIVE
="yes"
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_TOOLBAR_NATIVE 1
45806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45809 if test "$wxUSE_TOOLTIPS" = "yes"; then
45810 if test "$wxUSE_MOTIF" = 1; then
45811 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45812 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45814 if test "$wxUSE_UNIVERSAL" = "yes"; then
45815 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45816 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45818 cat >>confdefs.h
<<\_ACEOF
45819 #define wxUSE_TOOLTIPS 1
45826 if test "$wxUSE_TREEBOOK" = "yes"; then
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_TREEBOOK 1
45834 if test "$wxUSE_TOOLBOOK" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_TOOLBOOK 1
45842 if test "$wxUSE_TREECTRL" = "yes"; then
45843 if test "$wxUSE_IMAGLIST" = "yes"; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_TREECTRL 1
45849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45851 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45852 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45856 if test "$wxUSE_POPUPWIN" = "yes"; then
45857 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45858 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45859 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45861 if test "$wxUSE_PM" = 1; then
45862 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45863 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45865 cat >>confdefs.h
<<\_ACEOF
45866 #define wxUSE_POPUPWIN 1
45869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45876 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45877 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45878 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45879 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_DIALUP_MANAGER 1
45885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45889 if test "$wxUSE_TIPWINDOW" = "yes"; then
45890 if test "$wxUSE_PM" = 1; then
45891 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45892 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_TIPWINDOW 1
45901 if test "$USES_CONTROLS" = 1; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_CONTROLS 1
45909 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_ACCESSIBILITY 1
45914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45917 if test "$wxUSE_DC_CACHEING" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_DC_CACHEING 1
45924 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_DRAGIMAGE 1
45929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45932 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45933 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45934 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45935 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45937 cat >>confdefs.h
<<\_ACEOF
45938 #define wxUSE_EXCEPTIONS 1
45941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45946 if test "$wxUSE_HTML" = "yes"; then
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_HTML 1
45952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45953 if test "$wxUSE_MAC" = 1; then
45954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45957 if test "$wxUSE_WEBKIT" = "yes"; then
45958 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45959 old_CPPFLAGS
="$CPPFLAGS"
45960 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45961 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45962 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45963 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45964 echo $ECHO_N "(cached) $ECHO_C" >&6
45966 cat >conftest.
$ac_ext <<_ACEOF
45969 cat confdefs.h
>>conftest.
$ac_ext
45970 cat >>conftest.
$ac_ext <<_ACEOF
45971 /* end confdefs.h. */
45972 #include <Carbon/Carbon.h>
45974 #include <WebKit/HIWebView.h>
45976 rm -f conftest.
$ac_objext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45978 (eval $ac_compile) 2>conftest.er1
45980 grep -v '^ *+' conftest.er1
>conftest.err
45982 cat conftest.err
>&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } &&
45985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45987 (eval $ac_try) 2>&5
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); }; } &&
45991 { ac_try
='test -s conftest.$ac_objext'
45992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45993 (eval $ac_try) 2>&5
45995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996 (exit $ac_status); }; }; then
45997 ac_cv_header_WebKit_HIWebView_h
=yes
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.
$ac_ext >&5
46002 ac_cv_header_WebKit_HIWebView_h
=no
46004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46006 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46007 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46008 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_WEBKIT 1
46014 WEBKIT_LINK
="-framework WebKit"
46018 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46019 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46025 CPPFLAGS
="$old_CPPFLAGS"
46026 elif test "$wxUSE_COCOA" = 1; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_WEBKIT 1
46037 if test "$wxUSE_XRC" = "yes"; then
46038 if test "$wxUSE_XML" != "yes"; then
46039 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46040 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46043 cat >>confdefs.h
<<\_ACEOF
46044 #define wxUSE_XRC 1
46048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46053 if test "$wxUSE_AUI" = "yes"; then
46054 cat >>confdefs.h
<<\_ACEOF
46055 #define wxUSE_AUI 1
46059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46062 if test "$wxUSE_MENUS" = "yes"; then
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_MENUS 1
46067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46070 if test "$wxUSE_METAFILE" = "yes"; then
46071 cat >>confdefs.h
<<\_ACEOF
46072 #define wxUSE_METAFILE 1
46077 if test "$wxUSE_MIMETYPE" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_MIMETYPE 1
46084 if test "$wxUSE_MINIFRAME" = "yes"; then
46085 cat >>confdefs.h
<<\_ACEOF
46086 #define wxUSE_MINIFRAME 1
46089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46092 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_SYSTEM_OPTIONS 1
46097 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46098 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46104 if test "$wxUSE_VALIDATORS" = "yes"; then
46105 cat >>confdefs.h
<<\_ACEOF
46106 #define wxUSE_VALIDATORS 1
46109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46112 if test "$wxUSE_PALETTE" = "yes" ; then
46113 cat >>confdefs.h
<<\_ACEOF
46114 #define wxUSE_PALETTE 1
46119 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46120 LIBS
=" -lunicows $LIBS"
46124 if test "$wxUSE_RICHTEXT" = "yes"; then
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_RICHTEXT 1
46130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46134 if test "$wxUSE_IMAGE" = "yes" ; then
46135 cat >>confdefs.h
<<\_ACEOF
46136 #define wxUSE_IMAGE 1
46140 if test "$wxUSE_GIF" = "yes" ; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_GIF 1
46147 if test "$wxUSE_PCX" = "yes" ; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_PCX 1
46154 if test "$wxUSE_IFF" = "yes" ; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_IFF 1
46161 if test "$wxUSE_PNM" = "yes" ; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_PNM 1
46168 if test "$wxUSE_XPM" = "yes" ; then
46169 cat >>confdefs.h
<<\_ACEOF
46170 #define wxUSE_XPM 1
46175 if test "$wxUSE_ICO_CUR" = "yes" ; then
46176 cat >>confdefs.h
<<\_ACEOF
46177 #define wxUSE_ICO_CUR 1
46184 if test "$wxUSE_ABOUTDLG" = "yes"; then
46185 cat >>confdefs.h
<<\_ACEOF
46186 #define wxUSE_ABOUTDLG 1
46191 if test "$wxUSE_CHOICEDLG" = "yes"; then
46192 cat >>confdefs.h
<<\_ACEOF
46193 #define wxUSE_CHOICEDLG 1
46198 if test "$wxUSE_COLOURDLG" = "yes"; then
46199 cat >>confdefs.h
<<\_ACEOF
46200 #define wxUSE_COLOURDLG 1
46205 if test "$wxUSE_FILEDLG" = "yes"; then
46206 cat >>confdefs.h
<<\_ACEOF
46207 #define wxUSE_FILEDLG 1
46212 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46213 cat >>confdefs.h
<<\_ACEOF
46214 #define wxUSE_FINDREPLDLG 1
46219 if test "$wxUSE_FONTDLG" = "yes"; then
46220 cat >>confdefs.h
<<\_ACEOF
46221 #define wxUSE_FONTDLG 1
46226 if test "$wxUSE_DIRDLG" = "yes"; then
46227 if test "$wxUSE_TREECTRL" != "yes"; then
46228 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46229 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46231 cat >>confdefs.h
<<\_ACEOF
46232 #define wxUSE_DIRDLG 1
46238 if test "$wxUSE_MSGDLG" = "yes"; then
46239 cat >>confdefs.h
<<\_ACEOF
46240 #define wxUSE_MSGDLG 1
46245 if test "$wxUSE_NUMBERDLG" = "yes"; then
46246 cat >>confdefs.h
<<\_ACEOF
46247 #define wxUSE_NUMBERDLG 1
46252 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46253 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46254 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46255 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46257 cat >>confdefs.h
<<\_ACEOF
46258 #define wxUSE_PROGRESSDLG 1
46264 if test "$wxUSE_SPLASH" = "yes"; then
46265 cat >>confdefs.h
<<\_ACEOF
46266 #define wxUSE_SPLASH 1
46269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46272 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46273 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46274 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46275 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_STARTUP_TIPS 1
46284 if test "$wxUSE_TEXTDLG" = "yes"; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_TEXTDLG 1
46291 if test "$wxUSE_WIZARDDLG" = "yes"; then
46292 cat >>confdefs.h
<<\_ACEOF
46293 #define wxUSE_WIZARDDLG 1
46296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46300 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46301 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46302 cat >>confdefs.h
<<\_ACEOF
46303 #define wxUSE_GRAPHICS_CONTEXT 1
46306 elif test "$wxUSE_GTK" != 1; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_GRAPHICS_CONTEXT 1
46314 echo "$as_me:$LINENO: checking for CAIRO" >&5
46315 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46317 if test -n "$PKG_CONFIG"; then
46318 if test -n "$CAIRO_CFLAGS"; then
46319 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46321 if test -n "$PKG_CONFIG" && \
46322 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46323 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326 (exit $ac_status); }; then
46327 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46335 if test -n "$PKG_CONFIG"; then
46336 if test -n "$CAIRO_LIBS"; then
46337 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46339 if test -n "$PKG_CONFIG" && \
46340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46341 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46344 (exit $ac_status); }; then
46345 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46356 if test $pkg_failed = yes; then
46358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46359 _pkg_short_errors_supported
=yes
46361 _pkg_short_errors_supported
=no
46363 if test $_pkg_short_errors_supported = yes; then
46364 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46366 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46368 # Put the nasty error message in config.log where it belongs
46369 echo "$CAIRO_PKG_ERRORS" >&5
46372 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46373 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46376 elif test $pkg_failed = untried
; then
46378 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46379 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46383 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46384 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46385 echo "$as_me:$LINENO: result: yes" >&5
46386 echo "${ECHO_T}yes" >&6
46388 cat >>confdefs.h
<<\_ACEOF
46389 #define wxUSE_GRAPHICS_CONTEXT 1
46400 if test "$wxUSE_MEDIACTRL" = "yes"; then
46403 if test "$wxUSE_GTK" = 1; then
46404 wxUSE_GSTREAMER
="no"
46406 GST_VERSION_MAJOR
=0
46407 GST_VERSION_MINOR
=10
46408 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46410 if test "$wxUSE_GSTREAMER8" = "no"; then
46413 echo "$as_me:$LINENO: checking for GST" >&5
46414 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46416 if test -n "$PKG_CONFIG"; then
46417 if test -n "$GST_CFLAGS"; then
46418 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46420 if test -n "$PKG_CONFIG" && \
46421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46422 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46425 (exit $ac_status); }; then
46426 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46434 if test -n "$PKG_CONFIG"; then
46435 if test -n "$GST_LIBS"; then
46436 pkg_cv_GST_LIBS
="$GST_LIBS"
46438 if test -n "$PKG_CONFIG" && \
46439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46440 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); }; then
46444 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46455 if test $pkg_failed = yes; then
46457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46458 _pkg_short_errors_supported
=yes
46460 _pkg_short_errors_supported
=no
46462 if test $_pkg_short_errors_supported = yes; then
46463 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46465 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46467 # Put the nasty error message in config.log where it belongs
46468 echo "$GST_PKG_ERRORS" >&5
46471 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46472 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46473 GST_VERSION_MINOR
=8
46476 elif test $pkg_failed = untried
; then
46478 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46479 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46480 GST_VERSION_MINOR
=8
46484 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46485 GST_LIBS
=$pkg_cv_GST_LIBS
46486 echo "$as_me:$LINENO: result: yes" >&5
46487 echo "${ECHO_T}yes" >&6
46489 wxUSE_GSTREAMER
="yes"
46490 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46494 GST_VERSION_MINOR
=8
46497 if test $GST_VERSION_MINOR = "8"; then
46498 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46501 echo "$as_me:$LINENO: checking for GST" >&5
46502 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46504 if test -n "$PKG_CONFIG"; then
46505 if test -n "$GST_CFLAGS"; then
46506 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46508 if test -n "$PKG_CONFIG" && \
46509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46510 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); }; then
46514 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46522 if test -n "$PKG_CONFIG"; then
46523 if test -n "$GST_LIBS"; then
46524 pkg_cv_GST_LIBS
="$GST_LIBS"
46526 if test -n "$PKG_CONFIG" && \
46527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46528 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46531 (exit $ac_status); }; then
46532 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46543 if test $pkg_failed = yes; then
46545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46546 _pkg_short_errors_supported
=yes
46548 _pkg_short_errors_supported
=no
46550 if test $_pkg_short_errors_supported = yes; then
46551 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46553 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46555 # Put the nasty error message in config.log where it belongs
46556 echo "$GST_PKG_ERRORS" >&5
46559 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46560 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46562 elif test $pkg_failed = untried
; then
46564 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46565 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46568 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46569 GST_LIBS
=$pkg_cv_GST_LIBS
46570 echo "$as_me:$LINENO: result: yes" >&5
46571 echo "${ECHO_T}yes" >&6
46572 wxUSE_GSTREAMER
="yes"
46577 if test "$wxUSE_GSTREAMER" = "yes"; then
46580 if "$GCC" = yes; then
46581 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46582 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46586 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46587 LIBS
="$GST_LIBS $LIBS"
46589 cat >>confdefs.h
<<\_ACEOF
46590 #define wxUSE_GSTREAMER 1
46598 if test $USE_MEDIA = 1; then
46599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46600 cat >>confdefs.h
<<\_ACEOF
46601 #define wxUSE_MEDIACTRL 1
46608 if test "$cross_compiling" = "yes"; then
46611 OSINFO
=`uname -s -r -m`
46612 OSINFO
="\"$OSINFO\""
46615 cat >>confdefs.h
<<_ACEOF
46616 #define WXWIN_OS_DESCRIPTION $OSINFO
46621 if test "x$prefix" != "xNONE"; then
46624 wxPREFIX
=$ac_default_prefix
46627 cat >>confdefs.h
<<_ACEOF
46628 #define wxINSTALL_PREFIX "$wxPREFIX"
46634 CORE_BASE_LIBS
="net base"
46635 CORE_GUI_LIBS
="adv core"
46637 if test "$wxUSE_XML" = "yes" ; then
46638 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46640 if test "$wxUSE_ODBC" != "no" ; then
46641 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46642 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46644 if test "$wxUSE_HTML" = "yes" ; then
46645 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46647 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46648 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46650 if test "$wxUSE_XRC" = "yes" ; then
46651 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46653 if test "$wxUSE_AUI" = "yes" ; then
46654 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46657 if test "$wxUSE_GUI" != "yes"; then
46666 ac_cpp
='$CPP $CPPFLAGS'
46667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46673 if test "$wxUSE_MAC" = 1 ; then
46674 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46675 if test "$USE_DARWIN" = 1; then
46676 LDFLAGS
="$LDFLAGS -framework QuickTime"
46678 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46681 if test "$USE_DARWIN" = 1; then
46682 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46684 LDFLAGS
="$LDFLAGS -lCarbonLib"
46687 if test "$wxUSE_COCOA" = 1 ; then
46688 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46689 if test "$wxUSE_MEDIACTRL" = "yes"; then
46690 LDFLAGS
="$LDFLAGS -framework QuickTime"
46693 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46694 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46697 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46699 if test "$wxUSE_GUI" = "yes"; then
46702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46703 dynamic erase event exec font image minimal mobile \
46704 mobile/wxedit mobile/styles propsize render \
46705 rotate shaped vscroll widgets"
46707 if test "$wxUSE_MONOLITHIC" != "yes"; then
46708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46710 if test "$TOOLKIT" = "MSW"; then
46711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46712 if test "$wxUSE_UNIVERSAL" != "yes"; then
46713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46716 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46720 SAMPLES_SUBDIRS
="console"
46724 if test "x$INTELCC" = "xyes" ; then
46725 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46726 elif test "$GCC" = yes ; then
46727 CWARNINGS
="-Wall -Wundef"
46730 if test "x$INTELCXX" = "xyes" ; then
46731 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46732 elif test "$GXX" = yes ; then
46733 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46737 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46738 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46741 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46742 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46743 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46746 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46747 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46748 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46750 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46753 if test "x$MWCC" = "xyes"; then
46755 CC
="$CC -cwd source -I-"
46756 CXX
="$CXX -cwd source -I-"
46761 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46762 EXTRALIBS_XML
="$EXPAT_LINK"
46763 EXTRALIBS_HTML
="$MSPACK_LINK"
46764 EXTRALIBS_ODBC
="$ODBC_LINK"
46765 if test "$wxUSE_GUI" = "yes"; then
46766 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46768 if test "$wxUSE_OPENGL" = "yes"; then
46769 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46772 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46774 WXCONFIG_LIBS
="$LIBS"
46776 if test "$wxUSE_REGEX" = "builtin" ; then
46777 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46779 if test "$wxUSE_EXPAT" = "builtin" ; then
46780 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46782 if test "$wxUSE_ODBC" = "builtin" ; then
46783 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46785 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46786 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46788 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46789 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46791 if test "$wxUSE_LIBPNG" = "builtin" ; then
46792 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46794 if test "$wxUSE_ZLIB" = "builtin" ; then
46795 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46798 for i
in $wxconfig_3rdparty ; do
46799 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46803 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46806 case "$wxUNIV_THEMES" in
46808 cat >>confdefs.h
<<\_ACEOF
46809 #define wxUSE_ALL_THEMES 1
46815 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46816 cat >>confdefs.h
<<_ACEOF
46817 #define wxUSE_THEME_$t 1
46834 if test $wxUSE_MONOLITHIC = "yes" ; then
46840 if test $wxUSE_PLUGINS = "yes" ; then
46846 if test $wxUSE_ODBC != "no" ; then
46852 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46858 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46888 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46899 TOOLKIT_DESC
="GTK+"
46900 if test "$WXGTK20" = 1; then
46901 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46902 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46903 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46905 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46906 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46908 if test "$wxUSE_LIBHILDON" = "yes"; then
46909 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46912 if test "$TOOLKIT_EXTRA" != ""; then
46913 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46919 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46923 TOOLKIT_DESC
="base only"
46927 if test "$wxUSE_WINE" = "yes"; then
46928 BAKEFILE_FORCE_PLATFORM
=win32
46931 if test "$wxUSE_MAC" = 1 ; then
46932 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46933 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46934 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46936 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46938 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46939 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46940 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46941 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46944 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46945 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46951 if test "x$BAKEFILE_HOST" = "x"; then
46952 if test "x${host}" = "x" ; then
46953 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46954 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46955 { (exit 1); exit 1; }; }
46958 BAKEFILE_HOST
="${host}"
46961 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46963 if test -n "$ac_tool_prefix"; then
46964 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46965 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46966 echo "$as_me:$LINENO: checking for $ac_word" >&5
46967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46968 if test "${ac_cv_prog_RANLIB+set}" = set; then
46969 echo $ECHO_N "(cached) $ECHO_C" >&6
46971 if test -n "$RANLIB"; then
46972 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46975 for as_dir
in $PATH
46978 test -z "$as_dir" && as_dir
=.
46979 for ac_exec_ext
in '' $ac_executable_extensions; do
46980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46981 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46990 RANLIB
=$ac_cv_prog_RANLIB
46991 if test -n "$RANLIB"; then
46992 echo "$as_me:$LINENO: result: $RANLIB" >&5
46993 echo "${ECHO_T}$RANLIB" >&6
46995 echo "$as_me:$LINENO: result: no" >&5
46996 echo "${ECHO_T}no" >&6
47000 if test -z "$ac_cv_prog_RANLIB"; then
47001 ac_ct_RANLIB
=$RANLIB
47002 # Extract the first word of "ranlib", so it can be a program name with args.
47003 set dummy ranlib
; ac_word
=$2
47004 echo "$as_me:$LINENO: checking for $ac_word" >&5
47005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47007 echo $ECHO_N "(cached) $ECHO_C" >&6
47009 if test -n "$ac_ct_RANLIB"; then
47010 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47013 for as_dir
in $PATH
47016 test -z "$as_dir" && as_dir
=.
47017 for ac_exec_ext
in '' $ac_executable_extensions; do
47018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47019 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47026 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47029 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47030 if test -n "$ac_ct_RANLIB"; then
47031 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47032 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47034 echo "$as_me:$LINENO: result: no" >&5
47035 echo "${ECHO_T}no" >&6
47038 RANLIB
=$ac_ct_RANLIB
47040 RANLIB
="$ac_cv_prog_RANLIB"
47043 # Find a good install program. We prefer a C program (faster),
47044 # so one script is as good as another. But avoid the broken or
47045 # incompatible versions:
47046 # SysV /etc/install, /usr/sbin/install
47047 # SunOS /usr/etc/install
47048 # IRIX /sbin/install
47050 # AmigaOS /C/install, which installs bootblocks on floppy discs
47051 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47052 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47053 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47054 # OS/2's system install, which has a completely different semantic
47055 # ./install, which can be erroneously created by make from ./install.sh.
47056 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47057 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47058 if test -z "$INSTALL"; then
47059 if test "${ac_cv_path_install+set}" = set; then
47060 echo $ECHO_N "(cached) $ECHO_C" >&6
47062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47063 for as_dir
in $PATH
47066 test -z "$as_dir" && as_dir
=.
47067 # Account for people who put trailing slashes in PATH elements.
47069 .
/ | .
// | /cC
/* | \
47070 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47071 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47074 # OSF1 and SCO ODT 3.0 have their own names for install.
47075 # Don't use installbsd from OSF since it installs stuff as root
47077 for ac_prog
in ginstall scoinst
install; do
47078 for ac_exec_ext
in '' $ac_executable_extensions; do
47079 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47080 if test $ac_prog = install &&
47081 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47082 # AIX install. It has an incompatible calling convention.
47084 elif test $ac_prog = install &&
47085 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47086 # program-specific install script used by HP pwplus--don't use.
47089 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47101 if test "${ac_cv_path_install+set}" = set; then
47102 INSTALL
=$ac_cv_path_install
47104 # As a last resort, use the slow shell script. We don't cache a
47105 # path for INSTALL within a source directory, because that will
47106 # break other packages using the cache if that directory is
47107 # removed, or if the path is relative.
47108 INSTALL
=$ac_install_sh
47111 echo "$as_me:$LINENO: result: $INSTALL" >&5
47112 echo "${ECHO_T}$INSTALL" >&6
47114 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47115 # It thinks the first close brace ends the variable substitution.
47116 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47118 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47120 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47122 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47123 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47125 if test "$LN_S" = "ln -s"; then
47126 echo "$as_me:$LINENO: result: yes" >&5
47127 echo "${ECHO_T}yes" >&6
47129 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47130 echo "${ECHO_T}no, using $LN_S" >&6
47134 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47135 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47136 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47137 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47138 echo $ECHO_N "(cached) $ECHO_C" >&6
47140 cat >conftest.
make <<\_ACEOF
47142 @
echo 'ac_maketemp="$(MAKE)"'
47144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47145 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47146 if test -n "$ac_maketemp"; then
47147 eval ac_cv_prog_make_
${ac_make}_set
=yes
47149 eval ac_cv_prog_make_
${ac_make}_set
=no
47151 rm -f conftest.
make
47153 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47154 echo "$as_me:$LINENO: result: yes" >&5
47155 echo "${ECHO_T}yes" >&6
47158 echo "$as_me:$LINENO: result: no" >&5
47159 echo "${ECHO_T}no" >&6
47160 SET_MAKE
="MAKE=${MAKE-make}"
47165 if test -n "$ac_tool_prefix"; then
47166 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47167 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47168 echo "$as_me:$LINENO: checking for $ac_word" >&5
47169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47170 if test "${ac_cv_prog_AR+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47173 if test -n "$AR"; then
47174 ac_cv_prog_AR
="$AR" # Let the user override the test.
47176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47177 for as_dir
in $PATH
47180 test -z "$as_dir" && as_dir
=.
47181 for ac_exec_ext
in '' $ac_executable_extensions; do
47182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47183 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47193 if test -n "$AR"; then
47194 echo "$as_me:$LINENO: result: $AR" >&5
47195 echo "${ECHO_T}$AR" >&6
47197 echo "$as_me:$LINENO: result: no" >&5
47198 echo "${ECHO_T}no" >&6
47202 if test -z "$ac_cv_prog_AR"; then
47204 # Extract the first word of "ar", so it can be a program name with args.
47205 set dummy
ar; ac_word
=$2
47206 echo "$as_me:$LINENO: checking for $ac_word" >&5
47207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47208 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47211 if test -n "$ac_ct_AR"; then
47212 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47215 for as_dir
in $PATH
47218 test -z "$as_dir" && as_dir
=.
47219 for ac_exec_ext
in '' $ac_executable_extensions; do
47220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47221 ac_cv_prog_ac_ct_AR
="ar"
47222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47228 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47231 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47232 if test -n "$ac_ct_AR"; then
47233 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47234 echo "${ECHO_T}$ac_ct_AR" >&6
47236 echo "$as_me:$LINENO: result: no" >&5
47237 echo "${ECHO_T}no" >&6
47242 AR
="$ac_cv_prog_AR"
47245 if test -n "$ac_tool_prefix"; then
47246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47247 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47248 echo "$as_me:$LINENO: checking for $ac_word" >&5
47249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47250 if test "${ac_cv_prog_STRIP+set}" = set; then
47251 echo $ECHO_N "(cached) $ECHO_C" >&6
47253 if test -n "$STRIP"; then
47254 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47257 for as_dir
in $PATH
47260 test -z "$as_dir" && as_dir
=.
47261 for ac_exec_ext
in '' $ac_executable_extensions; do
47262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47263 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47272 STRIP
=$ac_cv_prog_STRIP
47273 if test -n "$STRIP"; then
47274 echo "$as_me:$LINENO: result: $STRIP" >&5
47275 echo "${ECHO_T}$STRIP" >&6
47277 echo "$as_me:$LINENO: result: no" >&5
47278 echo "${ECHO_T}no" >&6
47282 if test -z "$ac_cv_prog_STRIP"; then
47284 # Extract the first word of "strip", so it can be a program name with args.
47285 set dummy strip
; ac_word
=$2
47286 echo "$as_me:$LINENO: checking for $ac_word" >&5
47287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47288 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47289 echo $ECHO_N "(cached) $ECHO_C" >&6
47291 if test -n "$ac_ct_STRIP"; then
47292 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47295 for as_dir
in $PATH
47298 test -z "$as_dir" && as_dir
=.
47299 for ac_exec_ext
in '' $ac_executable_extensions; do
47300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47301 ac_cv_prog_ac_ct_STRIP
="strip"
47302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47308 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47311 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47312 if test -n "$ac_ct_STRIP"; then
47313 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47314 echo "${ECHO_T}$ac_ct_STRIP" >&6
47316 echo "$as_me:$LINENO: result: no" >&5
47317 echo "${ECHO_T}no" >&6
47322 STRIP
="$ac_cv_prog_STRIP"
47325 if test -n "$ac_tool_prefix"; then
47326 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47327 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47328 echo "$as_me:$LINENO: checking for $ac_word" >&5
47329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47330 if test "${ac_cv_prog_NM+set}" = set; then
47331 echo $ECHO_N "(cached) $ECHO_C" >&6
47333 if test -n "$NM"; then
47334 ac_cv_prog_NM
="$NM" # Let the user override the test.
47336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47337 for as_dir
in $PATH
47340 test -z "$as_dir" && as_dir
=.
47341 for ac_exec_ext
in '' $ac_executable_extensions; do
47342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47343 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47353 if test -n "$NM"; then
47354 echo "$as_me:$LINENO: result: $NM" >&5
47355 echo "${ECHO_T}$NM" >&6
47357 echo "$as_me:$LINENO: result: no" >&5
47358 echo "${ECHO_T}no" >&6
47362 if test -z "$ac_cv_prog_NM"; then
47364 # Extract the first word of "nm", so it can be a program name with args.
47365 set dummy nm
; ac_word
=$2
47366 echo "$as_me:$LINENO: checking for $ac_word" >&5
47367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47368 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47371 if test -n "$ac_ct_NM"; then
47372 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47375 for as_dir
in $PATH
47378 test -z "$as_dir" && as_dir
=.
47379 for ac_exec_ext
in '' $ac_executable_extensions; do
47380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47381 ac_cv_prog_ac_ct_NM
="nm"
47382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47388 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47391 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47392 if test -n "$ac_ct_NM"; then
47393 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47394 echo "${ECHO_T}$ac_ct_NM" >&6
47396 echo "$as_me:$LINENO: result: no" >&5
47397 echo "${ECHO_T}no" >&6
47402 NM
="$ac_cv_prog_NM"
47406 case ${BAKEFILE_HOST} in
47408 INSTALL_DIR
="mkdir -p"
47410 *) INSTALL_DIR
="$INSTALL -d"
47416 case ${BAKEFILE_HOST} in
47417 *-*-cygwin* | *-*-mingw32* )
47418 LDFLAGS_GUI
="-mwindows"
47424 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47425 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47426 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47430 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47431 egrep -s GNU
> /dev
/null
); then
47432 bakefile_cv_prog_makeisgnu
="yes"
47434 bakefile_cv_prog_makeisgnu
="no"
47438 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47439 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47441 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47458 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47459 case "${BAKEFILE_HOST}" in
47466 *-pc-os2_emx | *-pc-os2-emx )
47476 powerpc
-apple-macos* )
47485 case "$BAKEFILE_FORCE_PLATFORM" in
47506 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47507 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47508 { (exit 1); exit 1; }; }
47523 # Check whether --enable-omf or --disable-omf was given.
47524 if test "${enable_omf+set}" = set; then
47525 enableval
="$enable_omf"
47526 bk_os2_use_omf
="$enableval"
47529 case "${BAKEFILE_HOST}" in
47531 if test "x$GCC" = "xyes"; then
47532 CFLAGS
="$CFLAGS -fno-common"
47533 CXXFLAGS
="$CXXFLAGS -fno-common"
47535 if test "x$XLCC" = "xyes"; then
47536 CFLAGS
="$CFLAGS -qnocommon"
47537 CXXFLAGS
="$CXXFLAGS -qnocommon"
47541 *-pc-os2_emx | *-pc-os2-emx )
47542 if test "x$bk_os2_use_omf" = "xyes" ; then
47545 LDFLAGS
="-Zomf $LDFLAGS"
47546 CFLAGS
="-Zomf $CFLAGS"
47547 CXXFLAGS
="-Zomf $CXXFLAGS"
47555 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47561 SO_SUFFIX_MODULE
="so"
47566 DLLPREFIX_MODULE
=""
47570 case "${BAKEFILE_HOST}" in
47573 SO_SUFFIX_MODULE
="sl"
47577 SO_SUFFIX_MODULE
="a"
47581 SO_SUFFIX_MODULE
="dll"
47582 DLLIMP_SUFFIX
="dll.a"
47589 SO_SUFFIX_MODULE
="dll"
47590 DLLIMP_SUFFIX
="dll.a"
47600 *-pc-os2_emx | *-pc-os2-emx )
47602 SO_SUFFIX_MODULE
="dll"
47603 DLLIMP_SUFFIX
=$OS2_LIBEXT
47607 LIBEXT
=".$OS2_LIBEXT"
47612 SO_SUFFIX_MODULE
="bundle"
47616 if test "x$DLLIMP_SUFFIX" = "x" ; then
47617 DLLIMP_SUFFIX
="$SO_SUFFIX"
47632 if test "x$GCC" = "xyes"; then
47636 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47637 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47640 case "${BAKEFILE_HOST}" in
47642 if test "x$GCC" != "xyes"; then
47643 LDFLAGS
="$LDFLAGS -L/usr/lib"
47645 SHARED_LD_CC
="${CC} -b -o"
47646 SHARED_LD_CXX
="${CXX} -b -o"
47652 if test "x$GCC" != "xyes"; then
47653 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47654 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47655 if test "${bakefile_cv_prog_icc+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47659 cat >conftest.
$ac_ext <<_ACEOF
47662 cat confdefs.h
>>conftest.
$ac_ext
47663 cat >>conftest.
$ac_ext <<_ACEOF
47664 /* end confdefs.h. */
47670 #ifndef __INTEL_COMPILER
47678 rm -f conftest.
$ac_objext
47679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47680 (eval $ac_compile) 2>conftest.er1
47682 grep -v '^ *+' conftest.er1
>conftest.err
47684 cat conftest.err
>&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } &&
47687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47689 (eval $ac_try) 2>&5
47691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47692 (exit $ac_status); }; } &&
47693 { ac_try
='test -s conftest.$ac_objext'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; }; then
47699 bakefile_cv_prog_icc
=yes
47701 echo "$as_me: failed program was:" >&5
47702 sed 's/^/| /' conftest.
$ac_ext >&5
47704 bakefile_cv_prog_icc
=no
47707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47710 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47711 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47712 if test "$bakefile_cv_prog_icc" = "yes"; then
47719 if test "x$GCC" != xyes
; then
47720 SHARED_LD_CC
="${CC} -G -o"
47721 SHARED_LD_CXX
="${CXX} -G -o"
47729 cat <<EOF >shared-ld-sh
47731 #-----------------------------------------------------------------------------
47732 #-- Name: distrib/mac/shared-ld-sh
47733 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47734 #-- Author: Gilles Depeyrot
47735 #-- Copyright: (c) 2002 Gilles Depeyrot
47736 #-- Licence: any use permitted
47737 #-----------------------------------------------------------------------------
47742 linking_flag="-dynamiclib"
47743 ldargs="-r -keep_private_externs -nostdlib"
47745 while test ${D}# -gt 0; do
47752 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47753 # collect these options and values
47754 args="${D}{args} ${D}1 ${D}2"
47759 # collect these load args
47760 ldargs="${D}{ldargs} ${D}1"
47763 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47764 # collect these options
47765 args="${D}{args} ${D}1"
47768 -dynamiclib|-bundle)
47769 linking_flag="${D}1"
47773 echo "shared-ld: unhandled option '${D}1'"
47777 *.o | *.a | *.dylib)
47778 # collect object files
47779 objects="${D}{objects} ${D}1"
47783 echo "shared-ld: unhandled argument '${D}1'"
47794 # Link one module containing all the others
47796 if test ${D}{verbose} = 1; then
47797 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47799 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47803 # Link the shared library from the single module created, but only if the
47804 # previous command didn't fail:
47806 if test ${D}{status} = 0; then
47807 if test ${D}{verbose} = 1; then
47808 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47810 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47815 # Remove intermediate module
47817 rm -f master.${D}${D}.o
47822 chmod +x shared
-ld-sh
47824 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47825 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47828 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47829 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47830 if test "${bakefile_cv_gcc31+set}" = set; then
47831 echo $ECHO_N "(cached) $ECHO_C" >&6
47834 cat >conftest.
$ac_ext <<_ACEOF
47837 cat confdefs.h
>>conftest.
$ac_ext
47838 cat >>conftest.
$ac_ext <<_ACEOF
47839 /* end confdefs.h. */
47845 #if (__GNUC__ < 3) || \
47846 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47854 rm -f conftest.
$ac_objext
47855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47856 (eval $ac_compile) 2>conftest.er1
47858 grep -v '^ *+' conftest.er1
>conftest.err
47860 cat conftest.err
>&5
47861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862 (exit $ac_status); } &&
47863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try
='test -s conftest.$ac_objext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47876 bakefile_cv_gcc31
=yes
47879 echo "$as_me: failed program was:" >&5
47880 sed 's/^/| /' conftest.
$ac_ext >&5
47883 bakefile_cv_gcc31
=no
47887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47890 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47891 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47892 if test "$bakefile_cv_gcc31" = "no"; then
47893 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47894 SHARED_LD_CXX
="$SHARED_LD_CC"
47896 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47897 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47900 if test "x$GCC" == "xyes"; then
47901 PIC_FLAG
="-dynamic -fPIC"
47903 if test "x$XLCC" = "xyes"; then
47904 PIC_FLAG
="-dynamic -DPIC"
47909 if test "x$GCC" = "xyes"; then
47912 case "${BAKEFILE_HOST}" in
47914 LD_EXPFULL
="-Wl,-bexpfull"
47918 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47919 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47921 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47922 set dummy makeC
++SharedLib
; ac_word
=$2
47923 echo "$as_me:$LINENO: checking for $ac_word" >&5
47924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47925 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47926 echo $ECHO_N "(cached) $ECHO_C" >&6
47928 if test -n "$AIX_CXX_LD"; then
47929 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47932 for as_dir
in $PATH
47935 test -z "$as_dir" && as_dir
=.
47936 for ac_exec_ext
in '' $ac_executable_extensions; do
47937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47938 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47945 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47948 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47949 if test -n "$AIX_CXX_LD"; then
47950 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47951 echo "${ECHO_T}$AIX_CXX_LD" >&6
47953 echo "$as_me:$LINENO: result: no" >&5
47954 echo "${ECHO_T}no" >&6
47957 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47958 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47963 SHARED_LD_CC
="${LD} -nostart -o"
47964 SHARED_LD_CXX
="${LD} -nostart -o"
47968 if test "x$GCC" != "xyes"; then
47973 *-*-cygwin* | *-*-mingw32* )
47975 SHARED_LD_CC
="\$(CC) -shared -o"
47976 SHARED_LD_CXX
="\$(CXX) -shared -o"
47980 *-pc-os2_emx | *-pc-os2-emx )
47981 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47982 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47986 cat <<EOF >dllar.sh
47989 # dllar - a tool to build both a .dll and an .a file
47990 # from a set of object (.o) files for EMX/OS2.
47992 # Written by Andrew Zabolotny, bit@freya.etu.ru
47993 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47995 # This script will accept a set of files on the command line.
47996 # All the public symbols from the .o files will be exported into
47997 # a .DEF file, then linker will be run (through gcc) against them to
47998 # build a shared library consisting of all given .o files. All libraries
47999 # (.a) will be first decompressed into component .o files then act as
48000 # described above. You can optionally give a description (-d "description")
48001 # which will be put into .DLL. To see the list of accepted options (as well
48002 # as command-line format) simply run this program without options. The .DLL
48003 # is built to be imported by name (there is no guarantee that new versions
48004 # of the library you build will have same ordinals for same symbols).
48006 # dllar is free software; you can redistribute it and/or modify
48007 # it under the terms of the GNU General Public License as published by
48008 # the Free Software Foundation; either version 2, or (at your option)
48009 # any later version.
48011 # dllar is distributed in the hope that it will be useful,
48012 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48013 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48014 # GNU General Public License for more details.
48016 # You should have received a copy of the GNU General Public License
48017 # along with dllar; see the file COPYING. If not, write to the Free
48018 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48021 # To successfuly run this program you will need:
48022 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48023 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48025 # (used to build the .dll)
48027 # (used to create .def file from .o files)
48029 # (used to create .a file from .def file)
48030 # - GNU text utilites (cat, sort, uniq)
48031 # used to process emxexp output
48032 # - GNU file utilities (mv, rm)
48034 # - lxlite (optional, see flag below)
48035 # (used for general .dll cleanup)
48042 # basnam, variant of basename, which does _not_ remove the path, _iff_
48043 # second argument (suffix to remove) is given
48047 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48050 echo ${D}1 | sed 's/'${D}2'${D}//'
48053 echo "error in basnam ${D}*"
48059 # Cleanup temporary files and output
48062 for i in ${D}inputFiles ; do
48065 rm -rf \`basnam ${D}i !\`
48072 # Kill result in case of failure as there is just to many stupid make/nmake
48073 # things out there which doesn't do this.
48074 if [ ${D}# -eq 0 ]; then
48075 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48079 # Print usage and exit script with rc=1.
48081 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48082 echo ' [-name-mangler-script script.sh]'
48083 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48084 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48085 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48086 echo ' [*.o] [*.a]'
48087 echo '*> "output_file" should have no extension.'
48088 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48089 echo ' The import library name is derived from this and is set to "name".a,'
48090 echo ' unless overridden by -import'
48091 echo '*> "importlib_name" should have no extension.'
48092 echo ' If it has the .o, or .a extension, it is automatically removed.'
48093 echo ' This name is used as the import library name and may be longer and'
48094 echo ' more descriptive than the DLL name which has to follow the old '
48095 echo ' 8.3 convention of FAT.'
48096 echo '*> "script.sh may be given to override the output_file name by a'
48097 echo ' different name. It is mainly useful if the regular make process'
48098 echo ' of some package does not take into account OS/2 restriction of'
48099 echo ' DLL name lengths. It takes the importlib name as input and is'
48100 echo ' supposed to procude a shorter name as output. The script should'
48101 echo ' expect to get importlib_name without extension and should produce'
48102 echo ' a (max.) 8 letter name without extension.'
48103 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48104 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48105 echo ' These flags will be put at the start of GCC command line.'
48106 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48107 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48108 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48109 echo ' If the last character of a symbol is "*", all symbols beginning'
48110 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48111 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48112 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48113 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48114 echo ' C runtime DLLs.'
48115 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48116 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48117 echo ' unchanged to GCC at the end of command line.'
48118 echo '*> If you create a DLL from a library and you do not specify -o,'
48119 echo ' the basename for DLL and import library will be set to library name,'
48120 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48121 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48122 echo ' library will be renamed into gcc_s.a.'
48125 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48126 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48131 # Execute a command.
48132 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48133 # @Uses Whatever CleanUp() uses.
48139 if [ ${D}rcCmd -ne 0 ]; then
48140 echo "command failed, exit code="${D}rcCmd
48155 CFLAGS="-s -Zcrtdll"
48157 EXPORT_BY_ORDINALS=0
48162 case ${D}curDirS in
48166 curDirS=${D}{curDirS}"/"
48169 # Parse commandline
48172 while [ ${D}1 ]; do
48175 EXPORT_BY_ORDINALS=1;
48185 -name-mangler-script)
48206 exclude_symbols=${D}{exclude_symbols}${D}1" "
48210 library_flags=${D}{library_flags}${D}1" "
48229 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48232 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48233 if [ ${D}omfLinking -eq 1 ]; then
48234 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48236 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48241 if [ ${D}libsToLink -ne 0 ]; then
48242 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48244 for file in ${D}1 ; do
48245 if [ -f ${D}file ]; then
48246 inputFiles="${D}{inputFiles} ${D}file"
48250 if [ ${D}found -eq 0 ]; then
48251 echo "ERROR: No file(s) found: "${D}1
48258 done # iterate cmdline words
48261 if [ -z "${D}inputFiles" ]; then
48262 echo "dllar: no input files"
48266 # Now extract all .o files from .a files
48268 for file in ${D}inputFiles ; do
48279 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48284 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48286 if [ ${D}? -ne 0 ]; then
48287 echo "Failed to create subdirectory ./${D}dirname"
48291 # Append '!' to indicate archive
48292 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48293 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48296 for subfile in ${D}dirname/*.o* ; do
48297 if [ -f ${D}subfile ]; then
48299 if [ -s ${D}subfile ]; then
48300 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48301 newInputFiles="${D}newInputFiles ${D}subfile"
48305 if [ ${D}found -eq 0 ]; then
48306 echo "WARNING: there are no files in archive \\'${D}file\\'"
48310 newInputFiles="${D}{newInputFiles} ${D}file"
48314 inputFiles="${D}newInputFiles"
48316 # Output filename(s).
48318 if [ -z ${D}outFile ]; then
48320 set outFile ${D}inputFiles; outFile=${D}2
48323 # If it is an archive, remove the '!' and the '_%' suffixes
48324 case ${D}outFile in
48326 outFile=\`basnam ${D}outFile _%!\`
48331 case ${D}outFile in
48333 outFile=\`basnam ${D}outFile .dll\`
48336 outFile=\`basnam ${D}outFile .DLL\`
48339 outFile=\`basnam ${D}outFile .o\`
48342 outFile=\`basnam ${D}outFile .obj\`
48345 outFile=\`basnam ${D}outFile .a\`
48348 outFile=\`basnam ${D}outFile .lib\`
48353 case ${D}outimpFile in
48355 outimpFile=\`basnam ${D}outimpFile .a\`
48358 outimpFile=\`basnam ${D}outimpFile .lib\`
48363 if [ -z ${D}outimpFile ]; then
48364 outimpFile=${D}outFile
48366 defFile="${D}{outFile}.def"
48367 arcFile="${D}{outimpFile}.a"
48368 arcFile2="${D}{outimpFile}.lib"
48370 #create ${D}dllFile as something matching 8.3 restrictions,
48371 if [ -z ${D}renameScript ] ; then
48372 dllFile="${D}outFile"
48374 dllFile=\`${D}renameScript ${D}outimpFile\`
48377 if [ ${D}do_backup -ne 0 ] ; then
48378 if [ -f ${D}arcFile ] ; then
48379 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48381 if [ -f ${D}arcFile2 ] ; then
48382 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48386 # Extract public symbols from all the object files.
48387 tmpdefFile=${D}{defFile}_%
48388 rm -f ${D}tmpdefFile
48389 for file in ${D}inputFiles ; do
48394 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48399 # Create the def file.
48401 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48402 dllFile="${D}{dllFile}.dll"
48403 if [ ! -z ${D}description ]; then
48404 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48406 echo "EXPORTS" >> ${D}defFile
48408 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48409 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48411 # Checks if the export is ok or not.
48412 for word in ${D}exclude_symbols; do
48413 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48414 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48418 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48419 sed "=" < ${D}tmpdefFile | \\
48423 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48425 ' > ${D}{tmpdefFile}%
48426 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48428 rm -f ${D}{tmpdefFile}%
48430 cat ${D}tmpdefFile >> ${D}defFile
48431 rm -f ${D}tmpdefFile
48433 # Do linking, create implib, and apply lxlite.
48435 for file in ${D}inputFiles ; do
48440 gccCmdl="${D}gccCmdl ${D}file"
48444 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48445 touch "${D}{outFile}.dll"
48447 doCommand "emximp -o ${D}arcFile ${D}defFile"
48448 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48450 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48453 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48455 doCommand "emxomf -s -l ${D}arcFile"
48465 powerpc
-apple-macos* | \
48466 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48477 if test "x$PIC_FLAG" != "x" ; then
48478 PIC_FLAG
="$PIC_FLAG -DPIC"
48481 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48482 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48484 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48485 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48504 case "${BAKEFILE_HOST}" in
48505 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48506 SONAME_FLAG
="-Wl,-soname,"
48540 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48541 if test "${enable_dependency_tracking+set}" = set; then
48542 enableval
="$enable_dependency_tracking"
48543 bk_use_trackdeps
="$enableval"
48546 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48547 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48549 if test "x$bk_use_trackdeps" = "xno" ; then
48551 echo "$as_me:$LINENO: result: disabled" >&5
48552 echo "${ECHO_T}disabled" >&6
48556 if test "x$GCC" = "xyes"; then
48558 case "${BAKEFILE_HOST}" in
48560 DEPSFLAG
="-no-cpp-precomp -MMD"
48566 echo "$as_me:$LINENO: result: gcc" >&5
48567 echo "${ECHO_T}gcc" >&6
48568 elif test "x$MWCC" = "xyes"; then
48571 echo "$as_me:$LINENO: result: mwcc" >&5
48572 echo "${ECHO_T}mwcc" >&6
48573 elif test "x$SUNCC" = "xyes"; then
48576 echo "$as_me:$LINENO: result: Sun cc" >&5
48577 echo "${ECHO_T}Sun cc" >&6
48578 elif test "x$SGICC" = "xyes"; then
48581 echo "$as_me:$LINENO: result: SGI cc" >&5
48582 echo "${ECHO_T}SGI cc" >&6
48583 elif test "x$HPCC" = "xyes"; then
48586 echo "$as_me:$LINENO: result: HP cc" >&5
48587 echo "${ECHO_T}HP cc" >&6
48588 elif test "x$COMPAQCC" = "xyes"; then
48591 echo "$as_me:$LINENO: result: Compaq cc" >&5
48592 echo "${ECHO_T}Compaq cc" >&6
48595 echo "$as_me:$LINENO: result: none" >&5
48596 echo "${ECHO_T}none" >&6
48599 if test $DEPS_TRACKING = 1 ; then
48605 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48606 # script. It is used to track C/C++ files dependencies in portable way.
48608 # Permission is given to use this file in any way.
48610 DEPSMODE=${DEPSMODE}
48612 DEPSFLAG="${DEPSFLAG}"
48614 mkdir -p ${D}DEPSDIR
48616 if test ${D}DEPSMODE = gcc ; then
48617 ${D}* ${D}{DEPSFLAG}
48619 if test ${D}{status} != 0 ; then
48622 # move created file to the location we want it in:
48623 while test ${D}# -gt 0; do
48637 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48638 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48639 if test -f ${D}depfile ; then
48640 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48643 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48644 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48645 if test ! -f ${D}depfile ; then
48646 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48647 depfile="${D}objfile.d"
48649 if test -f ${D}depfile ; then
48650 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48655 elif test ${D}DEPSMODE = mwcc ; then
48656 ${D}* || exit ${D}?
48657 # Run mwcc again with -MM and redirect into the dep file we want
48658 # NOTE: We can't use shift here because we need ${D}* to be valid
48660 for arg in ${D}* ; do
48661 if test "${D}prevarg" = "-o"; then
48674 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48676 elif test ${D}DEPSMODE = unixcc; then
48677 ${D}* || exit ${D}?
48678 # Run compiler again with deps flag and redirect into the dep file.
48679 # It doesn't work if the '-o FILE' option is used, but without it the
48680 # dependency file will contain the wrong name for the object. So it is
48681 # removed from the command line, and the dep file is fixed with sed.
48683 while test ${D}# -gt 0; do
48690 eval arg${D}#=\\${D}1
48691 cmd="${D}cmd \\${D}arg${D}#"
48696 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48711 case ${BAKEFILE_HOST} in
48712 *-*-cygwin* | *-*-mingw32* )
48713 if test -n "$ac_tool_prefix"; then
48714 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48715 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48716 echo "$as_me:$LINENO: checking for $ac_word" >&5
48717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48718 if test "${ac_cv_prog_WINDRES+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48721 if test -n "$WINDRES"; then
48722 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48725 for as_dir
in $PATH
48728 test -z "$as_dir" && as_dir
=.
48729 for ac_exec_ext
in '' $ac_executable_extensions; do
48730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48731 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48740 WINDRES
=$ac_cv_prog_WINDRES
48741 if test -n "$WINDRES"; then
48742 echo "$as_me:$LINENO: result: $WINDRES" >&5
48743 echo "${ECHO_T}$WINDRES" >&6
48745 echo "$as_me:$LINENO: result: no" >&5
48746 echo "${ECHO_T}no" >&6
48750 if test -z "$ac_cv_prog_WINDRES"; then
48751 ac_ct_WINDRES
=$WINDRES
48752 # Extract the first word of "windres", so it can be a program name with args.
48753 set dummy windres
; ac_word
=$2
48754 echo "$as_me:$LINENO: checking for $ac_word" >&5
48755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48756 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48757 echo $ECHO_N "(cached) $ECHO_C" >&6
48759 if test -n "$ac_ct_WINDRES"; then
48760 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48763 for as_dir
in $PATH
48766 test -z "$as_dir" && as_dir
=.
48767 for ac_exec_ext
in '' $ac_executable_extensions; do
48768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48769 ac_cv_prog_ac_ct_WINDRES
="windres"
48770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48778 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48779 if test -n "$ac_ct_WINDRES"; then
48780 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48781 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48783 echo "$as_me:$LINENO: result: no" >&5
48784 echo "${ECHO_T}no" >&6
48787 WINDRES
=$ac_ct_WINDRES
48789 WINDRES
="$ac_cv_prog_WINDRES"
48794 *-*-darwin* | powerpc
-apple-macos* )
48795 # Extract the first word of "Rez", so it can be a program name with args.
48796 set dummy Rez
; ac_word
=$2
48797 echo "$as_me:$LINENO: checking for $ac_word" >&5
48798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48799 if test "${ac_cv_prog_REZ+set}" = set; then
48800 echo $ECHO_N "(cached) $ECHO_C" >&6
48802 if test -n "$REZ"; then
48803 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48806 for as_dir
in $PATH
48809 test -z "$as_dir" && as_dir
=.
48810 for ac_exec_ext
in '' $ac_executable_extensions; do
48811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48812 ac_cv_prog_REZ
="Rez"
48813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48819 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48822 REZ
=$ac_cv_prog_REZ
48823 if test -n "$REZ"; then
48824 echo "$as_me:$LINENO: result: $REZ" >&5
48825 echo "${ECHO_T}$REZ" >&6
48827 echo "$as_me:$LINENO: result: no" >&5
48828 echo "${ECHO_T}no" >&6
48831 # Extract the first word of "SetFile", so it can be a program name with args.
48832 set dummy SetFile
; ac_word
=$2
48833 echo "$as_me:$LINENO: checking for $ac_word" >&5
48834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48835 if test "${ac_cv_prog_SETFILE+set}" = set; then
48836 echo $ECHO_N "(cached) $ECHO_C" >&6
48838 if test -n "$SETFILE"; then
48839 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48842 for as_dir
in $PATH
48845 test -z "$as_dir" && as_dir
=.
48846 for ac_exec_ext
in '' $ac_executable_extensions; do
48847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48848 ac_cv_prog_SETFILE
="SetFile"
48849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48855 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48858 SETFILE
=$ac_cv_prog_SETFILE
48859 if test -n "$SETFILE"; then
48860 echo "$as_me:$LINENO: result: $SETFILE" >&5
48861 echo "${ECHO_T}$SETFILE" >&6
48863 echo "$as_me:$LINENO: result: no" >&5
48864 echo "${ECHO_T}no" >&6
48875 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48878 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48882 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48883 if test "${enable_precomp_headers+set}" = set; then
48884 enableval
="$enable_precomp_headers"
48885 bk_use_pch
="$enableval"
48892 case ${BAKEFILE_HOST} in
48898 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48899 if test "x$GCC" = "xyes"; then
48900 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48901 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48902 cat >conftest.
$ac_ext <<_ACEOF
48905 cat confdefs.h
>>conftest.
$ac_ext
48906 cat >>conftest.
$ac_ext <<_ACEOF
48907 /* end confdefs.h. */
48913 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48914 There is no PCH support
48917 There is no PCH support
48919 #if (__GNUC__ == 3) && \
48920 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48921 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48922 ( defined(__INTEL_COMPILER) )
48923 There is no PCH support
48930 rm -f conftest.
$ac_objext
48931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48932 (eval $ac_compile) 2>conftest.er1
48934 grep -v '^ *+' conftest.er1
>conftest.err
48936 cat conftest.err
>&5
48937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48938 (exit $ac_status); } &&
48939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48941 (eval $ac_try) 2>&5
48943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48944 (exit $ac_status); }; } &&
48945 { ac_try
='test -s conftest.$ac_objext'
48946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48947 (eval $ac_try) 2>&5
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); }; }; then
48952 echo "$as_me:$LINENO: result: yes" >&5
48953 echo "${ECHO_T}yes" >&6
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.
$ac_ext >&5
48961 cat >conftest.
$ac_ext <<_ACEOF
48964 cat confdefs.h
>>conftest.
$ac_ext
48965 cat >>conftest.
$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48972 #if !defined(__INTEL_COMPILER) || \
48973 (__INTEL_COMPILER < 800)
48974 There is no PCH support
48981 rm -f conftest.
$ac_objext
48982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48983 (eval $ac_compile) 2>conftest.er1
48985 grep -v '^ *+' conftest.er1
>conftest.err
48987 cat conftest.err
>&5
48988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989 (exit $ac_status); } &&
48990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48992 (eval $ac_try) 2>&5
48994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995 (exit $ac_status); }; } &&
48996 { ac_try
='test -s conftest.$ac_objext'
48997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998 (eval $ac_try) 2>&5
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); }; }; then
49003 echo "$as_me:$LINENO: result: yes" >&5
49004 echo "${ECHO_T}yes" >&6
49008 echo "$as_me: failed program was:" >&5
49009 sed 's/^/| /' conftest.
$ac_ext >&5
49012 echo "$as_me:$LINENO: result: no" >&5
49013 echo "${ECHO_T}no" >&6
49016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49020 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49024 cat <<EOF >bk-make-pch
49027 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49028 # script. It is used to generated precompiled headers.
49030 # Permission is given to use this file in any way.
49040 while test ${D}{#} -gt 0; do
49044 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49045 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49046 headerfile="${D}{incdir}/${D}{header}"
49049 -use-pch|-use_pch )
49054 if test ${D}add_to_cmdline = 1 ; then
49055 compiler="${D}{compiler} ${D}{1}"
49060 if test "x${D}{headerfile}" = "x" ; then
49061 echo "error: can't find header ${D}{header} in include paths" >&2
49063 if test -f ${D}{outfile} ; then
49064 rm -f ${D}{outfile}
49066 mkdir -p \`dirname ${D}{outfile}\`
49068 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49070 if test "x${GCC_PCH}" = "x1" ; then
49071 # can do this because gcc is >= 3.4:
49072 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49073 elif test "x${ICC_PCH}" = "x1" ; then
49074 filename=pch_gen-${D}${D}
49075 file=${D}{filename}.c
49076 dfile=${D}{filename}.d
49077 cat > ${D}file <<EOT
49078 #include "${D}header"
49080 # using -MF icc complains about differing command lines in creation/use
49081 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49082 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49083 rm -f ${D}file ${D}dfile ${D}{filename}.o
49089 chmod +x bk
-make-pch
49097 COND_BUILD_DEBUG
="#"
49098 if test "x$BUILD" = "xdebug" ; then
49099 COND_BUILD_DEBUG
=""
49102 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49103 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49104 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49107 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49108 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49109 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49112 COND_BUILD_DEBUG_UNICODE_0
="#"
49113 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49114 COND_BUILD_DEBUG_UNICODE_0
=""
49117 COND_BUILD_DEBUG_UNICODE_1
="#"
49118 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49119 COND_BUILD_DEBUG_UNICODE_1
=""
49122 COND_BUILD_RELEASE
="#"
49123 if test "x$BUILD" = "xrelease" ; then
49124 COND_BUILD_RELEASE
=""
49127 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49128 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49132 COND_BUILD_RELEASE_UNICODE_0
="#"
49133 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49134 COND_BUILD_RELEASE_UNICODE_0
=""
49137 COND_BUILD_RELEASE_UNICODE_1
="#"
49138 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49139 COND_BUILD_RELEASE_UNICODE_1
=""
49142 COND_DEBUG_FLAG_1
="#"
49143 if test "x$DEBUG_FLAG" = "x1" ; then
49144 COND_DEBUG_FLAG_1
=""
49147 COND_DEBUG_INFO_0
="#"
49148 if test "x$DEBUG_INFO" = "x0" ; then
49149 COND_DEBUG_INFO_0
=""
49152 COND_DEBUG_INFO_1
="#"
49153 if test "x$DEBUG_INFO" = "x1" ; then
49154 COND_DEBUG_INFO_1
=""
49157 COND_DEPS_TRACKING_0
="#"
49158 if test "x$DEPS_TRACKING" = "x0" ; then
49159 COND_DEPS_TRACKING_0
=""
49162 COND_DEPS_TRACKING_1
="#"
49163 if test "x$DEPS_TRACKING" = "x1" ; then
49164 COND_DEPS_TRACKING_1
=""
49168 if test "x$GCC_PCH" = "x1" ; then
49173 if test "x$ICC_PCH" = "x1" ; then
49177 COND_MONOLITHIC_0
="#"
49178 if test "x$MONOLITHIC" = "x0" ; then
49179 COND_MONOLITHIC_0
=""
49182 COND_MONOLITHIC_0_SHARED_0
="#"
49183 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49184 COND_MONOLITHIC_0_SHARED_0
=""
49187 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49188 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49189 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49193 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49194 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49197 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49199 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49217 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49219 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49222 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49224 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49227 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49229 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49232 COND_MONOLITHIC_0_SHARED_1
="#"
49233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49234 COND_MONOLITHIC_0_SHARED_1
=""
49237 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49239 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49242 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49244 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49247 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49249 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49254 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49259 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49267 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49269 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49272 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49274 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49277 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49279 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49282 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49283 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49284 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49287 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49288 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49289 COND_MONOLITHIC_0_USE_ODBC_1
=""
49292 COND_MONOLITHIC_1
="#"
49293 if test "x$MONOLITHIC" = "x1" ; then
49294 COND_MONOLITHIC_1
=""
49297 COND_MONOLITHIC_1_SHARED_0
="#"
49298 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49299 COND_MONOLITHIC_1_SHARED_0
=""
49302 COND_MONOLITHIC_1_SHARED_1
="#"
49303 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49304 COND_MONOLITHIC_1_SHARED_1
=""
49307 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49308 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49309 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49312 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49313 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49314 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49317 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49318 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49319 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49322 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49323 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49324 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49327 COND_PLATFORM_MACOSX_1
="#"
49328 if test "x$PLATFORM_MACOSX" = "x1" ; then
49329 COND_PLATFORM_MACOSX_1
=""
49332 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49333 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49334 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49337 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49338 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49342 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49343 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49344 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49347 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49348 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49349 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49352 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49353 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49354 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49357 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49358 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49359 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49362 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49363 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49364 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49367 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49368 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49369 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49372 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49373 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49374 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49377 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49378 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49379 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49382 COND_PLATFORM_MACOS_1
="#"
49383 if test "x$PLATFORM_MACOS" = "x1" ; then
49384 COND_PLATFORM_MACOS_1
=""
49387 COND_PLATFORM_MAC_1
="#"
49388 if test "x$PLATFORM_MAC" = "x1" ; then
49389 COND_PLATFORM_MAC_1
=""
49392 COND_PLATFORM_MSDOS_0
="#"
49393 if test "x$PLATFORM_MSDOS" = "x0" ; then
49394 COND_PLATFORM_MSDOS_0
=""
49397 COND_PLATFORM_MSDOS_1
="#"
49398 if test "x$PLATFORM_MSDOS" = "x1" ; then
49399 COND_PLATFORM_MSDOS_1
=""
49402 COND_PLATFORM_OS2_1
="#"
49403 if test "x$PLATFORM_OS2" = "x1" ; then
49404 COND_PLATFORM_OS2_1
=""
49407 COND_PLATFORM_UNIX_0
="#"
49408 if test "x$PLATFORM_UNIX" = "x0" ; then
49409 COND_PLATFORM_UNIX_0
=""
49412 COND_PLATFORM_UNIX_1
="#"
49413 if test "x$PLATFORM_UNIX" = "x1" ; then
49414 COND_PLATFORM_UNIX_1
=""
49417 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49418 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49419 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49423 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49424 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49427 COND_PLATFORM_WIN32_0
="#"
49428 if test "x$PLATFORM_WIN32" = "x0" ; then
49429 COND_PLATFORM_WIN32_0
=""
49432 COND_PLATFORM_WIN32_1
="#"
49433 if test "x$PLATFORM_WIN32" = "x1" ; then
49434 COND_PLATFORM_WIN32_1
=""
49438 if test "x$SHARED" = "x0" ; then
49442 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49443 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49444 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49447 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49448 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49449 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49452 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49453 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49454 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49457 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49458 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49459 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49462 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49463 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49464 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49467 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49468 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49469 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49472 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49473 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49474 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49477 COND_SHARED_0_USE_XRC_1
="#"
49478 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49479 COND_SHARED_0_USE_XRC_1
=""
49482 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49483 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49484 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49487 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49488 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49489 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49492 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49493 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49494 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49497 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49498 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49499 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49503 if test "x$SHARED" = "x1" ; then
49507 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49508 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49509 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49512 COND_SHARED_1_USE_XRC_1
="#"
49513 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49514 COND_SHARED_1_USE_XRC_1
=""
49518 if test "x$TOOLKIT" = "x" ; then
49522 COND_TOOLKIT_COCOA
="#"
49523 if test "x$TOOLKIT" = "xCOCOA" ; then
49524 COND_TOOLKIT_COCOA
=""
49527 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49528 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49529 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49532 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49533 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49534 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49537 COND_TOOLKIT_DFB
="#"
49538 if test "x$TOOLKIT" = "xDFB" ; then
49539 COND_TOOLKIT_DFB
=""
49542 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49543 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49544 COND_TOOLKIT_DFB_USE_GUI_1
=""
49547 COND_TOOLKIT_GTK
="#"
49548 if test "x$TOOLKIT" = "xGTK" ; then
49549 COND_TOOLKIT_GTK
=""
49552 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49553 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49554 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49557 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49558 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49559 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49562 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49563 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49564 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49567 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49568 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49569 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49572 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49573 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49574 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49577 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49578 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49579 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49582 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49583 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49584 COND_TOOLKIT_GTK_USE_GUI_1
=""
49587 COND_TOOLKIT_MAC
="#"
49588 if test "x$TOOLKIT" = "xMAC" ; then
49589 COND_TOOLKIT_MAC
=""
49592 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49593 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49594 COND_TOOLKIT_MAC_USE_GUI_1
=""
49597 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49598 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49599 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49602 COND_TOOLKIT_MGL
="#"
49603 if test "x$TOOLKIT" = "xMGL" ; then
49604 COND_TOOLKIT_MGL
=""
49607 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49608 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49609 COND_TOOLKIT_MGL_USE_GUI_1
=""
49612 COND_TOOLKIT_MOTIF
="#"
49613 if test "x$TOOLKIT" = "xMOTIF" ; then
49614 COND_TOOLKIT_MOTIF
=""
49617 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49618 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49619 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49622 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49623 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49624 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49627 COND_TOOLKIT_MSW
="#"
49628 if test "x$TOOLKIT" = "xMSW" ; then
49629 COND_TOOLKIT_MSW
=""
49632 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49633 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49634 COND_TOOLKIT_MSW_USE_GUI_1
=""
49637 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49638 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49639 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49642 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49643 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49644 COND_TOOLKIT_MSW_WXUNIV_0
=""
49647 COND_TOOLKIT_PM
="#"
49648 if test "x$TOOLKIT" = "xPM" ; then
49652 COND_TOOLKIT_PM_USE_GUI_1
="#"
49653 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49654 COND_TOOLKIT_PM_USE_GUI_1
=""
49657 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49658 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49659 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49662 COND_TOOLKIT_WINCE
="#"
49663 if test "x$TOOLKIT" = "xWINCE" ; then
49664 COND_TOOLKIT_WINCE
=""
49667 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49668 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49669 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49672 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49673 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49674 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49677 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49678 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49679 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49682 COND_TOOLKIT_X11
="#"
49683 if test "x$TOOLKIT" = "xX11" ; then
49684 COND_TOOLKIT_X11
=""
49687 COND_TOOLKIT_X11_USE_GUI_1
="#"
49688 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49689 COND_TOOLKIT_X11_USE_GUI_1
=""
49693 if test "x$UNICODE" = "x1" ; then
49697 COND_USE_EXCEPTIONS_0
="#"
49698 if test "x$USE_EXCEPTIONS" = "x0" ; then
49699 COND_USE_EXCEPTIONS_0
=""
49702 COND_USE_EXCEPTIONS_1
="#"
49703 if test "x$USE_EXCEPTIONS" = "x1" ; then
49704 COND_USE_EXCEPTIONS_1
=""
49708 if test "x$USE_GUI" = "x0" ; then
49713 if test "x$USE_GUI" = "x1" ; then
49717 COND_USE_GUI_1_WXUNIV_0
="#"
49718 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49719 COND_USE_GUI_1_WXUNIV_0
=""
49722 COND_USE_GUI_1_WXUNIV_1
="#"
49723 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49724 COND_USE_GUI_1_WXUNIV_1
=""
49727 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49728 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49729 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49732 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49733 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49734 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49737 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49738 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49739 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49742 COND_USE_ODBC_1
="#"
49743 if test "x$USE_ODBC" = "x1" ; then
49747 COND_USE_OPENGL_1
="#"
49748 if test "x$USE_OPENGL" = "x1" ; then
49749 COND_USE_OPENGL_1
=""
49753 if test "x$USE_PCH" = "x1" ; then
49757 COND_USE_PLUGINS_0
="#"
49758 if test "x$USE_PLUGINS" = "x0" ; then
49759 COND_USE_PLUGINS_0
=""
49762 COND_USE_RTTI_0
="#"
49763 if test "x$USE_RTTI" = "x0" ; then
49767 COND_USE_RTTI_1
="#"
49768 if test "x$USE_RTTI" = "x1" ; then
49772 COND_USE_SOSYMLINKS_1
="#"
49773 if test "x$USE_SOSYMLINKS" = "x1" ; then
49774 COND_USE_SOSYMLINKS_1
=""
49777 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49778 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49779 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49782 COND_USE_SOVERLINUX_1
="#"
49783 if test "x$USE_SOVERLINUX" = "x1" ; then
49784 COND_USE_SOVERLINUX_1
=""
49787 COND_USE_SOVERSION_0
="#"
49788 if test "x$USE_SOVERSION" = "x0" ; then
49789 COND_USE_SOVERSION_0
=""
49792 COND_USE_SOVERSOLARIS_1
="#"
49793 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49794 COND_USE_SOVERSOLARIS_1
=""
49797 COND_USE_THREADS_0
="#"
49798 if test "x$USE_THREADS" = "x0" ; then
49799 COND_USE_THREADS_0
=""
49802 COND_USE_THREADS_1
="#"
49803 if test "x$USE_THREADS" = "x1" ; then
49804 COND_USE_THREADS_1
=""
49808 if test "x$USE_XRC" = "x1" ; then
49812 COND_WINDOWS_IMPLIB_1
="#"
49813 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49814 COND_WINDOWS_IMPLIB_1
=""
49817 COND_WITH_PLUGIN_SDL_1
="#"
49818 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49819 COND_WITH_PLUGIN_SDL_1
=""
49823 if test "x$WXUNIV" = "x0" ; then
49828 if test "x$WXUNIV" = "x1" ; then
49832 COND_WXUSE_EXPAT_BUILTIN
="#"
49833 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49834 COND_WXUSE_EXPAT_BUILTIN
=""
49837 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49838 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49839 COND_WXUSE_LIBJPEG_BUILTIN
=""
49842 COND_WXUSE_LIBPNG_BUILTIN
="#"
49843 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49844 COND_WXUSE_LIBPNG_BUILTIN
=""
49847 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49848 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49849 COND_WXUSE_LIBTIFF_BUILTIN
=""
49852 COND_WXUSE_ODBC_BUILTIN
="#"
49853 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49854 COND_WXUSE_ODBC_BUILTIN
=""
49857 COND_WXUSE_REGEX_BUILTIN
="#"
49858 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49859 COND_WXUSE_REGEX_BUILTIN
=""
49862 COND_WXUSE_ZLIB_BUILTIN
="#"
49863 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49864 COND_WXUSE_ZLIB_BUILTIN
=""
49869 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49870 { { 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
49871 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;}
49872 { (exit 1); exit 1; }; }
49875 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49876 { { 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
49877 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;}
49878 { (exit 1); exit 1; }; }
49883 if test "$wxUSE_MAC" = 1 ; then
49884 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49885 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49891 if test "$wxUSE_SHARED" = "yes"; then
49893 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49894 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49897 *-pc-os2_emx | *-pc-os2-emx )
49898 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49899 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49900 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49901 cp -p ${srcdir}/src
/os
2/dllar.sh .
49906 EXE_LINKER
="$CXX -o"
49909 if test "$wxUSE_OMF" = "yes"; then
49911 *-pc-os2_emx | *-pc-os2-emx )
49912 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49913 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49914 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49919 if test $GCC_PCH = 1 ; then
49920 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49923 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49925 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49987 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49988 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49989 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49990 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49991 echo $ECHO_N "(cached) $ECHO_C" >&6
49993 cat >conftest.
make <<\_ACEOF
49995 @
echo 'ac_maketemp="$(MAKE)"'
49997 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49998 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49999 if test -n "$ac_maketemp"; then
50000 eval ac_cv_prog_make_
${ac_make}_set
=yes
50002 eval ac_cv_prog_make_
${ac_make}_set
=no
50004 rm -f conftest.
make
50006 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50007 echo "$as_me:$LINENO: result: yes" >&5
50008 echo "${ECHO_T}yes" >&6
50011 echo "$as_me:$LINENO: result: no" >&5
50012 echo "${ECHO_T}no" >&6
50013 SET_MAKE
="MAKE=${MAKE-make}"
50018 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50021 if test "$USE_WIN32" = 1; then
50022 ac_config_commands
="$ac_config_commands
50028 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50031 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50034 ac_config_files
="$ac_config_files version-script Makefile"
50037 ac_config_commands
="$ac_config_commands wx-config"
50041 if test "$wxWITH_SUBDIRS" != "no"; then
50042 if test "$wxUSE_GUI" = "yes"; then
50043 SUBDIRS
="samples demos utils contrib"
50044 else SUBDIRS
="samples utils"
50049 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50050 if test "${with_cppunit_prefix+set}" = set; then
50051 withval
="$with_cppunit_prefix"
50052 cppunit_config_prefix
="$withval"
50054 cppunit_config_prefix
=""
50057 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50058 if test "${with_cppunit_exec_prefix+set}" = set; then
50059 withval
="$with_cppunit_exec_prefix"
50060 cppunit_config_exec_prefix
="$withval"
50062 cppunit_config_exec_prefix
=""
50065 if test x
$cppunit_config_exec_prefix != x
; then
50066 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50067 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50068 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50071 if test x
$cppunit_config_prefix != x
; then
50072 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50073 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50074 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50078 # Extract the first word of "cppunit-config", so it can be a program name with args.
50079 set dummy cppunit
-config; ac_word
=$2
50080 echo "$as_me:$LINENO: checking for $ac_word" >&5
50081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50082 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50083 echo $ECHO_N "(cached) $ECHO_C" >&6
50085 case $CPPUNIT_CONFIG in
50087 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50091 for as_dir
in $PATH
50094 test -z "$as_dir" && as_dir
=.
50095 for ac_exec_ext
in '' $ac_executable_extensions; do
50096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50097 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50104 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50108 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50110 if test -n "$CPPUNIT_CONFIG"; then
50111 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50112 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50114 echo "$as_me:$LINENO: result: no" >&5
50115 echo "${ECHO_T}no" >&6
50118 cppunit_version_min
=1.8.0
50120 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50121 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50123 if test "$CPPUNIT_CONFIG" = "no" ; then
50124 echo "$as_me:$LINENO: result: no" >&5
50125 echo "${ECHO_T}no" >&6
50128 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50129 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50130 cppunit_version
=`$CPPUNIT_CONFIG --version`
50132 cppunit_major_version
=`echo $cppunit_version | \
50133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50134 cppunit_minor_version
=`echo $cppunit_version | \
50135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50136 cppunit_micro_version
=`echo $cppunit_version | \
50137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50139 cppunit_major_min
=`echo $cppunit_version_min | \
50140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50141 cppunit_minor_min
=`echo $cppunit_version_min | \
50142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50143 cppunit_micro_min
=`echo $cppunit_version_min | \
50144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50146 cppunit_version_proper
=`expr \
50147 $cppunit_major_version \> $cppunit_major_min \| \
50148 $cppunit_major_version \= $cppunit_major_min \& \
50149 $cppunit_minor_version \> $cppunit_minor_min \| \
50150 $cppunit_major_version \= $cppunit_major_min \& \
50151 $cppunit_minor_version \= $cppunit_minor_min \& \
50152 $cppunit_micro_version \>= $cppunit_micro_min `
50154 if test "$cppunit_version_proper" = "1" ; then
50155 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50156 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50158 echo "$as_me:$LINENO: result: no" >&5
50159 echo "${ECHO_T}no" >&6
50164 if test "x$no_cppunit" = x
; then
50165 SUBDIRS
="$SUBDIRS tests"
50176 for subdir
in `echo $SUBDIRS`; do
50177 if test -d ${srcdir}/${subdir} ; then
50178 if test "$wxUSE_GUI" = "yes"; then
50179 if test ${subdir} = "samples"; then
50180 makefiles
="samples/Makefile.in $makefiles"
50181 for sample
in `echo $SAMPLES_SUBDIRS`; do
50182 if test -d $srcdir/samples
/$sample; then
50183 makefiles
="samples/$sample/Makefile.in $makefiles"
50187 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50188 eval "disabled=\$$disabled_var"
50189 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50190 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50192 else if test ${subdir} = "samples"; then
50193 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50194 elif test ${subdir} = "utils"; then
50196 for util
in HelpGen tex2rtf
; do
50197 if test -d $srcdir/utils
/$util ; then
50198 makefiles
="utils/$util/Makefile.in \
50199 utils/$util/src/Makefile.in \
50203 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50207 for mkin
in $makefiles ; do
50208 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50209 ac_config_files
="$ac_config_files $mk"
50215 cat >confcache
<<\_ACEOF
50216 # This file is a shell script that caches the results of configure
50217 # tests run on this system so they can be shared between configure
50218 # scripts and configure runs, see configure's option --config-cache.
50219 # It is not useful on other systems. If it contains results you don't
50220 # want to keep, you may remove or edit it.
50222 # config.status only pays attention to the cache file if you give it
50223 # the --recheck option to rerun configure.
50225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50227 # following values.
50231 # The following way of writing the cache mishandles newlines in values,
50232 # but we know of no workaround that is simple, portable, and efficient.
50233 # So, don't put newlines in cache variables' values.
50234 # Ultrix sh set writes to stderr and can't be redirected directly,
50235 # and sets the high bit in the cache file unless we assign to the vars.
50238 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50240 # `set' does not quote correctly, so add quotes (double-quote
50241 # substitution turns \\\\ into \\, and sed turns \\ into \).
50244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50247 # `set' quotes correctly as required by POSIX, so do not add quotes.
50249 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50258 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50260 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50261 if test -w $cache_file; then
50262 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50263 cat confcache
>$cache_file
50265 echo "not updating unwritable cache $cache_file"
50270 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50271 # Let make expand exec_prefix.
50272 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50274 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50275 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50276 # trailing colons and then remove the whole line if VPATH becomes empty
50277 # (actually we leave an empty line to preserve line numbers).
50278 if test "x$srcdir" = x.
; then
50279 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50280 s/:*\$(srcdir):*/:/;
50281 s/:*\${srcdir}:*/:/;
50283 s/^\([^=]*=[ ]*\):*/\1/;
50289 DEFS
=-DHAVE_CONFIG_H
50293 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50294 # 1. Remove the extension, and $U if already installed.
50295 ac_i
=`echo "$ac_i" |
50296 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50298 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50299 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50301 LIBOBJS
=$ac_libobjs
50303 LTLIBOBJS
=$ac_ltlibobjs
50307 : ${CONFIG_STATUS=./config.status}
50308 ac_clean_files_save
=$ac_clean_files
50309 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50310 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50311 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50312 cat >$CONFIG_STATUS <<_ACEOF
50314 # Generated by $as_me.
50315 # Run this file to recreate the current configuration.
50316 # Compiler output produced by configure, useful for debugging
50317 # configure, is in config.log if it exists.
50320 ac_cs_recheck=false
50322 SHELL=\${CONFIG_SHELL-$SHELL}
50325 cat >>$CONFIG_STATUS <<\_ACEOF
50326 ## --------------------- ##
50327 ## M4sh Initialization. ##
50328 ## --------------------- ##
50330 # Be Bourne compatible
50331 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50334 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50335 # is contrary to our usage. Disable this feature.
50336 alias -g '${1+"$@"}'='"$@"'
50337 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50340 DUALCASE
=1; export DUALCASE
# for MKS sh
50342 # Support unset when possible.
50343 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50350 # Work around bugs in pre-3.0 UWIN ksh.
50351 $as_unset ENV MAIL MAILPATH
50358 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50359 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50360 LC_TELEPHONE LC_TIME
50362 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50363 eval $as_var=C
; export $as_var
50369 # Required to use basename.
50370 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50376 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50377 as_basename
=basename
50383 # Name of the executable.
50384 as_me
=`$as_basename "$0" ||
50385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50386 X"$0" : 'X\(//\)$' \| \
50387 X"$0" : 'X\(/\)$' \| \
50388 . : '\(.\)' 2>/dev/null ||
50390 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50391 /^X\/\(\/\/\)$/{ s//\1/; q; }
50392 /^X\/\(\/\).*/{ s//\1/; q; }
50396 # PATH needs CR, and LINENO needs CR and PATH.
50397 # Avoid depending upon Character Ranges.
50398 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50399 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50400 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50401 as_cr_digits
='0123456789'
50402 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50404 # The user is always right.
50405 if test "${PATH_SEPARATOR+set}" != set; then
50406 echo "#! /bin/sh" >conf$$.sh
50407 echo "exit 0" >>conf$$.sh
50409 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50418 as_lineno_1
=$LINENO
50419 as_lineno_2
=$LINENO
50420 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50421 test "x$as_lineno_1" != "x$as_lineno_2" &&
50422 test "x$as_lineno_3" = "x$as_lineno_2" || {
50423 # Find who we are. Look in the path if we contain no path at all
50426 *[\\/]* ) as_myself
=$0 ;;
50427 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50428 for as_dir
in $PATH
50431 test -z "$as_dir" && as_dir
=.
50432 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50437 # We did not find ourselves, most probably we were run as `sh COMMAND'
50438 # in which case we are not to be found in the path.
50439 if test "x$as_myself" = x
; then
50442 if test ! -f "$as_myself"; then
50443 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50444 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50445 { (exit 1); exit 1; }; }
50447 case $CONFIG_SHELL in
50449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50450 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50453 test -z "$as_dir" && as_dir
=.
50454 for as_base
in sh bash ksh sh5
; do
50457 if ("$as_dir/$as_base" -c '
50458 as_lineno_1=$LINENO
50459 as_lineno_2=$LINENO
50460 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50461 test "x$as_lineno_1" != "x$as_lineno_2" &&
50462 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50463 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50464 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50465 CONFIG_SHELL
=$as_dir/$as_base
50466 export CONFIG_SHELL
50467 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50475 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50476 # uniformly replaced by the line number. The first 'sed' inserts a
50477 # line-number line before each line; the second 'sed' does the real
50478 # work. The second script uses 'N' to pair each line-number line
50479 # with the numbered line, and appends trailing '-' during
50480 # substitution so that $LINENO is not a special case at line end.
50481 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50482 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50483 sed '=' <$as_myself |
50488 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50491 s,^['$as_cr_digits']*\n,,
50492 ' >$as_me.lineno
&&
50493 chmod +x
$as_me.lineno
||
50494 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50495 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50496 { (exit 1); exit 1; }; }
50498 # Don't try to exec as it changes $[0], causing all sort of problems
50499 # (the dirname of $[0] is not the place where we might find the
50500 # original and so on. Autoconf is especially sensible to this).
50502 # Exit status is that of the last command.
50507 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50508 *c
*,-n*) ECHO_N
= ECHO_C
='
50510 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50511 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50514 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50520 rm -f conf$$ conf$$.exe conf$$.
file
50522 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50523 # We could just check for DJGPP; but this test a) works b) is more generic
50524 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50525 if test -f conf$$.exe
; then
50526 # Don't use ln at all; we don't have any links
50531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50536 rm -f conf$$ conf$$.exe conf$$.
file
50538 if mkdir -p .
2>/dev
/null
; then
50541 test -d .
/-p && rmdir .
/-p
50545 as_executable_p
="test -f"
50547 # Sed expression to map a string onto a valid CPP name.
50548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50550 # Sed expression to map a string onto a valid variable name.
50551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50555 # We need space, tab and new line, in precisely that order.
50565 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50566 # report actual input values of CONFIG_FILES etc. instead of their
50567 # values after options handling. Logging --version etc. is OK.
50571 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50572 ## Running $as_me. ##
50577 This file was extended by wxWidgets $as_me 2.7.1, which was
50578 generated by GNU Autoconf 2.59. Invocation command line was
50580 CONFIG_FILES = $CONFIG_FILES
50581 CONFIG_HEADERS = $CONFIG_HEADERS
50582 CONFIG_LINKS = $CONFIG_LINKS
50583 CONFIG_COMMANDS = $CONFIG_COMMANDS
50587 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50591 # Files that config.status was made for.
50592 if test -n "$ac_config_files"; then
50593 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50596 if test -n "$ac_config_headers"; then
50597 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50600 if test -n "$ac_config_links"; then
50601 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50604 if test -n "$ac_config_commands"; then
50605 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50608 cat >>$CONFIG_STATUS <<\_ACEOF
50611 \`$as_me' instantiates files from templates according to the
50612 current configuration.
50614 Usage: $0 [OPTIONS] [FILE]...
50616 -h, --help print this help, then exit
50617 -V, --version print version number, then exit
50618 -q, --quiet do not print progress messages
50619 -d, --debug don't remove temporary files
50620 --recheck update $as_me by reconfiguring in the same conditions
50621 --file=FILE[:TEMPLATE]
50622 instantiate the configuration file FILE
50623 --header=FILE[:TEMPLATE]
50624 instantiate the configuration header FILE
50626 Configuration files:
50629 Configuration headers:
50632 Configuration commands:
50635 Report bugs to <bug-autoconf@gnu.org>."
50638 cat >>$CONFIG_STATUS <<_ACEOF
50640 wxWidgets config.status 2.7.1
50641 configured by $0, generated by GNU Autoconf 2.59,
50642 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50644 Copyright (C) 2003 Free Software Foundation, Inc.
50645 This config.status script is free software; the Free Software Foundation
50646 gives unlimited permission to copy, distribute and modify it."
50651 cat >>$CONFIG_STATUS <<\_ACEOF
50652 # If no file are specified by the user, then we need to provide default
50653 # value. By we need to know if files were specified by the user.
50659 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50660 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50668 *) # This is not an option, so the user has probably given explicit
50671 ac_need_defaults
=false
;;
50675 # Handling of the options.
50677 cat >>$CONFIG_STATUS <<\_ACEOF
50678 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50680 --version | --vers* | -V )
50681 echo "$ac_cs_version"; exit 0 ;;
50683 # Conflict between --help and --header
50684 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50685 Try \`$0 --help' for more information." >&5
50686 echo "$as_me: error: ambiguous option: $1
50687 Try \`$0 --help' for more information." >&2;}
50688 { (exit 1); exit 1; }; };;
50689 --help | --hel | -h )
50690 echo "$ac_cs_usage"; exit 0 ;;
50691 --debug | --d* | -d )
50693 --file | --fil | --fi | --f )
50695 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50696 ac_need_defaults
=false
;;
50697 --header | --heade | --head | --hea )
50699 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50700 ac_need_defaults
=false
;;
50701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50702 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50705 # This is an error.
50706 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50707 Try \`$0 --help' for more information." >&5
50708 echo "$as_me: error: unrecognized option: $1
50709 Try \`$0 --help' for more information." >&2;}
50710 { (exit 1); exit 1; }; } ;;
50712 *) ac_config_targets
="$ac_config_targets $1" ;;
50718 ac_configure_extra_args
=
50720 if $ac_cs_silent; then
50722 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50726 cat >>$CONFIG_STATUS <<_ACEOF
50727 if \$ac_cs_recheck; then
50728 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50729 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50734 cat >>$CONFIG_STATUS <<_ACEOF
50736 # INIT-COMMANDS section.
50741 infile="$srcdir/include/wx/msw/genrcdefs.h"
50742 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50745 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50746 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50747 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50755 cat >>$CONFIG_STATUS <<\_ACEOF
50756 for ac_config_target
in $ac_config_targets
50758 case "$ac_config_target" in
50759 # Handling of arguments.
50760 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50761 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50762 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50763 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50764 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50765 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50766 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50767 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50768 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50769 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50770 { (exit 1); exit 1; }; };;
50774 # If the user did not use the arguments to specify the items to instantiate,
50775 # then the envvar interface is used. Set only those that are not.
50776 # We use the long form for the default assignment because of an extremely
50777 # bizarre bug on SunOS 4.1.3.
50778 if $ac_need_defaults; then
50779 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50780 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50781 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50784 # Have a temporary directory for convenience. Make it in the build tree
50785 # simply because there is no reason to put it here, and in addition,
50786 # creating and moving files from /tmp can sometimes cause problems.
50787 # Create a temporary directory, and hook for its removal unless debugging.
50790 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50791 trap '{ (exit 1); exit 1; }' 1 2 13 15
50794 # Create a (secure) tmp directory for tmp files.
50797 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50798 test -n "$tmp" && test -d "$tmp"
50801 tmp
=.
/confstat$$
-$RANDOM
50802 (umask 077 && mkdir $tmp)
50805 echo "$me: cannot create a temporary directory in ." >&2
50806 { (exit 1); exit 1; }
50811 cat >>$CONFIG_STATUS <<_ACEOF
50814 # CONFIG_FILES section.
50817 # No need to generate the scripts if there are no CONFIG_FILES.
50818 # This happens for instance when ./config.status config.h
50819 if test -n "\$CONFIG_FILES"; then
50820 # Protect against being on the right side of a sed subst in config.status.
50821 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50822 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50823 s,@SHELL@,$SHELL,;t t
50824 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50825 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50826 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50827 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50828 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50829 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50830 s,@exec_prefix@,$exec_prefix,;t t
50831 s,@prefix@,$prefix,;t t
50832 s,@program_transform_name@,$program_transform_name,;t t
50833 s,@bindir@,$bindir,;t t
50834 s,@sbindir@,$sbindir,;t t
50835 s,@libexecdir@,$libexecdir,;t t
50836 s,@datadir@,$datadir,;t t
50837 s,@sysconfdir@,$sysconfdir,;t t
50838 s,@sharedstatedir@,$sharedstatedir,;t t
50839 s,@localstatedir@,$localstatedir,;t t
50840 s,@libdir@,$libdir,;t t
50841 s,@includedir@,$includedir,;t t
50842 s,@oldincludedir@,$oldincludedir,;t t
50843 s,@infodir@,$infodir,;t t
50844 s,@mandir@,$mandir,;t t
50845 s,@build_alias@,$build_alias,;t t
50846 s,@host_alias@,$host_alias,;t t
50847 s,@target_alias@,$target_alias,;t t
50848 s,@DEFS@,$DEFS,;t t
50849 s,@ECHO_C@,$ECHO_C,;t t
50850 s,@ECHO_N@,$ECHO_N,;t t
50851 s,@ECHO_T@,$ECHO_T,;t t
50852 s,@LIBS@,$LIBS,;t t
50853 s,@build@,$build,;t t
50854 s,@build_cpu@,$build_cpu,;t t
50855 s,@build_vendor@,$build_vendor,;t t
50856 s,@build_os@,$build_os,;t t
50857 s,@host@,$host,;t t
50858 s,@host_cpu@,$host_cpu,;t t
50859 s,@host_vendor@,$host_vendor,;t t
50860 s,@host_os@,$host_os,;t t
50861 s,@target@,$target,;t t
50862 s,@target_cpu@,$target_cpu,;t t
50863 s,@target_vendor@,$target_vendor,;t t
50864 s,@target_os@,$target_os,;t t
50866 s,@CFLAGS@,$CFLAGS,;t t
50867 s,@LDFLAGS@,$LDFLAGS,;t t
50868 s,@CPPFLAGS@,$CPPFLAGS,;t t
50869 s,@ac_ct_CC@,$ac_ct_CC,;t t
50870 s,@EXEEXT@,$EXEEXT,;t t
50871 s,@OBJEXT@,$OBJEXT,;t t
50873 s,@EGREP@,$EGREP,;t t
50875 s,@CXXFLAGS@,$CXXFLAGS,;t t
50876 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50877 s,@RANLIB@,$RANLIB,;t t
50878 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50880 s,@ac_ct_AR@,$ac_ct_AR,;t t
50881 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50882 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50883 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50884 s,@STRIP@,$STRIP,;t t
50885 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50886 s,@WINDRES@,$WINDRES,;t t
50887 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50888 s,@DLLTOOL@,$DLLTOOL,;t t
50889 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50890 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50891 s,@LN_S@,$LN_S,;t t
50892 s,@CXXCPP@,$CXXCPP,;t t
50893 s,@subdirs@,$subdirs,;t t
50894 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50895 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50896 s,@GTK_LIBS@,$GTK_LIBS,;t t
50897 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50898 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50899 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50900 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50901 s,@X_CFLAGS@,$X_CFLAGS,;t t
50902 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50903 s,@X_LIBS@,$X_LIBS,;t t
50904 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50905 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50906 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50907 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50908 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50909 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50910 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50912 s,@DEREZ@,$DEREZ,;t t
50913 s,@SETFILE@,$SETFILE,;t t
50914 s,@LIBICONV@,$LIBICONV,;t t
50915 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50916 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50917 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50918 s,@SDL_LIBS@,$SDL_LIBS,;t t
50919 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50920 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50921 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50922 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50923 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50924 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50925 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50926 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50927 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50928 s,@GST_LIBS@,$GST_LIBS,;t t
50929 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50930 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50931 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50932 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50933 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50934 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50935 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50936 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50937 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50938 s,@VENDOR@,$VENDOR,;t t
50939 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50940 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50941 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50942 s,@WXUNIV@,$WXUNIV,;t t
50943 s,@MONOLITHIC@,$MONOLITHIC,;t t
50944 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50945 s,@EXTRALIBS@,$EXTRALIBS,;t t
50946 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50947 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50948 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50949 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50950 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50951 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50952 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50953 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50954 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50955 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50956 s,@UNICODE@,$UNICODE,;t t
50957 s,@BUILD@,$BUILD,;t t
50958 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50959 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50960 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50961 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50962 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50963 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50964 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50965 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50966 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50967 s,@SET_MAKE@,$SET_MAKE,;t t
50968 s,@MAKE_SET@,$MAKE_SET,;t t
50970 s,@ac_ct_NM@,$ac_ct_NM,;t t
50971 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50972 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50973 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50974 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50975 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50976 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50977 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50978 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50979 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50980 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50981 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50982 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50983 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50984 s,@LIBPREFIX@,$LIBPREFIX,;t t
50985 s,@LIBEXT@,$LIBEXT,;t t
50986 s,@DLLPREFIX@,$DLLPREFIX,;t t
50987 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50988 s,@dlldir@,$dlldir,;t t
50989 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50990 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50991 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50992 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50993 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50994 s,@PIC_FLAG@,$PIC_FLAG,;t t
50995 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50996 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50997 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50998 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50999 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51000 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51001 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51002 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51003 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51004 s,@GCC_PCH@,$GCC_PCH,;t t
51005 s,@ICC_PCH@,$ICC_PCH,;t t
51006 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51007 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51008 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51009 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51010 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51011 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51012 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51013 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51014 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51015 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51016 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51017 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51018 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51019 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51020 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51021 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51022 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51023 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51024 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51025 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51026 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
51027 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
51028 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
51029 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
51030 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51031 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51032 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51033 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51034 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51035 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51036 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
51037 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
51038 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
51039 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
51040 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51041 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51042 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51043 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51044 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51045 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51046 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51047 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51048 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51049 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51050 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51051 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51052 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51053 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51054 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51055 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51056 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51057 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51058 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
51059 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51060 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51061 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51062 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51063 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51064 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51065 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51066 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51067 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51068 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51069 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51070 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51071 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51072 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51073 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51074 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51075 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51076 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51077 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51078 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51079 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51080 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51081 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51082 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51083 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51084 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51085 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51086 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51087 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51088 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51089 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51090 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51091 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51092 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51093 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51094 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51095 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51096 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51097 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51098 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51099 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51100 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
51101 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51102 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51103 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51104 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51105 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51106 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51107 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51108 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51109 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51110 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51111 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51112 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51113 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51114 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51115 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51116 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51117 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51118 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51119 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51120 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51121 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51122 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51123 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51124 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51125 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51126 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51127 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51128 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51129 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51130 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51131 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51132 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51133 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51134 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51135 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51136 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51137 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51138 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51139 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51140 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51141 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51142 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51143 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51144 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51145 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51146 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51147 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51148 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51149 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51150 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51151 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51152 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51153 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51154 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51155 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51156 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51157 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51158 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51159 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51160 s,@SHARED@,$SHARED,;t t
51161 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51162 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51163 s,@USE_GUI@,$USE_GUI,;t t
51164 s,@AFMINSTALL@,$AFMINSTALL,;t t
51165 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51166 s,@TOOLKIT@,$TOOLKIT,;t t
51167 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51168 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51169 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51170 s,@cross_compiling@,$cross_compiling,;t t
51171 s,@WIDGET_SET@,$WIDGET_SET,;t t
51172 s,@WX_RELEASE@,$WX_RELEASE,;t t
51173 s,@WX_VERSION@,$WX_VERSION,;t t
51174 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51175 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51176 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51177 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51178 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51179 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51180 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51181 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51182 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51183 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51184 s,@EXE_LINKER@,$EXE_LINKER,;t t
51185 s,@GUIDIST@,$GUIDIST,;t t
51186 s,@DISTDIR@,$DISTDIR,;t t
51187 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51188 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51189 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51190 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51191 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51192 s,@RESCOMP@,$RESCOMP,;t t
51193 s,@RESFLAGS@,$RESFLAGS,;t t
51194 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51195 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51196 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51197 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51198 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51199 s,@MACSETFILE@,$MACSETFILE,;t t
51201 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51202 s,@LIBOBJS@,$LIBOBJS,;t t
51203 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51208 cat >>$CONFIG_STATUS <<\_ACEOF
51209 # Split the substitutions into bite-sized pieces for seds with
51210 # small command number limits, like on Digital OSF/1 and HP-UX.
51211 ac_max_sed_lines
=48
51212 ac_sed_frag
=1 # Number of current file.
51213 ac_beg
=1 # First line for current file.
51214 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51217 while $ac_more_lines; do
51218 if test $ac_beg -gt 1; then
51219 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51221 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51223 if test ! -s $tmp/subs.frag
; then
51224 ac_more_lines
=false
51226 # The purpose of the label and of the branching condition is to
51227 # speed up the sed processing (if there are no `@' at all, there
51228 # is no need to browse any of the substitutions).
51229 # These are the two extra sed commands mentioned above.
51231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51232 if test -z "$ac_sed_cmds"; then
51233 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51235 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51237 ac_sed_frag
=`expr $ac_sed_frag + 1`
51239 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51242 if test -z "$ac_sed_cmds"; then
51245 fi # test -n "$CONFIG_FILES"
51248 cat >>$CONFIG_STATUS <<\_ACEOF
51249 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51250 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51252 - | *:- | *:-:* ) # input from stdin
51254 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51255 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51256 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51257 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51258 * ) ac_file_in
=$ac_file.
in ;;
51261 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51262 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51264 X"$ac_file" : 'X\(//\)[^/]' \| \
51265 X"$ac_file" : 'X\(//\)$' \| \
51266 X"$ac_file" : 'X\(/\)' \| \
51267 . : '\(.\)' 2>/dev/null ||
51269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51271 /^X\(\/\/\)$/{ s//\1/; q; }
51272 /^X\(\/\).*/{ s//\1/; q; }
51274 { if $as_mkdir_p; then
51279 while test ! -d "$as_dir"; do
51280 as_dirs
="$as_dir $as_dirs"
51281 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51283 X"$as_dir" : 'X\(//\)[^/]' \| \
51284 X"$as_dir" : 'X\(//\)$' \| \
51285 X"$as_dir" : 'X\(/\)' \| \
51286 . : '\(.\)' 2>/dev/null ||
51288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51290 /^X\(\/\/\)$/{ s//\1/; q; }
51291 /^X\(\/\).*/{ s//\1/; q; }
51294 test ! -n "$as_dirs" || mkdir $as_dirs
51295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51297 { (exit 1); exit 1; }; }; }
51301 if test "$ac_dir" != .
; then
51302 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51303 # A "../" for each directory in $ac_dir_suffix.
51304 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51306 ac_dir_suffix
= ac_top_builddir
=
51310 .
) # No --srcdir option. We are building in place.
51312 if test -z "$ac_top_builddir"; then
51315 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51317 [\\/]* | ?
:[\\/]* ) # Absolute path.
51318 ac_srcdir
=$srcdir$ac_dir_suffix;
51319 ac_top_srcdir
=$srcdir ;;
51320 *) # Relative path.
51321 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51322 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51325 # Do not use `cd foo && pwd` to compute absolute paths, because
51326 # the directories may not exist.
51328 .
) ac_abs_builddir
="$ac_dir";;
51331 .
) ac_abs_builddir
=`pwd`;;
51332 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51333 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51336 case $ac_abs_builddir in
51337 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51339 case ${ac_top_builddir}.
in
51340 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51341 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51342 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51345 case $ac_abs_builddir in
51346 .
) ac_abs_srcdir
=$ac_srcdir;;
51349 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51350 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51351 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51354 case $ac_abs_builddir in
51355 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51357 case $ac_top_srcdir in
51358 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51359 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51360 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51366 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51367 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51370 # Let's still pretend it is `configure' which instantiates (i.e., don't
51371 # use $as_me), people would be surprised to read:
51372 # /* config.h. Generated by config.status. */
51373 if test x
"$ac_file" = x
-; then
51376 configure_input
="$ac_file. "
51378 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51379 sed 's,.*/,,'` by configure."
51381 # First look for the input files in the build tree, otherwise in the
51383 ac_file_inputs
=`IFS=:
51384 for f in $ac_file_in; do
51386 -) echo $tmp/stdin ;;
51388 # Absolute (can't be DOS-style, as IFS=:)
51389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51390 echo "$as_me: error: cannot find input file: $f" >&2;}
51391 { (exit 1); exit 1; }; }
51394 if test -f "$f"; then
51397 elif test -f "$srcdir/$f"; then
51402 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51403 echo "$as_me: error: cannot find input file: $f" >&2;}
51404 { (exit 1); exit 1; }; }
51407 done` || { (exit 1); exit 1; }
51409 if test x
"$ac_file" != x
-; then
51410 { echo "$as_me:$LINENO: creating $ac_file" >&5
51411 echo "$as_me: creating $ac_file" >&6;}
51415 cat >>$CONFIG_STATUS <<_ACEOF
51419 cat >>$CONFIG_STATUS <<\_ACEOF
51421 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51422 s
,@configure_input@
,$configure_input,;t t
51423 s
,@srcdir@
,$ac_srcdir,;t t
51424 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51425 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51426 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51427 s
,@builddir@
,$ac_builddir,;t t
51428 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51429 s
,@top_builddir@
,$ac_top_builddir,;t t
51430 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51431 s
,@INSTALL@
,$ac_INSTALL,;t t
51432 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51434 if test x"$ac_file" != x-; then
51435 mv $tmp/out $ac_file
51441 # Run the commands associated with the file.
51443 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51444 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51448 cat >>$CONFIG_STATUS <<\_ACEOF
51451 # CONFIG_HEADER section.
51454 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51455 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51457 # ac_d sets the value in "#define NAME VALUE" lines.
51458 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51459 ac_dB
='[ ].*$,\1#\2'
51462 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51463 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51464 ac_uB
='$,\1#\2define\3'
51468 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51469 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51471 - | *:- | *:-:* ) # input from stdin
51473 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51474 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51475 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51476 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51477 * ) ac_file_in
=$ac_file.
in ;;
51480 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51481 echo "$as_me: creating $ac_file" >&6;}
51483 # First look for the input files in the build tree, otherwise in the
51485 ac_file_inputs
=`IFS=:
51486 for f in $ac_file_in; do
51488 -) echo $tmp/stdin ;;
51490 # Absolute (can't be DOS-style, as IFS=:)
51491 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51492 echo "$as_me: error: cannot find input file: $f" >&2;}
51493 { (exit 1); exit 1; }; }
51494 # Do quote $f, to prevent DOS paths from being IFS'd.
51497 if test -f "$f"; then
51500 elif test -f "$srcdir/$f"; then
51505 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51506 echo "$as_me: error: cannot find input file: $f" >&2;}
51507 { (exit 1); exit 1; }; }
51510 done` || { (exit 1); exit 1; }
51511 # Remove the trailing spaces.
51512 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51516 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51517 # `conftest.undefs', that substitutes the proper values into
51518 # config.h.in to produce config.h. The first handles `#define'
51519 # templates, and the second `#undef' templates.
51520 # And first: Protect against being on the right side of a sed subst in
51521 # config.status. Protect against being in an unquoted here document
51522 # in config.status.
51523 rm -f conftest.defines conftest.undefs
51524 # Using a here document instead of a string reduces the quoting nightmare.
51525 # Putting comments in sed scripts is not portable.
51527 # `end' is used to avoid that the second main sed command (meant for
51528 # 0-ary CPP macros) applies to n-ary macro definitions.
51529 # See the Autoconf documentation for `clear'.
51530 cat >confdef2sed.
sed <<\_ACEOF
51535 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51537 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51540 # If some macros were called several times there might be several times
51541 # the same #defines, which is useless. Nevertheless, we may not want to
51542 # sort them, since we want the *last* AC-DEFINE to be honored.
51543 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51544 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51545 rm -f confdef2sed.sed
51547 # This sed command replaces #undef with comments. This is necessary, for
51548 # example, in the case of _POSIX_SOURCE, which is predefined and required
51549 # on some systems where configure will not decide to define it.
51550 cat >>conftest.undefs <<\_ACEOF
51551 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51554 # Break up conftest.defines because some shells have a limit on the size
51555 # of here documents, and old seds have small limits too (100 cmds).
51556 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51557 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51558 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51559 echo ' :' >>$CONFIG_STATUS
51560 rm -f conftest.tail
51561 while grep . conftest.defines >/dev/null
51563 # Write a limited-size here document to $tmp/defines.sed.
51564 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51565 # Speed up: don't consider the non `#define' lines.
51566 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51567 # Work around the forget-to-reset-the-flag bug.
51568 echo 't clr' >>$CONFIG_STATUS
51569 echo ': clr' >>$CONFIG_STATUS
51570 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51572 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51574 mv $tmp/out $tmp/in
51576 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51577 rm -f conftest.defines
51578 mv conftest.
tail conftest.defines
51580 rm -f conftest.defines
51581 echo ' fi # grep' >>$CONFIG_STATUS
51582 echo >>$CONFIG_STATUS
51584 # Break up conftest.undefs because some shells have a limit on the size
51585 # of here documents, and old seds have small limits too (100 cmds).
51586 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51587 rm -f conftest.
tail
51588 while grep . conftest.undefs
>/dev
/null
51590 # Write a limited-size here document to $tmp/undefs.sed.
51591 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51592 # Speed up: don't consider the non
`#undef'
51593 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51594 # Work around the forget-to-reset-the-flag bug.
51595 echo 't clr' >>$CONFIG_STATUS
51596 echo ': clr' >>$CONFIG_STATUS
51597 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51599 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51601 mv $tmp/out $tmp/in
51603 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51604 rm -f conftest.undefs
51605 mv conftest.tail conftest.undefs
51607 rm -f conftest.undefs
51609 cat >>$CONFIG_STATUS <<\_ACEOF
51610 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51611 # use $as_me), people would be surprised to read:
51612 # /* config.h. Generated by config.status. */
51613 if test x
"$ac_file" = x
-; then
51614 echo "/* Generated by configure. */" >$tmp/config.h
51616 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51618 cat $tmp/in >>$tmp/config.h
51620 if test x
"$ac_file" != x
-; then
51621 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51622 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51623 echo "$as_me: $ac_file is unchanged" >&6;}
51625 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51627 X"$ac_file" : 'X\(//\)[^/]' \| \
51628 X"$ac_file" : 'X\(//\)$' \| \
51629 X"$ac_file" : 'X\(/\)' \| \
51630 . : '\(.\)' 2>/dev/null ||
51632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51634 /^X\(\/\/\)$/{ s//\1/; q; }
51635 /^X\(\/\).*/{ s//\1/; q; }
51637 { if $as_mkdir_p; then
51642 while test ! -d "$as_dir"; do
51643 as_dirs
="$as_dir $as_dirs"
51644 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51646 X"$as_dir" : 'X\(//\)[^/]' \| \
51647 X"$as_dir" : 'X\(//\)$' \| \
51648 X"$as_dir" : 'X\(/\)' \| \
51649 . : '\(.\)' 2>/dev/null ||
51651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51653 /^X\(\/\/\)$/{ s//\1/; q; }
51654 /^X\(\/\).*/{ s//\1/; q; }
51657 test ! -n "$as_dirs" || mkdir $as_dirs
51658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51660 { (exit 1); exit 1; }; }; }
51663 mv $tmp/config.h
$ac_file
51667 rm -f $tmp/config.h
51671 cat >>$CONFIG_STATUS <<\_ACEOF
51674 # CONFIG_COMMANDS section.
51676 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51677 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51678 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51679 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51680 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51681 X"$ac_dest" : 'X\(//\)[^/]' \| \
51682 X"$ac_dest" : 'X\(//\)$' \| \
51683 X"$ac_dest" : 'X\(/\)' \| \
51684 . : '\(.\)' 2>/dev/null ||
51686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51688 /^X\(\/\/\)$/{ s//\1/; q; }
51689 /^X\(\/\).*/{ s//\1/; q; }
51691 { if $as_mkdir_p; then
51696 while test ! -d "$as_dir"; do
51697 as_dirs
="$as_dir $as_dirs"
51698 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51700 X"$as_dir" : 'X\(//\)[^/]' \| \
51701 X"$as_dir" : 'X\(//\)$' \| \
51702 X"$as_dir" : 'X\(/\)' \| \
51703 . : '\(.\)' 2>/dev/null ||
51705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51706 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51707 /^X\(\/\/\)$/{ s//\1/; q; }
51708 /^X\(\/\).*/{ s//\1/; q; }
51711 test ! -n "$as_dirs" || mkdir $as_dirs
51712 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51713 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51714 { (exit 1); exit 1; }; }; }
51718 if test "$ac_dir" != .
; then
51719 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51720 # A "../" for each directory in $ac_dir_suffix.
51721 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51723 ac_dir_suffix
= ac_top_builddir
=
51727 .
) # No --srcdir option. We are building in place.
51729 if test -z "$ac_top_builddir"; then
51732 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51734 [\\/]* | ?
:[\\/]* ) # Absolute path.
51735 ac_srcdir
=$srcdir$ac_dir_suffix;
51736 ac_top_srcdir
=$srcdir ;;
51737 *) # Relative path.
51738 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51739 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51742 # Do not use `cd foo && pwd` to compute absolute paths, because
51743 # the directories may not exist.
51745 .
) ac_abs_builddir
="$ac_dir";;
51748 .
) ac_abs_builddir
=`pwd`;;
51749 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51750 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51753 case $ac_abs_builddir in
51754 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51756 case ${ac_top_builddir}.
in
51757 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51758 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51759 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51762 case $ac_abs_builddir in
51763 .
) ac_abs_srcdir
=$ac_srcdir;;
51766 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51767 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51768 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51771 case $ac_abs_builddir in
51772 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51774 case $ac_top_srcdir in
51775 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51776 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51777 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51782 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51783 echo "$as_me: executing $ac_dest commands" >&6;}
51786 mkdir -p $outdir &&
51787 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51789 wx
-config ) rm -f wx
-config
51790 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51796 cat >>$CONFIG_STATUS <<\_ACEOF
51798 { (exit 0); exit 0; }
51800 chmod +x
$CONFIG_STATUS
51801 ac_clean_files
=$ac_clean_files_save
51804 # configure is writing to config.log, and then calls config.status.
51805 # config.status does its own redirection, appending to config.log.
51806 # Unfortunately, on DOS this fails, as config.log is still kept open
51807 # by configure, so config.status won't be able to write to it; its
51808 # output is simply discarded. So we exec the FD to /dev/null,
51809 # effectively closing config.log, so it can be properly (re)opened and
51810 # appended to by config.status. When coming back to configure, we
51811 # need to make the FD available again.
51812 if test "$no_create" != yes; then
51814 ac_config_status_args
=
51815 test "$silent" = yes &&
51816 ac_config_status_args
="$ac_config_status_args --quiet"
51818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51821 # would make configure fail if this is the last instruction.
51822 $ac_cs_success || { (exit 1); exit 1; }
51826 # CONFIG_SUBDIRS section.
51828 if test "$no_recursion" != yes; then
51830 # Remove --cache-file and --srcdir arguments so they do not pile up.
51831 ac_sub_configure_args
=
51833 for ac_arg
in $ac_configure_args; do
51834 if test -n "$ac_prev"; then
51839 -cache-file | --cache-file | --cache-fil | --cache-fi \
51840 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51841 ac_prev
=cache_file
;;
51842 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51843 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51846 --config-cache | -C)
51848 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51850 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51852 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51854 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51856 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51860 # Always prepend --prefix to ensure using the same prefix
51861 # in subdir configurations.
51862 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51865 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51867 # Do not complain, so a configure script can configure whichever
51868 # parts of a large source tree are present.
51869 test -d $srcdir/$ac_dir || continue
51871 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51872 echo "$as_me: configuring in $ac_dir" >&6;}
51873 { if $as_mkdir_p; then
51878 while test ! -d "$as_dir"; do
51879 as_dirs
="$as_dir $as_dirs"
51880 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51882 X"$as_dir" : 'X\(//\)[^/]' \| \
51883 X"$as_dir" : 'X\(//\)$' \| \
51884 X"$as_dir" : 'X\(/\)' \| \
51885 . : '\(.\)' 2>/dev/null ||
51887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51889 /^X\(\/\/\)$/{ s//\1/; q; }
51890 /^X\(\/\).*/{ s//\1/; q; }
51893 test ! -n "$as_dirs" || mkdir $as_dirs
51894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51896 { (exit 1); exit 1; }; }; }
51900 if test "$ac_dir" != .
; then
51901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51902 # A "../" for each directory in $ac_dir_suffix.
51903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51905 ac_dir_suffix
= ac_top_builddir
=
51909 .
) # No --srcdir option. We are building in place.
51911 if test -z "$ac_top_builddir"; then
51914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51916 [\\/]* | ?
:[\\/]* ) # Absolute path.
51917 ac_srcdir
=$srcdir$ac_dir_suffix;
51918 ac_top_srcdir
=$srcdir ;;
51919 *) # Relative path.
51920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51924 # Do not use `cd foo && pwd` to compute absolute paths, because
51925 # the directories may not exist.
51927 .
) ac_abs_builddir
="$ac_dir";;
51930 .
) ac_abs_builddir
=`pwd`;;
51931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51935 case $ac_abs_builddir in
51936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51938 case ${ac_top_builddir}.
in
51939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51944 case $ac_abs_builddir in
51945 .
) ac_abs_srcdir
=$ac_srcdir;;
51948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51953 case $ac_abs_builddir in
51954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51956 case $ac_top_srcdir in
51957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51966 # Check for guested configure; otherwise get Cygnus style configure.
51967 if test -f $ac_srcdir/configure.gnu
; then
51968 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51969 elif test -f $ac_srcdir/configure
; then
51970 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51971 elif test -f $ac_srcdir/configure.
in; then
51972 ac_sub_configure
=$ac_configure
51974 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51979 # The recursion is here.
51980 if test -n "$ac_sub_configure"; then
51981 # Make the cache file name correct relative to the subdirectory.
51982 case $cache_file in
51983 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51984 *) # Relative path.
51985 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51988 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51989 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51990 # The eval makes quoting arguments work.
51991 eval $ac_sub_configure $ac_sub_configure_args \
51992 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51993 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51994 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51995 { (exit 1); exit 1; }; }
52004 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52006 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52007 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52009 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52010 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52011 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52013 echo " What level of wxWidgets compatibility should be enabled?"
52014 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52015 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52017 echo " Which libraries should wxWidgets use?"
52018 echo " jpeg ${wxUSE_LIBJPEG-none}"
52019 echo " png ${wxUSE_LIBPNG-none}"
52020 echo " regex ${wxUSE_REGEX}"
52021 echo " tiff ${wxUSE_LIBTIFF-none}"
52022 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52023 echo " xpm ${wxUSE_LIBXPM-none}"
52025 echo " zlib ${wxUSE_ZLIB}"
52026 echo " odbc ${wxUSE_ODBC}"
52027 echo " expat ${wxUSE_EXPAT}"
52028 echo " libmspack ${wxUSE_LIBMSPACK}"
52029 echo " sdl ${wxUSE_LIBSDL}"