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_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C
++ stream classes
1007 --enable-std_string use standard C
++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support
in wxProtocol
1026 --enable-protocol-ftp FTP support
in wxProtocol
1027 --enable-protocol-file FILE support
in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use
help subsystem
1031 --enable-mshtmlhelp use MS HTML Help
(win32
)
1032 --enable-html use wxHTML sub
-library
1033 --enable-htmlhelp use wxHTML
-based help
1034 --enable-xrc use XRC resources sub
-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout
-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl
(Mac
)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context
2D drawing API
1046 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1047 --enable-prologio not available
; see contrib
1048 --enable-resources not available
; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag
'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile
(Win32 only
)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images
(GIF
file format
)
1137 --enable-pcx use pcx images
(PCX
file format
)
1138 --enable-tga use tga images
(TGA
file format
)
1139 --enable-iff use iff images
(IFF
file format
)
1140 --enable-pnm use pnm images
(PNM
file format
)
1141 --enable-xpm use xpm images
(XPM
file format
)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1144 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1145 --disable-largefile omit support
for large files
1146 --disable-gtktest do not try to compile and run a
test GTK
+ program
1147 --disable-gtktest Do not try to compile and run a
test GTK program
1148 --disable-sdltest Do not try to compile and run a
test SDL program
1149 --enable-omf use OMF object format
(OS
/2)
1150 --disable-dependency-tracking
1151 don
't use dependency tracking even if the compiler
1153 --disable-precomp-headers
1154 don't use precompiled headers even
if compiler can
1157 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1158 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1159 --without-subdirs don
't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1210 C compiler flags for DIRECTFB, overriding pkg-config
1212 linker flags for DIRECTFB, overriding pkg-config
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1217 C compiler flags for PANGOFT2, overriding pkg-config
1219 linker flags for PANGOFT2, overriding pkg-config
1221 C compiler flags for PANGOXFT, overriding pkg-config
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1231 linker flags for GNOMEVFS, overriding pkg-config
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1241 Use these variables to override the choices made by `configure' or to
help
1242 it to
find libraries and programs with nonstandard names
/locations.
1244 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1251 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1252 test -d $ac_dir || continue
1255 if test "$ac_dir" != .
; then
1256 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 ac_dir_suffix
= ac_top_builddir
=
1264 .
) # No --srcdir option. We are building in place.
1266 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1271 [\\/]* | ?
:[\\/]* ) # Absolute path.
1272 ac_srcdir
=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir
=$srcdir ;;
1275 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1282 .
) ac_abs_builddir
="$ac_dir";;
1285 .
) ac_abs_builddir
=`pwd`;;
1286 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1287 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1290 case $ac_abs_builddir in
1291 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1293 case ${ac_top_builddir}.
in
1294 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1295 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1296 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1299 case $ac_abs_builddir in
1300 .
) ac_abs_srcdir
=$ac_srcdir;;
1303 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1304 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1305 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1308 case $ac_abs_builddir in
1309 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1311 case $ac_top_srcdir in
1312 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1313 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu
; then
1322 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1323 elif test -f $ac_srcdir/configure
; then
1325 $SHELL $ac_srcdir/configure
--help=recursive
1326 elif test -f $ac_srcdir/configure.ac
||
1327 test -f $ac_srcdir/configure.
in; then
1329 $ac_configure --help
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1340 wxWidgets configure
2.7.1
1341 generated by GNU Autoconf
2.59
1343 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1344 This configure
script is free software
; the Free Software Foundation
1345 gives unlimited permission to copy
, distribute and modify it.
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 echo "PATH: $as_dir"
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next
=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true
; then
1432 ac_must_keep_next
=false
# Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next
=true
;;
1446 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1453 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1454 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1472 # The following way of writing the cache mishandles newlines in values,
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1495 for ac_var in $ac_subst_vars
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1502 if test -n "$ac_subst_files"; then
1509 for ac_var in $ac_subst_files
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1517 if test -s confdefs.h; then
1524 sed "/^$/d" confdefs.h | sort
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1535 for ac_signal
in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest
* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 # Predefined preprocessor variables.
1547 cat >>confdefs.h
<<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h
<<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 cat >>confdefs.h
<<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 cat >>confdefs.h
<<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 cat >>confdefs.h
<<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE
; then
1576 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1578 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 for ac_site_file
in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1597 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1598 *) . .
/$cache_file;;
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1607 # Check that the precious variables saved in the cache have kept the same
1609 ac_cache_corrupted
=false
1610 for ac_var
in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1613 eval ac_new_set
=\
$ac_env_${ac_var}_set
1614 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val
="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted
=: ;;
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted
=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted
=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg
=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1659 ac_cpp
='$CPP $CPPFLAGS'
1660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1694 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1695 if test -f $ac_dir/install-sh; then
1697 ac_install_sh
="$ac_aux_dir/install-sh -c"
1699 elif test -f $ac_dir/install.sh
; then
1701 ac_install_sh
="$ac_aux_dir/install.sh -c"
1703 elif test -f $ac_dir/shtool
; then
1705 ac_install_sh
="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1714 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_build_alias
=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias
=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1745 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_host_alias
=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias
=$ac_cv_build_alias
1758 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1767 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_target_alias
=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias
=$ac_cv_host_alias
1780 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target
=$ac_cv_target
1789 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix
=${target_alias}-
1803 wx_major_version_number
=2
1804 wx_minor_version_number
=7
1806 wx_subrelease_number
=0
1808 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1809 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1810 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1812 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1825 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1831 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1839 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1841 DEFAULT_wxUSE_COCOA
=0
1845 DEFAULT_wxUSE_MICROWIN
=0
1846 DEFAULT_wxUSE_MOTIF
=0
1852 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1853 DEFAULT_DEFAULT_wxUSE_GTK
=0
1854 DEFAULT_DEFAULT_wxUSE_MAC
=0
1855 DEFAULT_DEFAULT_wxUSE_MGL
=0
1856 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1857 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1858 DEFAULT_DEFAULT_wxUSE_MSW
=0
1859 DEFAULT_DEFAULT_wxUSE_PM
=0
1860 DEFAULT_DEFAULT_wxUSE_X11
=0
1861 DEFAULT_DEFAULT_wxUSE_DFB
=0
1866 SAMPLES_RPATH_POSTLINK
=
1868 DEFAULT_STD_FLAG
=yes
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1881 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1890 if test "x$TMP" = "xalpha"; then
1892 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_GTK
=1
1899 *-*-gnu* | *-*-k*bsd
*-gnu )
1902 if test "x$TMP" = "xalpha"; then
1904 cat >>confdefs.h
<<\_ACEOF
1909 DEFAULT_DEFAULT_wxUSE_GTK
=1
1911 *-*-irix5* | *-*-irix6* )
1914 cat >>confdefs.h
<<\_ACEOF
1918 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1928 cat >>confdefs.h
<<\_ACEOF
1932 cat >>confdefs.h
<<\_ACEOF
1933 #define __SOLARIS__ 1
1936 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1941 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1947 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1955 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1964 cat >>confdefs.h
<<\_ACEOF
1965 #define __FREEBSD__ 1
1968 cat >>confdefs.h
<<\_ACEOF
1972 DEFAULT_DEFAULT_wxUSE_GTK
=1
1974 *-*-openbsd*|*-*-mirbsd*)
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __OPENBSD__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1985 DEFAULT_DEFAULT_wxUSE_GTK
=1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define __NETBSD__ 1
1994 cat >>confdefs.h
<<\_ACEOF
1998 DEFAULT_DEFAULT_wxUSE_GTK
=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2001 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2015 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2020 cat >>confdefs.h
<<\_ACEOF
2024 cat >>confdefs.h
<<\_ACEOF
2028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2033 cat >>confdefs.h
<<\_ACEOF
2037 cat >>confdefs.h
<<\_ACEOF
2041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2048 cat >>confdefs.h
<<\_ACEOF
2052 cat >>confdefs.h
<<\_ACEOF
2056 cat >>confdefs.h
<<\_ACEOF
2060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2067 cat >>confdefs.h
<<\_ACEOF
2068 #define __UNIXWARE__ 1
2073 *-*-cygwin* | *-*-mingw32* )
2076 DEFAULT_DEFAULT_wxUSE_MSW
=1
2082 cat >>confdefs.h
<<\_ACEOF
2087 DEFAULT_DEFAULT_wxUSE_MGL
=1
2090 *-pc-os2_emx | *-pc-os2-emx )
2091 cat >>confdefs.h
<<\_ACEOF
2096 cat >>confdefs.h
<<\_ACEOF
2101 DEFAULT_DEFAULT_wxUSE_PM
=1
2103 LDFLAGS
="$LDFLAGS -Zcrtdll"
2104 ac_executable_extensions
=".exe"
2105 export ac_executable_extensions
2109 for ac_dir
in $PATH; do
2111 if test -z "$ac_TEMP_PATH"; then
2112 ac_TEMP_PATH
="$ac_dir"
2114 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2117 export PATH
="$ac_TEMP_PATH"
2126 cat >>confdefs.h
<<\_ACEOF
2130 cat >>confdefs.h
<<\_ACEOF
2131 #define __DARWIN__ 1
2134 cat >>confdefs.h
<<\_ACEOF
2135 #define TARGET_CARBON 1
2138 DEFAULT_DEFAULT_wxUSE_MAC
=1
2141 powerpc
-apple-macos* )
2143 ac_cv_c_bigendian
=yes
2145 DEFAULT_DEFAULT_wxUSE_MAC
=1
2151 cat >>confdefs.h
<<\_ACEOF
2158 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2159 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2160 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2161 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2163 DEFAULT_DEFAULT_wxUSE_X11
=1
2164 DEFAULT_wxUSE_SHARED
=no
2170 wx_arg_cache_file
="configarg.cache"
2171 echo "loading argument cache $wx_arg_cache_file"
2172 rm -f ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}.tmp
2174 touch ${wx_arg_cache_file}
2178 if test $DEBUG_CONFIGURE = 1; then
2179 DEFAULT_wxUSE_UNIVERSAL
=no
2180 DEFAULT_wxUSE_STL
=no
2182 DEFAULT_wxUSE_NANOX
=no
2184 DEFAULT_wxUSE_THREADS
=yes
2186 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2187 DEFAULT_wxUSE_OPTIMISE
=no
2188 DEFAULT_wxUSE_PROFILE
=no
2189 DEFAULT_wxUSE_NO_DEPS
=no
2190 DEFAULT_wxUSE_NO_RTTI
=no
2191 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2192 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2193 DEFAULT_wxUSE_RPATH
=yes
2194 DEFAULT_wxUSE_PERMISSIVE
=no
2195 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2196 DEFAULT_wxUSE_DEBUG_INFO
=yes
2197 DEFAULT_wxUSE_DEBUG_GDB
=yes
2198 DEFAULT_wxUSE_MEM_TRACING
=no
2199 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2200 DEFAULT_wxUSE_DMALLOC
=no
2201 DEFAULT_wxUSE_APPLE_IEEE
=no
2203 DEFAULT_wxUSE_EXCEPTIONS
=no
2204 DEFAULT_wxUSE_LOG
=yes
2205 DEFAULT_wxUSE_LOGWINDOW
=no
2206 DEFAULT_wxUSE_LOGGUI
=no
2207 DEFAULT_wxUSE_LOGDIALOG
=no
2209 DEFAULT_wxUSE_GUI
=yes
2210 DEFAULT_wxUSE_CONTROLS
=no
2212 DEFAULT_wxUSE_REGEX
=no
2213 DEFAULT_wxUSE_XML
=no
2214 DEFAULT_wxUSE_EXPAT
=no
2215 DEFAULT_wxUSE_ZLIB
=no
2216 DEFAULT_wxUSE_LIBPNG
=no
2217 DEFAULT_wxUSE_LIBJPEG
=no
2218 DEFAULT_wxUSE_LIBTIFF
=no
2219 DEFAULT_wxUSE_LIBXPM
=no
2220 DEFAULT_wxUSE_LIBMSPACK
=no
2221 DEFAULT_wxUSE_LIBSDL
=no
2222 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2223 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2224 DEFAULT_wxUSE_LIBHILDON
=no
2225 DEFAULT_wxUSE_ODBC
=no
2226 DEFAULT_wxUSE_OPENGL
=no
2228 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2229 DEFAULT_wxUSE_STACKWALKER
=no
2230 DEFAULT_wxUSE_DEBUGREPORT
=no
2231 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2232 DEFAULT_wxUSE_STD_IOSTREAM
=no
2233 DEFAULT_wxUSE_STD_STRING
=no
2234 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2235 DEFAULT_wxUSE_DATETIME
=no
2236 DEFAULT_wxUSE_TIMER
=no
2237 DEFAULT_wxUSE_STOPWATCH
=no
2238 DEFAULT_wxUSE_FILE
=no
2239 DEFAULT_wxUSE_FFILE
=no
2240 DEFAULT_wxUSE_STDPATHS
=no
2241 DEFAULT_wxUSE_TEXTBUFFER
=no
2242 DEFAULT_wxUSE_TEXTFILE
=no
2243 DEFAULT_wxUSE_SOUND
=no
2244 DEFAULT_wxUSE_MEDIACTRL
=no
2245 DEFAULT_wxUSE_GSTREAMER8
=no
2246 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2247 DEFAULT_wxUSE_INTL
=no
2248 DEFAULT_wxUSE_CONFIG
=no
2249 DEFAULT_wxUSE_FONTMAP
=no
2250 DEFAULT_wxUSE_STREAMS
=no
2251 DEFAULT_wxUSE_SOCKETS
=no
2252 DEFAULT_wxUSE_OLE
=no
2253 DEFAULT_wxUSE_DATAOBJ
=no
2254 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2255 DEFAULT_wxUSE_JOYSTICK
=no
2256 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2257 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2258 DEFAULT_wxUSE_LONGLONG
=no
2259 DEFAULT_wxUSE_GEOMETRY
=no
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2263 DEFAULT_wxUSE_POSTSCRIPT
=no
2265 DEFAULT_wxUSE_CLIPBOARD
=no
2266 DEFAULT_wxUSE_TOOLTIPS
=no
2267 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2268 DEFAULT_wxUSE_DRAGIMAGE
=no
2269 DEFAULT_wxUSE_SPLINES
=no
2270 DEFAULT_wxUSE_MOUSEWHEEL
=no
2272 DEFAULT_wxUSE_MDI
=no
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2277 DEFAULT_wxUSE_RESOURCES
=no
2278 DEFAULT_wxUSE_CONSTRAINTS
=no
2279 DEFAULT_wxUSE_IPC
=no
2280 DEFAULT_wxUSE_HELP
=no
2281 DEFAULT_wxUSE_MS_HTML_HELP
=no
2282 DEFAULT_wxUSE_WXHTML_HELP
=no
2283 DEFAULT_wxUSE_TREELAYOUT
=no
2284 DEFAULT_wxUSE_METAFILE
=no
2285 DEFAULT_wxUSE_MIMETYPE
=no
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2287 DEFAULT_wxUSE_PROTOCOL
=no
2288 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2289 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2290 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2291 DEFAULT_wxUSE_URL
=no
2292 DEFAULT_wxUSE_VARIANT
=no
2294 DEFAULT_wxUSE_ABOUTDLG
=no
2295 DEFAULT_wxUSE_COMMONDLGS
=no
2296 DEFAULT_wxUSE_CHOICEDLG
=no
2297 DEFAULT_wxUSE_COLOURDLG
=no
2298 DEFAULT_wxUSE_DIRDLG
=no
2299 DEFAULT_wxUSE_FILEDLG
=no
2300 DEFAULT_wxUSE_FINDREPLDLG
=no
2301 DEFAULT_wxUSE_FONTDLG
=no
2302 DEFAULT_wxUSE_MSGDLG
=no
2303 DEFAULT_wxUSE_NUMBERDLG
=no
2304 DEFAULT_wxUSE_TEXTDLG
=no
2305 DEFAULT_wxUSE_SPLASH
=no
2306 DEFAULT_wxUSE_STARTUP_TIPS
=no
2307 DEFAULT_wxUSE_PROGRESSDLG
=no
2308 DEFAULT_wxUSE_WIZARDDLG
=no
2310 DEFAULT_wxUSE_MENUS
=no
2311 DEFAULT_wxUSE_MINIFRAME
=no
2312 DEFAULT_wxUSE_HTML
=no
2313 DEFAULT_wxUSE_RICHTEXT
=no
2314 DEFAULT_wxUSE_XRC
=no
2315 DEFAULT_wxUSE_AUI
=no
2316 DEFAULT_wxUSE_WEBKIT
=no
2317 DEFAULT_wxUSE_FILESYSTEM
=no
2318 DEFAULT_wxUSE_FS_INET
=no
2319 DEFAULT_wxUSE_FS_ZIP
=no
2320 DEFAULT_wxUSE_FS_ARCHIVE
=no
2321 DEFAULT_wxUSE_BUSYINFO
=no
2322 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2323 DEFAULT_wxUSE_ZIPSTREAM
=no
2324 DEFAULT_wxUSE_TARSTREAM
=no
2325 DEFAULT_wxUSE_VALIDATORS
=no
2327 DEFAULT_wxUSE_ACCEL
=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2329 DEFAULT_wxUSE_BUTTON
=no
2330 DEFAULT_wxUSE_BMPBUTTON
=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2332 DEFAULT_wxUSE_CALCTRL
=no
2333 DEFAULT_wxUSE_CARET
=no
2334 DEFAULT_wxUSE_CHECKBOX
=no
2335 DEFAULT_wxUSE_CHECKLST
=no
2336 DEFAULT_wxUSE_CHOICE
=no
2337 DEFAULT_wxUSE_CHOICEBOOK
=no
2338 DEFAULT_wxUSE_COLLPANE
=no
2339 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2340 DEFAULT_wxUSE_COMBOBOX
=no
2341 DEFAULT_wxUSE_COMBOCTRL
=no
2342 DEFAULT_wxUSE_DATEPICKCTRL
=no
2343 DEFAULT_wxUSE_DISPLAY
=no
2344 DEFAULT_wxUSE_DETECT_SM
=no
2345 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2346 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2347 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2348 DEFAULT_wxUSE_GAUGE
=no
2349 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2350 DEFAULT_wxUSE_GRID
=no
2351 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2352 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2353 DEFAULT_wxUSE_IMAGLIST
=no
2354 DEFAULT_wxUSE_LISTBOOK
=no
2355 DEFAULT_wxUSE_LISTBOX
=no
2356 DEFAULT_wxUSE_LISTCTRL
=no
2357 DEFAULT_wxUSE_NOTEBOOK
=no
2358 DEFAULT_wxUSE_ODCOMBOBOX
=no
2359 DEFAULT_wxUSE_RADIOBOX
=no
2360 DEFAULT_wxUSE_RADIOBTN
=no
2361 DEFAULT_wxUSE_SASH
=no
2362 DEFAULT_wxUSE_SCROLLBAR
=no
2363 DEFAULT_wxUSE_SLIDER
=no
2364 DEFAULT_wxUSE_SPINBTN
=no
2365 DEFAULT_wxUSE_SPINCTRL
=no
2366 DEFAULT_wxUSE_SPLITTER
=no
2367 DEFAULT_wxUSE_STATBMP
=no
2368 DEFAULT_wxUSE_STATBOX
=no
2369 DEFAULT_wxUSE_STATLINE
=no
2370 DEFAULT_wxUSE_STATTEXT
=no
2371 DEFAULT_wxUSE_STATUSBAR
=yes
2372 DEFAULT_wxUSE_TAB_DIALOG
=no
2373 DEFAULT_wxUSE_TEXTCTRL
=no
2374 DEFAULT_wxUSE_TOGGLEBTN
=no
2375 DEFAULT_wxUSE_TOOLBAR
=no
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2377 DEFAULT_wxUSE_TREEBOOK
=no
2378 DEFAULT_wxUSE_TOOLBOOK
=no
2379 DEFAULT_wxUSE_TREECTRL
=no
2380 DEFAULT_wxUSE_POPUPWIN
=no
2381 DEFAULT_wxUSE_TIPWINDOW
=no
2383 DEFAULT_wxUSE_UNICODE
=no
2384 DEFAULT_wxUSE_UNICODE_MSLU
=no
2385 DEFAULT_wxUSE_WCSRTOMBS
=no
2387 DEFAULT_wxUSE_PALETTE
=no
2388 DEFAULT_wxUSE_IMAGE
=no
2389 DEFAULT_wxUSE_GIF
=no
2390 DEFAULT_wxUSE_PCX
=no
2391 DEFAULT_wxUSE_TGA
=no
2392 DEFAULT_wxUSE_PNM
=no
2393 DEFAULT_wxUSE_IFF
=no
2394 DEFAULT_wxUSE_XPM
=no
2395 DEFAULT_wxUSE_ICO_CUR
=no
2396 DEFAULT_wxUSE_ACCESSIBILITY
=no
2398 DEFAULT_wxUSE_MONOLITHIC
=no
2399 DEFAULT_wxUSE_PLUGINS
=no
2400 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2402 DEFAULT_wxUSE_UNIVERSAL
=no
2403 DEFAULT_wxUSE_STL
=no
2405 DEFAULT_wxUSE_NANOX
=no
2407 DEFAULT_wxUSE_THREADS
=yes
2409 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2410 DEFAULT_wxUSE_OPTIMISE
=yes
2411 DEFAULT_wxUSE_PROFILE
=no
2412 DEFAULT_wxUSE_NO_DEPS
=no
2413 DEFAULT_wxUSE_NO_RTTI
=no
2414 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2415 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2416 DEFAULT_wxUSE_RPATH
=yes
2417 DEFAULT_wxUSE_PERMISSIVE
=no
2418 DEFAULT_wxUSE_DEBUG_FLAG
=no
2419 DEFAULT_wxUSE_DEBUG_INFO
=no
2420 DEFAULT_wxUSE_DEBUG_GDB
=no
2421 DEFAULT_wxUSE_MEM_TRACING
=no
2422 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2423 DEFAULT_wxUSE_DMALLOC
=no
2424 DEFAULT_wxUSE_APPLE_IEEE
=yes
2426 DEFAULT_wxUSE_EXCEPTIONS
=yes
2427 DEFAULT_wxUSE_LOG
=yes
2428 DEFAULT_wxUSE_LOGWINDOW
=yes
2429 DEFAULT_wxUSE_LOGGUI
=yes
2430 DEFAULT_wxUSE_LOGDIALOG
=yes
2432 DEFAULT_wxUSE_GUI
=yes
2434 DEFAULT_wxUSE_REGEX
=yes
2435 DEFAULT_wxUSE_XML
=yes
2436 DEFAULT_wxUSE_EXPAT
=yes
2437 DEFAULT_wxUSE_ZLIB
=yes
2438 DEFAULT_wxUSE_LIBPNG
=yes
2439 DEFAULT_wxUSE_LIBJPEG
=yes
2440 DEFAULT_wxUSE_LIBTIFF
=yes
2441 DEFAULT_wxUSE_LIBXPM
=yes
2442 DEFAULT_wxUSE_LIBMSPACK
=yes
2443 DEFAULT_wxUSE_LIBSDL
=no
2444 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2445 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2446 DEFAULT_wxUSE_LIBHILDON
=no
2447 DEFAULT_wxUSE_ODBC
=no
2448 DEFAULT_wxUSE_OPENGL
=no
2450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2451 DEFAULT_wxUSE_STACKWALKER
=yes
2452 DEFAULT_wxUSE_DEBUGREPORT
=yes
2453 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2454 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2455 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2456 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2457 DEFAULT_wxUSE_DATETIME
=yes
2458 DEFAULT_wxUSE_TIMER
=yes
2459 DEFAULT_wxUSE_STOPWATCH
=yes
2460 DEFAULT_wxUSE_FILE
=yes
2461 DEFAULT_wxUSE_FFILE
=yes
2462 DEFAULT_wxUSE_STDPATHS
=yes
2463 DEFAULT_wxUSE_TEXTBUFFER
=yes
2464 DEFAULT_wxUSE_TEXTFILE
=yes
2465 DEFAULT_wxUSE_SOUND
=yes
2466 DEFAULT_wxUSE_MEDIACTRL
=no
2467 DEFAULT_wxUSE_GSTREAMER8
=no
2468 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2469 DEFAULT_wxUSE_INTL
=yes
2470 DEFAULT_wxUSE_CONFIG
=yes
2471 DEFAULT_wxUSE_FONTMAP
=yes
2472 DEFAULT_wxUSE_STREAMS
=yes
2473 DEFAULT_wxUSE_SOCKETS
=yes
2474 DEFAULT_wxUSE_OLE
=yes
2475 DEFAULT_wxUSE_DATAOBJ
=yes
2476 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2477 DEFAULT_wxUSE_JOYSTICK
=yes
2478 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2479 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2480 DEFAULT_wxUSE_LONGLONG
=yes
2481 DEFAULT_wxUSE_GEOMETRY
=yes
2483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2485 DEFAULT_wxUSE_POSTSCRIPT
=yes
2487 DEFAULT_wxUSE_CLIPBOARD
=yes
2488 DEFAULT_wxUSE_TOOLTIPS
=yes
2489 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2490 DEFAULT_wxUSE_DRAGIMAGE
=yes
2491 DEFAULT_wxUSE_SPLINES
=yes
2492 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2494 DEFAULT_wxUSE_MDI
=yes
2495 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2496 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2497 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2499 DEFAULT_wxUSE_RESOURCES
=no
2500 DEFAULT_wxUSE_CONSTRAINTS
=yes
2501 DEFAULT_wxUSE_IPC
=yes
2502 DEFAULT_wxUSE_HELP
=yes
2503 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2504 DEFAULT_wxUSE_WXHTML_HELP
=yes
2505 DEFAULT_wxUSE_TREELAYOUT
=yes
2506 DEFAULT_wxUSE_METAFILE
=yes
2507 DEFAULT_wxUSE_MIMETYPE
=yes
2508 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2509 DEFAULT_wxUSE_PROTOCOL
=yes
2510 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2511 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2512 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2513 DEFAULT_wxUSE_URL
=yes
2514 DEFAULT_wxUSE_VARIANT
=yes
2516 DEFAULT_wxUSE_ABOUTDLG
=yes
2517 DEFAULT_wxUSE_COMMONDLGS
=yes
2518 DEFAULT_wxUSE_CHOICEDLG
=yes
2519 DEFAULT_wxUSE_COLOURDLG
=yes
2520 DEFAULT_wxUSE_DIRDLG
=yes
2521 DEFAULT_wxUSE_FILEDLG
=yes
2522 DEFAULT_wxUSE_FINDREPLDLG
=yes
2523 DEFAULT_wxUSE_FONTDLG
=yes
2524 DEFAULT_wxUSE_MSGDLG
=yes
2525 DEFAULT_wxUSE_NUMBERDLG
=yes
2526 DEFAULT_wxUSE_TEXTDLG
=yes
2527 DEFAULT_wxUSE_SPLASH
=yes
2528 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2529 DEFAULT_wxUSE_PROGRESSDLG
=yes
2530 DEFAULT_wxUSE_WIZARDDLG
=yes
2532 DEFAULT_wxUSE_MENUS
=yes
2533 DEFAULT_wxUSE_MINIFRAME
=yes
2534 DEFAULT_wxUSE_HTML
=yes
2535 DEFAULT_wxUSE_RICHTEXT
=yes
2536 DEFAULT_wxUSE_XRC
=yes
2537 DEFAULT_wxUSE_AUI
=yes
2538 DEFAULT_wxUSE_WEBKIT
=yes
2539 DEFAULT_wxUSE_FILESYSTEM
=yes
2540 DEFAULT_wxUSE_FS_INET
=yes
2541 DEFAULT_wxUSE_FS_ZIP
=yes
2542 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2543 DEFAULT_wxUSE_BUSYINFO
=yes
2544 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2545 DEFAULT_wxUSE_ZIPSTREAM
=yes
2546 DEFAULT_wxUSE_TARSTREAM
=yes
2547 DEFAULT_wxUSE_VALIDATORS
=yes
2549 DEFAULT_wxUSE_ACCEL
=yes
2550 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2551 DEFAULT_wxUSE_BUTTON
=yes
2552 DEFAULT_wxUSE_BMPBUTTON
=yes
2553 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2554 DEFAULT_wxUSE_CALCTRL
=yes
2555 DEFAULT_wxUSE_CARET
=yes
2556 DEFAULT_wxUSE_CHECKBOX
=yes
2557 DEFAULT_wxUSE_CHECKLST
=yes
2558 DEFAULT_wxUSE_CHOICE
=yes
2559 DEFAULT_wxUSE_CHOICEBOOK
=yes
2560 DEFAULT_wxUSE_COLLPANE
=yes
2561 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2562 DEFAULT_wxUSE_COMBOBOX
=yes
2563 DEFAULT_wxUSE_COMBOCTRL
=yes
2564 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2565 DEFAULT_wxUSE_DISPLAY
=yes
2566 DEFAULT_wxUSE_DETECT_SM
=yes
2567 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2568 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2569 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2570 DEFAULT_wxUSE_GAUGE
=yes
2571 DEFAULT_wxUSE_GRID
=yes
2572 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2573 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2574 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2575 DEFAULT_wxUSE_IMAGLIST
=yes
2576 DEFAULT_wxUSE_LISTBOOK
=yes
2577 DEFAULT_wxUSE_LISTBOX
=yes
2578 DEFAULT_wxUSE_LISTCTRL
=yes
2579 DEFAULT_wxUSE_NOTEBOOK
=yes
2580 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2581 DEFAULT_wxUSE_RADIOBOX
=yes
2582 DEFAULT_wxUSE_RADIOBTN
=yes
2583 DEFAULT_wxUSE_SASH
=yes
2584 DEFAULT_wxUSE_SCROLLBAR
=yes
2585 DEFAULT_wxUSE_SLIDER
=yes
2586 DEFAULT_wxUSE_SPINBTN
=yes
2587 DEFAULT_wxUSE_SPINCTRL
=yes
2588 DEFAULT_wxUSE_SPLITTER
=yes
2589 DEFAULT_wxUSE_STATBMP
=yes
2590 DEFAULT_wxUSE_STATBOX
=yes
2591 DEFAULT_wxUSE_STATLINE
=yes
2592 DEFAULT_wxUSE_STATTEXT
=yes
2593 DEFAULT_wxUSE_STATUSBAR
=yes
2594 DEFAULT_wxUSE_TAB_DIALOG
=no
2595 DEFAULT_wxUSE_TEXTCTRL
=yes
2596 DEFAULT_wxUSE_TOGGLEBTN
=yes
2597 DEFAULT_wxUSE_TOOLBAR
=yes
2598 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2599 DEFAULT_wxUSE_TREEBOOK
=yes
2600 DEFAULT_wxUSE_TOOLBOOK
=yes
2601 DEFAULT_wxUSE_TREECTRL
=yes
2602 DEFAULT_wxUSE_POPUPWIN
=yes
2603 DEFAULT_wxUSE_TIPWINDOW
=yes
2605 DEFAULT_wxUSE_UNICODE
=no
2606 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2607 DEFAULT_wxUSE_WCSRTOMBS
=no
2609 DEFAULT_wxUSE_PALETTE
=yes
2610 DEFAULT_wxUSE_IMAGE
=yes
2611 DEFAULT_wxUSE_GIF
=yes
2612 DEFAULT_wxUSE_PCX
=yes
2613 DEFAULT_wxUSE_TGA
=yes
2614 DEFAULT_wxUSE_IFF
=no DEFAULT_wxUSE_PNM
=yes
2615 DEFAULT_wxUSE_XPM
=yes
2616 DEFAULT_wxUSE_ICO_CUR
=yes
2617 DEFAULT_wxUSE_ACCESSIBILITY
=no
2619 DEFAULT_wxUSE_MONOLITHIC
=no
2620 DEFAULT_wxUSE_PLUGINS
=no
2621 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2623 DEFAULT_wxUSE_GTK2
=yes
2629 for toolkit
in `echo $ALL_TOOLKITS`; do
2630 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2631 if test "x$LINE" != "x" ; then
2632 has_toolkit_in_cache
=1
2633 eval "DEFAULT_$LINE"
2634 eval "CACHE_$toolkit=1"
2636 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 eval "DEFAULT_$LINE"
2646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2647 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2649 # Check whether --enable-gui or --disable-gui was given.
2650 if test "${enable_gui+set}" = set; then
2651 enableval
="$enable_gui"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_gui
='wxUSE_GUI=yes'
2656 ac_cv_use_gui
='wxUSE_GUI=no'
2661 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672 eval "$ac_cv_use_gui"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_GUI" = yes; then
2678 echo "$as_me:$LINENO: result: yes" >&5
2679 echo "${ECHO_T}yes" >&6
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2688 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2690 # Check whether --enable-monolithic or --disable-monolithic was given.
2691 if test "${enable_monolithic+set}" = set; then
2692 enableval
="$enable_monolithic"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2697 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2702 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713 eval "$ac_cv_use_monolithic"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_MONOLITHIC" = yes; then
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2729 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2731 # Check whether --enable-plugins or --disable-plugins was given.
2732 if test "${enable_plugins+set}" = set; then
2733 enableval
="$enable_plugins"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2738 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2743 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754 eval "$ac_cv_use_plugins"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_PLUGINS" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2769 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2770 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2773 # Check whether --with-subdirs or --without-subdirs was given.
2774 if test "${with_subdirs+set}" = set; then
2775 withval
="$with_subdirs"
2777 if test "$withval" = yes; then
2778 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2780 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2785 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796 eval "$ac_cv_use_subdirs"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2801 if test "$wxWITH_SUBDIRS" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2810 if test "$wxUSE_GUI" = "yes"; then
2814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2815 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2817 # Check whether --enable-universal or --disable-universal was given.
2818 if test "${enable_universal+set}" = set; then
2819 enableval
="$enable_universal"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2824 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2829 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840 eval "$ac_cv_use_universal"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_UNIVERSAL" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2854 # Check whether --with-gtk or --without-gtk was given.
2855 if test "${with_gtk+set}" = set; then
2857 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2860 # Check whether --with-motif or --without-motif was given.
2861 if test "${with_motif+set}" = set; then
2862 withval
="$with_motif"
2863 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-mac or --without-mac was given.
2867 if test "${with_mac+set}" = set; then
2869 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-cocoa or --without-cocoa was given.
2873 if test "${with_cocoa+set}" = set; then
2874 withval
="$with_cocoa"
2875 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-wine or --without-wine was given.
2879 if test "${with_wine+set}" = set; then
2880 withval
="$with_wine"
2881 wxUSE_WINE
="$withval" CACHE_WINE
=1
2884 # Check whether --with-msw or --without-msw was given.
2885 if test "${with_msw+set}" = set; then
2887 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2890 # Check whether --with-pm or --without-pm was given.
2891 if test "${with_pm+set}" = set; then
2893 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2896 # Check whether --with-mgl or --without-mgl was given.
2897 if test "${with_mgl+set}" = set; then
2899 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2902 # Check whether --with-directfb or --without-directfb was given.
2903 if test "${with_directfb+set}" = set; then
2904 withval
="$with_directfb"
2905 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2908 # Check whether --with-microwin or --without-microwin was given.
2909 if test "${with_microwin+set}" = set; then
2910 withval
="$with_microwin"
2911 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2914 # Check whether --with-x11 or --without-x11 was given.
2915 if test "${with_x11+set}" = set; then
2917 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2922 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2924 # Check whether --enable-nanox or --disable-nanox was given.
2925 if test "${enable_nanox+set}" = set; then
2926 enableval
="$enable_nanox"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2931 ac_cv_use_nanox
='wxUSE_NANOX=no'
2936 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947 eval "$ac_cv_use_nanox"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_NANOX" = yes; then
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2962 if test "${enable_gtk2+set}" = set; then
2963 enableval
="$enable_gtk2"
2964 wxUSE_GTK2
="$enableval"
2968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2971 # Check whether --enable-gpe or --disable-gpe was given.
2972 if test "${enable_gpe+set}" = set; then
2973 enableval
="$enable_gpe"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gpe
='wxUSE_GPE=yes'
2978 ac_cv_use_gpe
='wxUSE_GPE=no'
2983 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994 eval "$ac_cv_use_gpe"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_GPE" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3009 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3010 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3013 # Check whether --with-libpng or --without-libpng was given.
3014 if test "${with_libpng+set}" = set; then
3015 withval
="$with_libpng"
3017 if test "$withval" = yes; then
3018 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3019 elif test "$withval" = no
; then
3020 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3021 elif test "$withval" = sys
; then
3022 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3033 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x
; then
3035 eval "DEFAULT_$LINE"
3040 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044 eval "$ac_cv_use_libpng"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_LIBPNG" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_LIBPNG" = no
; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_LIBPNG" = sys
; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_LIBPNG" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3068 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3069 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3072 # Check whether --with-libjpeg or --without-libjpeg was given.
3073 if test "${with_libjpeg+set}" = set; then
3074 withval
="$with_libjpeg"
3076 if test "$withval" = yes; then
3077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3078 elif test "$withval" = no
; then
3079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3080 elif test "$withval" = sys
; then
3081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3092 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103 eval "$ac_cv_use_libjpeg"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_LIBJPEG" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_LIBJPEG" = no
; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_LIBJPEG" = sys
; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_LIBJPEG" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3128 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3131 # Check whether --with-libtiff or --without-libtiff was given.
3132 if test "${with_libtiff+set}" = set; then
3133 withval
="$with_libtiff"
3135 if test "$withval" = yes; then
3136 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3137 elif test "$withval" = no
; then
3138 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3139 elif test "$withval" = sys
; then
3140 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3151 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162 eval "$ac_cv_use_libtiff"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_LIBTIFF" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_LIBTIFF" = no
; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_LIBTIFF" = sys
; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_LIBTIFF" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3186 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3187 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3190 # Check whether --with-libxpm or --without-libxpm was given.
3191 if test "${with_libxpm+set}" = set; then
3192 withval
="$with_libxpm"
3194 if test "$withval" = yes; then
3195 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3196 elif test "$withval" = no
; then
3197 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3198 elif test "$withval" = sys
; then
3199 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3210 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221 eval "$ac_cv_use_libxpm"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_LIBXPM" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_LIBXPM" = no
; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_LIBXPM" = sys
; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_LIBXPM" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3247 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3250 # Check whether --with-libmspack or --without-libmspack was given.
3251 if test "${with_libmspack+set}" = set; then
3252 withval
="$with_libmspack"
3254 if test "$withval" = yes; then
3255 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3257 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3262 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273 eval "$ac_cv_use_libmspack"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3278 if test "$wxUSE_LIBMSPACK" = yes; then
3279 echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3288 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3289 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3292 # Check whether --with-sdl or --without-sdl was given.
3293 if test "${with_sdl+set}" = set; then
3296 if test "$withval" = yes; then
3297 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3299 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3304 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315 eval "$ac_cv_use_sdl"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_LIBSDL" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3334 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3335 if test "${with_gnomeprint+set}" = set; then
3336 withval
="$with_gnomeprint"
3338 if test "$withval" = yes; then
3339 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3341 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3346 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357 eval "$ac_cv_use_gnomeprint"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3372 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3373 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3376 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3377 if test "${with_gnomevfs+set}" = set; then
3378 withval
="$with_gnomevfs"
3380 if test "$withval" = yes; then
3381 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3383 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3388 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399 eval "$ac_cv_use_gnomevfs"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3414 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3415 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3418 # Check whether --with-hildon or --without-hildon was given.
3419 if test "${with_hildon+set}" = set; then
3420 withval
="$with_hildon"
3422 if test "$withval" = yes; then
3423 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3425 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3430 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441 eval "$ac_cv_use_hildon"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_LIBHILDON" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3456 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3457 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3460 # Check whether --with-opengl or --without-opengl was given.
3461 if test "${with_opengl+set}" = set; then
3462 withval
="$with_opengl"
3464 if test "$withval" = yes; then
3465 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3467 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3472 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483 eval "$ac_cv_use_opengl"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_OPENGL" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3497 if test "$wxUSE_UNIVERSAL" = "yes"; then
3499 # Check whether --with-themes or --without-themes was given.
3500 if test "${with_themes+set}" = set; then
3501 withval
="$with_themes"
3502 wxUNIV_THEMES
="$withval"
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3514 # Check whether --with-dmalloc or --without-dmalloc was given.
3515 if test "${with_dmalloc+set}" = set; then
3516 withval
="$with_dmalloc"
3518 if test "$withval" = yes; then
3519 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3521 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3526 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537 eval "$ac_cv_use_dmalloc"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_DMALLOC" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3551 echo "$as_me:$LINENO: checking for --with-regex" >&5
3552 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3555 # Check whether --with-regex or --without-regex was given.
3556 if test "${with_regex+set}" = set; then
3557 withval
="$with_regex"
3559 if test "$withval" = yes; then
3560 ac_cv_use_regex
='wxUSE_REGEX=yes'
3561 elif test "$withval" = no
; then
3562 ac_cv_use_regex
='wxUSE_REGEX=no'
3563 elif test "$withval" = sys
; then
3564 ac_cv_use_regex
='wxUSE_REGEX=sys'
3565 elif test "$withval" = builtin; then
3566 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3575 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586 eval "$ac_cv_use_regex"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_REGEX" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 elif test "$wxUSE_REGEX" = no
; then
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 elif test "$wxUSE_REGEX" = sys
; then
3598 echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6
3600 elif test "$wxUSE_REGEX" = builtin; then
3601 echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3610 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3611 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3614 # Check whether --with-zlib or --without-zlib was given.
3615 if test "${with_zlib+set}" = set; then
3616 withval
="$with_zlib"
3618 if test "$withval" = yes; then
3619 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3620 elif test "$withval" = no
; then
3621 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3622 elif test "$withval" = sys
; then
3623 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3624 elif test "$withval" = builtin; then
3625 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3634 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645 eval "$ac_cv_use_zlib"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_ZLIB" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3653 elif test "$wxUSE_ZLIB" = no
; then
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3656 elif test "$wxUSE_ZLIB" = sys
; then
3657 echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6
3659 elif test "$wxUSE_ZLIB" = builtin; then
3660 echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3669 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3670 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3673 # Check whether --with-odbc or --without-odbc was given.
3674 if test "${with_odbc+set}" = set; then
3675 withval
="$with_odbc"
3677 if test "$withval" = yes; then
3678 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3679 elif test "$withval" = no
; then
3680 ac_cv_use_odbc
='wxUSE_ODBC=no'
3681 elif test "$withval" = sys
; then
3682 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3683 elif test "$withval" = builtin; then
3684 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3693 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704 eval "$ac_cv_use_odbc"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_ODBC" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 elif test "$wxUSE_ODBC" = no
; then
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 elif test "$wxUSE_ODBC" = sys
; then
3716 echo "$as_me:$LINENO: result: system version" >&5
3717 echo "${ECHO_T}system version" >&6
3718 elif test "$wxUSE_ODBC" = builtin; then
3719 echo "$as_me:$LINENO: result: builtin version" >&5
3720 echo "${ECHO_T}builtin version" >&6
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3728 echo "$as_me:$LINENO: checking for --with-expat" >&5
3729 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3732 # Check whether --with-expat or --without-expat was given.
3733 if test "${with_expat+set}" = set; then
3734 withval
="$with_expat"
3736 if test "$withval" = yes; then
3737 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3738 elif test "$withval" = no
; then
3739 ac_cv_use_expat
='wxUSE_EXPAT=no'
3740 elif test "$withval" = sys
; then
3741 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3742 elif test "$withval" = builtin; then
3743 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3752 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763 eval "$ac_cv_use_expat"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_EXPAT" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3771 elif test "$wxUSE_EXPAT" = no
; then
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3774 elif test "$wxUSE_EXPAT" = sys
; then
3775 echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6
3777 elif test "$wxUSE_EXPAT" = builtin; then
3778 echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3793 # Check whether --enable-shared or --disable-shared was given.
3794 if test "${enable_shared+set}" = set; then
3795 enableval
="$enable_shared"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_shared
='wxUSE_SHARED=yes'
3800 ac_cv_use_shared
='wxUSE_SHARED=no'
3805 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816 eval "$ac_cv_use_shared"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3821 if test "$wxUSE_SHARED" = yes; then
3822 echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3832 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3834 # Check whether --enable-optimise or --disable-optimise was given.
3835 if test "${enable_optimise+set}" = set; then
3836 enableval
="$enable_optimise"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3841 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3846 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857 eval "$ac_cv_use_optimise"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3862 if test "$wxUSE_OPTIMISE" = yes; then
3863 echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3873 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3875 # Check whether --enable-debug or --disable-debug was given.
3876 if test "${enable_debug+set}" = set; then
3877 enableval
="$enable_debug"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3882 ac_cv_use_debug
='wxUSE_DEBUG=no'
3887 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898 eval "$ac_cv_use_debug"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_DEBUG" = yes; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3907 echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3916 # Check whether --enable-stl or --disable-stl was given.
3917 if test "${enable_stl+set}" = set; then
3918 enableval
="$enable_stl"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_stl
='wxUSE_STL=yes'
3923 ac_cv_use_stl
='wxUSE_STL=no'
3928 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3939 eval "$ac_cv_use_stl"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_STL" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3952 if test "$USE_OS2" = "1"; then
3953 DEFAULT_wxUSE_OMF
=no
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3959 # Check whether --enable-omf or --disable-omf was given.
3960 if test "${enable_omf+set}" = set; then
3961 enableval
="$enable_omf"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_omf
='wxUSE_OMF=yes'
3966 ac_cv_use_omf
='wxUSE_OMF=no'
3971 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982 eval "$ac_cv_use_omf"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_OMF" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 if test "$wxUSE_DEBUG" = "yes"; then
3998 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3999 DEFAULT_wxUSE_DEBUG_INFO
=yes
4001 elif test "$wxUSE_DEBUG" = "no"; then
4002 DEFAULT_wxUSE_DEBUG_FLAG
=no
4003 DEFAULT_wxUSE_DEBUG_INFO
=no
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4012 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4013 if test "${enable_debug_flag+set}" = set; then
4014 enableval
="$enable_debug_flag"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4019 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4024 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035 eval "$ac_cv_use_debug_flag"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_DEBUG_FLAG" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4053 # Check whether --enable-debug_info or --disable-debug_info was given.
4054 if test "${enable_debug_info+set}" = set; then
4055 enableval
="$enable_debug_info"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4060 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4065 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076 eval "$ac_cv_use_debug_info"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_DEBUG_INFO" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4094 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4095 if test "${enable_debug_gdb+set}" = set; then
4096 enableval
="$enable_debug_gdb"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4101 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4106 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117 eval "$ac_cv_use_debug_gdb"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_DEBUG_GDB" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4135 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4136 if test "${enable_debug_cntxt+set}" = set; then
4137 enableval
="$enable_debug_cntxt"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4142 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4147 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x
; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158 eval "$ac_cv_use_debug_cntxt"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4174 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4176 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4177 if test "${enable_mem_tracing+set}" = set; then
4178 enableval
="$enable_mem_tracing"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4183 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4188 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199 eval "$ac_cv_use_mem_tracing"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_MEM_TRACING" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4217 # Check whether --enable-profile or --disable-profile was given.
4218 if test "${enable_profile+set}" = set; then
4219 enableval
="$enable_profile"
4221 if test "$enableval" = yes; then
4222 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4224 ac_cv_use_profile
='wxUSE_PROFILE=no'
4229 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x
; then
4231 eval "DEFAULT_$LINE"
4236 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240 eval "$ac_cv_use_profile"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_PROFILE" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4259 if test "${enable_no_rtti+set}" = set; then
4260 enableval
="$enable_no_rtti"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4265 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4270 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281 eval "$ac_cv_use_no_rtti"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4286 if test "$wxUSE_NO_RTTI" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4299 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4300 if test "${enable_no_exceptions+set}" = set; then
4301 enableval
="$enable_no_exceptions"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4306 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4311 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322 eval "$ac_cv_use_no_exceptions"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4340 # Check whether --enable-permissive or --disable-permissive was given.
4341 if test "${enable_permissive+set}" = set; then
4342 enableval
="$enable_permissive"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4347 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4352 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363 eval "$ac_cv_use_permissive"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PERMISSIVE" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4381 # Check whether --enable-no_deps or --disable-no_deps was given.
4382 if test "${enable_no_deps+set}" = set; then
4383 enableval
="$enable_no_deps"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4388 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4393 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404 eval "$ac_cv_use_no_deps"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_NO_DEPS" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4422 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4423 if test "${enable_universal_binary+set}" = set; then
4424 enableval
="$enable_universal_binary"
4426 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4433 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4436 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4441 eval "$wx_cv_use_universal_binary"
4442 if test "$no_cache" != 1; then
4443 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4446 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4447 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4455 # Check whether --enable-compat24 or --disable-compat24 was given.
4456 if test "${enable_compat24+set}" = set; then
4457 enableval
="$enable_compat24"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4462 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4467 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478 eval "$ac_cv_use_compat24"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4483 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4484 echo "$as_me:$LINENO: result: yes" >&5
4485 echo "${ECHO_T}yes" >&6
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4492 enablestring
=disable
4493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4496 # Check whether --enable-compat26 or --disable-compat26 was given.
4497 if test "${enable_compat26+set}" = set; then
4498 enableval
="$enable_compat26"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4503 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4508 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519 eval "$ac_cv_use_compat26"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4524 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4538 # Check whether --enable-rpath or --disable-rpath was given.
4539 if test "${enable_rpath+set}" = set; then
4540 enableval
="$enable_rpath"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4545 ac_cv_use_rpath
='wxUSE_RPATH=no'
4550 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561 eval "$ac_cv_use_rpath"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_RPATH" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4582 # Check whether --enable-intl or --disable-intl was given.
4583 if test "${enable_intl+set}" = set; then
4584 enableval
="$enable_intl"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_intl
='wxUSE_INTL=yes'
4589 ac_cv_use_intl
='wxUSE_INTL=no'
4594 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605 eval "$ac_cv_use_intl"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_INTL" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4623 # Check whether --enable-config or --disable-config was given.
4624 if test "${enable_config+set}" = set; then
4625 enableval
="$enable_config"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_config
='wxUSE_CONFIG=yes'
4630 ac_cv_use_config
='wxUSE_CONFIG=no'
4635 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646 eval "$ac_cv_use_config"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_CONFIG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4665 # Check whether --enable-protocols or --disable-protocols was given.
4666 if test "${enable_protocols+set}" = set; then
4667 enableval
="$enable_protocols"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4672 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4677 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688 eval "$ac_cv_use_protocols"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_PROTOCOL" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4706 # Check whether --enable-ftp or --disable-ftp was given.
4707 if test "${enable_ftp+set}" = set; then
4708 enableval
="$enable_ftp"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4713 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4718 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729 eval "$ac_cv_use_ftp"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4747 # Check whether --enable-http or --disable-http was given.
4748 if test "${enable_http+set}" = set; then
4749 enableval
="$enable_http"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4754 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4759 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770 eval "$ac_cv_use_http"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4788 # Check whether --enable-fileproto or --disable-fileproto was given.
4789 if test "${enable_fileproto+set}" = set; then
4790 enableval
="$enable_fileproto"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4795 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4800 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811 eval "$ac_cv_use_fileproto"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4829 # Check whether --enable-sockets or --disable-sockets was given.
4830 if test "${enable_sockets+set}" = set; then
4831 enableval
="$enable_sockets"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4836 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4841 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x
; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852 eval "$ac_cv_use_sockets"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_SOCKETS" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4870 # Check whether --enable-ole or --disable-ole was given.
4871 if test "${enable_ole+set}" = set; then
4872 enableval
="$enable_ole"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_ole
='wxUSE_OLE=yes'
4877 ac_cv_use_ole
='wxUSE_OLE=no'
4882 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893 eval "$ac_cv_use_ole"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_OLE" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4911 # Check whether --enable-dataobj or --disable-dataobj was given.
4912 if test "${enable_dataobj+set}" = set; then
4913 enableval
="$enable_dataobj"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4918 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4923 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x
; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934 eval "$ac_cv_use_dataobj"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_DATAOBJ" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4953 # Check whether --enable-ipc or --disable-ipc was given.
4954 if test "${enable_ipc+set}" = set; then
4955 enableval
="$enable_ipc"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_ipc
='wxUSE_IPC=yes'
4960 ac_cv_use_ipc
='wxUSE_IPC=no'
4965 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976 eval "$ac_cv_use_ipc"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4981 if test "$wxUSE_IPC" = yes; then
4982 echo "$as_me:$LINENO: result: yes" >&5
4983 echo "${ECHO_T}yes" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4995 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4996 if test "${enable_apple_ieee+set}" = set; then
4997 enableval
="$enable_apple_ieee"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5002 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5007 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018 eval "$ac_cv_use_apple_ieee"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_APPLE_IEEE" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5036 # Check whether --enable-arcstream or --disable-arcstream was given.
5037 if test "${enable_arcstream+set}" = set; then
5038 enableval
="$enable_arcstream"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5043 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5048 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x
; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059 eval "$ac_cv_use_arcstream"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5077 # Check whether --enable-backtrace or --disable-backtrace was given.
5078 if test "${enable_backtrace+set}" = set; then
5079 enableval
="$enable_backtrace"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5084 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5089 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100 eval "$ac_cv_use_backtrace"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_STACKWALKER" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5118 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5119 if test "${enable_catch_segvs+set}" = set; then
5120 enableval
="$enable_catch_segvs"
5122 if test "$enableval" = yes; then
5123 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5125 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5130 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x
; then
5132 eval "DEFAULT_$LINE"
5137 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141 eval "$ac_cv_use_catch_segvs"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5159 # Check whether --enable-cmdline or --disable-cmdline was given.
5160 if test "${enable_cmdline+set}" = set; then
5161 enableval
="$enable_cmdline"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5166 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5171 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182 eval "$ac_cv_use_cmdline"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5200 # Check whether --enable-datetime or --disable-datetime was given.
5201 if test "${enable_datetime+set}" = set; then
5202 enableval
="$enable_datetime"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5207 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5212 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x
; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223 eval "$ac_cv_use_datetime"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_DATETIME" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5241 # Check whether --enable-debugreport or --disable-debugreport was given.
5242 if test "${enable_debugreport+set}" = set; then
5243 enableval
="$enable_debugreport"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5248 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5253 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264 eval "$ac_cv_use_debugreport"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_DEBUGREPORT" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5282 # Check whether --enable-dialupman or --disable-dialupman was given.
5283 if test "${enable_dialupman+set}" = set; then
5284 enableval
="$enable_dialupman"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5289 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5294 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x
; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305 eval "$ac_cv_use_dialupman"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5323 # Check whether --enable-dynlib or --disable-dynlib was given.
5324 if test "${enable_dynlib+set}" = set; then
5325 enableval
="$enable_dynlib"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5330 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5335 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346 eval "$ac_cv_use_dynlib"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5364 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5365 if test "${enable_dynamicloader+set}" = set; then
5366 enableval
="$enable_dynamicloader"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5371 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5376 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387 eval "$ac_cv_use_dynamicloader"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5405 # Check whether --enable-exceptions or --disable-exceptions was given.
5406 if test "${enable_exceptions+set}" = set; then
5407 enableval
="$enable_exceptions"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5412 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5417 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428 eval "$ac_cv_use_exceptions"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_EXCEPTIONS" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5446 # Check whether --enable-ffile or --disable-ffile was given.
5447 if test "${enable_ffile+set}" = set; then
5448 enableval
="$enable_ffile"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5453 ac_cv_use_ffile
='wxUSE_FFILE=no'
5458 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469 eval "$ac_cv_use_ffile"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_FFILE" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5487 # Check whether --enable-file or --disable-file was given.
5488 if test "${enable_file+set}" = set; then
5489 enableval
="$enable_file"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_file
='wxUSE_FILE=yes'
5494 ac_cv_use_file
='wxUSE_FILE=no'
5499 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510 eval "$ac_cv_use_file"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_FILE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5528 # Check whether --enable-filesystem or --disable-filesystem was given.
5529 if test "${enable_filesystem+set}" = set; then
5530 enableval
="$enable_filesystem"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5535 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5540 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551 eval "$ac_cv_use_filesystem"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_FILESYSTEM" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5569 # Check whether --enable-fontmap or --disable-fontmap was given.
5570 if test "${enable_fontmap+set}" = set; then
5571 enableval
="$enable_fontmap"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5576 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5581 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592 eval "$ac_cv_use_fontmap"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_FONTMAP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5610 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5611 if test "${enable_fs_archive+set}" = set; then
5612 enableval
="$enable_fs_archive"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5617 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5622 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633 eval "$ac_cv_use_fs_archive"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_FS_ARCHIVE" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5651 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5652 if test "${enable_fs_inet+set}" = set; then
5653 enableval
="$enable_fs_inet"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5658 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5663 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674 eval "$ac_cv_use_fs_inet"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_FS_INET" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5692 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5693 if test "${enable_fs_zip+set}" = set; then
5694 enableval
="$enable_fs_zip"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5699 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5704 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715 eval "$ac_cv_use_fs_zip"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_FS_ZIP" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5733 # Check whether --enable-geometry or --disable-geometry was given.
5734 if test "${enable_geometry+set}" = set; then
5735 enableval
="$enable_geometry"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5740 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5745 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756 eval "$ac_cv_use_geometry"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_GEOMETRY" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5774 # Check whether --enable-log or --disable-log was given.
5775 if test "${enable_log+set}" = set; then
5776 enableval
="$enable_log"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_log
='wxUSE_LOG=yes'
5781 ac_cv_use_log
='wxUSE_LOG=no'
5786 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797 eval "$ac_cv_use_log"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_LOG" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5815 # Check whether --enable-longlong or --disable-longlong was given.
5816 if test "${enable_longlong+set}" = set; then
5817 enableval
="$enable_longlong"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5822 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5827 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838 eval "$ac_cv_use_longlong"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_LONGLONG" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5856 # Check whether --enable-mimetype or --disable-mimetype was given.
5857 if test "${enable_mimetype+set}" = set; then
5858 enableval
="$enable_mimetype"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5863 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5868 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879 eval "$ac_cv_use_mimetype"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_MIMETYPE" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5897 # Check whether --enable-mslu or --disable-mslu was given.
5898 if test "${enable_mslu+set}" = set; then
5899 enableval
="$enable_mslu"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5904 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5909 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x
; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920 eval "$ac_cv_use_mslu"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_UNICODE_MSLU" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5938 # Check whether --enable-snglinst or --disable-snglinst was given.
5939 if test "${enable_snglinst+set}" = set; then
5940 enableval
="$enable_snglinst"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5945 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5950 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961 eval "$ac_cv_use_snglinst"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5979 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then
5981 enableval
="$enable_std_iostreams"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5986 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5991 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x
; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002 eval "$ac_cv_use_std_iostreams"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6007 if test "$wxUSE_STD_IOSTREAM" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6020 # Check whether --enable-std_string or --disable-std_string was given.
6021 if test "${enable_std_string+set}" = set; then
6022 enableval
="$enable_std_string"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6027 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6032 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043 eval "$ac_cv_use_std_string"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_STD_STRING" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6061 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6062 if test "${enable_stdpaths+set}" = set; then
6063 enableval
="$enable_stdpaths"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6068 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6073 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x
; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084 eval "$ac_cv_use_stdpaths"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_STDPATHS" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6102 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6103 if test "${enable_stopwatch+set}" = set; then
6104 enableval
="$enable_stopwatch"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6109 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6114 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125 eval "$ac_cv_use_stopwatch"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_STOPWATCH" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6143 # Check whether --enable-streams or --disable-streams was given.
6144 if test "${enable_streams+set}" = set; then
6145 enableval
="$enable_streams"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6150 ac_cv_use_streams
='wxUSE_STREAMS=no'
6155 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166 eval "$ac_cv_use_streams"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_STREAMS" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6184 # Check whether --enable-system_options or --disable-system_options was given.
6185 if test "${enable_system_options+set}" = set; then
6186 enableval
="$enable_system_options"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6191 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6196 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207 eval "$ac_cv_use_system_options"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6225 # Check whether --enable-tarstream or --disable-tarstream was given.
6226 if test "${enable_tarstream+set}" = set; then
6227 enableval
="$enable_tarstream"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6232 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6237 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248 eval "$ac_cv_use_tarstream"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_TARSTREAM" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6266 # Check whether --enable-textbuf or --disable-textbuf was given.
6267 if test "${enable_textbuf+set}" = set; then
6268 enableval
="$enable_textbuf"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6273 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6278 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289 eval "$ac_cv_use_textbuf"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_TEXTBUFFER" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6307 # Check whether --enable-textfile or --disable-textfile was given.
6308 if test "${enable_textfile+set}" = set; then
6309 enableval
="$enable_textfile"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6314 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6319 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330 eval "$ac_cv_use_textfile"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_TEXTFILE" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6348 # Check whether --enable-timer or --disable-timer was given.
6349 if test "${enable_timer+set}" = set; then
6350 enableval
="$enable_timer"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_timer
='wxUSE_TIMER=yes'
6355 ac_cv_use_timer
='wxUSE_TIMER=no'
6360 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371 eval "$ac_cv_use_timer"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_TIMER" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6389 # Check whether --enable-unicode or --disable-unicode was given.
6390 if test "${enable_unicode+set}" = set; then
6391 enableval
="$enable_unicode"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6396 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6401 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412 eval "$ac_cv_use_unicode"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_UNICODE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6430 # Check whether --enable-sound or --disable-sound was given.
6431 if test "${enable_sound+set}" = set; then
6432 enableval
="$enable_sound"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_sound
='wxUSE_SOUND=yes'
6437 ac_cv_use_sound
='wxUSE_SOUND=no'
6442 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453 eval "$ac_cv_use_sound"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_SOUND" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6471 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6472 if test "${enable_mediactrl+set}" = set; then
6473 enableval
="$enable_mediactrl"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6478 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6483 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494 eval "$ac_cv_use_mediactrl"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MEDIACTRL" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6512 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6513 if test "${enable_gstreamer8+set}" = set; then
6514 enableval
="$enable_gstreamer8"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6519 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6524 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535 eval "$ac_cv_use_gstreamer8"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_GSTREAMER8" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6553 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6554 if test "${enable_printfposparam+set}" = set; then
6555 enableval
="$enable_printfposparam"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6560 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6565 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576 eval "$ac_cv_use_printfposparam"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6594 # Check whether --enable-zipstream or --disable-zipstream was given.
6595 if test "${enable_zipstream+set}" = set; then
6596 enableval
="$enable_zipstream"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6601 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6606 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617 eval "$ac_cv_use_zipstream"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_ZIPSTREAM" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6636 # Check whether --enable-url or --disable-url was given.
6637 if test "${enable_url+set}" = set; then
6638 enableval
="$enable_url"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_url
='wxUSE_URL=yes'
6643 ac_cv_use_url
='wxUSE_URL=no'
6648 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6659 eval "$ac_cv_use_url"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_URL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6677 # Check whether --enable-variant or --disable-variant was given.
6678 if test "${enable_variant+set}" = set; then
6679 enableval
="$enable_variant"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6684 ac_cv_use_variant
='wxUSE_VARIANT=no'
6689 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x
; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700 eval "$ac_cv_use_variant"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_VARIANT" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6718 # Check whether --enable-protocol or --disable-protocol was given.
6719 if test "${enable_protocol+set}" = set; then
6720 enableval
="$enable_protocol"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6725 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6730 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741 eval "$ac_cv_use_protocol"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_PROTOCOL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6759 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6760 if test "${enable_protocol_http+set}" = set; then
6761 enableval
="$enable_protocol_http"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6766 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6771 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782 eval "$ac_cv_use_protocol_http"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6800 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6801 if test "${enable_protocol_ftp+set}" = set; then
6802 enableval
="$enable_protocol_ftp"
6804 if test "$enableval" = yes; then
6805 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6807 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6812 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x
; then
6814 eval "DEFAULT_$LINE"
6819 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823 eval "$ac_cv_use_protocol_ftp"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6841 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6842 if test "${enable_protocol_file+set}" = set; then
6843 enableval
="$enable_protocol_file"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6848 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6853 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864 eval "$ac_cv_use_protocol_file"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6885 # Check whether --enable-threads or --disable-threads was given.
6886 if test "${enable_threads+set}" = set; then
6887 enableval
="$enable_threads"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_threads
='wxUSE_THREADS=yes'
6892 ac_cv_use_threads
='wxUSE_THREADS=no'
6897 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908 eval "$ac_cv_use_threads"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_THREADS" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6922 if test "$wxUSE_GUI" = "yes"; then
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6930 # Check whether --enable-docview or --disable-docview was given.
6931 if test "${enable_docview+set}" = set; then
6932 enableval
="$enable_docview"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6937 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6942 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953 eval "$ac_cv_use_docview"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6971 # Check whether --enable-help or --disable-help was given.
6972 if test "${enable_help+set}" = set; then
6973 enableval
="$enable_help"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_help
='wxUSE_HELP=yes'
6978 ac_cv_use_help
='wxUSE_HELP=no'
6983 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994 eval "$ac_cv_use_help"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_HELP" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7012 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7013 if test "${enable_mshtmlhelp+set}" = set; then
7014 enableval
="$enable_mshtmlhelp"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7019 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7024 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035 eval "$ac_cv_use_mshtmlhelp"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_MS_HTML_HELP" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7053 # Check whether --enable-html or --disable-html was given.
7054 if test "${enable_html+set}" = set; then
7055 enableval
="$enable_html"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_html
='wxUSE_HTML=yes'
7060 ac_cv_use_html
='wxUSE_HTML=no'
7065 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076 eval "$ac_cv_use_html"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_HTML" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7094 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7095 if test "${enable_htmlhelp+set}" = set; then
7096 enableval
="$enable_htmlhelp"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7101 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7106 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117 eval "$ac_cv_use_htmlhelp"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_WXHTML_HELP" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7135 # Check whether --enable-xrc or --disable-xrc was given.
7136 if test "${enable_xrc+set}" = set; then
7137 enableval
="$enable_xrc"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_xrc
='wxUSE_XRC=yes'
7142 ac_cv_use_xrc
='wxUSE_XRC=no'
7147 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158 eval "$ac_cv_use_xrc"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_XRC" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7176 # Check whether --enable-aui or --disable-aui was given.
7177 if test "${enable_aui+set}" = set; then
7178 enableval
="$enable_aui"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_aui
='wxUSE_AUI=yes'
7183 ac_cv_use_aui
='wxUSE_AUI=no'
7188 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199 eval "$ac_cv_use_aui"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_AUI" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7217 # Check whether --enable-constraints or --disable-constraints was given.
7218 if test "${enable_constraints+set}" = set; then
7219 enableval
="$enable_constraints"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7224 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7229 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240 eval "$ac_cv_use_constraints"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONSTRAINTS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7258 # Check whether --enable-printarch or --disable-printarch was given.
7259 if test "${enable_printarch+set}" = set; then
7260 enableval
="$enable_printarch"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7265 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7270 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281 eval "$ac_cv_use_printarch"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7299 # Check whether --enable-mdi or --disable-mdi was given.
7300 if test "${enable_mdi+set}" = set; then
7301 enableval
="$enable_mdi"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_mdi
='wxUSE_MDI=yes'
7306 ac_cv_use_mdi
='wxUSE_MDI=no'
7311 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322 eval "$ac_cv_use_mdi"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_MDI" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7340 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7341 if test "${enable_mdidoc+set}" = set; then
7342 enableval
="$enable_mdidoc"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7347 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7352 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363 eval "$ac_cv_use_mdidoc"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7381 # Check whether --enable-loggui or --disable-loggui was given.
7382 if test "${enable_loggui+set}" = set; then
7383 enableval
="$enable_loggui"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7388 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7393 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404 eval "$ac_cv_use_loggui"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_LOGGUI" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7422 # Check whether --enable-logwin or --disable-logwin was given.
7423 if test "${enable_logwin+set}" = set; then
7424 enableval
="$enable_logwin"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7429 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7434 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445 eval "$ac_cv_use_logwin"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_LOGWINDOW" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7463 # Check whether --enable-logdialog or --disable-logdialog was given.
7464 if test "${enable_logdialog+set}" = set; then
7465 enableval
="$enable_logdialog"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7470 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7475 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486 eval "$ac_cv_use_logdialog"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_LOGDIALOG" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7504 # Check whether --enable-webkit or --disable-webkit was given.
7505 if test "${enable_webkit+set}" = set; then
7506 enableval
="$enable_webkit"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7511 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7516 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527 eval "$ac_cv_use_webkit"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_WEBKIT" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7545 # Check whether --enable-richtext or --disable-richtext was given.
7546 if test "${enable_richtext+set}" = set; then
7547 enableval
="$enable_richtext"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_richtext
='wxUSE_RICHTEXT=yes'
7552 ac_cv_use_richtext
='wxUSE_RICHTEXT=no'
7557 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_richtext
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568 eval "$ac_cv_use_richtext"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_RICHTEXT" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7586 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7587 if test "${enable_graphics_ctx+set}" = set; then
7588 enableval
="$enable_graphics_ctx"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7593 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7598 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609 eval "$ac_cv_use_graphics_ctx"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7628 # Check whether --enable-postscript or --disable-postscript was given.
7629 if test "${enable_postscript+set}" = set; then
7630 enableval
="$enable_postscript"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7635 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7640 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651 eval "$ac_cv_use_postscript"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_POSTSCRIPT" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7672 # Check whether --enable-prologio or --disable-prologio was given.
7673 if test "${enable_prologio+set}" = set; then
7674 enableval
="$enable_prologio"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7679 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7684 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695 eval "$ac_cv_use_prologio"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_PROLOGIO" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7713 # Check whether --enable-resources or --disable-resources was given.
7714 if test "${enable_resources+set}" = set; then
7715 enableval
="$enable_resources"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7720 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7725 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736 eval "$ac_cv_use_resources"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_RESOURCES" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7756 # Check whether --enable-clipboard or --disable-clipboard was given.
7757 if test "${enable_clipboard+set}" = set; then
7758 enableval
="$enable_clipboard"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7763 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7768 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779 eval "$ac_cv_use_clipboard"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_CLIPBOARD" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7797 # Check whether --enable-dnd or --disable-dnd was given.
7798 if test "${enable_dnd+set}" = set; then
7799 enableval
="$enable_dnd"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7804 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7809 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820 eval "$ac_cv_use_dnd"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7838 # Check whether --enable-metafile or --disable-metafile was given.
7839 if test "${enable_metafile+set}" = set; then
7840 enableval
="$enable_metafile"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7845 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7850 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861 eval "$ac_cv_use_metafile"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_METAFILE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7882 # Check whether --enable-controls or --disable-controls was given.
7883 if test "${enable_controls+set}" = set; then
7884 enableval
="$enable_controls"
7886 if test "$enableval" = yes; then
7887 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7889 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7894 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x
; then
7896 eval "DEFAULT_$LINE"
7901 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905 eval "$ac_cv_use_controls"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_CONTROLS" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7919 if test "$wxUSE_CONTROLS" = "yes"; then
7920 DEFAULT_wxUSE_ACCEL
=yes
7921 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7922 DEFAULT_wxUSE_BMPBUTTON
=yes
7923 DEFAULT_wxUSE_BUTTON
=yes
7924 DEFAULT_wxUSE_CALCTRL
=yes
7925 DEFAULT_wxUSE_CARET
=yes
7926 DEFAULT_wxUSE_COMBOBOX
=yes
7927 DEFAULT_wxUSE_CHECKBOX
=yes
7928 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7929 DEFAULT_wxUSE_CHOICE
=yes
7930 DEFAULT_wxUSE_CHOICEBOOK
=yes
7931 DEFAULT_wxUSE_COLLPANE
=yes
7932 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7933 DEFAULT_wxUSE_COMBOBOX
=yes
7934 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7935 DEFAULT_wxUSE_DISPLAY
=yes
7936 DEFAULT_wxUSE_DETECT_SM
=yes
7937 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7938 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7939 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7940 DEFAULT_wxUSE_GAUGE
=yes
7941 DEFAULT_wxUSE_GRID
=yes
7942 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7943 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7944 DEFAULT_wxUSE_IMAGLIST
=yes
7945 DEFAULT_wxUSE_LISTBOOK
=yes
7946 DEFAULT_wxUSE_LISTBOX
=yes
7947 DEFAULT_wxUSE_LISTCTRL
=yes
7948 DEFAULT_wxUSE_NOTEBOOK
=yes
7949 DEFAULT_wxUSE_RADIOBOX
=yes
7950 DEFAULT_wxUSE_RADIOBTN
=yes
7951 DEFAULT_wxUSE_SASH
=yes
7952 DEFAULT_wxUSE_SCROLLBAR
=yes
7953 DEFAULT_wxUSE_SLIDER
=yes
7954 DEFAULT_wxUSE_SPINBTN
=yes
7955 DEFAULT_wxUSE_SPINCTRL
=yes
7956 DEFAULT_wxUSE_SPLITTER
=yes
7957 DEFAULT_wxUSE_STATBMP
=yes
7958 DEFAULT_wxUSE_STATBOX
=yes
7959 DEFAULT_wxUSE_STATLINE
=yes
7960 DEFAULT_wxUSE_STATUSBAR
=yes
7961 DEFAULT_wxUSE_TAB_DIALOG
=yes
7962 DEFAULT_wxUSE_TOGGLEBTN
=yes
7963 DEFAULT_wxUSE_TOOLBAR
=yes
7964 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7965 DEFAULT_wxUSE_TOOLTIPS
=yes
7966 DEFAULT_wxUSE_TREEBOOK
=yes
7967 DEFAULT_wxUSE_TOOLBOOK
=yes
7968 DEFAULT_wxUSE_TREECTRL
=yes
7969 DEFAULT_wxUSE_POPUPWIN
=yes
7970 DEFAULT_wxUSE_TIPWINDOW
=yes
7971 elif test "$wxUSE_CONTROLS" = "no"; then
7972 DEFAULT_wxUSE_ACCEL
=no
7973 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7974 DEFAULT_wxUSE_BMPBUTTON
=no
7975 DEFAULT_wxUSE_BUTTON
=no
7976 DEFAULT_wxUSE_CALCTRL
=no
7977 DEFAULT_wxUSE_CARET
=no
7978 DEFAULT_wxUSE_COLLPANE
=no
7979 DEFAULT_wxUSE_COMBOBOX
=no
7980 DEFAULT_wxUSE_CHECKBOX
=no
7981 DEFAULT_wxUSE_CHECKLISTBOX
=no
7982 DEFAULT_wxUSE_CHOICE
=no
7983 DEFAULT_wxUSE_CHOICEBOOK
=no
7984 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7985 DEFAULT_wxUSE_COMBOBOX
=no
7986 DEFAULT_wxUSE_DATEPICKCTRL
=no
7987 DEFAULT_wxUSE_DISPLAY
=no
7988 DEFAULT_wxUSE_DETECT_SM
=no
7989 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7990 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7991 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7992 DEFAULT_wxUSE_GAUGE
=no
7993 DEFAULT_wxUSE_GRID
=no
7994 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7995 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7996 DEFAULT_wxUSE_IMAGLIST
=no
7997 DEFAULT_wxUSE_LISTBOOK
=no
7998 DEFAULT_wxUSE_LISTBOX
=no
7999 DEFAULT_wxUSE_LISTCTRL
=no
8000 DEFAULT_wxUSE_NOTEBOOK
=no
8001 DEFAULT_wxUSE_RADIOBOX
=no
8002 DEFAULT_wxUSE_RADIOBTN
=no
8003 DEFAULT_wxUSE_SASH
=no
8004 DEFAULT_wxUSE_SCROLLBAR
=no
8005 DEFAULT_wxUSE_SLIDER
=no
8006 DEFAULT_wxUSE_SPINBTN
=no
8007 DEFAULT_wxUSE_SPINCTRL
=no
8008 DEFAULT_wxUSE_SPLITTER
=no
8009 DEFAULT_wxUSE_STATBMP
=no
8010 DEFAULT_wxUSE_STATBOX
=no
8011 DEFAULT_wxUSE_STATLINE
=no
8012 DEFAULT_wxUSE_STATUSBAR
=no
8013 DEFAULT_wxUSE_TAB_DIALOG
=no
8014 DEFAULT_wxUSE_TOGGLEBTN
=no
8015 DEFAULT_wxUSE_TOOLBAR
=no
8016 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8017 DEFAULT_wxUSE_TOOLTIPS
=no
8018 DEFAULT_wxUSE_TREEBOOK
=no
8019 DEFAULT_wxUSE_TOOLBOOK
=no
8020 DEFAULT_wxUSE_TREECTRL
=no
8021 DEFAULT_wxUSE_POPUPWIN
=no
8022 DEFAULT_wxUSE_TIPWINDOW
=no
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8030 # Check whether --enable-accel or --disable-accel was given.
8031 if test "${enable_accel+set}" = set; then
8032 enableval
="$enable_accel"
8034 if test "$enableval" = yes; then
8035 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8037 ac_cv_use_accel
='wxUSE_ACCEL=no'
8042 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x
; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053 eval "$ac_cv_use_accel"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8058 if test "$wxUSE_ACCEL" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8071 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8072 if test "${enable_animatectrl+set}" = set; then
8073 enableval
="$enable_animatectrl"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8078 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8083 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x
; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094 eval "$ac_cv_use_animatectrl"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8099 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8112 # Check whether --enable-button or --disable-button was given.
8113 if test "${enable_button+set}" = set; then
8114 enableval
="$enable_button"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_button
='wxUSE_BUTTON=yes'
8119 ac_cv_use_button
='wxUSE_BUTTON=no'
8124 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x
; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135 eval "$ac_cv_use_button"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_BUTTON" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8153 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8154 if test "${enable_bmpbutton+set}" = set; then
8155 enableval
="$enable_bmpbutton"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8160 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8165 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x
; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176 eval "$ac_cv_use_bmpbutton"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_BMPBUTTON" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8194 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8195 if test "${enable_bmpcombobox+set}" = set; then
8196 enableval
="$enable_bmpcombobox"
8198 if test "$enableval" = yes; then
8199 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8201 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8206 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x
; then
8208 eval "DEFAULT_$LINE"
8213 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217 eval "$ac_cv_use_bmpcombobox"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8235 # Check whether --enable-calendar or --disable-calendar was given.
8236 if test "${enable_calendar+set}" = set; then
8237 enableval
="$enable_calendar"
8239 if test "$enableval" = yes; then
8240 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8242 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8247 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x
; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258 eval "$ac_cv_use_calendar"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8263 if test "$wxUSE_CALCTRL" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8276 # Check whether --enable-caret or --disable-caret was given.
8277 if test "${enable_caret+set}" = set; then
8278 enableval
="$enable_caret"
8280 if test "$enableval" = yes; then
8281 ac_cv_use_caret
='wxUSE_CARET=yes'
8283 ac_cv_use_caret
='wxUSE_CARET=no'
8288 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x
; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299 eval "$ac_cv_use_caret"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8304 if test "$wxUSE_CARET" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8317 # Check whether --enable-checkbox or --disable-checkbox was given.
8318 if test "${enable_checkbox+set}" = set; then
8319 enableval
="$enable_checkbox"
8321 if test "$enableval" = yes; then
8322 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8324 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8329 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x
; then
8331 eval "DEFAULT_$LINE"
8336 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340 eval "$ac_cv_use_checkbox"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_CHECKBOX" = yes; then
8346 echo "$as_me:$LINENO: result: yes" >&5
8347 echo "${ECHO_T}yes" >&6
8349 echo "$as_me:$LINENO: result: no" >&5
8350 echo "${ECHO_T}no" >&6
8355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8358 # Check whether --enable-checklst or --disable-checklst was given.
8359 if test "${enable_checklst+set}" = set; then
8360 enableval
="$enable_checklst"
8362 if test "$enableval" = yes; then
8363 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8365 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8370 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x
; then
8372 eval "DEFAULT_$LINE"
8377 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381 eval "$ac_cv_use_checklst"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8386 if test "$wxUSE_CHECKLST" = yes; then
8387 echo "$as_me:$LINENO: result: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8390 echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6
8396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8399 # Check whether --enable-choice or --disable-choice was given.
8400 if test "${enable_choice+set}" = set; then
8401 enableval
="$enable_choice"
8403 if test "$enableval" = yes; then
8404 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8406 ac_cv_use_choice
='wxUSE_CHOICE=no'
8411 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x
; then
8413 eval "DEFAULT_$LINE"
8418 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422 eval "$ac_cv_use_choice"
8423 if test "$no_cache" != 1; then
8424 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8427 if test "$wxUSE_CHOICE" = yes; then
8428 echo "$as_me:$LINENO: result: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8431 echo "$as_me:$LINENO: result: no" >&5
8432 echo "${ECHO_T}no" >&6
8437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8438 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8440 # Check whether --enable-choicebook or --disable-choicebook was given.
8441 if test "${enable_choicebook+set}" = set; then
8442 enableval
="$enable_choicebook"
8444 if test "$enableval" = yes; then
8445 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8447 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8452 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x
; then
8454 eval "DEFAULT_$LINE"
8459 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463 eval "$ac_cv_use_choicebook"
8464 if test "$no_cache" != 1; then
8465 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8468 if test "$wxUSE_CHOICEBOOK" = yes; then
8469 echo "$as_me:$LINENO: result: yes" >&5
8470 echo "${ECHO_T}yes" >&6
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8481 # Check whether --enable-collpane or --disable-collpane was given.
8482 if test "${enable_collpane+set}" = set; then
8483 enableval
="$enable_collpane"
8485 if test "$enableval" = yes; then
8486 ac_cv_use_collpane
='wxUSE_COLLPANE=yes'
8488 ac_cv_use_collpane
='wxUSE_COLLPANE=no'
8493 LINE
=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x
; then
8495 eval "DEFAULT_$LINE"
8500 ac_cv_use_collpane
='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504 eval "$ac_cv_use_collpane"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8509 if test "$wxUSE_COLLPANE" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8520 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8522 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8523 if test "${enable_colourpicker+set}" = set; then
8524 enableval
="$enable_colourpicker"
8526 if test "$enableval" = yes; then
8527 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8529 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8534 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8535 if test "x$LINE" != x
; then
8536 eval "DEFAULT_$LINE"
8541 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545 eval "$ac_cv_use_colourpicker"
8546 if test "$no_cache" != 1; then
8547 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8550 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8551 echo "$as_me:$LINENO: result: yes" >&5
8552 echo "${ECHO_T}yes" >&6
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8563 # Check whether --enable-combobox or --disable-combobox was given.
8564 if test "${enable_combobox+set}" = set; then
8565 enableval
="$enable_combobox"
8567 if test "$enableval" = yes; then
8568 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8570 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8575 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8576 if test "x$LINE" != x
; then
8577 eval "DEFAULT_$LINE"
8582 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586 eval "$ac_cv_use_combobox"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8591 if test "$wxUSE_COMBOBOX" = yes; then
8592 echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8604 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8605 if test "${enable_comboctrl+set}" = set; then
8606 enableval
="$enable_comboctrl"
8608 if test "$enableval" = yes; then
8609 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8611 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8616 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x
; then
8618 eval "DEFAULT_$LINE"
8623 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627 eval "$ac_cv_use_comboctrl"
8628 if test "$no_cache" != 1; then
8629 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8632 if test "$wxUSE_COMBOCTRL" = yes; then
8633 echo "$as_me:$LINENO: result: yes" >&5
8634 echo "${ECHO_T}yes" >&6
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8645 # Check whether --enable-datepick or --disable-datepick was given.
8646 if test "${enable_datepick+set}" = set; then
8647 enableval
="$enable_datepick"
8649 if test "$enableval" = yes; then
8650 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8652 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8657 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x
; then
8659 eval "DEFAULT_$LINE"
8664 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668 eval "$ac_cv_use_datepick"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8673 if test "$wxUSE_DATEPICKCTRL" = yes; then
8674 echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6
8677 echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6
8683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8686 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8687 if test "${enable_dirpicker+set}" = set; then
8688 enableval
="$enable_dirpicker"
8690 if test "$enableval" = yes; then
8691 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8693 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8698 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8699 if test "x$LINE" != x
; then
8700 eval "DEFAULT_$LINE"
8705 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709 eval "$ac_cv_use_dirpicker"
8710 if test "$no_cache" != 1; then
8711 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8714 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8715 echo "$as_me:$LINENO: result: yes" >&5
8716 echo "${ECHO_T}yes" >&6
8718 echo "$as_me:$LINENO: result: no" >&5
8719 echo "${ECHO_T}no" >&6
8724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8727 # Check whether --enable-display or --disable-display was given.
8728 if test "${enable_display+set}" = set; then
8729 enableval
="$enable_display"
8731 if test "$enableval" = yes; then
8732 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8734 ac_cv_use_display
='wxUSE_DISPLAY=no'
8739 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8740 if test "x$LINE" != x
; then
8741 eval "DEFAULT_$LINE"
8746 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750 eval "$ac_cv_use_display"
8751 if test "$no_cache" != 1; then
8752 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8755 if test "$wxUSE_DISPLAY" = yes; then
8756 echo "$as_me:$LINENO: result: yes" >&5
8757 echo "${ECHO_T}yes" >&6
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8768 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8769 if test "${enable_detect_sm+set}" = set; then
8770 enableval
="$enable_detect_sm"
8772 if test "$enableval" = yes; then
8773 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8775 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8780 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x
; then
8782 eval "DEFAULT_$LINE"
8787 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791 eval "$ac_cv_use_detect_sm"
8792 if test "$no_cache" != 1; then
8793 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8796 if test "$wxUSE_DETECT_SM" = yes; then
8797 echo "$as_me:$LINENO: result: yes" >&5
8798 echo "${ECHO_T}yes" >&6
8800 echo "$as_me:$LINENO: result: no" >&5
8801 echo "${ECHO_T}no" >&6
8806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8809 # Check whether --enable-filepicker or --disable-filepicker was given.
8810 if test "${enable_filepicker+set}" = set; then
8811 enableval
="$enable_filepicker"
8813 if test "$enableval" = yes; then
8814 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8816 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8821 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8822 if test "x$LINE" != x
; then
8823 eval "DEFAULT_$LINE"
8828 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832 eval "$ac_cv_use_filepicker"
8833 if test "$no_cache" != 1; then
8834 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8837 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8838 echo "$as_me:$LINENO: result: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8841 echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6
8847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8850 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8851 if test "${enable_fontpicker+set}" = set; then
8852 enableval
="$enable_fontpicker"
8854 if test "$enableval" = yes; then
8855 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8857 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8862 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8863 if test "x$LINE" != x
; then
8864 eval "DEFAULT_$LINE"
8869 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873 eval "$ac_cv_use_fontpicker"
8874 if test "$no_cache" != 1; then
8875 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8878 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8879 echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6
8882 echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6
8888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8891 # Check whether --enable-gauge or --disable-gauge was given.
8892 if test "${enable_gauge+set}" = set; then
8893 enableval
="$enable_gauge"
8895 if test "$enableval" = yes; then
8896 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8898 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8903 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8904 if test "x$LINE" != x
; then
8905 eval "DEFAULT_$LINE"
8910 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914 eval "$ac_cv_use_gauge"
8915 if test "$no_cache" != 1; then
8916 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8919 if test "$wxUSE_GAUGE" = yes; then
8920 echo "$as_me:$LINENO: result: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8923 echo "$as_me:$LINENO: result: no" >&5
8924 echo "${ECHO_T}no" >&6
8929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8932 # Check whether --enable-grid or --disable-grid was given.
8933 if test "${enable_grid+set}" = set; then
8934 enableval
="$enable_grid"
8936 if test "$enableval" = yes; then
8937 ac_cv_use_grid
='wxUSE_GRID=yes'
8939 ac_cv_use_grid
='wxUSE_GRID=no'
8944 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8945 if test "x$LINE" != x
; then
8946 eval "DEFAULT_$LINE"
8951 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955 eval "$ac_cv_use_grid"
8956 if test "$no_cache" != 1; then
8957 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8960 if test "$wxUSE_GRID" = yes; then
8961 echo "$as_me:$LINENO: result: yes" >&5
8962 echo "${ECHO_T}yes" >&6
8964 echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6
8970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8973 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8974 if test "${enable_dataviewctrl+set}" = set; then
8975 enableval
="$enable_dataviewctrl"
8977 if test "$enableval" = yes; then
8978 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8980 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8985 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8986 if test "x$LINE" != x
; then
8987 eval "DEFAULT_$LINE"
8992 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996 eval "$ac_cv_use_dataviewctrl"
8997 if test "$no_cache" != 1; then
8998 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9001 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9002 echo "$as_me:$LINENO: result: yes" >&5
9003 echo "${ECHO_T}yes" >&6
9005 echo "$as_me:$LINENO: result: no" >&5
9006 echo "${ECHO_T}no" >&6
9011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9014 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9015 if test "${enable_hyperlink+set}" = set; then
9016 enableval
="$enable_hyperlink"
9018 if test "$enableval" = yes; then
9019 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9021 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9026 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9027 if test "x$LINE" != x
; then
9028 eval "DEFAULT_$LINE"
9033 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037 eval "$ac_cv_use_hyperlink"
9038 if test "$no_cache" != 1; then
9039 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9042 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9043 echo "$as_me:$LINENO: result: yes" >&5
9044 echo "${ECHO_T}yes" >&6
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9055 # Check whether --enable-imaglist or --disable-imaglist was given.
9056 if test "${enable_imaglist+set}" = set; then
9057 enableval
="$enable_imaglist"
9059 if test "$enableval" = yes; then
9060 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9062 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9067 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x
; then
9069 eval "DEFAULT_$LINE"
9074 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078 eval "$ac_cv_use_imaglist"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9083 if test "$wxUSE_IMAGLIST" = yes; then
9084 echo "$as_me:$LINENO: result: yes" >&5
9085 echo "${ECHO_T}yes" >&6
9087 echo "$as_me:$LINENO: result: no" >&5
9088 echo "${ECHO_T}no" >&6
9093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9096 # Check whether --enable-listbook or --disable-listbook was given.
9097 if test "${enable_listbook+set}" = set; then
9098 enableval
="$enable_listbook"
9100 if test "$enableval" = yes; then
9101 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9103 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9108 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9109 if test "x$LINE" != x
; then
9110 eval "DEFAULT_$LINE"
9115 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119 eval "$ac_cv_use_listbook"
9120 if test "$no_cache" != 1; then
9121 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9124 if test "$wxUSE_LISTBOOK" = yes; then
9125 echo "$as_me:$LINENO: result: yes" >&5
9126 echo "${ECHO_T}yes" >&6
9128 echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6
9134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9137 # Check whether --enable-listbox or --disable-listbox was given.
9138 if test "${enable_listbox+set}" = set; then
9139 enableval
="$enable_listbox"
9141 if test "$enableval" = yes; then
9142 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9144 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9149 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x
; then
9151 eval "DEFAULT_$LINE"
9156 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160 eval "$ac_cv_use_listbox"
9161 if test "$no_cache" != 1; then
9162 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9165 if test "$wxUSE_LISTBOX" = yes; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9169 echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6
9175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9178 # Check whether --enable-listctrl or --disable-listctrl was given.
9179 if test "${enable_listctrl+set}" = set; then
9180 enableval
="$enable_listctrl"
9182 if test "$enableval" = yes; then
9183 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9185 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9190 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9191 if test "x$LINE" != x
; then
9192 eval "DEFAULT_$LINE"
9197 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201 eval "$ac_cv_use_listctrl"
9202 if test "$no_cache" != 1; then
9203 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9206 if test "$wxUSE_LISTCTRL" = yes; then
9207 echo "$as_me:$LINENO: result: yes" >&5
9208 echo "${ECHO_T}yes" >&6
9210 echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6
9216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9219 # Check whether --enable-notebook or --disable-notebook was given.
9220 if test "${enable_notebook+set}" = set; then
9221 enableval
="$enable_notebook"
9223 if test "$enableval" = yes; then
9224 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9226 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9231 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9232 if test "x$LINE" != x
; then
9233 eval "DEFAULT_$LINE"
9238 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242 eval "$ac_cv_use_notebook"
9243 if test "$no_cache" != 1; then
9244 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9247 if test "$wxUSE_NOTEBOOK" = yes; then
9248 echo "$as_me:$LINENO: result: yes" >&5
9249 echo "${ECHO_T}yes" >&6
9251 echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6
9257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9260 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9261 if test "${enable_odcombobox+set}" = set; then
9262 enableval
="$enable_odcombobox"
9264 if test "$enableval" = yes; then
9265 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9267 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9272 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x
; then
9274 eval "DEFAULT_$LINE"
9279 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283 eval "$ac_cv_use_odcombobox"
9284 if test "$no_cache" != 1; then
9285 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9288 if test "$wxUSE_ODCOMBOBOX" = yes; then
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9292 echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6
9298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9301 # Check whether --enable-radiobox or --disable-radiobox was given.
9302 if test "${enable_radiobox+set}" = set; then
9303 enableval
="$enable_radiobox"
9305 if test "$enableval" = yes; then
9306 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9308 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9313 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9314 if test "x$LINE" != x
; then
9315 eval "DEFAULT_$LINE"
9320 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324 eval "$ac_cv_use_radiobox"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9329 if test "$wxUSE_RADIOBOX" = yes; then
9330 echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6
9333 echo "$as_me:$LINENO: result: no" >&5
9334 echo "${ECHO_T}no" >&6
9339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9342 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9343 if test "${enable_radiobtn+set}" = set; then
9344 enableval
="$enable_radiobtn"
9346 if test "$enableval" = yes; then
9347 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9349 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9354 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9355 if test "x$LINE" != x
; then
9356 eval "DEFAULT_$LINE"
9361 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365 eval "$ac_cv_use_radiobtn"
9366 if test "$no_cache" != 1; then
9367 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9370 if test "$wxUSE_RADIOBTN" = yes; then
9371 echo "$as_me:$LINENO: result: yes" >&5
9372 echo "${ECHO_T}yes" >&6
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9383 # Check whether --enable-sash or --disable-sash was given.
9384 if test "${enable_sash+set}" = set; then
9385 enableval
="$enable_sash"
9387 if test "$enableval" = yes; then
9388 ac_cv_use_sash
='wxUSE_SASH=yes'
9390 ac_cv_use_sash
='wxUSE_SASH=no'
9395 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9396 if test "x$LINE" != x
; then
9397 eval "DEFAULT_$LINE"
9402 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406 eval "$ac_cv_use_sash"
9407 if test "$no_cache" != 1; then
9408 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9411 if test "$wxUSE_SASH" = yes; then
9412 echo "$as_me:$LINENO: result: yes" >&5
9413 echo "${ECHO_T}yes" >&6
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9424 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9425 if test "${enable_scrollbar+set}" = set; then
9426 enableval
="$enable_scrollbar"
9428 if test "$enableval" = yes; then
9429 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9431 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9436 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x
; then
9438 eval "DEFAULT_$LINE"
9443 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447 eval "$ac_cv_use_scrollbar"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9452 if test "$wxUSE_SCROLLBAR" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9465 # Check whether --enable-slider or --disable-slider was given.
9466 if test "${enable_slider+set}" = set; then
9467 enableval
="$enable_slider"
9469 if test "$enableval" = yes; then
9470 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9472 ac_cv_use_slider
='wxUSE_SLIDER=no'
9477 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x
; then
9479 eval "DEFAULT_$LINE"
9484 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488 eval "$ac_cv_use_slider"
9489 if test "$no_cache" != 1; then
9490 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9493 if test "$wxUSE_SLIDER" = yes; then
9494 echo "$as_me:$LINENO: result: yes" >&5
9495 echo "${ECHO_T}yes" >&6
9497 echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9506 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9507 if test "${enable_spinbtn+set}" = set; then
9508 enableval
="$enable_spinbtn"
9510 if test "$enableval" = yes; then
9511 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9513 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9518 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x
; then
9520 eval "DEFAULT_$LINE"
9525 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529 eval "$ac_cv_use_spinbtn"
9530 if test "$no_cache" != 1; then
9531 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9534 if test "$wxUSE_SPINBTN" = yes; then
9535 echo "$as_me:$LINENO: result: yes" >&5
9536 echo "${ECHO_T}yes" >&6
9538 echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6
9544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9547 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9548 if test "${enable_spinctrl+set}" = set; then
9549 enableval
="$enable_spinctrl"
9551 if test "$enableval" = yes; then
9552 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9554 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9559 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x
; then
9561 eval "DEFAULT_$LINE"
9566 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570 eval "$ac_cv_use_spinctrl"
9571 if test "$no_cache" != 1; then
9572 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9575 if test "$wxUSE_SPINCTRL" = yes; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9579 echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6
9585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9588 # Check whether --enable-splitter or --disable-splitter was given.
9589 if test "${enable_splitter+set}" = set; then
9590 enableval
="$enable_splitter"
9592 if test "$enableval" = yes; then
9593 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9595 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9600 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x
; then
9602 eval "DEFAULT_$LINE"
9607 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611 eval "$ac_cv_use_splitter"
9612 if test "$no_cache" != 1; then
9613 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9616 if test "$wxUSE_SPLITTER" = yes; then
9617 echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6
9620 echo "$as_me:$LINENO: result: no" >&5
9621 echo "${ECHO_T}no" >&6
9626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9629 # Check whether --enable-statbmp or --disable-statbmp was given.
9630 if test "${enable_statbmp+set}" = set; then
9631 enableval
="$enable_statbmp"
9633 if test "$enableval" = yes; then
9634 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9636 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9641 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9642 if test "x$LINE" != x
; then
9643 eval "DEFAULT_$LINE"
9648 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652 eval "$ac_cv_use_statbmp"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9657 if test "$wxUSE_STATBMP" = yes; then
9658 echo "$as_me:$LINENO: result: yes" >&5
9659 echo "${ECHO_T}yes" >&6
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9670 # Check whether --enable-statbox or --disable-statbox was given.
9671 if test "${enable_statbox+set}" = set; then
9672 enableval
="$enable_statbox"
9674 if test "$enableval" = yes; then
9675 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9677 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9682 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x
; then
9684 eval "DEFAULT_$LINE"
9689 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693 eval "$ac_cv_use_statbox"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9698 if test "$wxUSE_STATBOX" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9711 # Check whether --enable-statline or --disable-statline was given.
9712 if test "${enable_statline+set}" = set; then
9713 enableval
="$enable_statline"
9715 if test "$enableval" = yes; then
9716 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9718 ac_cv_use_statline
='wxUSE_STATLINE=no'
9723 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9724 if test "x$LINE" != x
; then
9725 eval "DEFAULT_$LINE"
9730 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734 eval "$ac_cv_use_statline"
9735 if test "$no_cache" != 1; then
9736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9739 if test "$wxUSE_STATLINE" = yes; then
9740 echo "$as_me:$LINENO: result: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9752 # Check whether --enable-stattext or --disable-stattext was given.
9753 if test "${enable_stattext+set}" = set; then
9754 enableval
="$enable_stattext"
9756 if test "$enableval" = yes; then
9757 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9759 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9764 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x
; then
9766 eval "DEFAULT_$LINE"
9771 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775 eval "$ac_cv_use_stattext"
9776 if test "$no_cache" != 1; then
9777 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9780 if test "$wxUSE_STATTEXT" = yes; then
9781 echo "$as_me:$LINENO: result: yes" >&5
9782 echo "${ECHO_T}yes" >&6
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9793 # Check whether --enable-statusbar or --disable-statusbar was given.
9794 if test "${enable_statusbar+set}" = set; then
9795 enableval
="$enable_statusbar"
9797 if test "$enableval" = yes; then
9798 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9800 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9805 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x
; then
9807 eval "DEFAULT_$LINE"
9812 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816 eval "$ac_cv_use_statusbar"
9817 if test "$no_cache" != 1; then
9818 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9821 if test "$wxUSE_STATUSBAR" = yes; then
9822 echo "$as_me:$LINENO: result: yes" >&5
9823 echo "${ECHO_T}yes" >&6
9825 echo "$as_me:$LINENO: result: no" >&5
9826 echo "${ECHO_T}no" >&6
9831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9835 if test "${enable_tabdialog+set}" = set; then
9836 enableval
="$enable_tabdialog"
9838 if test "$enableval" = yes; then
9839 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9841 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9846 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x
; then
9848 eval "DEFAULT_$LINE"
9853 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857 eval "$ac_cv_use_tabdialog"
9858 if test "$no_cache" != 1; then
9859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9862 if test "$wxUSE_TAB_DIALOG" = yes; then
9863 echo "$as_me:$LINENO: result: yes" >&5
9864 echo "${ECHO_T}yes" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9875 # Check whether --enable-textctrl or --disable-textctrl was given.
9876 if test "${enable_textctrl+set}" = set; then
9877 enableval
="$enable_textctrl"
9879 if test "$enableval" = yes; then
9880 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9882 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9887 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9888 if test "x$LINE" != x
; then
9889 eval "DEFAULT_$LINE"
9894 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898 eval "$ac_cv_use_textctrl"
9899 if test "$no_cache" != 1; then
9900 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9903 if test "$wxUSE_TEXTCTRL" = yes; then
9904 echo "$as_me:$LINENO: result: yes" >&5
9905 echo "${ECHO_T}yes" >&6
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9916 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9917 if test "${enable_togglebtn+set}" = set; then
9918 enableval
="$enable_togglebtn"
9920 if test "$enableval" = yes; then
9921 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9923 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9928 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9929 if test "x$LINE" != x
; then
9930 eval "DEFAULT_$LINE"
9935 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939 eval "$ac_cv_use_togglebtn"
9940 if test "$no_cache" != 1; then
9941 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9944 if test "$wxUSE_TOGGLEBTN" = yes; then
9945 echo "$as_me:$LINENO: result: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9948 echo "$as_me:$LINENO: result: no" >&5
9949 echo "${ECHO_T}no" >&6
9954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9955 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9957 # Check whether --enable-toolbar or --disable-toolbar was given.
9958 if test "${enable_toolbar+set}" = set; then
9959 enableval
="$enable_toolbar"
9961 if test "$enableval" = yes; then
9962 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9964 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9969 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9970 if test "x$LINE" != x
; then
9971 eval "DEFAULT_$LINE"
9976 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980 eval "$ac_cv_use_toolbar"
9981 if test "$no_cache" != 1; then
9982 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9985 if test "$wxUSE_TOOLBAR" = yes; then
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9996 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9998 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9999 if test "${enable_tbarnative+set}" = set; then
10000 enableval
="$enable_tbarnative"
10002 if test "$enableval" = yes; then
10003 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10005 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10010 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10011 if test "x$LINE" != x
; then
10012 eval "DEFAULT_$LINE"
10017 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021 eval "$ac_cv_use_tbarnative"
10022 if test "$no_cache" != 1; then
10023 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10026 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10027 echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6
10030 echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10039 # Check whether --enable-treebook or --disable-treebook was given.
10040 if test "${enable_treebook+set}" = set; then
10041 enableval
="$enable_treebook"
10043 if test "$enableval" = yes; then
10044 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10046 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10051 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x
; then
10053 eval "DEFAULT_$LINE"
10058 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062 eval "$ac_cv_use_treebook"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10067 if test "$wxUSE_TREEBOOK" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10080 # Check whether --enable-toolbook or --disable-toolbook was given.
10081 if test "${enable_toolbook+set}" = set; then
10082 enableval
="$enable_toolbook"
10084 if test "$enableval" = yes; then
10085 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10087 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10092 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x
; then
10094 eval "DEFAULT_$LINE"
10099 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103 eval "$ac_cv_use_toolbook"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10108 if test "$wxUSE_TOOLBOOK" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10121 # Check whether --enable-treectrl or --disable-treectrl was given.
10122 if test "${enable_treectrl+set}" = set; then
10123 enableval
="$enable_treectrl"
10125 if test "$enableval" = yes; then
10126 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10128 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10133 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x
; then
10135 eval "DEFAULT_$LINE"
10140 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144 eval "$ac_cv_use_treectrl"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10149 if test "$wxUSE_TREECTRL" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10162 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10163 if test "${enable_tipwindow+set}" = set; then
10164 enableval
="$enable_tipwindow"
10166 if test "$enableval" = yes; then
10167 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10169 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10174 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x
; then
10176 eval "DEFAULT_$LINE"
10181 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185 eval "$ac_cv_use_tipwindow"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10190 if test "$wxUSE_TIPWINDOW" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10203 # Check whether --enable-popupwin or --disable-popupwin was given.
10204 if test "${enable_popupwin+set}" = set; then
10205 enableval
="$enable_popupwin"
10207 if test "$enableval" = yes; then
10208 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10210 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10215 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x
; then
10217 eval "DEFAULT_$LINE"
10222 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226 eval "$ac_cv_use_popupwin"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10231 if test "$wxUSE_POPUPWIN" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10246 # Check whether --enable-commondlg or --disable-commondlg was given.
10247 if test "${enable_commondlg+set}" = set; then
10248 enableval
="$enable_commondlg"
10250 if test "$enableval" = yes; then
10251 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10253 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10258 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x
; then
10260 eval "DEFAULT_$LINE"
10265 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269 eval "$ac_cv_use_commondlg"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10274 if test "$wxUSE_COMMONDLGS" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10287 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10288 if test "${enable_aboutdlg+set}" = set; then
10289 enableval
="$enable_aboutdlg"
10291 if test "$enableval" = yes; then
10292 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10294 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10299 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x
; then
10301 eval "DEFAULT_$LINE"
10306 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310 eval "$ac_cv_use_aboutdlg"
10311 if test "$no_cache" != 1; then
10312 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10315 if test "$wxUSE_ABOUTDLG" = yes; then
10316 echo "$as_me:$LINENO: result: yes" >&5
10317 echo "${ECHO_T}yes" >&6
10319 echo "$as_me:$LINENO: result: no" >&5
10320 echo "${ECHO_T}no" >&6
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10328 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10329 if test "${enable_choicedlg+set}" = set; then
10330 enableval
="$enable_choicedlg"
10332 if test "$enableval" = yes; then
10333 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10335 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10340 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x
; then
10342 eval "DEFAULT_$LINE"
10347 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351 eval "$ac_cv_use_choicedlg"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10356 if test "$wxUSE_CHOICEDLG" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10369 # Check whether --enable-coldlg or --disable-coldlg was given.
10370 if test "${enable_coldlg+set}" = set; then
10371 enableval
="$enable_coldlg"
10373 if test "$enableval" = yes; then
10374 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10376 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10381 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x
; then
10383 eval "DEFAULT_$LINE"
10388 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392 eval "$ac_cv_use_coldlg"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10397 if test "$wxUSE_COLOURDLG" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10410 # Check whether --enable-filedlg or --disable-filedlg was given.
10411 if test "${enable_filedlg+set}" = set; then
10412 enableval
="$enable_filedlg"
10414 if test "$enableval" = yes; then
10415 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10417 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10422 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x
; then
10424 eval "DEFAULT_$LINE"
10429 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433 eval "$ac_cv_use_filedlg"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10438 if test "$wxUSE_FILEDLG" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10451 # Check whether --enable-finddlg or --disable-finddlg was given.
10452 if test "${enable_finddlg+set}" = set; then
10453 enableval
="$enable_finddlg"
10455 if test "$enableval" = yes; then
10456 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10458 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10463 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x
; then
10465 eval "DEFAULT_$LINE"
10470 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474 eval "$ac_cv_use_finddlg"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10479 if test "$wxUSE_FINDREPLDLG" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10492 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10493 if test "${enable_fontdlg+set}" = set; then
10494 enableval
="$enable_fontdlg"
10496 if test "$enableval" = yes; then
10497 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10499 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10504 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x
; then
10506 eval "DEFAULT_$LINE"
10511 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515 eval "$ac_cv_use_fontdlg"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10520 if test "$wxUSE_FONTDLG" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10533 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10534 if test "${enable_dirdlg+set}" = set; then
10535 enableval
="$enable_dirdlg"
10537 if test "$enableval" = yes; then
10538 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10540 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10545 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x
; then
10547 eval "DEFAULT_$LINE"
10552 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556 eval "$ac_cv_use_dirdlg"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10561 if test "$wxUSE_DIRDLG" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10574 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10575 if test "${enable_msgdlg+set}" = set; then
10576 enableval
="$enable_msgdlg"
10578 if test "$enableval" = yes; then
10579 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10581 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10586 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x
; then
10588 eval "DEFAULT_$LINE"
10593 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597 eval "$ac_cv_use_msgdlg"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10602 if test "$wxUSE_MSGDLG" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10615 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10616 if test "${enable_numberdlg+set}" = set; then
10617 enableval
="$enable_numberdlg"
10619 if test "$enableval" = yes; then
10620 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10622 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10627 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x
; then
10629 eval "DEFAULT_$LINE"
10634 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638 eval "$ac_cv_use_numberdlg"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10643 if test "$wxUSE_NUMBERDLG" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10654 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10656 # Check whether --enable-splash or --disable-splash was given.
10657 if test "${enable_splash+set}" = set; then
10658 enableval
="$enable_splash"
10660 if test "$enableval" = yes; then
10661 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10663 ac_cv_use_splash
='wxUSE_SPLASH=no'
10668 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x
; then
10670 eval "DEFAULT_$LINE"
10675 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679 eval "$ac_cv_use_splash"
10680 if test "$no_cache" != 1; then
10681 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10684 if test "$wxUSE_SPLASH" = yes; then
10685 echo "$as_me:$LINENO: result: yes" >&5
10686 echo "${ECHO_T}yes" >&6
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10695 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10697 # Check whether --enable-textdlg or --disable-textdlg was given.
10698 if test "${enable_textdlg+set}" = set; then
10699 enableval
="$enable_textdlg"
10701 if test "$enableval" = yes; then
10702 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10704 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10709 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10710 if test "x$LINE" != x
; then
10711 eval "DEFAULT_$LINE"
10716 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720 eval "$ac_cv_use_textdlg"
10721 if test "$no_cache" != 1; then
10722 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10725 if test "$wxUSE_TEXTDLG" = yes; then
10726 echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10738 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10739 if test "${enable_tipdlg+set}" = set; then
10740 enableval
="$enable_tipdlg"
10742 if test "$enableval" = yes; then
10743 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10745 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10750 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x
; then
10752 eval "DEFAULT_$LINE"
10757 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761 eval "$ac_cv_use_tipdlg"
10762 if test "$no_cache" != 1; then
10763 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10766 if test "$wxUSE_STARTUP_TIPS" = yes; then
10767 echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10770 echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6
10776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10779 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10780 if test "${enable_progressdlg+set}" = set; then
10781 enableval
="$enable_progressdlg"
10783 if test "$enableval" = yes; then
10784 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10786 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10791 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10792 if test "x$LINE" != x
; then
10793 eval "DEFAULT_$LINE"
10798 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802 eval "$ac_cv_use_progressdlg"
10803 if test "$no_cache" != 1; then
10804 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10807 if test "$wxUSE_PROGRESSDLG" = yes; then
10808 echo "$as_me:$LINENO: result: yes" >&5
10809 echo "${ECHO_T}yes" >&6
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10820 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10821 if test "${enable_wizarddlg+set}" = set; then
10822 enableval
="$enable_wizarddlg"
10824 if test "$enableval" = yes; then
10825 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10827 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10832 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10833 if test "x$LINE" != x
; then
10834 eval "DEFAULT_$LINE"
10839 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843 eval "$ac_cv_use_wizarddlg"
10844 if test "$no_cache" != 1; then
10845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10848 if test "$wxUSE_WIZARDDLG" = yes; then
10849 echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10863 # Check whether --enable-menus or --disable-menus was given.
10864 if test "${enable_menus+set}" = set; then
10865 enableval
="$enable_menus"
10867 if test "$enableval" = yes; then
10868 ac_cv_use_menus
='wxUSE_MENUS=yes'
10870 ac_cv_use_menus
='wxUSE_MENUS=no'
10875 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x
; then
10877 eval "DEFAULT_$LINE"
10882 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886 eval "$ac_cv_use_menus"
10887 if test "$no_cache" != 1; then
10888 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10891 if test "$wxUSE_MENUS" = yes; then
10892 echo "$as_me:$LINENO: result: yes" >&5
10893 echo "${ECHO_T}yes" >&6
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10904 # Check whether --enable-miniframe or --disable-miniframe was given.
10905 if test "${enable_miniframe+set}" = set; then
10906 enableval
="$enable_miniframe"
10908 if test "$enableval" = yes; then
10909 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10911 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10916 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x
; then
10918 eval "DEFAULT_$LINE"
10923 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927 eval "$ac_cv_use_miniframe"
10928 if test "$no_cache" != 1; then
10929 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10932 if test "$wxUSE_MINIFRAME" = yes; then
10933 echo "$as_me:$LINENO: result: yes" >&5
10934 echo "${ECHO_T}yes" >&6
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10945 # Check whether --enable-tooltips or --disable-tooltips was given.
10946 if test "${enable_tooltips+set}" = set; then
10947 enableval
="$enable_tooltips"
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10952 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10957 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x
; then
10959 eval "DEFAULT_$LINE"
10964 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968 eval "$ac_cv_use_tooltips"
10969 if test "$no_cache" != 1; then
10970 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10973 if test "$wxUSE_TOOLTIPS" = yes; then
10974 echo "$as_me:$LINENO: result: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10986 # Check whether --enable-splines or --disable-splines was given.
10987 if test "${enable_splines+set}" = set; then
10988 enableval
="$enable_splines"
10990 if test "$enableval" = yes; then
10991 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10993 ac_cv_use_splines
='wxUSE_SPLINES=no'
10998 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x
; then
11000 eval "DEFAULT_$LINE"
11005 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009 eval "$ac_cv_use_splines"
11010 if test "$no_cache" != 1; then
11011 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11014 if test "$wxUSE_SPLINES" = yes; then
11015 echo "$as_me:$LINENO: result: yes" >&5
11016 echo "${ECHO_T}yes" >&6
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11027 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11028 if test "${enable_mousewheel+set}" = set; then
11029 enableval
="$enable_mousewheel"
11031 if test "$enableval" = yes; then
11032 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11034 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11039 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11040 if test "x$LINE" != x
; then
11041 eval "DEFAULT_$LINE"
11046 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050 eval "$ac_cv_use_mousewheel"
11051 if test "$no_cache" != 1; then
11052 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11055 if test "$wxUSE_MOUSEWHEEL" = yes; then
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11068 # Check whether --enable-validators or --disable-validators was given.
11069 if test "${enable_validators+set}" = set; then
11070 enableval
="$enable_validators"
11072 if test "$enableval" = yes; then
11073 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11075 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11080 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x
; then
11082 eval "DEFAULT_$LINE"
11087 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091 eval "$ac_cv_use_validators"
11092 if test "$no_cache" != 1; then
11093 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11096 if test "$wxUSE_VALIDATORS" = yes; then
11097 echo "$as_me:$LINENO: result: yes" >&5
11098 echo "${ECHO_T}yes" >&6
11100 echo "$as_me:$LINENO: result: no" >&5
11101 echo "${ECHO_T}no" >&6
11106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11109 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11110 if test "${enable_busyinfo+set}" = set; then
11111 enableval
="$enable_busyinfo"
11113 if test "$enableval" = yes; then
11114 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11116 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11121 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11122 if test "x$LINE" != x
; then
11123 eval "DEFAULT_$LINE"
11128 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132 eval "$ac_cv_use_busyinfo"
11133 if test "$no_cache" != 1; then
11134 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11137 if test "$wxUSE_BUSYINFO" = yes; then
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11148 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11150 # Check whether --enable-joystick or --disable-joystick was given.
11151 if test "${enable_joystick+set}" = set; then
11152 enableval
="$enable_joystick"
11154 if test "$enableval" = yes; then
11155 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11157 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11162 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11163 if test "x$LINE" != x
; then
11164 eval "DEFAULT_$LINE"
11169 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173 eval "$ac_cv_use_joystick"
11174 if test "$no_cache" != 1; then
11175 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11178 if test "$wxUSE_JOYSTICK" = yes; then
11179 echo "$as_me:$LINENO: result: yes" >&5
11180 echo "${ECHO_T}yes" >&6
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11191 # Check whether --enable-metafile or --disable-metafile was given.
11192 if test "${enable_metafile+set}" = set; then
11193 enableval
="$enable_metafile"
11195 if test "$enableval" = yes; then
11196 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11198 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11203 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11204 if test "x$LINE" != x
; then
11205 eval "DEFAULT_$LINE"
11210 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214 eval "$ac_cv_use_metafile"
11215 if test "$no_cache" != 1; then
11216 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11219 if test "$wxUSE_METAFILE" = yes; then
11220 echo "$as_me:$LINENO: result: yes" >&5
11221 echo "${ECHO_T}yes" >&6
11223 echo "$as_me:$LINENO: result: no" >&5
11224 echo "${ECHO_T}no" >&6
11229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11232 # Check whether --enable-dragimage or --disable-dragimage was given.
11233 if test "${enable_dragimage+set}" = set; then
11234 enableval
="$enable_dragimage"
11236 if test "$enableval" = yes; then
11237 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11239 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11244 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11245 if test "x$LINE" != x
; then
11246 eval "DEFAULT_$LINE"
11251 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255 eval "$ac_cv_use_dragimage"
11256 if test "$no_cache" != 1; then
11257 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11260 if test "$wxUSE_DRAGIMAGE" = yes; then
11261 echo "$as_me:$LINENO: result: yes" >&5
11262 echo "${ECHO_T}yes" >&6
11264 echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6
11270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11273 # Check whether --enable-accessibility or --disable-accessibility was given.
11274 if test "${enable_accessibility+set}" = set; then
11275 enableval
="$enable_accessibility"
11277 if test "$enableval" = yes; then
11278 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11280 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11285 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x
; then
11287 eval "DEFAULT_$LINE"
11292 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296 eval "$ac_cv_use_accessibility"
11297 if test "$no_cache" != 1; then
11298 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11301 if test "$wxUSE_ACCESSIBILITY" = yes; then
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11310 if test "$wxUSE_MSW" = "1"; then
11313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11314 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11316 # Check whether --enable-dccache or --disable-dccache was given.
11317 if test "${enable_dccache+set}" = set; then
11318 enableval
="$enable_dccache"
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11323 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11328 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x
; then
11330 eval "DEFAULT_$LINE"
11335 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339 eval "$ac_cv_use_dccache"
11340 if test "$no_cache" != 1; then
11341 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11344 if test "$wxUSE_DC_CACHEING" = yes; then
11345 echo "$as_me:$LINENO: result: yes" >&5
11346 echo "${ECHO_T}yes" >&6
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11358 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11360 # Check whether --enable-palette or --disable-palette was given.
11361 if test "${enable_palette+set}" = set; then
11362 enableval
="$enable_palette"
11364 if test "$enableval" = yes; then
11365 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11367 ac_cv_use_palette
='wxUSE_PALETTE=no'
11372 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11373 if test "x$LINE" != x
; then
11374 eval "DEFAULT_$LINE"
11379 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383 eval "$ac_cv_use_palette"
11384 if test "$no_cache" != 1; then
11385 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11388 if test "$wxUSE_PALETTE" = yes; then
11389 echo "$as_me:$LINENO: result: yes" >&5
11390 echo "${ECHO_T}yes" >&6
11392 echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6
11398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11399 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11401 # Check whether --enable-image or --disable-image was given.
11402 if test "${enable_image+set}" = set; then
11403 enableval
="$enable_image"
11405 if test "$enableval" = yes; then
11406 ac_cv_use_image
='wxUSE_IMAGE=yes'
11408 ac_cv_use_image
='wxUSE_IMAGE=no'
11413 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11414 if test "x$LINE" != x
; then
11415 eval "DEFAULT_$LINE"
11420 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424 eval "$ac_cv_use_image"
11425 if test "$no_cache" != 1; then
11426 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11429 if test "$wxUSE_IMAGE" = yes; then
11430 echo "$as_me:$LINENO: result: yes" >&5
11431 echo "${ECHO_T}yes" >&6
11433 echo "$as_me:$LINENO: result: no" >&5
11434 echo "${ECHO_T}no" >&6
11439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11442 # Check whether --enable-gif or --disable-gif was given.
11443 if test "${enable_gif+set}" = set; then
11444 enableval
="$enable_gif"
11446 if test "$enableval" = yes; then
11447 ac_cv_use_gif
='wxUSE_GIF=yes'
11449 ac_cv_use_gif
='wxUSE_GIF=no'
11454 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x
; then
11456 eval "DEFAULT_$LINE"
11461 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465 eval "$ac_cv_use_gif"
11466 if test "$no_cache" != 1; then
11467 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11470 if test "$wxUSE_GIF" = yes; then
11471 echo "$as_me:$LINENO: result: yes" >&5
11472 echo "${ECHO_T}yes" >&6
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11483 # Check whether --enable-pcx or --disable-pcx was given.
11484 if test "${enable_pcx+set}" = set; then
11485 enableval
="$enable_pcx"
11487 if test "$enableval" = yes; then
11488 ac_cv_use_pcx
='wxUSE_PCX=yes'
11490 ac_cv_use_pcx
='wxUSE_PCX=no'
11495 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x
; then
11497 eval "DEFAULT_$LINE"
11502 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506 eval "$ac_cv_use_pcx"
11507 if test "$no_cache" != 1; then
11508 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11511 if test "$wxUSE_PCX" = yes; then
11512 echo "$as_me:$LINENO: result: yes" >&5
11513 echo "${ECHO_T}yes" >&6
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11524 # Check whether --enable-tga or --disable-tga was given.
11525 if test "${enable_tga+set}" = set; then
11526 enableval
="$enable_tga"
11528 if test "$enableval" = yes; then
11529 ac_cv_use_tga
='wxUSE_TGA=yes'
11531 ac_cv_use_tga
='wxUSE_TGA=no'
11536 LINE
=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x
; then
11538 eval "DEFAULT_$LINE"
11543 ac_cv_use_tga
='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547 eval "$ac_cv_use_tga"
11548 if test "$no_cache" != 1; then
11549 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11552 if test "$wxUSE_TGA" = yes; then
11553 echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11565 # Check whether --enable-iff or --disable-iff was given.
11566 if test "${enable_iff+set}" = set; then
11567 enableval
="$enable_iff"
11569 if test "$enableval" = yes; then
11570 ac_cv_use_iff
='wxUSE_IFF=yes'
11572 ac_cv_use_iff
='wxUSE_IFF=no'
11577 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x
; then
11579 eval "DEFAULT_$LINE"
11584 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588 eval "$ac_cv_use_iff"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11593 if test "$wxUSE_IFF" = 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
11603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11606 # Check whether --enable-pnm or --disable-pnm was given.
11607 if test "${enable_pnm+set}" = set; then
11608 enableval
="$enable_pnm"
11610 if test "$enableval" = yes; then
11611 ac_cv_use_pnm
='wxUSE_PNM=yes'
11613 ac_cv_use_pnm
='wxUSE_PNM=no'
11618 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11619 if test "x$LINE" != x
; then
11620 eval "DEFAULT_$LINE"
11625 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629 eval "$ac_cv_use_pnm"
11630 if test "$no_cache" != 1; then
11631 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11634 if test "$wxUSE_PNM" = yes; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11647 # Check whether --enable-xpm or --disable-xpm was given.
11648 if test "${enable_xpm+set}" = set; then
11649 enableval
="$enable_xpm"
11651 if test "$enableval" = yes; then
11652 ac_cv_use_xpm
='wxUSE_XPM=yes'
11654 ac_cv_use_xpm
='wxUSE_XPM=no'
11659 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x
; then
11661 eval "DEFAULT_$LINE"
11666 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670 eval "$ac_cv_use_xpm"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11675 if test "$wxUSE_XPM" = yes; then
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11679 echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6
11685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11688 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11689 if test "${enable_ico_cur+set}" = set; then
11690 enableval
="$enable_ico_cur"
11692 if test "$enableval" = yes; then
11693 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11695 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11700 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x
; then
11702 eval "DEFAULT_$LINE"
11707 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711 eval "$ac_cv_use_ico_cur"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11716 if test "$wxUSE_ICO_CUR" = yes; then
11717 echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11729 # Check whether --with-flavour or --without-flavour was given.
11730 if test "${with_flavour+set}" = set; then
11731 withval
="$with_flavour"
11732 WX_FLAVOUR
="$withval"
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11741 # Check whether --enable-official_build or --disable-official_build was given.
11742 if test "${enable_official_build+set}" = set; then
11743 enableval
="$enable_official_build"
11745 if test "$enableval" = yes; then
11746 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11748 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11753 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x
; then
11755 eval "DEFAULT_$LINE"
11760 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764 eval "$ac_cv_use_official_build"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11769 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11777 # Check whether --enable-vendor or --disable-vendor was given.
11778 if test "${enable_vendor+set}" = set; then
11779 enableval
="$enable_vendor"
11780 VENDOR
="$enableval"
11782 if test "x$VENDOR" = "x"; then
11789 echo "saving argument cache $wx_arg_cache_file"
11790 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11794 echo "$as_me:$LINENO: checking for toolkit" >&5
11795 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11797 # In Wine, we need to default to MSW, not GTK or MOTIF
11798 if test "$wxUSE_WINE" = "yes"; then
11799 DEFAULT_DEFAULT_wxUSE_GTK
=0
11800 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11801 DEFAULT_DEFAULT_wxUSE_MSW
=1
11806 if test "$wxUSE_GUI" = "yes"; then
11808 if test "$USE_BEOS" = 1; then
11809 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11810 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11811 { (exit 1); exit 1; }; }
11814 if test "$TOOLKIT_GIVEN" = 1; then
11815 for toolkit
in `echo $ALL_TOOLKITS`; do
11817 eval "value=\$${var}"
11818 if test "x$value" = "xno"; then
11820 elif test "x$value" != "x"; then
11824 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11825 eval "wx${toolkit}_VERSION=$value"
11829 for toolkit
in `echo $ALL_TOOLKITS`; do
11830 if test "$has_toolkit_in_cache" != 1; then
11831 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11833 var
=DEFAULT_wxUSE_
$toolkit
11835 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11836 if test "x$version" != "x"; then
11837 eval "wx${toolkit}_VERSION=$version"
11840 eval "wxUSE_$toolkit=\$${var}"
11844 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11845 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11846 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11849 *-pc-os2_emx | *-pc-os2-emx )
11850 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11853 case "$NUM_TOOLKITS" in
11857 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11858 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11859 { (exit 1); exit 1; }; }
11862 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11863 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11864 { (exit 1); exit 1; }; }
11867 # to be removed when --disable-gtk2 isn't needed
11868 if test "x$wxUSE_GTK2" = "xyes"; then
11870 elif test "x$wxUSE_GTK2" = "xno"; then
11874 for toolkit
in `echo $ALL_TOOLKITS`; do
11876 eval "value=\$${var}"
11877 if test "x$value" != x
; then
11878 cache_var
=CACHE_
$toolkit
11879 eval "cache=\$${cache_var}"
11880 if test "$cache" = 1; then
11881 echo "$var=$value" >> ${wx_arg_cache_file}
11882 eval "version=\$wx${toolkit}_VERSION"
11883 if test "x$version" != "x"; then
11884 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11887 if test "$value" = 1; then
11888 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11889 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11890 echo "${ECHO_T}$toolkit_echo" >&6
11895 if test "x$host_alias" != "x"; then
11896 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11897 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11899 echo "$as_me:$LINENO: result: base only" >&5
11900 echo "${ECHO_T}base only" >&6
11905 cat >confcache
<<\_ACEOF
11906 # This file is a shell script that caches the results of configure
11907 # tests run on this system so they can be shared between configure
11908 # scripts and configure runs, see configure's option --config-cache.
11909 # It is not useful on other systems. If it contains results you don't
11910 # want to keep, you may remove or edit it.
11912 # config.status only pays attention to the cache file if you give it
11913 # the --recheck option to rerun configure.
11915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11917 # following values.
11921 # The following way of writing the cache mishandles newlines in values,
11922 # but we know of no workaround that is simple, portable, and efficient.
11923 # So, don't put newlines in cache variables' values.
11924 # Ultrix sh set writes to stderr and can't be redirected directly,
11925 # and sets the high bit in the cache file unless we assign to the vars.
11928 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11930 # `set' does not quote correctly, so add quotes (double-quote
11931 # substitution turns \\\\ into \\, and sed turns \\ into \).
11934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11937 # `set' quotes correctly as required by POSIX, so do not add quotes.
11939 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11948 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11950 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11951 if test -w $cache_file; then
11952 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11953 cat confcache
>$cache_file
11955 echo "not updating unwritable cache $cache_file"
11965 ac_cpp
='$CPP $CPPFLAGS'
11966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11969 if test -n "$ac_tool_prefix"; then
11970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11971 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11972 echo "$as_me:$LINENO: checking for $ac_word" >&5
11973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11974 if test "${ac_cv_prog_CC+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 if test -n "$CC"; then
11978 ac_cv_prog_CC
="$CC" # Let the user override the test.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in $PATH
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 if test -n "$CC"; then
11998 echo "$as_me:$LINENO: result: $CC" >&5
11999 echo "${ECHO_T}$CC" >&6
12001 echo "$as_me:$LINENO: result: no" >&5
12002 echo "${ECHO_T}no" >&6
12006 if test -z "$ac_cv_prog_CC"; then
12008 # Extract the first word of "gcc", so it can be a program name with args.
12009 set dummy gcc
; ac_word
=$2
12010 echo "$as_me:$LINENO: checking for $ac_word" >&5
12011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 if test -n "$ac_ct_CC"; then
12016 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12019 for as_dir
in $PATH
12022 test -z "$as_dir" && as_dir
=.
12023 for ac_exec_ext
in '' $ac_executable_extensions; do
12024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12025 ac_cv_prog_ac_ct_CC
="gcc"
12026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12035 if test -n "$ac_ct_CC"; then
12036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12037 echo "${ECHO_T}$ac_ct_CC" >&6
12039 echo "$as_me:$LINENO: result: no" >&5
12040 echo "${ECHO_T}no" >&6
12045 CC
="$ac_cv_prog_CC"
12048 if test -z "$CC"; then
12049 if test -n "$ac_tool_prefix"; then
12050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12051 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12052 echo "$as_me:$LINENO: checking for $ac_word" >&5
12053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12054 if test "${ac_cv_prog_CC+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 if test -n "$CC"; then
12058 ac_cv_prog_CC
="$CC" # Let the user override the test.
12060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12061 for as_dir
in $PATH
12064 test -z "$as_dir" && as_dir
=.
12065 for ac_exec_ext
in '' $ac_executable_extensions; do
12066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 if test -n "$CC"; then
12078 echo "$as_me:$LINENO: result: $CC" >&5
12079 echo "${ECHO_T}$CC" >&6
12081 echo "$as_me:$LINENO: result: no" >&5
12082 echo "${ECHO_T}no" >&6
12086 if test -z "$ac_cv_prog_CC"; then
12088 # Extract the first word of "cc", so it can be a program name with args.
12089 set dummy cc
; ac_word
=$2
12090 echo "$as_me:$LINENO: checking for $ac_word" >&5
12091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 if test -n "$ac_ct_CC"; then
12096 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12099 for as_dir
in $PATH
12102 test -z "$as_dir" && as_dir
=.
12103 for ac_exec_ext
in '' $ac_executable_extensions; do
12104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12105 ac_cv_prog_ac_ct_CC
="cc"
12106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12114 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12115 if test -n "$ac_ct_CC"; then
12116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12117 echo "${ECHO_T}$ac_ct_CC" >&6
12119 echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6
12125 CC
="$ac_cv_prog_CC"
12129 if test -z "$CC"; then
12130 # Extract the first word of "cc", so it can be a program name with args.
12131 set dummy cc
; ac_word
=$2
12132 echo "$as_me:$LINENO: checking for $ac_word" >&5
12133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12134 if test "${ac_cv_prog_CC+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 if test -n "$CC"; then
12138 ac_cv_prog_CC
="$CC" # Let the user override the test.
12140 ac_prog_rejected
=no
12141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12142 for as_dir
in $PATH
12145 test -z "$as_dir" && as_dir
=.
12146 for ac_exec_ext
in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12149 ac_prog_rejected
=yes
12153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12159 if test $ac_prog_rejected = yes; then
12160 # We found a bogon in the path, so make sure we never use it.
12161 set dummy
$ac_cv_prog_CC
12163 if test $# != 0; then
12164 # We chose a different compiler from the bogus one.
12165 # However, it has the same basename, so the bogon will be chosen
12166 # first if we set CC to just the basename; use the full file name.
12168 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12174 if test -n "$CC"; then
12175 echo "$as_me:$LINENO: result: $CC" >&5
12176 echo "${ECHO_T}$CC" >&6
12178 echo "$as_me:$LINENO: result: no" >&5
12179 echo "${ECHO_T}no" >&6
12183 if test -z "$CC"; then
12184 if test -n "$ac_tool_prefix"; then
12187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12188 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12189 echo "$as_me:$LINENO: checking for $ac_word" >&5
12190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12191 if test "${ac_cv_prog_CC+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 if test -n "$CC"; then
12195 ac_cv_prog_CC
="$CC" # Let the user override the test.
12197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12198 for as_dir
in $PATH
12201 test -z "$as_dir" && as_dir
=.
12202 for ac_exec_ext
in '' $ac_executable_extensions; do
12203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12214 if test -n "$CC"; then
12215 echo "$as_me:$LINENO: result: $CC" >&5
12216 echo "${ECHO_T}$CC" >&6
12218 echo "$as_me:$LINENO: result: no" >&5
12219 echo "${ECHO_T}no" >&6
12222 test -n "$CC" && break
12225 if test -z "$CC"; then
12229 # Extract the first word of "$ac_prog", so it can be a program name with args.
12230 set dummy
$ac_prog; ac_word
=$2
12231 echo "$as_me:$LINENO: checking for $ac_word" >&5
12232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 if test -n "$ac_ct_CC"; then
12237 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12240 for as_dir
in $PATH
12243 test -z "$as_dir" && as_dir
=.
12244 for ac_exec_ext
in '' $ac_executable_extensions; do
12245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12246 ac_cv_prog_ac_ct_CC
="$ac_prog"
12247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12256 if test -n "$ac_ct_CC"; then
12257 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12258 echo "${ECHO_T}$ac_ct_CC" >&6
12260 echo "$as_me:$LINENO: result: no" >&5
12261 echo "${ECHO_T}no" >&6
12264 test -n "$ac_ct_CC" && break
12273 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12274 See \`config.log' for more details." >&5
12275 echo "$as_me: error: no acceptable C compiler found in \$PATH
12276 See \`config.log' for more details." >&2;}
12277 { (exit 1); exit 1; }; }
12279 # Provide some information about the compiler.
12280 echo "$as_me:$LINENO:" \
12281 "checking for C compiler version" >&5
12282 ac_compiler
=`set X $ac_compile; echo $2`
12283 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12284 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }
12288 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12289 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }
12293 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12294 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }
12299 cat >conftest.
$ac_ext <<_ACEOF
12302 cat confdefs.h
>>conftest.
$ac_ext
12303 cat >>conftest.
$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12314 ac_clean_files_save
=$ac_clean_files
12315 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12316 # Try to create an executable without -o first, disregard a.out.
12317 # It will help us diagnose broken compilers, and finding out an intuition
12319 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12320 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12321 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12322 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12323 (eval $ac_link_default) 2>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; then
12327 # Find the output, starting from the most likely. This scheme is
12328 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12331 # Be careful to initialize this variable, since it used to be cached.
12332 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12334 # b.out is created by i960 compilers.
12335 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12337 test -f "$ac_file" || continue
12339 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12342 # This is the source file.
12345 # We found the default executable, but exeext='' is most
12349 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12350 # FIXME: I believe we export ac_cv_exeext for Libtool,
12351 # but it would be cool to find out if it's true. Does anybody
12352 # maintain Libtool? --akim.
12353 export ac_cv_exeext
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.
$ac_ext >&5
12363 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12364 See \`config.log' for more details." >&5
12365 echo "$as_me: error: C compiler cannot create executables
12366 See \`config.log' for more details." >&2;}
12367 { (exit 77); exit 77; }; }
12370 ac_exeext
=$ac_cv_exeext
12371 echo "$as_me:$LINENO: result: $ac_file" >&5
12372 echo "${ECHO_T}$ac_file" >&6
12374 # Check the compiler produces executables we can run. If not, either
12375 # the compiler is broken, or we cross compile.
12376 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12377 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12378 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12379 # If not cross compiling, check that we can run a simple program.
12380 if test "$cross_compiling" != yes; then
12381 if { ac_try
='./$ac_file'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12389 if test "$cross_compiling" = maybe
; then
12390 cross_compiling
=yes
12392 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12393 If you meant to cross compile, use \`--host'.
12394 See \`config.log' for more details." >&5
12395 echo "$as_me: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&2;}
12398 { (exit 1); exit 1; }; }
12402 echo "$as_me:$LINENO: result: yes" >&5
12403 echo "${ECHO_T}yes" >&6
12405 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12406 ac_clean_files
=$ac_clean_files_save
12407 # Check the compiler produces executables we can run. If not, either
12408 # the compiler is broken, or we cross compile.
12409 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12410 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12411 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12412 echo "${ECHO_T}$cross_compiling" >&6
12414 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12415 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12417 (eval $ac_link) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; then
12421 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12422 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12423 # work properly (i.e., refer to `conftest.exe'), while it won't with
12425 for ac_file
in conftest.exe conftest conftest.
*; do
12426 test -f "$ac_file" || continue
12428 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12429 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12430 export ac_cv_exeext
12436 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12437 See \`config.log' for more details." >&5
12438 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12439 See \`config.log' for more details." >&2;}
12440 { (exit 1); exit 1; }; }
12443 rm -f conftest
$ac_cv_exeext
12444 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12445 echo "${ECHO_T}$ac_cv_exeext" >&6
12447 rm -f conftest.
$ac_ext
12448 EXEEXT
=$ac_cv_exeext
12450 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12451 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12452 if test "${ac_cv_objext+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12470 rm -f conftest.o conftest.obj
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; then
12476 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12478 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12479 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12488 See \`config.log' for more details." >&5
12489 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12490 See \`config.log' for more details." >&2;}
12491 { (exit 1); exit 1; }; }
12494 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12496 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12497 echo "${ECHO_T}$ac_cv_objext" >&6
12498 OBJEXT
=$ac_cv_objext
12500 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12501 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12502 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12523 rm -f conftest.
$ac_objext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12525 (eval $ac_compile) 2>conftest.er1
12527 grep -v '^ *+' conftest.er1
>conftest.err
12529 cat conftest.err
>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } &&
12532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try
='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 ac_compiler_gnu
=yes
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.
$ac_ext >&5
12551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12552 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12555 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12556 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12557 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12558 ac_test_CFLAGS
=${CFLAGS+set}
12559 ac_save_CFLAGS
=$CFLAGS
12561 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12562 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12563 if test "${ac_cv_prog_cc_g+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12581 rm -f conftest.
$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1
>conftest.err
12587 cat conftest.err
>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try
='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 ac_cv_prog_cc_g
=yes
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.
$ac_ext >&5
12609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12611 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12612 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12613 if test "$ac_test_CFLAGS" = set; then
12614 CFLAGS
=$ac_save_CFLAGS
12615 elif test $ac_cv_prog_cc_g = yes; then
12616 if test "$GCC" = yes; then
12622 if test "$GCC" = yes; then
12628 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12629 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12630 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 ac_cv_prog_cc_stdc
=no
12635 cat >conftest.
$ac_ext <<_ACEOF
12638 cat confdefs.h
>>conftest.
$ac_ext
12639 cat >>conftest.
$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12641 #include <stdarg.h>
12643 #include <sys/types.h>
12644 #include <sys/stat.h>
12645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12646 struct buf { int x; };
12647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12648 static char *e (p, i)
12654 static char *f (char * (*g) (char **, int), char **p, ...)
12659 s = g (p, va_arg (v,int));
12664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12665 function prototypes and stuff, but not '\xHH' hex character constants.
12666 These don't provoke an error unfortunately, instead are silently treated
12667 as 'x'. The following induces an error, until -std1 is added to get
12668 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12669 array size at least. It's necessary to write '\x00'==0 to get something
12670 that's true only with -std1. */
12671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12673 int test (int i, double x);
12674 struct s1 {int (*f) (int a);};
12675 struct s2 {int (*f) (double a);};
12676 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12682 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12687 # Don't try gcc -ansi; that turns off useful extensions and
12688 # breaks some systems' header files.
12689 # AIX -qlanglvl=ansi
12690 # Ultrix and OSF/1 -std1
12691 # HP-UX 10.20 and later -Ae
12692 # HP-UX older versions -Aa -D_HPUX_SOURCE
12693 # SVR4 -Xc -D__EXTENSIONS__
12694 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12696 CC
="$ac_save_CC $ac_arg"
12697 rm -f conftest.
$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1
>conftest.err
12703 cat conftest.err
>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try
='test -s conftest.$ac_objext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 ac_cv_prog_cc_stdc
=$ac_arg
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.
$ac_ext >&5
12725 rm -f conftest.err conftest.
$ac_objext
12727 rm -f conftest.
$ac_ext conftest.
$ac_objext
12732 case "x$ac_cv_prog_cc_stdc" in
12734 echo "$as_me:$LINENO: result: none needed" >&5
12735 echo "${ECHO_T}none needed" >&6 ;;
12737 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12738 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12739 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12742 # Some people use a C++ compiler to compile C. Since we use `exit',
12743 # in C++ we need to declare it. In case someone uses the same compiler
12744 # for both compiling C and C++ we need to have the C++ compiler decide
12745 # the declaration of exit, since it's the most demanding environment.
12746 cat >conftest.
$ac_ext <<_ACEOF
12747 #ifndef __cplusplus
12751 rm -f conftest.
$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try
='test -s conftest.$ac_objext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 for ac_declaration
in \
12774 'extern "C" void std::exit (int) throw (); using std::exit;' \
12775 'extern "C" void std::exit (int); using std::exit;' \
12776 'extern "C" void exit (int) throw ();' \
12777 'extern "C" void exit (int);' \
12780 cat >conftest.
$ac_ext <<_ACEOF
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12787 #include <stdlib.h>
12796 rm -f conftest.
$ac_objext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>conftest.er1
12800 grep -v '^ *+' conftest.er1
>conftest.err
12802 cat conftest.err
>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
12805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; } &&
12811 { ac_try
='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.
$ac_ext >&5
12824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12840 rm -f conftest.
$ac_objext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12842 (eval $ac_compile) 2>conftest.er1
12844 grep -v '^ *+' conftest.er1
>conftest.err
12846 cat conftest.err
>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } &&
12849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; } &&
12855 { ac_try
='test -s conftest.$ac_objext'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12870 if test -n "$ac_declaration"; then
12871 echo '#ifdef __cplusplus' >>confdefs.h
12872 echo $ac_declaration >>confdefs.h
12873 echo '#endif' >>confdefs.h
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12883 ac_cpp
='$CPP $CPPFLAGS'
12884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12891 ac_cpp
='$CPP $CPPFLAGS'
12892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12896 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12897 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12898 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 cat >conftest.
$ac_ext <<_ACEOF
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12912 #ifndef __INTEL_COMPILER
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12946 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12953 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12954 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12956 ac_cpp
='$CPP $CPPFLAGS'
12957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12961 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12968 if test "x$GCC" != "xyes"; then
12969 if test "xCC" = "xC"; then
12970 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12971 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12972 if test "${bakefile_cv_c_exto+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 cat >conftest.
$ac_ext <<_ACEOF
12978 cat confdefs.h
>>conftest.
$ac_ext
12979 cat >>conftest.
$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12990 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12992 (eval $ac_compile) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; then
12996 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12998 conftest.
$ac_ext.o
)
12999 bakefile_cv_c_exto
="-ext o"
13006 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13007 See \`config.log' for more details." >&5
13008 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13009 See \`config.log' for more details." >&2;}
13010 { (exit 1); exit 1; }; }
13014 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13017 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13018 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13019 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13020 if test "c" = "c"; then
13021 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13023 if test "c" = "cxx"; then
13024 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13028 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13029 unset ac_cv_prog_cc_g
13030 ac_test_CFLAGS
=${CFLAGS+set}
13031 ac_save_CFLAGS
=$CFLAGS
13033 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13035 if test "${ac_cv_prog_cc_g+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 cat >conftest.
$ac_ext <<_ACEOF
13041 cat confdefs.h
>>conftest.
$ac_ext
13042 cat >>conftest.
$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13053 rm -f conftest.
$ac_objext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 (eval $ac_compile) 2>conftest.er1
13057 grep -v '^ *+' conftest.er1
>conftest.err
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; } &&
13068 { ac_try
='test -s conftest.$ac_objext'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; }; then
13074 ac_cv_prog_cc_g
=yes
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.
$ac_ext >&5
13081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13085 if test "$ac_test_CFLAGS" = set; then
13086 CFLAGS
=$ac_save_CFLAGS
13087 elif test $ac_cv_prog_cc_g = yes; then
13088 if test "$GCC" = yes; then
13094 if test "$GCC" = yes; then
13106 ac_cpp
='$CPP $CPPFLAGS'
13107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13111 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13112 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13113 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 cat >conftest.
$ac_ext <<_ACEOF
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13134 rm -f conftest.
$ac_objext
13135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13136 (eval $ac_compile) 2>conftest.er1
13138 grep -v '^ *+' conftest.er1
>conftest.err
13140 cat conftest.err
>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } &&
13143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try
='test -s conftest.$ac_objext'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; }; then
13155 bakefile_compiler_xlc
=yes
13157 echo "$as_me: failed program was:" >&5
13158 sed 's/^/| /' conftest.
$ac_ext >&5
13160 bakefile_compiler_xlc
=no
13162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13163 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13166 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13167 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13169 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13171 ac_cpp
='$CPP $CPPFLAGS'
13172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13181 ac_cpp
='$CPP $CPPFLAGS'
13182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13186 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13187 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13188 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 cat >conftest.
$ac_ext <<_ACEOF
13194 cat confdefs.h
>>conftest.
$ac_ext
13195 cat >>conftest.
$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13209 rm -f conftest.
$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13213 grep -v '^ *+' conftest.er1
>conftest.err
13215 cat conftest.err
>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try
='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 bakefile_compiler_mwerks
=yes
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.
$ac_ext >&5
13235 bakefile_compiler_mwerks
=no
13237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13238 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13241 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13242 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13244 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13246 ac_cpp
='$CPP $CPPFLAGS'
13247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13253 ac_cpp
='$CPP $CPPFLAGS'
13254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13258 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13259 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13260 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 cat >conftest.
$ac_ext <<_ACEOF
13266 cat confdefs.h
>>conftest.
$ac_ext
13267 cat >>conftest.
$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13281 rm -f conftest.
$ac_objext
13282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13283 (eval $ac_compile) 2>conftest.er1
13285 grep -v '^ *+' conftest.er1
>conftest.err
13287 cat conftest.err
>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try
='test -s conftest.$ac_objext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 bakefile_compiler_xlc
=yes
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 bakefile_compiler_xlc
=no
13309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13310 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13313 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13314 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13316 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13318 ac_cpp
='$CPP $CPPFLAGS'
13319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13330 ac_cpp
='$CPP $CPPFLAGS'
13331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13335 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13336 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13337 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 cat >conftest.
$ac_ext <<_ACEOF
13343 cat confdefs.h
>>conftest.
$ac_ext
13344 cat >>conftest.
$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13351 #ifndef _SGI_COMPILER_VERSION
13359 rm -f conftest.
$ac_objext
13360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13361 (eval $ac_compile) 2>conftest.er1
13363 grep -v '^ *+' conftest.er1
>conftest.err
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try
='test -s conftest.$ac_objext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13392 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13393 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13395 ac_cpp
='$CPP $CPPFLAGS'
13396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13400 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13413 ac_cpp
='$CPP $CPPFLAGS'
13414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13418 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13419 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13420 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 cat >conftest.
$ac_ext <<_ACEOF
13426 cat confdefs.h
>>conftest.
$ac_ext
13427 cat >>conftest.
$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13442 rm -f conftest.
$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>conftest.er1
13446 grep -v '^ *+' conftest.er1
>conftest.err
13448 cat conftest.err
>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try
='test -s conftest.$ac_objext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 bakefile_cv_c_compiler___HP_cc
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 bakefile_cv_c_compiler___HP_cc
=no
13471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13475 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13476 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13478 ac_cpp
='$CPP $CPPFLAGS'
13479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13483 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13496 ac_cpp
='$CPP $CPPFLAGS'
13497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13501 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13502 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13503 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13504 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 cat >conftest.
$ac_ext <<_ACEOF
13509 cat confdefs.h
>>conftest.
$ac_ext
13510 cat >>conftest.
$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13525 rm -f conftest.
$ac_objext
13526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13527 (eval $ac_compile) 2>conftest.er1
13529 grep -v '^ *+' conftest.er1
>conftest.err
13531 cat conftest.err
>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); } &&
13534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; } &&
13540 { ac_try
='test -s conftest.$ac_objext'
13541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13542 (eval $ac_try) 2>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); }; }; then
13546 bakefile_cv_c_compiler___DECC
=yes
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.
$ac_ext >&5
13551 bakefile_cv_c_compiler___DECC
=no
13554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13558 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13559 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13561 ac_cpp
='$CPP $CPPFLAGS'
13562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13566 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13579 ac_cpp
='$CPP $CPPFLAGS'
13580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13584 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13585 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13586 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 cat >conftest.
$ac_ext <<_ACEOF
13592 cat confdefs.h
>>conftest.
$ac_ext
13593 cat >>conftest.
$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13608 rm -f conftest.
$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try
='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 bakefile_cv_c_compiler___SUNPRO_C
=yes
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.
$ac_ext >&5
13634 bakefile_cv_c_compiler___SUNPRO_C
=no
13637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13641 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13642 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13644 ac_cpp
='$CPP $CPPFLAGS'
13645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13649 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13663 ac_cpp
='$CPP $CPPFLAGS'
13664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13667 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13669 # On Suns, sometimes $CPP names a directory.
13670 if test -n "$CPP" && test -d "$CPP"; then
13673 if test -z "$CPP"; then
13674 if test "${ac_cv_prog_CPP+set}" = set; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 # Double quotes because CPP needs to be expanded
13678 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13680 ac_preproc_ok
=false
13681 for ac_c_preproc_warn_flag
in '' yes
13683 # Use a header file that comes with gcc, so configuring glibc
13684 # with a fresh cross-compiler works.
13685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13686 # <limits.h> exists even on freestanding compilers.
13687 # On the NeXT, cc -E runs the code through the compiler's parser,
13688 # not just through cpp. "Syntax error" is here to catch this case.
13689 cat >conftest.
$ac_ext <<_ACEOF
13692 cat confdefs.h
>>conftest.
$ac_ext
13693 cat >>conftest.
$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13696 # include <limits.h>
13698 # include <assert.h>
13702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13705 grep -v '^ *+' conftest.er1
>conftest.err
13707 cat conftest.err
>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } >/dev
/null
; then
13710 if test -s conftest.err
; then
13711 ac_cpp_err
=$ac_c_preproc_warn_flag
13712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13719 if test -z "$ac_cpp_err"; then
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.
$ac_ext >&5
13725 # Broken: fails on valid input.
13728 rm -f conftest.err conftest.
$ac_ext
13730 # OK, works on sane cases. Now check whether non-existent headers
13731 # can be detected and how.
13732 cat >conftest.
$ac_ext <<_ACEOF
13735 cat confdefs.h
>>conftest.
$ac_ext
13736 cat >>conftest.
$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738 #include <ac_nonexistent.h>
13740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } >/dev
/null
; then
13748 if test -s conftest.err
; then
13749 ac_cpp_err
=$ac_c_preproc_warn_flag
13750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13757 if test -z "$ac_cpp_err"; then
13758 # Broken: success on invalid input.
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.
$ac_ext >&5
13764 # Passes both tests.
13768 rm -f conftest.err conftest.
$ac_ext
13771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13772 rm -f conftest.err conftest.
$ac_ext
13773 if $ac_preproc_ok; then
13778 ac_cv_prog_CPP
=$CPP
13781 CPP
=$ac_cv_prog_CPP
13783 ac_cv_prog_CPP
=$CPP
13785 echo "$as_me:$LINENO: result: $CPP" >&5
13786 echo "${ECHO_T}$CPP" >&6
13787 ac_preproc_ok
=false
13788 for ac_c_preproc_warn_flag
in '' yes
13790 # Use a header file that comes with gcc, so configuring glibc
13791 # with a fresh cross-compiler works.
13792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13793 # <limits.h> exists even on freestanding compilers.
13794 # On the NeXT, cc -E runs the code through the compiler's parser,
13795 # not just through cpp. "Syntax error" is here to catch this case.
13796 cat >conftest.
$ac_ext <<_ACEOF
13799 cat confdefs.h
>>conftest.
$ac_ext
13800 cat >>conftest.
$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13803 # include <limits.h>
13805 # include <assert.h>
13809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13812 grep -v '^ *+' conftest.er1
>conftest.err
13814 cat conftest.err
>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } >/dev
/null
; then
13817 if test -s conftest.err
; then
13818 ac_cpp_err
=$ac_c_preproc_warn_flag
13819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13826 if test -z "$ac_cpp_err"; then
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.
$ac_ext >&5
13832 # Broken: fails on valid input.
13835 rm -f conftest.err conftest.
$ac_ext
13837 # OK, works on sane cases. Now check whether non-existent headers
13838 # can be detected and how.
13839 cat >conftest.
$ac_ext <<_ACEOF
13842 cat confdefs.h
>>conftest.
$ac_ext
13843 cat >>conftest.
$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 #include <ac_nonexistent.h>
13847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13850 grep -v '^ *+' conftest.er1
>conftest.err
13852 cat conftest.err
>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } >/dev
/null
; then
13855 if test -s conftest.err
; then
13856 ac_cpp_err
=$ac_c_preproc_warn_flag
13857 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13864 if test -z "$ac_cpp_err"; then
13865 # Broken: success on invalid input.
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 # Passes both tests.
13875 rm -f conftest.err conftest.
$ac_ext
13878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13879 rm -f conftest.err conftest.
$ac_ext
13880 if $ac_preproc_ok; then
13883 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13884 See \`config.log' for more details." >&5
13885 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13886 See \`config.log' for more details." >&2;}
13887 { (exit 1); exit 1; }; }
13891 ac_cpp
='$CPP $CPPFLAGS'
13892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13897 echo "$as_me:$LINENO: checking for egrep" >&5
13898 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13899 if test "${ac_cv_prog_egrep+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13903 then ac_cv_prog_egrep
='grep -E'
13904 else ac_cv_prog_egrep
='egrep'
13907 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13908 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13909 EGREP
=$ac_cv_prog_egrep
13912 if test $ac_cv_c_compiler_gnu = yes; then
13913 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13914 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13915 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 ac_pattern
="Autoconf.*'x'"
13919 cat >conftest.
$ac_ext <<_ACEOF
13922 cat confdefs.h
>>conftest.
$ac_ext
13923 cat >>conftest.
$ac_ext <<_ACEOF
13924 /* end confdefs.h. */
13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13929 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13930 ac_cv_prog_gcc_traditional
=yes
13932 ac_cv_prog_gcc_traditional
=no
13937 if test $ac_cv_prog_gcc_traditional = no
; then
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 #include <termio.h>
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13949 ac_cv_prog_gcc_traditional
=yes
13955 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13956 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13957 if test $ac_cv_prog_gcc_traditional = yes; then
13958 CC
="$CC -traditional"
13964 ac_cpp
='$CXXCPP $CPPFLAGS'
13965 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13966 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13967 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13970 CXXFLAGS
=${CXXFLAGS:=}
13975 ac_cpp
='$CXXCPP $CPPFLAGS'
13976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13979 if test -n "$ac_tool_prefix"; then
13980 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13984 echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13986 if test "${ac_cv_prog_CXX+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 if test -n "$CXX"; then
13990 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13993 for as_dir
in $PATH
13996 test -z "$as_dir" && as_dir
=.
13997 for ac_exec_ext
in '' $ac_executable_extensions; do
13998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13999 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14008 CXX
=$ac_cv_prog_CXX
14009 if test -n "$CXX"; then
14010 echo "$as_me:$LINENO: result: $CXX" >&5
14011 echo "${ECHO_T}$CXX" >&6
14013 echo "$as_me:$LINENO: result: no" >&5
14014 echo "${ECHO_T}no" >&6
14017 test -n "$CXX" && break
14020 if test -z "$CXX"; then
14022 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14024 # Extract the first word of "$ac_prog", so it can be a program name with args.
14025 set dummy
$ac_prog; ac_word
=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 if test -n "$ac_ct_CXX"; then
14032 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14035 for as_dir
in $PATH
14038 test -z "$as_dir" && as_dir
=.
14039 for ac_exec_ext
in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14051 if test -n "$ac_ct_CXX"; then
14052 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14053 echo "${ECHO_T}$ac_ct_CXX" >&6
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14059 test -n "$ac_ct_CXX" && break
14061 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14067 # Provide some information about the compiler.
14068 echo "$as_me:$LINENO:" \
14069 "checking for C++ compiler version" >&5
14070 ac_compiler
=`set X $ac_compile; echo $2`
14071 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14072 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }
14076 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14077 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }
14081 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14082 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }
14087 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14088 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14089 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 cat >conftest.
$ac_ext <<_ACEOF
14095 cat confdefs.h
>>conftest.
$ac_ext
14096 cat >>conftest.
$ac_ext <<_ACEOF
14097 /* end confdefs.h. */
14110 rm -f conftest.
$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>conftest.er1
14114 grep -v '^ *+' conftest.er1
>conftest.err
14116 cat conftest.err
>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try
='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_compiler_gnu
=yes
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14139 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14142 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14143 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14144 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14145 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14146 ac_save_CXXFLAGS
=$CXXFLAGS
14148 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14149 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14150 if test "${ac_cv_prog_cxx_g+set}" = set; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 cat >conftest.
$ac_ext <<_ACEOF
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14168 rm -f conftest.
$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try
='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14189 ac_cv_prog_cxx_g
=yes
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.
$ac_ext >&5
14194 ac_cv_prog_cxx_g
=no
14196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14198 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14199 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14200 if test "$ac_test_CXXFLAGS" = set; then
14201 CXXFLAGS
=$ac_save_CXXFLAGS
14202 elif test $ac_cv_prog_cxx_g = yes; then
14203 if test "$GXX" = yes; then
14209 if test "$GXX" = yes; then
14215 for ac_declaration
in \
14217 'extern "C" void std::exit (int) throw (); using std::exit;' \
14218 'extern "C" void std::exit (int); using std::exit;' \
14219 'extern "C" void exit (int) throw ();' \
14220 'extern "C" void exit (int);' \
14223 cat >conftest.
$ac_ext <<_ACEOF
14226 cat confdefs.h
>>conftest.
$ac_ext
14227 cat >>conftest.
$ac_ext <<_ACEOF
14228 /* end confdefs.h. */
14230 #include <stdlib.h>
14239 rm -f conftest.
$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>conftest.er1
14243 grep -v '^ *+' conftest.er1
>conftest.err
14245 cat conftest.err
>&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } &&
14248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14250 (eval $ac_try) 2>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }; } &&
14254 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.
$ac_ext >&5
14267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14268 cat >conftest.
$ac_ext <<_ACEOF
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14283 rm -f conftest.
$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14287 grep -v '^ *+' conftest.er1
>conftest.err
14289 cat conftest.err
>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; } &&
14298 { ac_try
='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 if test -n "$ac_declaration"; then
14314 echo '#ifdef __cplusplus' >>confdefs.h
14315 echo $ac_declaration >>confdefs.h
14316 echo '#endif' >>confdefs.h
14320 ac_cpp
='$CXXCPP $CPPFLAGS'
14321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14328 ac_cpp
='$CXXCPP $CPPFLAGS'
14329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14333 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14334 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14335 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14349 #ifndef __INTEL_COMPILER
14357 rm -f conftest.
$ac_objext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14359 (eval $ac_compile) 2>conftest.er1
14361 grep -v '^ *+' conftest.er1
>conftest.err
14363 cat conftest.err
>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; } &&
14372 { ac_try
='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14390 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14391 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14393 ac_cpp
='$CXXCPP $CPPFLAGS'
14394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14398 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14405 if test "x$GCXX" != "xyes"; then
14406 if test "xCXX" = "xC"; then
14407 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14408 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14409 if test "${bakefile_cv_cxx_exto+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 cat >conftest.
$ac_ext <<_ACEOF
14415 cat confdefs.h
>>conftest.
$ac_ext
14416 cat >>conftest.
$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14427 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; then
14433 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14435 conftest.
$ac_ext.o
)
14436 bakefile_cv_cxx_exto
="-ext o"
14443 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14444 See \`config.log' for more details." >&5
14445 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14446 See \`config.log' for more details." >&2;}
14447 { (exit 1); exit 1; }; }
14451 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14454 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14455 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14456 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14457 if test "cxx" = "c"; then
14458 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14460 if test "cxx" = "cxx"; then
14461 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14465 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14466 unset ac_cv_prog_cc_g
14467 ac_test_CFLAGS
=${CFLAGS+set}
14468 ac_save_CFLAGS
=$CFLAGS
14470 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14471 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14472 if test "${ac_cv_prog_cc_g+set}" = set; then
14473 echo $ECHO_N "(cached) $ECHO_C" >&6
14475 cat >conftest.
$ac_ext <<_ACEOF
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14490 rm -f conftest.
$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14494 grep -v '^ *+' conftest.er1
>conftest.err
14496 cat conftest.err
>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try
='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_prog_cc_g
=yes
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14520 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14521 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14522 if test "$ac_test_CFLAGS" = set; then
14523 CFLAGS
=$ac_save_CFLAGS
14524 elif test $ac_cv_prog_cc_g = yes; then
14525 if test "$GCC" = yes; then
14531 if test "$GCC" = yes; then
14543 ac_cpp
='$CXXCPP $CPPFLAGS'
14544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14548 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14549 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14550 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 cat >conftest.
$ac_ext <<_ACEOF
14556 cat confdefs.h
>>conftest.
$ac_ext
14557 cat >>conftest.
$ac_ext <<_ACEOF
14558 /* end confdefs.h. */
14571 rm -f conftest.
$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14575 grep -v '^ *+' conftest.er1
>conftest.err
14577 cat conftest.err
>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try
='test -s conftest.$ac_objext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 bakefile_compiler_xlc
=yes
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14597 bakefile_compiler_xlc
=no
14599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14600 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14603 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14604 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14606 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14608 ac_cpp
='$CXXCPP $CPPFLAGS'
14609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14618 ac_cpp
='$CXXCPP $CPPFLAGS'
14619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14623 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14624 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14625 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 cat >conftest.
$ac_ext <<_ACEOF
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14646 rm -f conftest.
$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>conftest.er1
14650 grep -v '^ *+' conftest.er1
>conftest.err
14652 cat conftest.err
>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } &&
14655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; } &&
14661 { ac_try
='test -s conftest.$ac_objext'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; }; then
14667 bakefile_compiler_mwerks
=yes
14669 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.
$ac_ext >&5
14672 bakefile_compiler_mwerks
=no
14674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14675 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14678 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14679 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14681 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14683 ac_cpp
='$CXXCPP $CPPFLAGS'
14684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14690 ac_cpp
='$CXXCPP $CPPFLAGS'
14691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14695 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14696 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14697 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14700 cat >conftest.
$ac_ext <<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14718 rm -f conftest.
$ac_objext
14719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14720 (eval $ac_compile) 2>conftest.er1
14722 grep -v '^ *+' conftest.er1
>conftest.err
14724 cat conftest.err
>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; } &&
14733 { ac_try
='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 bakefile_compiler_xlc
=yes
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.
$ac_ext >&5
14744 bakefile_compiler_xlc
=no
14746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14747 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14750 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14751 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14753 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14755 ac_cpp
='$CXXCPP $CPPFLAGS'
14756 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14757 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14758 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14767 ac_cpp
='$CXXCPP $CPPFLAGS'
14768 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14769 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14772 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14773 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14774 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 cat >conftest.
$ac_ext <<_ACEOF
14780 cat confdefs.h
>>conftest.
$ac_ext
14781 cat >>conftest.
$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14788 #ifndef _SGI_COMPILER_VERSION
14796 rm -f conftest.
$ac_objext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14798 (eval $ac_compile) 2>conftest.er1
14800 grep -v '^ *+' conftest.er1
>conftest.err
14802 cat conftest.err
>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try
='test -s conftest.$ac_objext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.
$ac_ext >&5
14822 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14829 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14830 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14832 ac_cpp
='$CXXCPP $CPPFLAGS'
14833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14837 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14850 ac_cpp
='$CXXCPP $CPPFLAGS'
14851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14855 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14856 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14857 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 cat >conftest.
$ac_ext <<_ACEOF
14863 cat confdefs.h
>>conftest.
$ac_ext
14864 cat >>conftest.
$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14879 rm -f conftest.
$ac_objext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14881 (eval $ac_compile) 2>conftest.er1
14883 grep -v '^ *+' conftest.er1
>conftest.err
14885 cat conftest.err
>&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } &&
14888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try
='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 bakefile_cv_cxx_compiler___HP_aCC
=yes
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.
$ac_ext >&5
14905 bakefile_cv_cxx_compiler___HP_aCC
=no
14908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14912 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14915 ac_cpp
='$CXXCPP $CPPFLAGS'
14916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14920 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14933 ac_cpp
='$CXXCPP $CPPFLAGS'
14934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14938 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14939 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14940 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 cat >conftest.
$ac_ext <<_ACEOF
14946 cat confdefs.h
>>conftest.
$ac_ext
14947 cat >>conftest.
$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14962 rm -f conftest.
$ac_objext
14963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14964 (eval $ac_compile) 2>conftest.er1
14966 grep -v '^ *+' conftest.er1
>conftest.err
14968 cat conftest.err
>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try
='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 bakefile_cv_cxx_compiler___DECCXX
=yes
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.
$ac_ext >&5
14988 bakefile_cv_cxx_compiler___DECCXX
=no
14991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14995 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14996 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14998 ac_cpp
='$CXXCPP $CPPFLAGS'
14999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15003 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15016 ac_cpp
='$CXXCPP $CPPFLAGS'
15017 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15021 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15022 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15023 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 cat >conftest.
$ac_ext <<_ACEOF
15029 cat confdefs.h
>>conftest.
$ac_ext
15030 cat >>conftest.
$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15037 #ifndef __SUNPRO_CC
15045 rm -f conftest.
$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>conftest.er1
15049 grep -v '^ *+' conftest.er1
>conftest.err
15051 cat conftest.err
>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } &&
15054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; } &&
15060 { ac_try
='test -s conftest.$ac_objext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.
$ac_ext >&5
15071 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15078 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15081 ac_cpp
='$CXXCPP $CPPFLAGS'
15082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15086 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15099 if test -n "$ac_tool_prefix"; then
15100 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15101 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15102 echo "$as_me:$LINENO: checking for $ac_word" >&5
15103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15104 if test "${ac_cv_prog_RANLIB+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 if test -n "$RANLIB"; then
15108 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15111 for as_dir
in $PATH
15114 test -z "$as_dir" && as_dir
=.
15115 for ac_exec_ext
in '' $ac_executable_extensions; do
15116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15117 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15126 RANLIB
=$ac_cv_prog_RANLIB
15127 if test -n "$RANLIB"; then
15128 echo "$as_me:$LINENO: result: $RANLIB" >&5
15129 echo "${ECHO_T}$RANLIB" >&6
15131 echo "$as_me:$LINENO: result: no" >&5
15132 echo "${ECHO_T}no" >&6
15136 if test -z "$ac_cv_prog_RANLIB"; then
15137 ac_ct_RANLIB
=$RANLIB
15138 # Extract the first word of "ranlib", so it can be a program name with args.
15139 set dummy ranlib
; ac_word
=$2
15140 echo "$as_me:$LINENO: checking for $ac_word" >&5
15141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 if test -n "$ac_ct_RANLIB"; then
15146 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15149 for as_dir
in $PATH
15152 test -z "$as_dir" && as_dir
=.
15153 for ac_exec_ext
in '' $ac_executable_extensions; do
15154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15155 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15162 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15165 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15166 if test -n "$ac_ct_RANLIB"; then
15167 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15168 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15170 echo "$as_me:$LINENO: result: no" >&5
15171 echo "${ECHO_T}no" >&6
15174 RANLIB
=$ac_ct_RANLIB
15176 RANLIB
="$ac_cv_prog_RANLIB"
15180 if test -n "$ac_tool_prefix"; then
15181 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15182 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15183 echo "$as_me:$LINENO: checking for $ac_word" >&5
15184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15185 if test "${ac_cv_prog_AR+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 if test -n "$AR"; then
15189 ac_cv_prog_AR
="$AR" # Let the user override the test.
15191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15192 for as_dir
in $PATH
15195 test -z "$as_dir" && as_dir
=.
15196 for ac_exec_ext
in '' $ac_executable_extensions; do
15197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15198 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15208 if test -n "$AR"; then
15209 echo "$as_me:$LINENO: result: $AR" >&5
15210 echo "${ECHO_T}$AR" >&6
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15217 if test -z "$ac_cv_prog_AR"; then
15219 # Extract the first word of "ar", so it can be a program name with args.
15220 set dummy
ar; ac_word
=$2
15221 echo "$as_me:$LINENO: checking for $ac_word" >&5
15222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15223 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 if test -n "$ac_ct_AR"; then
15227 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15230 for as_dir
in $PATH
15233 test -z "$as_dir" && as_dir
=.
15234 for ac_exec_ext
in '' $ac_executable_extensions; do
15235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15236 ac_cv_prog_ac_ct_AR
="ar"
15237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15245 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15246 if test -n "$ac_ct_AR"; then
15247 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15248 echo "${ECHO_T}$ac_ct_AR" >&6
15250 echo "$as_me:$LINENO: result: no" >&5
15251 echo "${ECHO_T}no" >&6
15256 AR
="$ac_cv_prog_AR"
15259 if test "x$AR" = "x" ; then
15260 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15261 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15262 { (exit 1); exit 1; }; }
15265 # Find a good install program. We prefer a C program (faster),
15266 # so one script is as good as another. But avoid the broken or
15267 # incompatible versions:
15268 # SysV /etc/install, /usr/sbin/install
15269 # SunOS /usr/etc/install
15270 # IRIX /sbin/install
15272 # AmigaOS /C/install, which installs bootblocks on floppy discs
15273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15276 # OS/2's system install, which has a completely different semantic
15277 # ./install, which can be erroneously created by make from ./install.sh.
15278 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15279 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15280 if test -z "$INSTALL"; then
15281 if test "${ac_cv_path_install+set}" = set; then
15282 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15285 for as_dir
in $PATH
15288 test -z "$as_dir" && as_dir
=.
15289 # Account for people who put trailing slashes in PATH elements.
15291 .
/ | .
// | /cC
/* | \
15292 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15293 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15296 # OSF1 and SCO ODT 3.0 have their own names for install.
15297 # Don't use installbsd from OSF since it installs stuff as root
15299 for ac_prog
in ginstall scoinst
install; do
15300 for ac_exec_ext
in '' $ac_executable_extensions; do
15301 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15302 if test $ac_prog = install &&
15303 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15304 # AIX install. It has an incompatible calling convention.
15306 elif test $ac_prog = install &&
15307 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15308 # program-specific install script used by HP pwplus--don't use.
15311 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15323 if test "${ac_cv_path_install+set}" = set; then
15324 INSTALL
=$ac_cv_path_install
15326 # As a last resort, use the slow shell script. We don't cache a
15327 # path for INSTALL within a source directory, because that will
15328 # break other packages using the cache if that directory is
15329 # removed, or if the path is relative.
15330 INSTALL
=$ac_install_sh
15333 echo "$as_me:$LINENO: result: $INSTALL" >&5
15334 echo "${ECHO_T}$INSTALL" >&6
15336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15337 # It thinks the first close brace ends the variable substitution.
15338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15342 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15348 ?
:* ) # Drive letter, considered as absolute.
15351 INSTALL
=`pwd`/${INSTALL} ;;
15358 INSTALL_PROGRAM
="cp -fp"
15359 INSTALL_DATA
="cp -fp"
15365 if test -n "$ac_tool_prefix"; then
15366 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15367 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15368 echo "$as_me:$LINENO: checking for $ac_word" >&5
15369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15370 if test "${ac_cv_prog_STRIP+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 if test -n "$STRIP"; then
15374 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15377 for as_dir
in $PATH
15380 test -z "$as_dir" && as_dir
=.
15381 for ac_exec_ext
in '' $ac_executable_extensions; do
15382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15383 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15392 STRIP
=$ac_cv_prog_STRIP
15393 if test -n "$STRIP"; then
15394 echo "$as_me:$LINENO: result: $STRIP" >&5
15395 echo "${ECHO_T}$STRIP" >&6
15397 echo "$as_me:$LINENO: result: no" >&5
15398 echo "${ECHO_T}no" >&6
15402 if test -z "$ac_cv_prog_STRIP"; then
15404 # Extract the first word of "strip", so it can be a program name with args.
15405 set dummy strip
; ac_word
=$2
15406 echo "$as_me:$LINENO: checking for $ac_word" >&5
15407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15408 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 if test -n "$ac_ct_STRIP"; then
15412 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15415 for as_dir
in $PATH
15418 test -z "$as_dir" && as_dir
=.
15419 for ac_exec_ext
in '' $ac_executable_extensions; do
15420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15421 ac_cv_prog_ac_ct_STRIP
="strip"
15422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15428 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15431 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15432 if test -n "$ac_ct_STRIP"; then
15433 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15434 echo "${ECHO_T}$ac_ct_STRIP" >&6
15436 echo "$as_me:$LINENO: result: no" >&5
15437 echo "${ECHO_T}no" >&6
15442 STRIP
="$ac_cv_prog_STRIP"
15446 if test "$wxUSE_WINE" = "yes"; then
15447 if test -n "$ac_tool_prefix"; then
15448 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15449 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15450 echo "$as_me:$LINENO: checking for $ac_word" >&5
15451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15452 if test "${ac_cv_prog_WINDRES+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 if test -n "$WINDRES"; then
15456 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15459 for as_dir
in $PATH
15462 test -z "$as_dir" && as_dir
=.
15463 for ac_exec_ext
in '' $ac_executable_extensions; do
15464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15465 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15474 WINDRES
=$ac_cv_prog_WINDRES
15475 if test -n "$WINDRES"; then
15476 echo "$as_me:$LINENO: result: $WINDRES" >&5
15477 echo "${ECHO_T}$WINDRES" >&6
15479 echo "$as_me:$LINENO: result: no" >&5
15480 echo "${ECHO_T}no" >&6
15484 if test -z "$ac_cv_prog_WINDRES"; then
15485 ac_ct_WINDRES
=$WINDRES
15486 # Extract the first word of "wrc", so it can be a program name with args.
15487 set dummy wrc
; ac_word
=$2
15488 echo "$as_me:$LINENO: checking for $ac_word" >&5
15489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15490 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 if test -n "$ac_ct_WINDRES"; then
15494 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15497 for as_dir
in $PATH
15500 test -z "$as_dir" && as_dir
=.
15501 for ac_exec_ext
in '' $ac_executable_extensions; do
15502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15503 ac_cv_prog_ac_ct_WINDRES
="wrc"
15504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15512 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15513 if test -n "$ac_ct_WINDRES"; then
15514 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15515 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15517 echo "$as_me:$LINENO: result: no" >&5
15518 echo "${ECHO_T}no" >&6
15521 WINDRES
=$ac_ct_WINDRES
15523 WINDRES
="$ac_cv_prog_WINDRES"
15529 *-*-cygwin* | *-*-mingw32* )
15530 if test -n "$ac_tool_prefix"; then
15531 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15532 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15533 echo "$as_me:$LINENO: checking for $ac_word" >&5
15534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15535 if test "${ac_cv_prog_WINDRES+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 if test -n "$WINDRES"; then
15539 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15542 for as_dir
in $PATH
15545 test -z "$as_dir" && as_dir
=.
15546 for ac_exec_ext
in '' $ac_executable_extensions; do
15547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15548 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15557 WINDRES
=$ac_cv_prog_WINDRES
15558 if test -n "$WINDRES"; then
15559 echo "$as_me:$LINENO: result: $WINDRES" >&5
15560 echo "${ECHO_T}$WINDRES" >&6
15562 echo "$as_me:$LINENO: result: no" >&5
15563 echo "${ECHO_T}no" >&6
15567 if test -z "$ac_cv_prog_WINDRES"; then
15568 ac_ct_WINDRES
=$WINDRES
15569 # Extract the first word of "windres", so it can be a program name with args.
15570 set dummy windres
; ac_word
=$2
15571 echo "$as_me:$LINENO: checking for $ac_word" >&5
15572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15573 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 if test -n "$ac_ct_WINDRES"; then
15577 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15580 for as_dir
in $PATH
15583 test -z "$as_dir" && as_dir
=.
15584 for ac_exec_ext
in '' $ac_executable_extensions; do
15585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15586 ac_cv_prog_ac_ct_WINDRES
="windres"
15587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15595 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15596 if test -n "$ac_ct_WINDRES"; then
15597 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15598 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15600 echo "$as_me:$LINENO: result: no" >&5
15601 echo "${ECHO_T}no" >&6
15604 WINDRES
=$ac_ct_WINDRES
15606 WINDRES
="$ac_cv_prog_WINDRES"
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15612 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 if test -n "$DLLTOOL"; then
15619 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15622 for as_dir
in $PATH
15625 test -z "$as_dir" && as_dir
=.
15626 for ac_exec_ext
in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15637 DLLTOOL
=$ac_cv_prog_DLLTOOL
15638 if test -n "$DLLTOOL"; then
15639 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15640 echo "${ECHO_T}$DLLTOOL" >&6
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15647 if test -z "$ac_cv_prog_DLLTOOL"; then
15648 ac_ct_DLLTOOL
=$DLLTOOL
15649 # Extract the first word of "dlltool", so it can be a program name with args.
15650 set dummy dlltool
; ac_word
=$2
15651 echo "$as_me:$LINENO: checking for $ac_word" >&5
15652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15653 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 if test -n "$ac_ct_DLLTOOL"; then
15657 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15660 for as_dir
in $PATH
15663 test -z "$as_dir" && as_dir
=.
15664 for ac_exec_ext
in '' $ac_executable_extensions; do
15665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15675 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15676 if test -n "$ac_ct_DLLTOOL"; then
15677 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15678 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15680 echo "$as_me:$LINENO: result: no" >&5
15681 echo "${ECHO_T}no" >&6
15684 DLLTOOL
=$ac_ct_DLLTOOL
15686 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15693 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15694 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15695 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15700 egrep -s GNU
> /dev
/null
); then
15701 wx_cv_prog_makeisgnu
="yes"
15703 wx_cv_prog_makeisgnu
="no"
15707 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15708 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15710 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15718 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15719 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15720 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15721 if test "${wx_cv_prog_makevpath+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 cat - << EOF > confMake
15731 if test ! -d sub
; then
15734 echo dummy
> sub
/file
15735 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15737 rm -f sub
/file check final_file confMake
15739 if test "$RESULT" = 0; then
15740 wx_cv_prog_makevpath
="yes"
15742 wx_cv_prog_makevpath
="no"
15746 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15747 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15749 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15750 { { echo "$as_me:$LINENO: error:
15751 You need a make-utility that is able to use the variable
15753 If your version of make does not support VPATH correctly,
15754 please install GNU-make (possibly as gmake), and start
15755 configure with the following command:
15756 export MAKE=gmake; ./configure for sh-type shells
15757 setenv MAKE gmake; ./configure for csh-type shells
15758 Also please do remember to use gmake in this case every time
15759 you are trying to compile.
15761 echo "$as_me: error:
15762 You need a make-utility that is able to use the variable
15764 If your version of make does not support VPATH correctly,
15765 please install GNU-make (possibly as gmake), and start
15766 configure with the following command:
15767 export MAKE=gmake; ./configure for sh-type shells
15768 setenv MAKE gmake; ./configure for csh-type shells
15769 Also please do remember to use gmake in this case every time
15770 you are trying to compile.
15772 { (exit 1); exit 1; }; }
15774 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15775 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15777 if test "$LN_S" = "ln -s"; then
15778 echo "$as_me:$LINENO: result: yes" >&5
15779 echo "${ECHO_T}yes" >&6
15781 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15782 echo "${ECHO_T}no, using $LN_S" >&6
15788 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15789 CXXFLAGS
="-qunique $CXXFLAGS"
15793 powerpc
-*-darwin* )
15794 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15795 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15796 cat >conftest.
$ac_ext <<_ACEOF
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15806 #ifndef __POWERPC__
15807 choke me for lack of PowerPC
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; } &&
15829 { ac_try
='test -s conftest.$ac_objext'
15830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 (eval $ac_try) 2>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); }; }; then
15835 echo "$as_me:$LINENO: result: yes" >&5
15836 echo "${ECHO_T}yes" >&6
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 echo "$as_me:$LINENO: result: no" >&5
15842 echo "${ECHO_T}no" >&6
15843 cat >>confdefs.h
<<\_ACEOF
15844 #define __POWERPC__ 1
15849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15856 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15857 cat >conftest.
$ac_ext <<_ACEOF
15860 cat confdefs.h
>>conftest.
$ac_ext
15861 cat >>conftest.
$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863 #include <CoreFoundation/CFBase.h>
15873 rm -f conftest.
$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15877 grep -v '^ *+' conftest.er1
>conftest.err
15879 cat conftest.err
>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try
='test -s conftest.$ac_objext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 echo "$as_me:$LINENO: result: yes" >&5
15895 echo "${ECHO_T}yes" >&6
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.
$ac_ext >&5
15900 echo "$as_me:$LINENO: result: no" >&5
15901 echo "${ECHO_T}no" >&6
15902 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15903 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15904 cat >conftest.
$ac_ext <<_ACEOF
15907 cat confdefs.h
>>conftest.
$ac_ext
15908 cat >>conftest.
$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15910 #define __CF_USE_FRAMEWORK_INCLUDES__
15911 #include <CoreFoundation/CFBase.h>
15921 rm -f conftest.
$ac_objext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15923 (eval $ac_compile) 2>conftest.er1
15925 grep -v '^ *+' conftest.er1
>conftest.err
15927 cat conftest.err
>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; } &&
15936 { ac_try
='test -s conftest.$ac_objext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 echo "$as_me:$LINENO: result: yes" >&5
15943 echo "${ECHO_T}yes" >&6
15944 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.
$ac_ext >&5
15949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: no. CoreFoundation not available.
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15965 doesnt_want_win32
=0
15968 if test "$wxUSE_MSW" = 1 ; then
15971 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15972 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15973 if test "${wx_cv_nocygwin+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 cat >conftest.
$ac_ext <<_ACEOF
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15996 rm -f conftest.
$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>conftest.er1
16000 grep -v '^ *+' conftest.er1
>conftest.err
16002 cat conftest.err
>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try
='test -s conftest.$ac_objext'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; }; then
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.
$ac_ext >&5
16025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16029 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16030 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16032 if test "$wx_cv_nocygwin" = "yes"; then
16035 doesnt_want_win32
=1
16038 if test "$wants_win32" = 1 ; then
16039 BAKEFILE_FORCE_PLATFORM
=win32
16047 if test "$wxUSE_WINE" = "yes"; then
16051 LDFLAGS_GUI
="-mwindows"
16054 if test "$wants_win32" = 1 ; then
16057 cat >>confdefs.h
<<\_ACEOF
16058 #define __WIN32__ 1
16061 cat >>confdefs.h
<<\_ACEOF
16062 #define __WIN95__ 1
16065 cat >>confdefs.h
<<\_ACEOF
16066 #define __WINDOWS__ 1
16069 cat >>confdefs.h
<<\_ACEOF
16070 #define __GNUWIN32__ 1
16073 cat >>confdefs.h
<<\_ACEOF
16078 if test "$doesnt_want_win32" = 1 ; then
16083 if test "$USE_UNIX" = 1 ; then
16085 cat >>confdefs.h
<<\_ACEOF
16092 *-pc-os2_emx | *-pc-os2-emx )
16094 ac_cpp
='$CPP $CPPFLAGS'
16095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16099 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16100 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16101 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16102 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 ac_check_lib_save_LIBS
=$LIBS
16106 LIBS
="-lcExt $LIBS"
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16114 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16129 rm -f conftest.
$ac_objext conftest
$ac_exeext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16131 (eval $ac_link) 2>conftest.er1
16133 grep -v '^ *+' conftest.er1
>conftest.err
16135 cat conftest.err
>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try
='test -s conftest$ac_exeext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_cv_lib_cExt_drand48
=yes
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ac_cv_lib_cExt_drand48
=no
16157 rm -f conftest.err conftest.
$ac_objext \
16158 conftest
$ac_exeext conftest.
$ac_ext
16159 LIBS
=$ac_check_lib_save_LIBS
16161 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16162 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16163 if test $ac_cv_lib_cExt_drand48 = yes; then
16164 LIBS
="$LIBS -lcExt"
16168 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16170 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16171 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16172 if test "${wx_cv_gccversion+set}" = set; then
16173 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 if test "$cross_compiling" = yes; then
16177 wx_cv_gccversion
="EMX2"
16180 cat >conftest.
$ac_ext <<_ACEOF
16183 cat confdefs.h
>>conftest.
$ac_ext
16184 cat >>conftest.
$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16191 FILE *f=fopen("conftestval", "w");
16196 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16198 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16208 rm -f conftest
$ac_exeext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16210 (eval $ac_link) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; }; then
16219 wx_cv_gccversion
=`cat conftestval`
16221 echo "$as_me: program exited with status $ac_status" >&5
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.
$ac_ext >&5
16225 ( exit $ac_status )
16226 wx_cv_gccversion
="EMX2"
16228 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16232 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16233 echo "${ECHO_T}$wx_cv_gccversion" >&6
16235 ac_cpp
='$CXXCPP $CPPFLAGS'
16236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16240 if test "$wx_cv_gccversion" = "EMX2"; then
16241 LIBS
="$LIBS -lstdcpp"
16242 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16244 if test "$wx_cv_gccversion" = "EMX3"; then
16245 LIBS
="$LIBS -lstdcxx -lgcc"
16246 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16248 LIBS
="$LIBS -lstdc++"
16251 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16252 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16253 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16260 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16261 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16262 if test "${ac_cv_string_strcasecmp+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 cat >conftest.
$ac_ext <<_ACEOF
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16273 #include <string.h>
16279 strcasecmp("foo", "bar");
16285 rm -f conftest.
$ac_objext conftest
$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>conftest.er1
16289 grep -v '^ *+' conftest.er1
>conftest.err
16291 cat conftest.err
>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try
='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_cv_string_strcasecmp
=yes
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 ac_cv_string_strcasecmp
=no
16314 rm -f conftest.err conftest.
$ac_objext \
16315 conftest
$ac_exeext conftest.
$ac_ext
16318 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16319 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16321 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16322 cat >>confdefs.h
<<\_ACEOF
16323 #define HAVE_STRCASECMP_IN_STRING_H 1
16327 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16328 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16329 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 cat >conftest.
$ac_ext <<_ACEOF
16336 cat confdefs.h
>>conftest.
$ac_ext
16337 cat >>conftest.
$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16340 #include <strings.h>
16346 strcasecmp("foo", "bar");
16352 rm -f conftest.
$ac_objext conftest
$ac_exeext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16354 (eval $ac_link) 2>conftest.er1
16356 grep -v '^ *+' conftest.er1
>conftest.err
16358 cat conftest.err
>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } &&
16361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; } &&
16367 { ac_try
='test -s conftest$ac_exeext'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; }; then
16373 ac_cv_strings_strcasecmp
=yes
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.
$ac_ext >&5
16378 ac_cv_strings_strcasecmp
=no
16381 rm -f conftest.err conftest.
$ac_objext \
16382 conftest
$ac_exeext conftest.
$ac_ext
16385 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16386 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16388 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16389 cat >>confdefs.h
<<\_ACEOF
16390 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16394 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16395 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16396 { (exit 1); exit 1; }; }
16405 ac_cpp
='$CXXCPP $CPPFLAGS'
16406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16409 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16410 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16411 if test -z "$CXXCPP"; then
16412 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 # Double quotes because CXXCPP needs to be expanded
16416 for CXXCPP
in "$CXX -E" "/lib/cpp"
16418 ac_preproc_ok
=false
16419 for ac_cxx_preproc_warn_flag
in '' yes
16421 # Use a header file that comes with gcc, so configuring glibc
16422 # with a fresh cross-compiler works.
16423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16424 # <limits.h> exists even on freestanding compilers.
16425 # On the NeXT, cc -E runs the code through the compiler's parser,
16426 # not just through cpp. "Syntax error" is here to catch this case.
16427 cat >conftest.
$ac_ext <<_ACEOF
16430 cat confdefs.h
>>conftest.
$ac_ext
16431 cat >>conftest.
$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16434 # include <limits.h>
16436 # include <assert.h>
16440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16441 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16443 grep -v '^ *+' conftest.er1
>conftest.err
16445 cat conftest.err
>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } >/dev
/null
; then
16448 if test -s conftest.err
; then
16449 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16450 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16457 if test -z "$ac_cpp_err"; then
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.
$ac_ext >&5
16463 # Broken: fails on valid input.
16466 rm -f conftest.err conftest.
$ac_ext
16468 # OK, works on sane cases. Now check whether non-existent headers
16469 # can be detected and how.
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <ac_nonexistent.h>
16478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16481 grep -v '^ *+' conftest.er1
>conftest.err
16483 cat conftest.err
>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } >/dev
/null
; then
16486 if test -s conftest.err
; then
16487 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16488 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16495 if test -z "$ac_cpp_err"; then
16496 # Broken: success on invalid input.
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 # Passes both tests.
16506 rm -f conftest.err conftest.
$ac_ext
16509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16510 rm -f conftest.err conftest.
$ac_ext
16511 if $ac_preproc_ok; then
16516 ac_cv_prog_CXXCPP
=$CXXCPP
16519 CXXCPP
=$ac_cv_prog_CXXCPP
16521 ac_cv_prog_CXXCPP
=$CXXCPP
16523 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16524 echo "${ECHO_T}$CXXCPP" >&6
16525 ac_preproc_ok
=false
16526 for ac_cxx_preproc_warn_flag
in '' yes
16528 # Use a header file that comes with gcc, so configuring glibc
16529 # with a fresh cross-compiler works.
16530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16531 # <limits.h> exists even on freestanding compilers.
16532 # On the NeXT, cc -E runs the code through the compiler's parser,
16533 # not just through cpp. "Syntax error" is here to catch this case.
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16541 # include <limits.h>
16543 # include <assert.h>
16547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16548 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16550 grep -v '^ *+' conftest.er1
>conftest.err
16552 cat conftest.err
>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } >/dev
/null
; then
16555 if test -s conftest.err
; then
16556 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16557 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16564 if test -z "$ac_cpp_err"; then
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 # Broken: fails on valid input.
16573 rm -f conftest.err conftest.
$ac_ext
16575 # OK, works on sane cases. Now check whether non-existent headers
16576 # can be detected and how.
16577 cat >conftest.
$ac_ext <<_ACEOF
16580 cat confdefs.h
>>conftest.
$ac_ext
16581 cat >>conftest.
$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #include <ac_nonexistent.h>
16585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16588 grep -v '^ *+' conftest.er1
>conftest.err
16590 cat conftest.err
>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } >/dev
/null
; then
16593 if test -s conftest.err
; then
16594 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16595 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16602 if test -z "$ac_cpp_err"; then
16603 # Broken: success on invalid input.
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 # Passes both tests.
16613 rm -f conftest.err conftest.
$ac_ext
16616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16617 rm -f conftest.err conftest.
$ac_ext
16618 if $ac_preproc_ok; then
16621 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16622 See \`config.log' for more details." >&5
16623 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16624 See \`config.log' for more details." >&2;}
16625 { (exit 1); exit 1; }; }
16629 ac_cpp
='$CXXCPP $CPPFLAGS'
16630 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16635 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16636 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16637 if test "${ac_cv_header_stdc+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 #include <stdlib.h>
16647 #include <stdarg.h>
16648 #include <string.h>
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_cv_header_stdc
=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ac_cv_header_stdc
=no
16687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16689 if test $ac_cv_header_stdc = yes; then
16690 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <string.h>
16700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16701 $EGREP "memchr" >/dev
/null
2>&1; then
16704 ac_cv_header_stdc
=no
16710 if test $ac_cv_header_stdc = yes; then
16711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 #include <stdlib.h>
16721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16722 $EGREP "free" >/dev
/null
2>&1; then
16725 ac_cv_header_stdc
=no
16731 if test $ac_cv_header_stdc = yes; then
16732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16733 if test "$cross_compiling" = yes; then
16736 cat >conftest.
$ac_ext <<_ACEOF
16739 cat confdefs.h
>>conftest.
$ac_ext
16740 cat >>conftest.
$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16743 #if ((' ' & 0x0FF) == 0x020)
16744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16747 # define ISLOWER(c) \
16748 (('a' <= (c) && (c) <= 'i') \
16749 || ('j' <= (c) && (c) <= 'r') \
16750 || ('s' <= (c) && (c) <= 'z'))
16751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16759 for (i = 0; i < 256; i++)
16760 if (XOR (islower (i), ISLOWER (i))
16761 || toupper (i) != TOUPPER (i))
16766 rm -f conftest
$ac_exeext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16768 (eval $ac_link) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16779 echo "$as_me: program exited with status $ac_status" >&5
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.
$ac_ext >&5
16783 ( exit $ac_status )
16784 ac_cv_header_stdc
=no
16786 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16790 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16791 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16792 if test $ac_cv_header_stdc = yes; then
16794 cat >>confdefs.h
<<\_ACEOF
16795 #define STDC_HEADERS 1
16800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16810 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16811 inttypes.h stdint.h unistd.h
16813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16814 echo "$as_me:$LINENO: checking for $ac_header" >&5
16815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 cat >conftest.
$ac_ext <<_ACEOF
16822 cat confdefs.h
>>conftest.
$ac_ext
16823 cat >>conftest.
$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16827 #include <$ac_header>
16829 rm -f conftest.
$ac_objext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16831 (eval $ac_compile) 2>conftest.er1
16833 grep -v '^ *+' conftest.er1
>conftest.err
16835 cat conftest.err
>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try
='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 eval "$as_ac_Header=yes"
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 eval "$as_ac_Header=no"
16857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h
<<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16872 for ac_header
in stdlib.h
16874 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16876 echo "$as_me:$LINENO: checking for $ac_header" >&5
16877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16884 # Is the header compilable?
16885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16887 cat >conftest.
$ac_ext <<_ACEOF
16890 cat confdefs.h
>>conftest.
$ac_ext
16891 cat >>conftest.
$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16894 #include <$ac_header>
16896 rm -f conftest.
$ac_objext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16898 (eval $ac_compile) 2>conftest.er1
16900 grep -v '^ *+' conftest.er1
>conftest.err
16902 cat conftest.err
>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try
='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_header_compiler
=yes
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16922 ac_header_compiler
=no
16924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16926 echo "${ECHO_T}$ac_header_compiler" >&6
16928 # Is the header present?
16929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16931 cat >conftest.
$ac_ext <<_ACEOF
16934 cat confdefs.h
>>conftest.
$ac_ext
16935 cat >>conftest.
$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 #include <$ac_header>
16939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } >/dev
/null
; then
16947 if test -s conftest.err
; then
16948 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16949 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16956 if test -z "$ac_cpp_err"; then
16957 ac_header_preproc
=yes
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.
$ac_ext >&5
16962 ac_header_preproc
=no
16964 rm -f conftest.err conftest.
$ac_ext
16965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16966 echo "${ECHO_T}$ac_header_preproc" >&6
16968 # So? What about this header?
16969 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16975 ac_header_preproc
=yes
16978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16992 ## ----------------------------------------- ##
16993 ## Report this to wx-dev@lists.wxwidgets.org ##
16994 ## ----------------------------------------- ##
16997 sed "s/^/$as_me: WARNING: /" >&2
17000 echo "$as_me:$LINENO: checking for $ac_header" >&5
17001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 eval "$as_ac_Header=\$ac_header_preproc"
17007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17012 cat >>confdefs.h
<<_ACEOF
17013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17021 for ac_header
in malloc.h
17023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17025 echo "$as_me:$LINENO: checking for $ac_header" >&5
17026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17033 # Is the header compilable?
17034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 #include <$ac_header>
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_header_compiler
=yes
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.
$ac_ext >&5
17071 ac_header_compiler
=no
17073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17075 echo "${ECHO_T}$ac_header_compiler" >&6
17077 # Is the header present?
17078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17080 cat >conftest.
$ac_ext <<_ACEOF
17083 cat confdefs.h
>>conftest.
$ac_ext
17084 cat >>conftest.
$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <$ac_header>
17088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17091 grep -v '^ *+' conftest.er1
>conftest.err
17093 cat conftest.err
>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } >/dev
/null
; then
17096 if test -s conftest.err
; then
17097 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17098 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17105 if test -z "$ac_cpp_err"; then
17106 ac_header_preproc
=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 ac_header_preproc
=no
17113 rm -f conftest.err conftest.
$ac_ext
17114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17115 echo "${ECHO_T}$ac_header_preproc" >&6
17117 # So? What about this header?
17118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17124 ac_header_preproc
=yes
17127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17141 ## ----------------------------------------- ##
17142 ## Report this to wx-dev@lists.wxwidgets.org ##
17143 ## ----------------------------------------- ##
17146 sed "s/^/$as_me: WARNING: /" >&2
17149 echo "$as_me:$LINENO: checking for $ac_header" >&5
17150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 eval "$as_ac_Header=\$ac_header_preproc"
17156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17161 cat >>confdefs.h
<<_ACEOF
17162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17170 for ac_header
in unistd.h
17172 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo "$as_me:$LINENO: checking for $ac_header" >&5
17175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17182 # Is the header compilable?
17183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17185 cat >conftest.
$ac_ext <<_ACEOF
17188 cat confdefs.h
>>conftest.
$ac_ext
17189 cat >>conftest.
$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 #include <$ac_header>
17194 rm -f conftest.
$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17198 grep -v '^ *+' conftest.er1
>conftest.err
17200 cat conftest.err
>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try
='test -s conftest.$ac_objext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 ac_header_compiler
=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.
$ac_ext >&5
17220 ac_header_compiler
=no
17222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17224 echo "${ECHO_T}$ac_header_compiler" >&6
17226 # Is the header present?
17227 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17229 cat >conftest.
$ac_ext <<_ACEOF
17232 cat confdefs.h
>>conftest.
$ac_ext
17233 cat >>conftest.
$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 #include <$ac_header>
17237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17240 grep -v '^ *+' conftest.er1
>conftest.err
17242 cat conftest.err
>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } >/dev
/null
; then
17245 if test -s conftest.err
; then
17246 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17247 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17254 if test -z "$ac_cpp_err"; then
17255 ac_header_preproc
=yes
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.
$ac_ext >&5
17260 ac_header_preproc
=no
17262 rm -f conftest.err conftest.
$ac_ext
17263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17264 echo "${ECHO_T}$ac_header_preproc" >&6
17266 # So? What about this header?
17267 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17273 ac_header_preproc
=yes
17276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17290 ## ----------------------------------------- ##
17291 ## Report this to wx-dev@lists.wxwidgets.org ##
17292 ## ----------------------------------------- ##
17295 sed "s/^/$as_me: WARNING: /" >&2
17298 echo "$as_me:$LINENO: checking for $ac_header" >&5
17299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17301 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 eval "$as_ac_Header=\$ac_header_preproc"
17305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17310 cat >>confdefs.h
<<_ACEOF
17311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17319 for ac_header
in wchar.h
17321 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17323 echo "$as_me:$LINENO: checking for $ac_header" >&5
17324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17331 # Is the header compilable?
17332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17334 cat >conftest.
$ac_ext <<_ACEOF
17337 cat confdefs.h
>>conftest.
$ac_ext
17338 cat >>conftest.
$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 $ac_includes_default
17341 #include <$ac_header>
17343 rm -f conftest.
$ac_objext
17344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17345 (eval $ac_compile) 2>conftest.er1
17347 grep -v '^ *+' conftest.er1
>conftest.err
17349 cat conftest.err
>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } &&
17352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; } &&
17358 { ac_try
='test -s conftest.$ac_objext'
17359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17360 (eval $ac_try) 2>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); }; }; then
17364 ac_header_compiler
=yes
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.
$ac_ext >&5
17369 ac_header_compiler
=no
17371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17373 echo "${ECHO_T}$ac_header_compiler" >&6
17375 # Is the header present?
17376 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17378 cat >conftest.
$ac_ext <<_ACEOF
17381 cat confdefs.h
>>conftest.
$ac_ext
17382 cat >>conftest.
$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 #include <$ac_header>
17386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17387 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1
>conftest.err
17391 cat conftest.err
>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } >/dev
/null
; then
17394 if test -s conftest.err
; then
17395 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17396 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17403 if test -z "$ac_cpp_err"; then
17404 ac_header_preproc
=yes
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.
$ac_ext >&5
17409 ac_header_preproc
=no
17411 rm -f conftest.err conftest.
$ac_ext
17412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17413 echo "${ECHO_T}$ac_header_preproc" >&6
17415 # So? What about this header?
17416 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17422 ac_header_preproc
=yes
17425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17439 ## ----------------------------------------- ##
17440 ## Report this to wx-dev@lists.wxwidgets.org ##
17441 ## ----------------------------------------- ##
17444 sed "s/^/$as_me: WARNING: /" >&2
17447 echo "$as_me:$LINENO: checking for $ac_header" >&5
17448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 eval "$as_ac_Header=\$ac_header_preproc"
17454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17459 cat >>confdefs.h
<<_ACEOF
17460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17468 if test "$ac_cv_header_wchar_h" != "yes"; then
17470 for ac_header
in wcstr.h
17472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17474 echo "$as_me:$LINENO: checking for $ac_header" >&5
17475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17482 # Is the header compilable?
17483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17492 #include <$ac_header>
17494 rm -f conftest.
$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17498 grep -v '^ *+' conftest.er1
>conftest.err
17500 cat conftest.err
>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try
='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_header_compiler
=yes
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.
$ac_ext >&5
17520 ac_header_compiler
=no
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17524 echo "${ECHO_T}$ac_header_compiler" >&6
17526 # Is the header present?
17527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17529 cat >conftest.
$ac_ext <<_ACEOF
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #include <$ac_header>
17537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17538 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } >/dev
/null
; then
17545 if test -s conftest.err
; then
17546 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17547 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17554 if test -z "$ac_cpp_err"; then
17555 ac_header_preproc
=yes
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.
$ac_ext >&5
17560 ac_header_preproc
=no
17562 rm -f conftest.err conftest.
$ac_ext
17563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17564 echo "${ECHO_T}$ac_header_preproc" >&6
17566 # So? What about this header?
17567 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17573 ac_header_preproc
=yes
17576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17590 ## ----------------------------------------- ##
17591 ## Report this to wx-dev@lists.wxwidgets.org ##
17592 ## ----------------------------------------- ##
17595 sed "s/^/$as_me: WARNING: /" >&2
17598 echo "$as_me:$LINENO: checking for $ac_header" >&5
17599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 eval "$as_ac_Header=\$ac_header_preproc"
17605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17610 cat >>confdefs.h
<<_ACEOF
17611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17621 for ac_header
in fnmatch.h
17623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17625 echo "$as_me:$LINENO: checking for $ac_header" >&5
17626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17633 # Is the header compilable?
17634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17636 cat >conftest.
$ac_ext <<_ACEOF
17639 cat confdefs.h
>>conftest.
$ac_ext
17640 cat >>conftest.
$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 #include <$ac_header>
17645 rm -f conftest.
$ac_objext
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>conftest.er1
17649 grep -v '^ *+' conftest.er1
>conftest.err
17651 cat conftest.err
>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try
='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_header_compiler
=yes
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.
$ac_ext >&5
17671 ac_header_compiler
=no
17673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17675 echo "${ECHO_T}$ac_header_compiler" >&6
17677 # Is the header present?
17678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17680 cat >conftest.
$ac_ext <<_ACEOF
17683 cat confdefs.h
>>conftest.
$ac_ext
17684 cat >>conftest.
$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <$ac_header>
17688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17689 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } >/dev
/null
; then
17696 if test -s conftest.err
; then
17697 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17698 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17705 if test -z "$ac_cpp_err"; then
17706 ac_header_preproc
=yes
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.
$ac_ext >&5
17711 ac_header_preproc
=no
17713 rm -f conftest.err conftest.
$ac_ext
17714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17715 echo "${ECHO_T}$ac_header_preproc" >&6
17717 # So? What about this header?
17718 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17724 ac_header_preproc
=yes
17727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17741 ## ----------------------------------------- ##
17742 ## Report this to wx-dev@lists.wxwidgets.org ##
17743 ## ----------------------------------------- ##
17746 sed "s/^/$as_me: WARNING: /" >&2
17749 echo "$as_me:$LINENO: checking for $ac_header" >&5
17750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17752 echo $ECHO_N "(cached) $ECHO_C" >&6
17754 eval "$as_ac_Header=\$ac_header_preproc"
17756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17761 cat >>confdefs.h
<<_ACEOF
17762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17771 for ac_header
in langinfo.h
17773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17775 echo "$as_me:$LINENO: checking for $ac_header" >&5
17776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17783 # Is the header compilable?
17784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17786 cat >conftest.
$ac_ext <<_ACEOF
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 #include <$ac_header>
17795 rm -f conftest.
$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17799 grep -v '^ *+' conftest.er1
>conftest.err
17801 cat conftest.err
>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_header_compiler
=yes
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 ac_header_compiler
=no
17823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17825 echo "${ECHO_T}$ac_header_compiler" >&6
17827 # Is the header present?
17828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17830 cat >conftest.
$ac_ext <<_ACEOF
17833 cat confdefs.h
>>conftest.
$ac_ext
17834 cat >>conftest.
$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <$ac_header>
17838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17841 grep -v '^ *+' conftest.er1
>conftest.err
17843 cat conftest.err
>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } >/dev
/null
; then
17846 if test -s conftest.err
; then
17847 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17848 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17855 if test -z "$ac_cpp_err"; then
17856 ac_header_preproc
=yes
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.
$ac_ext >&5
17861 ac_header_preproc
=no
17863 rm -f conftest.err conftest.
$ac_ext
17864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17865 echo "${ECHO_T}$ac_header_preproc" >&6
17867 # So? What about this header?
17868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17874 ac_header_preproc
=yes
17877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17891 ## ----------------------------------------- ##
17892 ## Report this to wx-dev@lists.wxwidgets.org ##
17893 ## ----------------------------------------- ##
17896 sed "s/^/$as_me: WARNING: /" >&2
17899 echo "$as_me:$LINENO: checking for $ac_header" >&5
17900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 eval "$as_ac_Header=\$ac_header_preproc"
17906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17911 cat >>confdefs.h
<<_ACEOF
17912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17921 *-pc-os2_emx | *-pc-os2-emx )
17922 if test $ac_cv_header_langinfo_h = "yes" \
17923 -a \
( "$wx_cv_gccversion" = "EMX2" \
17924 -o "$wx_cv_gccversion" = "EMX3" \
17925 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17926 LIBS
="$LIBS -lintl"
17931 if test "$USE_UNIX" = 1 ; then
17933 for ac_header
in sys
/select.h
17935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17937 echo "$as_me:$LINENO: checking for $ac_header" >&5
17938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17945 # Is the header compilable?
17946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17948 cat >conftest.
$ac_ext <<_ACEOF
17951 cat confdefs.h
>>conftest.
$ac_ext
17952 cat >>conftest.
$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954 $ac_includes_default
17955 #include <$ac_header>
17957 rm -f conftest.
$ac_objext
17958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17959 (eval $ac_compile) 2>conftest.er1
17961 grep -v '^ *+' conftest.er1
>conftest.err
17963 cat conftest.err
>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; } &&
17972 { ac_try
='test -s conftest.$ac_objext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17978 ac_header_compiler
=yes
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.
$ac_ext >&5
17983 ac_header_compiler
=no
17985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17987 echo "${ECHO_T}$ac_header_compiler" >&6
17989 # Is the header present?
17990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17992 cat >conftest.
$ac_ext <<_ACEOF
17995 cat confdefs.h
>>conftest.
$ac_ext
17996 cat >>conftest.
$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 #include <$ac_header>
18000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18003 grep -v '^ *+' conftest.er1
>conftest.err
18005 cat conftest.err
>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } >/dev
/null
; then
18008 if test -s conftest.err
; then
18009 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18010 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18017 if test -z "$ac_cpp_err"; then
18018 ac_header_preproc
=yes
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 ac_header_preproc
=no
18025 rm -f conftest.err conftest.
$ac_ext
18026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18027 echo "${ECHO_T}$ac_header_preproc" >&6
18029 # So? What about this header?
18030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18036 ac_header_preproc
=yes
18039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18053 ## ----------------------------------------- ##
18054 ## Report this to wx-dev@lists.wxwidgets.org ##
18055 ## ----------------------------------------- ##
18058 sed "s/^/$as_me: WARNING: /" >&2
18061 echo "$as_me:$LINENO: checking for $ac_header" >&5
18062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 eval "$as_ac_Header=\$ac_header_preproc"
18068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18073 cat >>confdefs.h
<<_ACEOF
18074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18084 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18085 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18086 if test "${ac_cv_c_const+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18099 /* FIXME: Include the comments suggested by Paul. */
18100 #ifndef __cplusplus
18101 /* Ultrix mips cc rejects this. */
18102 typedef int charset[2];
18104 /* SunOS 4.1.1 cc rejects this. */
18105 char const *const *ccp;
18107 /* NEC SVR4.0.2 mips cc rejects this. */
18108 struct point {int x, y;};
18109 static struct point const zero = {0,0};
18110 /* AIX XL C 1.02.0.0 rejects this.
18111 It does not let you subtract one const X* pointer from another in
18112 an arm of an if-expression whose if-part is not a constant
18114 const char *g = "string";
18115 ccp = &g + (g ? g-g : 0);
18116 /* HPUX 7.0 cc rejects these. */
18119 ccp = (char const *const *) p;
18120 { /* SCO 3.2v4 cc rejects this. */
18122 char const *s = 0 ? (char *) 0 : (char const *) 0;
18126 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18127 int x[] = {25, 17};
18128 const int *foo = &x[0];
18131 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18132 typedef const int *iptr;
18136 { /* AIX XL C 1.02.0.0 rejects this saying
18137 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18138 struct s { int j; const int *ap[3]; };
18139 struct s *b; b->j = 5;
18141 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18142 const int foo = 10;
18150 rm -f conftest.
$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.
$ac_ext >&5
18178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18180 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18181 echo "${ECHO_T}$ac_cv_c_const" >&6
18182 if test $ac_cv_c_const = no
; then
18184 cat >>confdefs.h
<<\_ACEOF
18190 echo "$as_me:$LINENO: checking for inline" >&5
18191 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18192 if test "${ac_cv_c_inline+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 for ac_kw
in inline __inline__ __inline
; do
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 #ifndef __cplusplus
18205 static $ac_kw foo_t static_foo () {return 0; }
18206 $ac_kw foo_t foo () {return 0; }
18210 rm -f conftest.
$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try
='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_cv_c_inline
=$ac_kw; break
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.
$ac_ext >&5
18237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18241 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18242 echo "${ECHO_T}$ac_cv_c_inline" >&6
18245 case $ac_cv_c_inline in
18248 case $ac_cv_c_inline in
18250 *) ac_val
=$ac_cv_c_inline;;
18252 cat >>confdefs.h
<<_ACEOF
18253 #ifndef __cplusplus
18254 #define inline $ac_val
18261 echo "$as_me:$LINENO: checking for char" >&5
18262 echo $ECHO_N "checking for char... $ECHO_C" >&6
18263 if test "${ac_cv_type_char+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.
$ac_ext <<_ACEOF
18269 cat confdefs.h
>>conftest.
$ac_ext
18270 cat >>conftest.
$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 $ac_includes_default
18284 rm -f conftest.
$ac_objext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286 (eval $ac_compile) 2>conftest.er1
18288 grep -v '^ *+' conftest.er1
>conftest.err
18290 cat conftest.err
>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; } &&
18299 { ac_try
='test -s conftest.$ac_objext'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; }; then
18305 ac_cv_type_char
=yes
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.
$ac_ext >&5
18312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18314 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18315 echo "${ECHO_T}$ac_cv_type_char" >&6
18317 echo "$as_me:$LINENO: checking size of char" >&5
18318 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18319 if test "${ac_cv_sizeof_char+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 if test "$ac_cv_type_char" = yes; then
18323 # The cast to unsigned long works around a bug in the HP C Compiler
18324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18326 # This bug is HP SR number 8606223364.
18327 if test "$cross_compiling" = yes; then
18328 # Depending upon the size, compute the lo and hi bounds.
18329 cat >conftest.
$ac_ext <<_ACEOF
18332 cat confdefs.h
>>conftest.
$ac_ext
18333 cat >>conftest.
$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 $ac_includes_default
18339 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18346 rm -f conftest.
$ac_objext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18348 (eval $ac_compile) 2>conftest.er1
18350 grep -v '^ *+' conftest.er1
>conftest.err
18352 cat conftest.err
>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } &&
18355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; } &&
18361 { ac_try
='test -s conftest.$ac_objext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 $ac_includes_default
18379 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18386 rm -f conftest.
$ac_objext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18388 (eval $ac_compile) 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } &&
18395 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try
='test -s conftest.$ac_objext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_hi
=$ac_mid; break
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.
$ac_ext >&5
18412 ac_lo
=`expr $ac_mid + 1`
18413 if test $ac_lo -le $ac_mid; then
18417 ac_mid
=`expr 2 '*' $ac_mid + 1`
18419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18425 cat >conftest.
$ac_ext <<_ACEOF
18428 cat confdefs.h
>>conftest.
$ac_ext
18429 cat >>conftest.
$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18435 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18442 rm -f conftest.
$ac_objext
18443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18444 (eval $ac_compile) 2>conftest.er1
18446 grep -v '^ *+' conftest.er1
>conftest.err
18448 cat conftest.err
>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; } &&
18457 { ac_try
='test -s conftest.$ac_objext'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; }; then
18465 cat >conftest.
$ac_ext <<_ACEOF
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 $ac_includes_default
18475 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18482 rm -f conftest.
$ac_objext
18483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18484 (eval $ac_compile) 2>conftest.er1
18486 grep -v '^ *+' conftest.er1
>conftest.err
18488 cat conftest.err
>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } &&
18491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try
='test -s conftest.$ac_objext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 ac_lo
=$ac_mid; break
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 ac_hi
=`expr '(' $ac_mid ')' - 1`
18509 if test $ac_mid -le $ac_hi; then
18513 ac_mid
=`expr 2 '*' $ac_mid`
18515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.
$ac_ext >&5
18523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18526 # Binary search between lo and hi bounds.
18527 while test "x$ac_lo" != "x$ac_hi"; do
18528 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 $ac_includes_default
18539 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18546 rm -f conftest.
$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18550 grep -v '^ *+' conftest.er1
>conftest.err
18552 cat conftest.err
>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try
='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.
$ac_ext >&5
18572 ac_lo
=`expr '(' $ac_mid ')' + 1`
18574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18577 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18578 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18579 See \`config.log' for more details." >&5
18580 echo "$as_me: error: cannot compute sizeof (char), 77
18581 See \`config.log' for more details." >&2;}
18582 { (exit 1); exit 1; }; } ;;
18585 if test "$cross_compiling" = yes; then
18586 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18587 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18588 { (exit 1); exit 1; }; }
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18597 long longval () { return (long) (sizeof (char)); }
18598 unsigned long ulongval () { return (long) (sizeof (char)); }
18600 #include <stdlib.h>
18605 FILE *f = fopen ("conftest.val", "w");
18608 if (((long) (sizeof (char))) < 0)
18610 long i = longval ();
18611 if (i != ((long) (sizeof (char))))
18613 fprintf (f, "%ld\n", i);
18617 unsigned long i = ulongval ();
18618 if (i != ((long) (sizeof (char))))
18620 fprintf (f, "%lu\n", i);
18622 exit (ferror (f) || fclose (f) != 0);
18628 rm -f conftest
$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630 (eval $ac_link) 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_sizeof_char
=`cat conftest.val`
18641 echo "$as_me: program exited with status $ac_status" >&5
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.
$ac_ext >&5
18645 ( exit $ac_status )
18646 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18647 See \`config.log' for more details." >&5
18648 echo "$as_me: error: cannot compute sizeof (char), 77
18649 See \`config.log' for more details." >&2;}
18650 { (exit 1); exit 1; }; }
18652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18657 ac_cv_sizeof_char
=0
18660 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18661 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18662 cat >>confdefs.h
<<_ACEOF
18663 #define SIZEOF_CHAR $ac_cv_sizeof_char
18667 echo "$as_me:$LINENO: checking for short" >&5
18668 echo $ECHO_N "checking for short... $ECHO_C" >&6
18669 if test "${ac_cv_type_short+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 cat >conftest.
$ac_ext <<_ACEOF
18675 cat confdefs.h
>>conftest.
$ac_ext
18676 cat >>conftest.
$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 $ac_includes_default
18684 if (sizeof (short))
18690 rm -f conftest.
$ac_objext
18691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18692 (eval $ac_compile) 2>conftest.er1
18694 grep -v '^ *+' conftest.er1
>conftest.err
18696 cat conftest.err
>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); } &&
18699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try
='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 ac_cv_type_short
=yes
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.
$ac_ext >&5
18716 ac_cv_type_short
=no
18718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18720 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18721 echo "${ECHO_T}$ac_cv_type_short" >&6
18723 echo "$as_me:$LINENO: checking size of short" >&5
18724 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18725 if test "${ac_cv_sizeof_short+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 if test "$ac_cv_type_short" = yes; then
18729 # The cast to unsigned long works around a bug in the HP C Compiler
18730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18732 # This bug is HP SR number 8606223364.
18733 if test "$cross_compiling" = yes; then
18734 # Depending upon the size, compute the lo and hi bounds.
18735 cat >conftest.
$ac_ext <<_ACEOF
18738 cat confdefs.h
>>conftest.
$ac_ext
18739 cat >>conftest.
$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 $ac_includes_default
18745 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18752 rm -f conftest.
$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try
='test -s conftest.$ac_objext'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; }; then
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18785 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18792 rm -f conftest.
$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1
>conftest.err
18798 cat conftest.err
>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_hi
=$ac_mid; break
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 ac_lo
=`expr $ac_mid + 1`
18819 if test $ac_lo -le $ac_mid; then
18823 ac_mid
=`expr 2 '*' $ac_mid + 1`
18825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.
$ac_ext >&5
18831 cat >conftest.
$ac_ext <<_ACEOF
18834 cat confdefs.h
>>conftest.
$ac_ext
18835 cat >>conftest.
$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18841 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18848 rm -f conftest.
$ac_objext
18849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18850 (eval $ac_compile) 2>conftest.er1
18852 grep -v '^ *+' conftest.er1
>conftest.err
18854 cat conftest.err
>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; } &&
18863 { ac_try
='test -s conftest.$ac_objext'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18871 cat >conftest.
$ac_ext <<_ACEOF
18874 cat confdefs.h
>>conftest.
$ac_ext
18875 cat >>conftest.
$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 $ac_includes_default
18881 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18888 rm -f conftest.
$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1
>conftest.err
18894 cat conftest.err
>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; } &&
18903 { ac_try
='test -s conftest.$ac_objext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_lo
=$ac_mid; break
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18914 ac_hi
=`expr '(' $ac_mid ')' - 1`
18915 if test $ac_mid -le $ac_hi; then
18919 ac_mid
=`expr 2 '*' $ac_mid`
18921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.
$ac_ext >&5
18929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18932 # Binary search between lo and hi bounds.
18933 while test "x$ac_lo" != "x$ac_hi"; do
18934 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18945 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18952 rm -f conftest.
$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18956 grep -v '^ *+' conftest.er1
>conftest.err
18958 cat conftest.err
>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try
='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18978 ac_lo
=`expr '(' $ac_mid ')' + 1`
18980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18983 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18985 See \`config.log' for more details." >&5
18986 echo "$as_me: error: cannot compute sizeof (short), 77
18987 See \`config.log' for more details." >&2;}
18988 { (exit 1); exit 1; }; } ;;
18991 if test "$cross_compiling" = yes; then
18992 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18993 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18994 { (exit 1); exit 1; }; }
18996 cat >conftest.
$ac_ext <<_ACEOF
18999 cat confdefs.h
>>conftest.
$ac_ext
19000 cat >>conftest.
$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 $ac_includes_default
19003 long longval () { return (long) (sizeof (short)); }
19004 unsigned long ulongval () { return (long) (sizeof (short)); }
19006 #include <stdlib.h>
19011 FILE *f = fopen ("conftest.val", "w");
19014 if (((long) (sizeof (short))) < 0)
19016 long i = longval ();
19017 if (i != ((long) (sizeof (short))))
19019 fprintf (f, "%ld\n", i);
19023 unsigned long i = ulongval ();
19024 if (i != ((long) (sizeof (short))))
19026 fprintf (f, "%lu\n", i);
19028 exit (ferror (f) || fclose (f) != 0);
19034 rm -f conftest
$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_sizeof_short
=`cat conftest.val`
19047 echo "$as_me: program exited with status $ac_status" >&5
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.
$ac_ext >&5
19051 ( exit $ac_status )
19052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19053 See \`config.log' for more details." >&5
19054 echo "$as_me: error: cannot compute sizeof (short), 77
19055 See \`config.log' for more details." >&2;}
19056 { (exit 1); exit 1; }; }
19058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19063 ac_cv_sizeof_short
=0
19066 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19067 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19068 cat >>confdefs.h
<<_ACEOF
19069 #define SIZEOF_SHORT $ac_cv_sizeof_short
19073 echo "$as_me:$LINENO: checking for void *" >&5
19074 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19075 if test "${ac_cv_type_void_p+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 cat >conftest.
$ac_ext <<_ACEOF
19081 cat confdefs.h
>>conftest.
$ac_ext
19082 cat >>conftest.
$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19090 if (sizeof (void *))
19096 rm -f conftest.
$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19100 grep -v '^ *+' conftest.er1
>conftest.err
19102 cat conftest.err
>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try
='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 ac_cv_type_void_p
=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.
$ac_ext >&5
19122 ac_cv_type_void_p
=no
19124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19127 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19129 echo "$as_me:$LINENO: checking size of void *" >&5
19130 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19131 if test "${ac_cv_sizeof_void_p+set}" = set; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 if test "$ac_cv_type_void_p" = yes; then
19135 # The cast to unsigned long works around a bug in the HP C Compiler
19136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19138 # This bug is HP SR number 8606223364.
19139 if test "$cross_compiling" = yes; then
19140 # Depending upon the size, compute the lo and hi bounds.
19141 cat >conftest.
$ac_ext <<_ACEOF
19144 cat confdefs.h
>>conftest.
$ac_ext
19145 cat >>conftest.
$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19147 $ac_includes_default
19151 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19158 rm -f conftest.
$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19162 grep -v '^ *+' conftest.er1
>conftest.err
19164 cat conftest.err
>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try
='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19181 cat >conftest.
$ac_ext <<_ACEOF
19184 cat confdefs.h
>>conftest.
$ac_ext
19185 cat >>conftest.
$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19191 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19198 rm -f conftest.
$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19202 grep -v '^ *+' conftest.er1
>conftest.err
19204 cat conftest.err
>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; } &&
19213 { ac_try
='test -s conftest.$ac_objext'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; }; then
19219 ac_hi
=$ac_mid; break
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 ac_lo
=`expr $ac_mid + 1`
19225 if test $ac_lo -le $ac_mid; then
19229 ac_mid
=`expr 2 '*' $ac_mid + 1`
19231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.
$ac_ext >&5
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19247 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19254 rm -f conftest.
$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19258 grep -v '^ *+' conftest.er1
>conftest.err
19260 cat conftest.err
>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; } &&
19269 { ac_try
='test -s conftest.$ac_objext'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; }; then
19277 cat >conftest.
$ac_ext <<_ACEOF
19280 cat confdefs.h
>>conftest.
$ac_ext
19281 cat >>conftest.
$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19287 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19294 rm -f conftest.
$ac_objext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19296 (eval $ac_compile) 2>conftest.er1
19298 grep -v '^ *+' conftest.er1
>conftest.err
19300 cat conftest.err
>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try
='test -s conftest.$ac_objext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_lo
=$ac_mid; break
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.
$ac_ext >&5
19320 ac_hi
=`expr '(' $ac_mid ')' - 1`
19321 if test $ac_mid -le $ac_hi; then
19325 ac_mid
=`expr 2 '*' $ac_mid`
19327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19338 # Binary search between lo and hi bounds.
19339 while test "x$ac_lo" != "x$ac_hi"; do
19340 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19351 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19358 rm -f conftest.
$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19362 grep -v '^ *+' conftest.er1
>conftest.err
19364 cat conftest.err
>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try
='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.
$ac_ext >&5
19384 ac_lo
=`expr '(' $ac_mid ')' + 1`
19386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19390 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19391 See \`config.log' for more details." >&5
19392 echo "$as_me: error: cannot compute sizeof (void *), 77
19393 See \`config.log' for more details." >&2;}
19394 { (exit 1); exit 1; }; } ;;
19397 if test "$cross_compiling" = yes; then
19398 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19399 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19400 { (exit 1); exit 1; }; }
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 long longval () { return (long) (sizeof (void *)); }
19410 unsigned long ulongval () { return (long) (sizeof (void *)); }
19412 #include <stdlib.h>
19417 FILE *f = fopen ("conftest.val", "w");
19420 if (((long) (sizeof (void *))) < 0)
19422 long i = longval ();
19423 if (i != ((long) (sizeof (void *))))
19425 fprintf (f, "%ld\n", i);
19429 unsigned long i = ulongval ();
19430 if (i != ((long) (sizeof (void *))))
19432 fprintf (f, "%lu\n", i);
19434 exit (ferror (f) || fclose (f) != 0);
19440 rm -f conftest
$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_cv_sizeof_void_p
=`cat conftest.val`
19453 echo "$as_me: program exited with status $ac_status" >&5
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19457 ( exit $ac_status )
19458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19459 See \`config.log' for more details." >&5
19460 echo "$as_me: error: cannot compute sizeof (void *), 77
19461 See \`config.log' for more details." >&2;}
19462 { (exit 1); exit 1; }; }
19464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19469 ac_cv_sizeof_void_p
=0
19472 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19473 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19474 cat >>confdefs.h
<<_ACEOF
19475 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19479 echo "$as_me:$LINENO: checking for int" >&5
19480 echo $ECHO_N "checking for int... $ECHO_C" >&6
19481 if test "${ac_cv_type_int+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19502 rm -f conftest.
$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try
='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.
$ac_ext >&5
19530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19532 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19533 echo "${ECHO_T}$ac_cv_type_int" >&6
19535 echo "$as_me:$LINENO: checking size of int" >&5
19536 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19537 if test "${ac_cv_sizeof_int+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19540 if test "$ac_cv_type_int" = yes; then
19541 # The cast to unsigned long works around a bug in the HP C Compiler
19542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19544 # This bug is HP SR number 8606223364.
19545 if test "$cross_compiling" = yes; then
19546 # Depending upon the size, compute the lo and hi bounds.
19547 cat >conftest.
$ac_ext <<_ACEOF
19550 cat confdefs.h
>>conftest.
$ac_ext
19551 cat >>conftest.
$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 $ac_includes_default
19557 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19564 rm -f conftest.
$ac_objext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>conftest.er1
19568 grep -v '^ *+' conftest.er1
>conftest.err
19570 cat conftest.err
>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try
='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19587 cat >conftest.
$ac_ext <<_ACEOF
19590 cat confdefs.h
>>conftest.
$ac_ext
19591 cat >>conftest.
$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 $ac_includes_default
19597 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19604 rm -f conftest.
$ac_objext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19606 (eval $ac_compile) 2>conftest.er1
19608 grep -v '^ *+' conftest.er1
>conftest.err
19610 cat conftest.err
>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19615 (eval $ac_try) 2>&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); }; } &&
19619 { ac_try
='test -s conftest.$ac_objext'
19620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19621 (eval $ac_try) 2>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; }; then
19625 ac_hi
=$ac_mid; break
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.
$ac_ext >&5
19630 ac_lo
=`expr $ac_mid + 1`
19631 if test $ac_lo -le $ac_mid; then
19635 ac_mid
=`expr 2 '*' $ac_mid + 1`
19637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19653 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19660 rm -f conftest.
$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1
>conftest.err
19666 cat conftest.err
>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try
='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19683 cat >conftest.
$ac_ext <<_ACEOF
19686 cat confdefs.h
>>conftest.
$ac_ext
19687 cat >>conftest.
$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19693 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19700 rm -f conftest.
$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>conftest.er1
19704 grep -v '^ *+' conftest.er1
>conftest.err
19706 cat conftest.err
>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try
='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_lo
=$ac_mid; break
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.
$ac_ext >&5
19726 ac_hi
=`expr '(' $ac_mid ')' - 1`
19727 if test $ac_mid -le $ac_hi; then
19731 ac_mid
=`expr 2 '*' $ac_mid`
19733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.
$ac_ext >&5
19741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19744 # Binary search between lo and hi bounds.
19745 while test "x$ac_lo" != "x$ac_hi"; do
19746 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19747 cat >conftest.
$ac_ext <<_ACEOF
19750 cat confdefs.h
>>conftest.
$ac_ext
19751 cat >>conftest.
$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19757 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19764 rm -f conftest.
$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19768 grep -v '^ *+' conftest.er1
>conftest.err
19770 cat conftest.err
>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try
='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_lo
=`expr '(' $ac_mid ')' + 1`
19792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19795 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19796 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19797 See \`config.log' for more details." >&5
19798 echo "$as_me: error: cannot compute sizeof (int), 77
19799 See \`config.log' for more details." >&2;}
19800 { (exit 1); exit 1; }; } ;;
19803 if test "$cross_compiling" = yes; then
19804 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19805 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19806 { (exit 1); exit 1; }; }
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19815 long longval () { return (long) (sizeof (int)); }
19816 unsigned long ulongval () { return (long) (sizeof (int)); }
19818 #include <stdlib.h>
19823 FILE *f = fopen ("conftest.val", "w");
19826 if (((long) (sizeof (int))) < 0)
19828 long i = longval ();
19829 if (i != ((long) (sizeof (int))))
19831 fprintf (f, "%ld\n", i);
19835 unsigned long i = ulongval ();
19836 if (i != ((long) (sizeof (int))))
19838 fprintf (f, "%lu\n", i);
19840 exit (ferror (f) || fclose (f) != 0);
19846 rm -f conftest
$ac_exeext
19847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19848 (eval $ac_link) 2>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_cv_sizeof_int
=`cat conftest.val`
19859 echo "$as_me: program exited with status $ac_status" >&5
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.
$ac_ext >&5
19863 ( exit $ac_status )
19864 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19865 See \`config.log' for more details." >&5
19866 echo "$as_me: error: cannot compute sizeof (int), 77
19867 See \`config.log' for more details." >&2;}
19868 { (exit 1); exit 1; }; }
19870 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19878 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19879 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19880 cat >>confdefs.h
<<_ACEOF
19881 #define SIZEOF_INT $ac_cv_sizeof_int
19885 echo "$as_me:$LINENO: checking for long" >&5
19886 echo $ECHO_N "checking for long... $ECHO_C" >&6
19887 if test "${ac_cv_type_long+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 cat >conftest.
$ac_ext <<_ACEOF
19893 cat confdefs.h
>>conftest.
$ac_ext
19894 cat >>conftest.
$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 $ac_includes_default
19908 rm -f conftest.
$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19912 grep -v '^ *+' conftest.er1
>conftest.err
19914 cat conftest.err
>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try
='test -s conftest.$ac_objext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_cv_type_long
=yes
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19939 echo "${ECHO_T}$ac_cv_type_long" >&6
19941 echo "$as_me:$LINENO: checking size of long" >&5
19942 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19943 if test "${ac_cv_sizeof_long+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 if test "$ac_cv_type_long" = yes; then
19947 # The cast to unsigned long works around a bug in the HP C Compiler
19948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19950 # This bug is HP SR number 8606223364.
19951 if test "$cross_compiling" = yes; then
19952 # Depending upon the size, compute the lo and hi bounds.
19953 cat >conftest.
$ac_ext <<_ACEOF
19956 cat confdefs.h
>>conftest.
$ac_ext
19957 cat >>conftest.
$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 $ac_includes_default
19963 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19970 rm -f conftest.
$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20003 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20010 rm -f conftest.
$ac_objext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20012 (eval $ac_compile) 2>conftest.er1
20014 grep -v '^ *+' conftest.er1
>conftest.err
20016 cat conftest.err
>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } &&
20025 { ac_try
='test -s conftest.$ac_objext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_hi
=$ac_mid; break
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 ac_lo
=`expr $ac_mid + 1`
20037 if test $ac_lo -le $ac_mid; then
20041 ac_mid
=`expr 2 '*' $ac_mid + 1`
20043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.
$ac_ext >&5
20049 cat >conftest.
$ac_ext <<_ACEOF
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20059 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20066 rm -f conftest.
$ac_objext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20068 (eval $ac_compile) 2>conftest.er1
20070 grep -v '^ *+' conftest.er1
>conftest.err
20072 cat conftest.err
>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; } &&
20081 { ac_try
='test -s conftest.$ac_objext'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; }; then
20089 cat >conftest.
$ac_ext <<_ACEOF
20092 cat confdefs.h
>>conftest.
$ac_ext
20093 cat >>conftest.
$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 $ac_includes_default
20099 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20106 rm -f conftest.
$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>conftest.er1
20110 grep -v '^ *+' conftest.er1
>conftest.err
20112 cat conftest.err
>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; } &&
20121 { ac_try
='test -s conftest.$ac_objext'
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; }; then
20127 ac_lo
=$ac_mid; break
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.
$ac_ext >&5
20132 ac_hi
=`expr '(' $ac_mid ')' - 1`
20133 if test $ac_mid -le $ac_hi; then
20137 ac_mid
=`expr 2 '*' $ac_mid`
20139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20150 # Binary search between lo and hi bounds.
20151 while test "x$ac_lo" != "x$ac_hi"; do
20152 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20163 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20170 rm -f conftest.
$ac_objext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20172 (eval $ac_compile) 2>conftest.er1
20174 grep -v '^ *+' conftest.er1
>conftest.err
20176 cat conftest.err
>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try
='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.
$ac_ext >&5
20196 ac_lo
=`expr '(' $ac_mid ')' + 1`
20198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20201 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20203 See \`config.log' for more details." >&5
20204 echo "$as_me: error: cannot compute sizeof (long), 77
20205 See \`config.log' for more details." >&2;}
20206 { (exit 1); exit 1; }; } ;;
20209 if test "$cross_compiling" = yes; then
20210 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20211 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20212 { (exit 1); exit 1; }; }
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 $ac_includes_default
20221 long longval () { return (long) (sizeof (long)); }
20222 unsigned long ulongval () { return (long) (sizeof (long)); }
20224 #include <stdlib.h>
20229 FILE *f = fopen ("conftest.val", "w");
20232 if (((long) (sizeof (long))) < 0)
20234 long i = longval ();
20235 if (i != ((long) (sizeof (long))))
20237 fprintf (f, "%ld\n", i);
20241 unsigned long i = ulongval ();
20242 if (i != ((long) (sizeof (long))))
20244 fprintf (f, "%lu\n", i);
20246 exit (ferror (f) || fclose (f) != 0);
20252 rm -f conftest
$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; }; then
20263 ac_cv_sizeof_long
=`cat conftest.val`
20265 echo "$as_me: program exited with status $ac_status" >&5
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.
$ac_ext >&5
20269 ( exit $ac_status )
20270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20271 See \`config.log' for more details." >&5
20272 echo "$as_me: error: cannot compute sizeof (long), 77
20273 See \`config.log' for more details." >&2;}
20274 { (exit 1); exit 1; }; }
20276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20281 ac_cv_sizeof_long
=0
20284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20285 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20286 cat >>confdefs.h
<<_ACEOF
20287 #define SIZEOF_LONG $ac_cv_sizeof_long
20291 echo "$as_me:$LINENO: checking for size_t" >&5
20292 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20293 if test "${ac_cv_type_size_t+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 cat >conftest.
$ac_ext <<_ACEOF
20299 cat confdefs.h
>>conftest.
$ac_ext
20300 cat >>conftest.
$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20308 if (sizeof (size_t))
20314 rm -f conftest.
$ac_objext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20316 (eval $ac_compile) 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try
='test -s conftest.$ac_objext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 ac_cv_type_size_t
=yes
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.
$ac_ext >&5
20340 ac_cv_type_size_t
=no
20342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20345 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20347 echo "$as_me:$LINENO: checking size of size_t" >&5
20348 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20349 if test "${ac_cv_sizeof_size_t+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 if test "$ac_cv_type_size_t" = yes; then
20353 # The cast to unsigned long works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 if test "$cross_compiling" = yes; then
20358 # Depending upon the size, compute the lo and hi bounds.
20359 cat >conftest.
$ac_ext <<_ACEOF
20362 cat confdefs.h
>>conftest.
$ac_ext
20363 cat >>conftest.
$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20365 $ac_includes_default
20369 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20376 rm -f conftest.
$ac_objext
20377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20378 (eval $ac_compile) 2>conftest.er1
20380 grep -v '^ *+' conftest.er1
>conftest.err
20382 cat conftest.err
>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } &&
20385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try
='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20399 cat >conftest.
$ac_ext <<_ACEOF
20402 cat confdefs.h
>>conftest.
$ac_ext
20403 cat >>conftest.
$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 $ac_includes_default
20409 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20416 rm -f conftest.
$ac_objext
20417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20418 (eval $ac_compile) 2>conftest.er1
20420 grep -v '^ *+' conftest.er1
>conftest.err
20422 cat conftest.err
>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } &&
20425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; } &&
20431 { ac_try
='test -s conftest.$ac_objext'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20437 ac_hi
=$ac_mid; break
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.
$ac_ext >&5
20442 ac_lo
=`expr $ac_mid + 1`
20443 if test $ac_lo -le $ac_mid; then
20447 ac_mid
=`expr 2 '*' $ac_mid + 1`
20449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.
$ac_ext >&5
20455 cat >conftest.
$ac_ext <<_ACEOF
20458 cat confdefs.h
>>conftest.
$ac_ext
20459 cat >>conftest.
$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20465 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20472 rm -f conftest.
$ac_objext
20473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20474 (eval $ac_compile) 2>conftest.er1
20476 grep -v '^ *+' conftest.er1
>conftest.err
20478 cat conftest.err
>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } &&
20481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; } &&
20487 { ac_try
='test -s conftest.$ac_objext'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; }; then
20495 cat >conftest.
$ac_ext <<_ACEOF
20498 cat confdefs.h
>>conftest.
$ac_ext
20499 cat >>conftest.
$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 $ac_includes_default
20505 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20512 rm -f conftest.
$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try
='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_lo
=$ac_mid; break
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.
$ac_ext >&5
20538 ac_hi
=`expr '(' $ac_mid ')' - 1`
20539 if test $ac_mid -le $ac_hi; then
20543 ac_mid
=`expr 2 '*' $ac_mid`
20545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.
$ac_ext >&5
20553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20556 # Binary search between lo and hi bounds.
20557 while test "x$ac_lo" != "x$ac_hi"; do
20558 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20559 cat >conftest.
$ac_ext <<_ACEOF
20562 cat confdefs.h
>>conftest.
$ac_ext
20563 cat >>conftest.
$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20569 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20576 rm -f conftest.
$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try
='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.
$ac_ext >&5
20602 ac_lo
=`expr '(' $ac_mid ')' + 1`
20604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20607 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20609 See \`config.log' for more details." >&5
20610 echo "$as_me: error: cannot compute sizeof (size_t), 77
20611 See \`config.log' for more details." >&2;}
20612 { (exit 1); exit 1; }; } ;;
20615 if test "$cross_compiling" = yes; then
20616 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20617 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20618 { (exit 1); exit 1; }; }
20620 cat >conftest.
$ac_ext <<_ACEOF
20623 cat confdefs.h
>>conftest.
$ac_ext
20624 cat >>conftest.
$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 $ac_includes_default
20627 long longval () { return (long) (sizeof (size_t)); }
20628 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20630 #include <stdlib.h>
20635 FILE *f = fopen ("conftest.val", "w");
20638 if (((long) (sizeof (size_t))) < 0)
20640 long i = longval ();
20641 if (i != ((long) (sizeof (size_t))))
20643 fprintf (f, "%ld\n", i);
20647 unsigned long i = ulongval ();
20648 if (i != ((long) (sizeof (size_t))))
20650 fprintf (f, "%lu\n", i);
20652 exit (ferror (f) || fclose (f) != 0);
20658 rm -f conftest
$ac_exeext
20659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20660 (eval $ac_link) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 ac_cv_sizeof_size_t
=`cat conftest.val`
20671 echo "$as_me: program exited with status $ac_status" >&5
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.
$ac_ext >&5
20675 ( exit $ac_status )
20676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20677 See \`config.log' for more details." >&5
20678 echo "$as_me: error: cannot compute sizeof (size_t), 77
20679 See \`config.log' for more details." >&2;}
20680 { (exit 1); exit 1; }; }
20682 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20687 ac_cv_sizeof_size_t
=0
20690 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20691 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20692 cat >>confdefs.h
<<_ACEOF
20693 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20700 echo "$as_me:$LINENO: checking for long long" >&5
20701 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20702 if test "${ac_cv_type_long_long+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 cat >conftest.
$ac_ext <<_ACEOF
20708 cat confdefs.h
>>conftest.
$ac_ext
20709 cat >>conftest.
$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 $ac_includes_default
20715 if ((long long *) 0)
20717 if (sizeof (long long))
20723 rm -f conftest.
$ac_objext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20725 (eval $ac_compile) 2>conftest.er1
20727 grep -v '^ *+' conftest.er1
>conftest.err
20729 cat conftest.err
>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } &&
20732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; } &&
20738 { ac_try
='test -s conftest.$ac_objext'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 ac_cv_type_long_long
=yes
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.
$ac_ext >&5
20749 ac_cv_type_long_long
=no
20751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20754 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20756 echo "$as_me:$LINENO: checking size of long long" >&5
20757 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20758 if test "${ac_cv_sizeof_long_long+set}" = set; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20761 if test "$ac_cv_type_long_long" = yes; then
20762 # The cast to unsigned long works around a bug in the HP C Compiler
20763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20765 # This bug is HP SR number 8606223364.
20766 if test "$cross_compiling" = yes; then
20767 # Depending upon the size, compute the lo and hi bounds.
20768 cat >conftest.
$ac_ext <<_ACEOF
20771 cat confdefs.h
>>conftest.
$ac_ext
20772 cat >>conftest.
$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774 $ac_includes_default
20778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20785 rm -f conftest.
$ac_objext
20786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20787 (eval $ac_compile) 2>conftest.er1
20789 grep -v '^ *+' conftest.er1
>conftest.err
20791 cat conftest.err
>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } &&
20794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20796 (eval $ac_try) 2>&5
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; } &&
20800 { ac_try
='test -s conftest.$ac_objext'
20801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20802 (eval $ac_try) 2>&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; }; then
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20818 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20825 rm -f conftest.
$ac_objext
20826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20827 (eval $ac_compile) 2>conftest.er1
20829 grep -v '^ *+' conftest.er1
>conftest.err
20831 cat conftest.err
>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } &&
20834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; } &&
20840 { ac_try
='test -s conftest.$ac_objext'
20841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20842 (eval $ac_try) 2>&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); }; }; then
20846 ac_hi
=$ac_mid; break
20848 echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.
$ac_ext >&5
20851 ac_lo
=`expr $ac_mid + 1`
20852 if test $ac_lo -le $ac_mid; then
20856 ac_mid
=`expr 2 '*' $ac_mid + 1`
20858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.
$ac_ext >&5
20864 cat >conftest.
$ac_ext <<_ACEOF
20867 cat confdefs.h
>>conftest.
$ac_ext
20868 cat >>conftest.
$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20881 rm -f conftest.
$ac_objext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try
='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20904 cat >conftest.
$ac_ext <<_ACEOF
20907 cat confdefs.h
>>conftest.
$ac_ext
20908 cat >>conftest.
$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 $ac_includes_default
20914 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20921 rm -f conftest.
$ac_objext
20922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20923 (eval $ac_compile) 2>conftest.er1
20925 grep -v '^ *+' conftest.er1
>conftest.err
20927 cat conftest.err
>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; } &&
20936 { ac_try
='test -s conftest.$ac_objext'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; }; then
20942 ac_lo
=$ac_mid; break
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.
$ac_ext >&5
20947 ac_hi
=`expr '(' $ac_mid ')' - 1`
20948 if test $ac_mid -le $ac_hi; then
20952 ac_mid
=`expr 2 '*' $ac_mid`
20954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.
$ac_ext >&5
20962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 # Binary search between lo and hi bounds.
20966 while test "x$ac_lo" != "x$ac_hi"; do
20967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20968 cat >conftest.
$ac_ext <<_ACEOF
20971 cat confdefs.h
>>conftest.
$ac_ext
20972 cat >>conftest.
$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20978 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20985 rm -f conftest.
$ac_objext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987 (eval $ac_compile) 2>conftest.er1
20989 grep -v '^ *+' conftest.er1
>conftest.err
20991 cat conftest.err
>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } &&
20994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; } &&
21000 { ac_try
='test -s conftest.$ac_objext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.
$ac_ext >&5
21011 ac_lo
=`expr '(' $ac_mid ')' + 1`
21013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21016 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21017 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21018 See \`config.log' for more details." >&5
21019 echo "$as_me: error: cannot compute sizeof (long long), 77
21020 See \`config.log' for more details." >&2;}
21021 { (exit 1); exit 1; }; } ;;
21024 if test "$cross_compiling" = yes; then
21025 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21026 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21027 { (exit 1); exit 1; }; }
21029 cat >conftest.
$ac_ext <<_ACEOF
21032 cat confdefs.h
>>conftest.
$ac_ext
21033 cat >>conftest.
$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21035 $ac_includes_default
21036 long longval () { return (long) (sizeof (long long)); }
21037 unsigned long ulongval () { return (long) (sizeof (long long)); }
21039 #include <stdlib.h>
21044 FILE *f = fopen ("conftest.val", "w");
21047 if (((long) (sizeof (long long))) < 0)
21049 long i = longval ();
21050 if (i != ((long) (sizeof (long long))))
21052 fprintf (f, "%ld\n", i);
21056 unsigned long i = ulongval ();
21057 if (i != ((long) (sizeof (long long))))
21059 fprintf (f, "%lu\n", i);
21061 exit (ferror (f) || fclose (f) != 0);
21067 rm -f conftest
$ac_exeext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21069 (eval $ac_link) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_cv_sizeof_long_long
=`cat conftest.val`
21080 echo "$as_me: program exited with status $ac_status" >&5
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.
$ac_ext >&5
21084 ( exit $ac_status )
21085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21086 See \`config.log' for more details." >&5
21087 echo "$as_me: error: cannot compute sizeof (long long), 77
21088 See \`config.log' for more details." >&2;}
21089 { (exit 1); exit 1; }; }
21091 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21096 ac_cv_sizeof_long_long
=0
21099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21100 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21101 cat >>confdefs.h
<<_ACEOF
21102 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21108 echo "$as_me:$LINENO: checking for long long" >&5
21109 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21110 if test "${ac_cv_type_long_long+set}" = set; then
21111 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21123 if ((long long *) 0)
21125 if (sizeof (long long))
21131 rm -f conftest.
$ac_objext
21132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133 (eval $ac_compile) 2>conftest.er1
21135 grep -v '^ *+' conftest.er1
>conftest.err
21137 cat conftest.err
>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } &&
21140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; } &&
21146 { ac_try
='test -s conftest.$ac_objext'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; }; then
21152 ac_cv_type_long_long
=yes
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.
$ac_ext >&5
21157 ac_cv_type_long_long
=no
21159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21162 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21164 echo "$as_me:$LINENO: checking size of long long" >&5
21165 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21166 if test "${ac_cv_sizeof_long_long+set}" = set; then
21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 if test "$ac_cv_type_long_long" = yes; then
21170 # The cast to unsigned long works around a bug in the HP C Compiler
21171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21173 # This bug is HP SR number 8606223364.
21174 if test "$cross_compiling" = yes; then
21175 # Depending upon the size, compute the lo and hi bounds.
21176 cat >conftest.
$ac_ext <<_ACEOF
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21193 rm -f conftest.
$ac_objext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21195 (eval $ac_compile) 2>conftest.er1
21197 grep -v '^ *+' conftest.er1
>conftest.err
21199 cat conftest.err
>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try
='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21216 cat >conftest.
$ac_ext <<_ACEOF
21219 cat confdefs.h
>>conftest.
$ac_ext
21220 cat >>conftest.
$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 $ac_includes_default
21226 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21233 rm -f conftest.
$ac_objext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235 (eval $ac_compile) 2>conftest.er1
21237 grep -v '^ *+' conftest.er1
>conftest.err
21239 cat conftest.err
>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; } &&
21248 { ac_try
='test -s conftest.$ac_objext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_hi
=$ac_mid; break
21256 echo "$as_me: failed program was:" >&5
21257 sed 's/^/| /' conftest.
$ac_ext >&5
21259 ac_lo
=`expr $ac_mid + 1`
21260 if test $ac_lo -le $ac_mid; then
21264 ac_mid
=`expr 2 '*' $ac_mid + 1`
21266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 cat >conftest.
$ac_ext <<_ACEOF
21275 cat confdefs.h
>>conftest.
$ac_ext
21276 cat >>conftest.
$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 $ac_includes_default
21282 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21289 rm -f conftest.
$ac_objext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21291 (eval $ac_compile) 2>conftest.er1
21293 grep -v '^ *+' conftest.er1
>conftest.err
21295 cat conftest.err
>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } &&
21298 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; } &&
21304 { ac_try
='test -s conftest.$ac_objext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21329 rm -f conftest.
$ac_objext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21331 (eval $ac_compile) 2>conftest.er1
21333 grep -v '^ *+' conftest.er1
>conftest.err
21335 cat conftest.err
>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; } &&
21344 { ac_try
='test -s conftest.$ac_objext'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_lo
=$ac_mid; break
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.
$ac_ext >&5
21355 ac_hi
=`expr '(' $ac_mid ')' - 1`
21356 if test $ac_mid -le $ac_hi; then
21360 ac_mid
=`expr 2 '*' $ac_mid`
21362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.
$ac_ext >&5
21370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21373 # Binary search between lo and hi bounds.
21374 while test "x$ac_lo" != "x$ac_hi"; do
21375 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21376 cat >conftest.
$ac_ext <<_ACEOF
21379 cat confdefs.h
>>conftest.
$ac_ext
21380 cat >>conftest.
$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 $ac_includes_default
21386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21393 rm -f conftest.
$ac_objext
21394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21395 (eval $ac_compile) 2>conftest.er1
21397 grep -v '^ *+' conftest.er1
>conftest.err
21399 cat conftest.err
>&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; } &&
21408 { ac_try
='test -s conftest.$ac_objext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.
$ac_ext >&5
21419 ac_lo
=`expr '(' $ac_mid ')' + 1`
21421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21424 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21425 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21426 See \`config.log' for more details." >&5
21427 echo "$as_me: error: cannot compute sizeof (long long), 77
21428 See \`config.log' for more details." >&2;}
21429 { (exit 1); exit 1; }; } ;;
21432 if test "$cross_compiling" = yes; then
21433 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21434 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21435 { (exit 1); exit 1; }; }
21437 cat >conftest.
$ac_ext <<_ACEOF
21440 cat confdefs.h
>>conftest.
$ac_ext
21441 cat >>conftest.
$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443 $ac_includes_default
21444 long longval () { return (long) (sizeof (long long)); }
21445 unsigned long ulongval () { return (long) (sizeof (long long)); }
21447 #include <stdlib.h>
21452 FILE *f = fopen ("conftest.val", "w");
21455 if (((long) (sizeof (long long))) < 0)
21457 long i = longval ();
21458 if (i != ((long) (sizeof (long long))))
21460 fprintf (f, "%ld\n", i);
21464 unsigned long i = ulongval ();
21465 if (i != ((long) (sizeof (long long))))
21467 fprintf (f, "%lu\n", i);
21469 exit (ferror (f) || fclose (f) != 0);
21475 rm -f conftest
$ac_exeext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21477 (eval $ac_link) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_cv_sizeof_long_long
=`cat conftest.val`
21488 echo "$as_me: program exited with status $ac_status" >&5
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.
$ac_ext >&5
21492 ( exit $ac_status )
21493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21494 See \`config.log' for more details." >&5
21495 echo "$as_me: error: cannot compute sizeof (long long), 77
21496 See \`config.log' for more details." >&2;}
21497 { (exit 1); exit 1; }; }
21499 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21504 ac_cv_sizeof_long_long
=0
21507 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21508 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21509 cat >>confdefs.h
<<_ACEOF
21510 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21514 if test "$ac_cv_sizeof_long_long" != "0"; then
21515 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21519 echo "$as_me:$LINENO: checking for long long" >&5
21520 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21521 if test "${ac_cv_type_long_long+set}" = set; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 cat >conftest.
$ac_ext <<_ACEOF
21527 cat confdefs.h
>>conftest.
$ac_ext
21528 cat >>conftest.
$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21534 if ((long long *) 0)
21536 if (sizeof (long long))
21542 rm -f conftest.
$ac_objext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21544 (eval $ac_compile) 2>conftest.er1
21546 grep -v '^ *+' conftest.er1
>conftest.err
21548 cat conftest.err
>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try
='test -s conftest.$ac_objext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_type_long_long
=yes
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 ac_cv_type_long_long
=no
21570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21572 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21573 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21575 echo "$as_me:$LINENO: checking size of long long" >&5
21576 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21577 if test "${ac_cv_sizeof_long_long+set}" = set; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21580 if test "$ac_cv_type_long_long" = yes; then
21581 # The cast to unsigned long works around a bug in the HP C Compiler
21582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21584 # This bug is HP SR number 8606223364.
21585 if test "$cross_compiling" = yes; then
21586 # Depending upon the size, compute the lo and hi bounds.
21587 cat >conftest.
$ac_ext <<_ACEOF
21590 cat confdefs.h
>>conftest.
$ac_ext
21591 cat >>conftest.
$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21597 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21604 rm -f conftest.
$ac_objext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 (eval $ac_compile) 2>conftest.er1
21608 grep -v '^ *+' conftest.er1
>conftest.err
21610 cat conftest.err
>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } &&
21613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try
='test -s conftest.$ac_objext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21644 rm -f conftest.
$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21648 grep -v '^ *+' conftest.er1
>conftest.err
21650 cat conftest.err
>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try
='test -s conftest.$ac_objext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_hi
=$ac_mid; break
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.
$ac_ext >&5
21670 ac_lo
=`expr $ac_mid + 1`
21671 if test $ac_lo -le $ac_mid; then
21675 ac_mid
=`expr 2 '*' $ac_mid + 1`
21677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.
$ac_ext >&5
21683 cat >conftest.
$ac_ext <<_ACEOF
21686 cat confdefs.h
>>conftest.
$ac_ext
21687 cat >>conftest.
$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 $ac_includes_default
21693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21700 rm -f conftest.
$ac_objext
21701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21702 (eval $ac_compile) 2>conftest.er1
21704 grep -v '^ *+' conftest.er1
>conftest.err
21706 cat conftest.err
>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); } &&
21709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try
='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21723 cat >conftest.
$ac_ext <<_ACEOF
21726 cat confdefs.h
>>conftest.
$ac_ext
21727 cat >>conftest.
$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729 $ac_includes_default
21733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21740 rm -f conftest.
$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>conftest.er1
21744 grep -v '^ *+' conftest.er1
>conftest.err
21746 cat conftest.err
>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try
='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_lo
=$ac_mid; break
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 ac_hi
=`expr '(' $ac_mid ')' - 1`
21767 if test $ac_mid -le $ac_hi; then
21771 ac_mid
=`expr 2 '*' $ac_mid`
21773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.
$ac_ext >&5
21781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21784 # Binary search between lo and hi bounds.
21785 while test "x$ac_lo" != "x$ac_hi"; do
21786 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21787 cat >conftest.
$ac_ext <<_ACEOF
21790 cat confdefs.h
>>conftest.
$ac_ext
21791 cat >>conftest.
$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21797 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21804 rm -f conftest.
$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806 (eval $ac_compile) 2>conftest.er1
21808 grep -v '^ *+' conftest.er1
>conftest.err
21810 cat conftest.err
>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; } &&
21819 { ac_try
='test -s conftest.$ac_objext'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; }; then
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.
$ac_ext >&5
21830 ac_lo
=`expr '(' $ac_mid ')' + 1`
21832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21835 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21837 See \`config.log' for more details." >&5
21838 echo "$as_me: error: cannot compute sizeof (long long), 77
21839 See \`config.log' for more details." >&2;}
21840 { (exit 1); exit 1; }; } ;;
21843 if test "$cross_compiling" = yes; then
21844 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21845 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21846 { (exit 1); exit 1; }; }
21848 cat >conftest.
$ac_ext <<_ACEOF
21851 cat confdefs.h
>>conftest.
$ac_ext
21852 cat >>conftest.
$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 $ac_includes_default
21855 long longval () { return (long) (sizeof (long long)); }
21856 unsigned long ulongval () { return (long) (sizeof (long long)); }
21858 #include <stdlib.h>
21863 FILE *f = fopen ("conftest.val", "w");
21866 if (((long) (sizeof (long long))) < 0)
21868 long i = longval ();
21869 if (i != ((long) (sizeof (long long))))
21871 fprintf (f, "%ld\n", i);
21875 unsigned long i = ulongval ();
21876 if (i != ((long) (sizeof (long long))))
21878 fprintf (f, "%lu\n", i);
21880 exit (ferror (f) || fclose (f) != 0);
21886 rm -f conftest
$ac_exeext
21887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21888 (eval $ac_link) 2>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 ac_cv_sizeof_long_long
=`cat conftest.val`
21899 echo "$as_me: program exited with status $ac_status" >&5
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.
$ac_ext >&5
21903 ( exit $ac_status )
21904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21905 See \`config.log' for more details." >&5
21906 echo "$as_me: error: cannot compute sizeof (long long), 77
21907 See \`config.log' for more details." >&2;}
21908 { (exit 1); exit 1; }; }
21910 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21915 ac_cv_sizeof_long_long
=0
21918 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21919 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21920 cat >>confdefs.h
<<_ACEOF
21921 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21927 echo "$as_me:$LINENO: checking for wchar_t" >&5
21928 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21929 if test "${ac_cv_type_wchar_t+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 cat >conftest.
$ac_ext <<_ACEOF
21935 cat confdefs.h
>>conftest.
$ac_ext
21936 cat >>conftest.
$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21939 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21940 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21941 # error "fake wchar_t"
21943 #ifdef HAVE_WCHAR_H
21945 # include <stddef.h>
21947 # include <wchar.h>
21949 #ifdef HAVE_STDLIB_H
21950 # include <stdlib.h>
21961 if (sizeof (wchar_t))
21967 rm -f conftest.
$ac_objext
21968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21969 (eval $ac_compile) 2>conftest.er1
21971 grep -v '^ *+' conftest.er1
>conftest.err
21973 cat conftest.err
>&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); } &&
21976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; } &&
21982 { ac_try
='test -s conftest.$ac_objext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 ac_cv_type_wchar_t
=yes
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.
$ac_ext >&5
21993 ac_cv_type_wchar_t
=no
21995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21997 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21998 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22000 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22001 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22002 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22003 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 if test "$ac_cv_type_wchar_t" = yes; then
22006 # The cast to unsigned long works around a bug in the HP C Compiler
22007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22009 # This bug is HP SR number 8606223364.
22010 if test "$cross_compiling" = yes; then
22011 # Depending upon the size, compute the lo and hi bounds.
22012 cat >conftest.
$ac_ext <<_ACEOF
22015 cat confdefs.h
>>conftest.
$ac_ext
22016 cat >>conftest.
$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22019 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22020 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22021 # error "fake wchar_t"
22023 #ifdef HAVE_WCHAR_H
22025 # include <stddef.h>
22027 # include <wchar.h>
22029 #ifdef HAVE_STDLIB_H
22030 # include <stdlib.h>
22039 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22046 rm -f conftest.
$ac_objext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22048 (eval $ac_compile) 2>conftest.er1
22050 grep -v '^ *+' conftest.er1
>conftest.err
22052 cat conftest.err
>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; } &&
22061 { ac_try
='test -s conftest.$ac_objext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22069 cat >conftest.
$ac_ext <<_ACEOF
22072 cat confdefs.h
>>conftest.
$ac_ext
22073 cat >>conftest.
$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22076 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22077 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22078 # error "fake wchar_t"
22080 #ifdef HAVE_WCHAR_H
22082 # include <stddef.h>
22084 # include <wchar.h>
22086 #ifdef HAVE_STDLIB_H
22087 # include <stdlib.h>
22096 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22103 rm -f conftest.
$ac_objext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22105 (eval $ac_compile) 2>conftest.er1
22107 grep -v '^ *+' conftest.er1
>conftest.err
22109 cat conftest.err
>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; } &&
22118 { ac_try
='test -s conftest.$ac_objext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 ac_hi
=$ac_mid; break
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.
$ac_ext >&5
22129 ac_lo
=`expr $ac_mid + 1`
22130 if test $ac_lo -le $ac_mid; then
22134 ac_mid
=`expr 2 '*' $ac_mid + 1`
22136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.
$ac_ext >&5
22142 cat >conftest.
$ac_ext <<_ACEOF
22145 cat confdefs.h
>>conftest.
$ac_ext
22146 cat >>conftest.
$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22151 # error "fake wchar_t"
22153 #ifdef HAVE_WCHAR_H
22155 # include <stddef.h>
22157 # include <wchar.h>
22159 #ifdef HAVE_STDLIB_H
22160 # include <stdlib.h>
22169 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22176 rm -f conftest.
$ac_objext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22178 (eval $ac_compile) 2>conftest.er1
22180 grep -v '^ *+' conftest.er1
>conftest.err
22182 cat conftest.err
>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
22185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try
='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22199 cat >conftest.
$ac_ext <<_ACEOF
22202 cat confdefs.h
>>conftest.
$ac_ext
22203 cat >>conftest.
$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22208 # error "fake wchar_t"
22210 #ifdef HAVE_WCHAR_H
22212 # include <stddef.h>
22214 # include <wchar.h>
22216 #ifdef HAVE_STDLIB_H
22217 # include <stdlib.h>
22226 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22233 rm -f conftest.
$ac_objext
22234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22235 (eval $ac_compile) 2>conftest.er1
22237 grep -v '^ *+' conftest.er1
>conftest.err
22239 cat conftest.err
>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; } &&
22248 { ac_try
='test -s conftest.$ac_objext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_lo
=$ac_mid; break
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.
$ac_ext >&5
22259 ac_hi
=`expr '(' $ac_mid ')' - 1`
22260 if test $ac_mid -le $ac_hi; then
22264 ac_mid
=`expr 2 '*' $ac_mid`
22266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.
$ac_ext >&5
22274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22277 # Binary search between lo and hi bounds.
22278 while test "x$ac_lo" != "x$ac_hi"; do
22279 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22280 cat >conftest.
$ac_ext <<_ACEOF
22283 cat confdefs.h
>>conftest.
$ac_ext
22284 cat >>conftest.
$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22287 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22288 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22289 # error "fake wchar_t"
22291 #ifdef HAVE_WCHAR_H
22293 # include <stddef.h>
22295 # include <wchar.h>
22297 #ifdef HAVE_STDLIB_H
22298 # include <stdlib.h>
22307 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22314 rm -f conftest.
$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>conftest.er1
22318 grep -v '^ *+' conftest.er1
>conftest.err
22320 cat conftest.err
>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; } &&
22329 { ac_try
='test -s conftest.$ac_objext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.
$ac_ext >&5
22340 ac_lo
=`expr '(' $ac_mid ')' + 1`
22342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22345 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22346 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22347 See \`config.log' for more details." >&5
22348 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22349 See \`config.log' for more details." >&2;}
22350 { (exit 1); exit 1; }; } ;;
22353 if test "$cross_compiling" = yes; then
22354 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22355 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22356 { (exit 1); exit 1; }; }
22358 cat >conftest.
$ac_ext <<_ACEOF
22361 cat confdefs.h
>>conftest.
$ac_ext
22362 cat >>conftest.
$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22365 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22366 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22367 # error "fake wchar_t"
22369 #ifdef HAVE_WCHAR_H
22371 # include <stddef.h>
22373 # include <wchar.h>
22375 #ifdef HAVE_STDLIB_H
22376 # include <stdlib.h>
22382 long longval () { return (long) (sizeof (wchar_t)); }
22383 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22385 #include <stdlib.h>
22390 FILE *f = fopen ("conftest.val", "w");
22393 if (((long) (sizeof (wchar_t))) < 0)
22395 long i = longval ();
22396 if (i != ((long) (sizeof (wchar_t))))
22398 fprintf (f, "%ld\n", i);
22402 unsigned long i = ulongval ();
22403 if (i != ((long) (sizeof (wchar_t))))
22405 fprintf (f, "%lu\n", i);
22407 exit (ferror (f) || fclose (f) != 0);
22413 rm -f conftest
$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; }; then
22424 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22426 echo "$as_me: program exited with status $ac_status" >&5
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.
$ac_ext >&5
22430 ( exit $ac_status )
22431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22432 See \`config.log' for more details." >&5
22433 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22434 See \`config.log' for more details." >&2;}
22435 { (exit 1); exit 1; }; }
22437 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22442 ac_cv_sizeof_wchar_t
=0
22445 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22446 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22447 cat >>confdefs.h
<<_ACEOF
22448 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22452 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22458 echo "$as_me:$LINENO: checking for va_copy" >&5
22459 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22460 if test "${wx_cv_func_va_copy+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 cat >conftest.
$ac_ext <<_ACEOF
22466 #include <stdarg.h>
22467 void foo(char *f, ...)
22481 rm -f conftest.
$ac_objext conftest
$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>conftest.er1
22485 grep -v '^ *+' conftest.er1
>conftest.err
22487 cat conftest.err
>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 (eval $ac_try) 2>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; } &&
22496 { ac_try
='test -s conftest$ac_exeext'
22497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 (eval $ac_try) 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; }; then
22502 wx_cv_func_va_copy
=yes
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.
$ac_ext >&5
22507 wx_cv_func_va_copy
=no
22510 rm -f conftest.err conftest.
$ac_objext \
22511 conftest
$ac_exeext conftest.
$ac_ext
22515 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22516 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22518 if test $wx_cv_func_va_copy = "yes"; then
22519 cat >>confdefs.h
<<\_ACEOF
22520 #define HAVE_VA_COPY 1
22524 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22525 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22526 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 if test "$cross_compiling" = yes; then
22531 wx_cv_type_va_list_lvalue
=yes
22534 cat >conftest.
$ac_ext <<_ACEOF
22536 #include <stdarg.h>
22537 int foo(char *f, ...)
22542 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22550 return foo("hi", 17);
22553 rm -f conftest
$ac_exeext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22555 (eval $ac_link) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 wx_cv_type_va_list_lvalue
=yes
22566 echo "$as_me: program exited with status $ac_status" >&5
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.
$ac_ext >&5
22570 ( exit $ac_status )
22571 wx_cv_type_va_list_lvalue
=no
22573 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22578 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22579 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22581 if test $wx_cv_type_va_list_lvalue != "yes"; then
22582 cat >>confdefs.h
<<\_ACEOF
22583 #define VA_LIST_IS_ARRAY 1
22589 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22590 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22591 if test "${wx_cv_have_variadic_macros+set}" = set; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22603 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22609 test("%s %d %p", "test", 1, 0);
22616 rm -f conftest.
$ac_objext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22618 (eval $ac_compile) 2>conftest.er1
22620 grep -v '^ *+' conftest.er1
>conftest.err
22622 cat conftest.err
>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try
='test -s conftest.$ac_objext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 wx_cv_have_variadic_macros
=yes
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.
$ac_ext >&5
22642 wx_cv_have_variadic_macros
=no
22645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22649 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22650 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22652 if test $wx_cv_have_variadic_macros = "yes"; then
22653 cat >>confdefs.h
<<\_ACEOF
22654 #define HAVE_VARIADIC_MACROS 1
22659 # Check whether --enable-largefile or --disable-largefile was given.
22660 if test "${enable_largefile+set}" = set; then
22661 enableval
="$enable_largefile"
22664 if test "$enable_largefile" != no
; then
22667 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22668 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22669 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 cat >conftest.
$ac_ext <<_ACEOF
22676 cat confdefs.h
>>conftest.
$ac_ext
22677 cat >>conftest.
$ac_ext <<_ACEOF
22678 /* end confdefs.h. */
22679 #define _FILE_OFFSET_BITS 64
22680 #include <sys/types.h>
22685 unsigned int field: sizeof(off_t) == 8;
22692 rm -f conftest.
$ac_objext
22693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22694 (eval $ac_compile) 2>conftest.er1
22696 grep -v '^ *+' conftest.er1
>conftest.err
22698 cat conftest.err
>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703 (eval $ac_try) 2>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); }; } &&
22707 { ac_try
='test -s conftest.$ac_objext'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; }; then
22713 ac_cv_sys_file_offset_bits
=64
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.
$ac_ext >&5
22718 ac_cv_sys_file_offset_bits
=no
22720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22724 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22725 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22727 if test "$ac_cv_sys_file_offset_bits" != no
; then
22729 cat >>confdefs.h
<<_ACEOF
22730 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22735 if test "x$wx_largefile" != "xyes"; then
22737 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22738 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22739 if test "${ac_cv_sys_large_files+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22743 cat >conftest.
$ac_ext <<_ACEOF
22746 cat confdefs.h
>>conftest.
$ac_ext
22747 cat >>conftest.
$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 #define _LARGE_FILES 1
22750 #include <sys/types.h>
22755 unsigned int field: sizeof(off_t) == 8;
22762 rm -f conftest.
$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22766 grep -v '^ *+' conftest.er1
>conftest.err
22768 cat conftest.err
>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try
='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_sys_large_files
=1
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22788 ac_cv_sys_large_files
=no
22790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22794 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22795 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22797 if test "$ac_cv_sys_large_files" != no
; then
22799 cat >>confdefs.h
<<_ACEOF
22800 #define _LARGE_FILES $ac_cv_sys_large_files
22807 echo "$as_me:$LINENO: checking if large file support is available" >&5
22808 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22809 if test "x$wx_largefile" = "xyes"; then
22810 cat >>confdefs.h
<<\_ACEOF
22811 #define HAVE_LARGEFILE_SUPPORT 1
22815 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22816 echo "${ECHO_T}$wx_largefile" >&6
22820 if test "x$wx_largefile" = "xyes"; then
22821 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22822 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22824 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22825 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22826 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22827 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 cat >conftest.
$ac_ext <<_ACEOF
22834 cat confdefs.h
>>conftest.
$ac_ext
22835 cat >>conftest.
$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22842 #ifndef __STDC_EXT__
22850 rm -f conftest.
$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22854 grep -v '^ *+' conftest.er1
>conftest.err
22856 cat conftest.err
>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22871 wx_cv_STDC_EXT_required
=no
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22876 wx_cv_STDC_EXT_required
=yes
22879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22883 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22884 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22885 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22886 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22890 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22892 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22893 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22894 if test "${ac_cv_sys_largefile_source+set}" = set; then
22895 echo $ECHO_N "(cached) $ECHO_C" >&6
22898 ac_cv_sys_largefile_source
=no
22899 cat >conftest.
$ac_ext <<_ACEOF
22902 cat confdefs.h
>>conftest.
$ac_ext
22903 cat >>conftest.
$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22914 rm -f conftest.
$ac_objext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22916 (eval $ac_compile) 2>conftest.er1
22918 grep -v '^ *+' conftest.er1
>conftest.err
22920 cat conftest.err
>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try
='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.
$ac_ext >&5
22941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22942 cat >conftest.
$ac_ext <<_ACEOF
22945 cat confdefs.h
>>conftest.
$ac_ext
22946 cat >>conftest.
$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 #define _LARGEFILE_SOURCE 1
22958 rm -f conftest.
$ac_objext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22960 (eval $ac_compile) 2>conftest.er1
22962 grep -v '^ *+' conftest.er1
>conftest.err
22964 cat conftest.err
>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } &&
22967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969 (eval $ac_try) 2>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; } &&
22973 { ac_try
='test -s conftest.$ac_objext'
22974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975 (eval $ac_try) 2>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; }; then
22979 ac_cv_sys_largefile_source
=1; break
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.
$ac_ext >&5
22985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22989 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22990 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22991 if test "$ac_cv_sys_largefile_source" != no
; then
22993 cat >>confdefs.h
<<_ACEOF
22994 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23000 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23001 # in glibc 2.1.3, but that breaks too many other things.
23002 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23003 echo "$as_me:$LINENO: checking for fseeko" >&5
23004 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23005 if test "${ac_cv_func_fseeko+set}" = set; then
23006 echo $ECHO_N "(cached) $ECHO_C" >&6
23008 cat >conftest.
$ac_ext <<_ACEOF
23011 cat confdefs.h
>>conftest.
$ac_ext
23012 cat >>conftest.
$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23018 return fseeko && fseeko (stdin, 0, 0);
23023 rm -f conftest.
$ac_objext conftest
$ac_exeext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23025 (eval $ac_link) 2>conftest.er1
23027 grep -v '^ *+' conftest.er1
>conftest.err
23029 cat conftest.err
>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try
='test -s conftest$ac_exeext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_func_fseeko
=yes
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23049 ac_cv_func_fseeko
=no
23051 rm -f conftest.err conftest.
$ac_objext \
23052 conftest
$ac_exeext conftest.
$ac_ext
23054 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23055 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23056 if test $ac_cv_func_fseeko = yes; then
23058 cat >>confdefs.h
<<\_ACEOF
23059 #define HAVE_FSEEKO 1
23064 if test "$ac_cv_sys_largefile_source" != no
; then
23065 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23069 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23070 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23071 if test "${ac_cv_c_bigendian+set}" = set; then
23072 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 ac_cv_c_bigendian
=unknown
23075 # See if sys/param.h defines the BYTE_ORDER macro.
23076 cat >conftest.
$ac_ext <<_ACEOF
23079 cat confdefs.h
>>conftest.
$ac_ext
23080 cat >>conftest.
$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23082 #include <sys/types.h>
23083 #include <sys/param.h>
23088 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23089 bogus endian macros
23095 rm -f conftest.
$ac_objext
23096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23097 (eval $ac_compile) 2>conftest.er1
23099 grep -v '^ *+' conftest.er1
>conftest.err
23101 cat conftest.err
>&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } &&
23104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; } &&
23110 { ac_try
='test -s conftest.$ac_objext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 # It does; now see whether it defined to BIG_ENDIAN or not.
23117 cat >conftest.
$ac_ext <<_ACEOF
23120 cat confdefs.h
>>conftest.
$ac_ext
23121 cat >>conftest.
$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123 #include <sys/types.h>
23124 #include <sys/param.h>
23129 #if BYTE_ORDER != BIG_ENDIAN
23136 rm -f conftest.
$ac_objext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23138 (eval $ac_compile) 2>conftest.er1
23140 grep -v '^ *+' conftest.er1
>conftest.err
23142 cat conftest.err
>&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147 (eval $ac_try) 2>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); }; } &&
23151 { ac_try
='test -s conftest.$ac_objext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_c_bigendian
=yes
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.
$ac_ext >&5
23162 ac_cv_c_bigendian
=no
23164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.
$ac_ext >&5
23170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23171 if test $ac_cv_c_bigendian = unknown
; then
23172 if test "$cross_compiling" = yes; then
23173 ac_cv_c_bigendian
=unknown
23175 cat >conftest.
$ac_ext <<_ACEOF
23178 cat confdefs.h
>>conftest.
$ac_ext
23179 cat >>conftest.
$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23182 /* Are we little or big endian? From Harbison&Steele. */
23186 char c[sizeof (long)];
23189 exit (u.c[sizeof (long) - 1] == 1);
23192 rm -f conftest
$ac_exeext
23193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23194 (eval $ac_link) 2>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_c_bigendian
=no
23205 echo "$as_me: program exited with status $ac_status" >&5
23206 echo "$as_me: failed program was:" >&5
23207 sed 's/^/| /' conftest.
$ac_ext >&5
23209 ( exit $ac_status )
23210 ac_cv_c_bigendian
=yes
23212 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23216 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23217 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23218 if test $ac_cv_c_bigendian = unknown
; then
23219 { 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
23220 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;}
23222 if test $ac_cv_c_bigendian = yes; then
23223 cat >>confdefs.h
<<\_ACEOF
23224 #define WORDS_BIGENDIAN 1
23234 ac_cpp
='$CXXCPP $CPPFLAGS'
23235 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23241 for ac_header
in iostream
23243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23245 echo "$as_me:$LINENO: checking for $ac_header" >&5
23246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23253 # Is the header compilable?
23254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23256 cat >conftest.
$ac_ext <<_ACEOF
23259 cat confdefs.h
>>conftest.
$ac_ext
23260 cat >>conftest.
$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 $ac_includes_default
23263 #include <$ac_header>
23265 rm -f conftest.
$ac_objext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23267 (eval $ac_compile) 2>conftest.er1
23269 grep -v '^ *+' conftest.er1
>conftest.err
23271 cat conftest.err
>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; } &&
23280 { ac_try
='test -s conftest.$ac_objext'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23286 ac_header_compiler
=yes
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.
$ac_ext >&5
23291 ac_header_compiler
=no
23293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23295 echo "${ECHO_T}$ac_header_compiler" >&6
23297 # Is the header present?
23298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23300 cat >conftest.
$ac_ext <<_ACEOF
23303 cat confdefs.h
>>conftest.
$ac_ext
23304 cat >>conftest.
$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306 #include <$ac_header>
23308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23311 grep -v '^ *+' conftest.er1
>conftest.err
23313 cat conftest.err
>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } >/dev
/null
; then
23316 if test -s conftest.err
; then
23317 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23318 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23325 if test -z "$ac_cpp_err"; then
23326 ac_header_preproc
=yes
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.
$ac_ext >&5
23331 ac_header_preproc
=no
23333 rm -f conftest.err conftest.
$ac_ext
23334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23335 echo "${ECHO_T}$ac_header_preproc" >&6
23337 # So? What about this header?
23338 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23344 ac_header_preproc
=yes
23347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23361 ## ----------------------------------------- ##
23362 ## Report this to wx-dev@lists.wxwidgets.org ##
23363 ## ----------------------------------------- ##
23366 sed "s/^/$as_me: WARNING: /" >&2
23369 echo "$as_me:$LINENO: checking for $ac_header" >&5
23370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 eval "$as_ac_Header=\$ac_header_preproc"
23376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23381 cat >>confdefs.h
<<_ACEOF
23382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23390 if test "$ac_cv_header_iostream" = "yes" ; then
23393 cat >>confdefs.h
<<\_ACEOF
23394 #define wxUSE_IOSTREAMH 1
23400 ac_cpp
='$CXXCPP $CPPFLAGS'
23401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23408 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23409 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23410 if test "${wx_cv_cpp_bool+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 ac_cpp
='$CXXCPP $CPPFLAGS'
23418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23423 cat >conftest.
$ac_ext <<_ACEOF
23426 cat confdefs.h
>>conftest.
$ac_ext
23427 cat >>conftest.
$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23443 rm -f conftest.
$ac_objext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23445 (eval $ac_compile) 2>conftest.er1
23447 grep -v '^ *+' conftest.er1
>conftest.err
23449 cat conftest.err
>&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } &&
23452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try
='test -s conftest.$ac_objext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23468 echo "$as_me: failed program was:" >&5
23469 sed 's/^/| /' conftest.
$ac_ext >&5
23476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23479 ac_cpp
='$CXXCPP $CPPFLAGS'
23480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23486 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23487 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23489 if test "$wx_cv_cpp_bool" = "yes"; then
23490 cat >>confdefs.h
<<\_ACEOF
23491 #define HAVE_BOOL 1
23498 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23499 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23500 if test "${wx_cv_explicit+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 ac_cpp
='$CXXCPP $CPPFLAGS'
23508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23513 cat >conftest.
$ac_ext <<_ACEOF
23516 cat confdefs.h
>>conftest.
$ac_ext
23517 cat >>conftest.
$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23520 class Foo { public: explicit Foo(int) {} };
23532 rm -f conftest.
$ac_objext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23534 (eval $ac_compile) 2>conftest.er1
23536 grep -v '^ *+' conftest.er1
>conftest.err
23538 cat conftest.err
>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; } &&
23547 { ac_try
='test -s conftest.$ac_objext'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; }; then
23554 cat >conftest.
$ac_ext <<_ACEOF
23557 cat confdefs.h
>>conftest.
$ac_ext
23558 cat >>conftest.
$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23561 class Foo { public: explicit Foo(int) {} };
23562 static void TakeFoo(const Foo& foo) { }
23575 rm -f conftest.
$ac_objext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23577 (eval $ac_compile) 2>conftest.er1
23579 grep -v '^ *+' conftest.er1
>conftest.err
23581 cat conftest.err
>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try
='test -s conftest.$ac_objext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.
$ac_ext >&5
23604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.
$ac_ext >&5
23613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23616 ac_cpp
='$CXXCPP $CPPFLAGS'
23617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23623 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23624 echo "${ECHO_T}$wx_cv_explicit" >&6
23626 if test "$wx_cv_explicit" = "yes"; then
23627 cat >>confdefs.h
<<\_ACEOF
23628 #define HAVE_EXPLICIT 1
23634 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23635 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23636 if test "${ac_cv_cxx_const_cast+set}" = set; then
23637 echo $ECHO_N "(cached) $ECHO_C" >&6
23642 ac_cpp
='$CXXCPP $CPPFLAGS'
23643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23647 cat >conftest.
$ac_ext <<_ACEOF
23650 cat confdefs.h
>>conftest.
$ac_ext
23651 cat >>conftest.
$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23657 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23662 rm -f conftest.
$ac_objext
23663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23664 (eval $ac_compile) 2>conftest.er1
23666 grep -v '^ *+' conftest.er1
>conftest.err
23668 cat conftest.err
>&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } &&
23671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try
='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 ac_cv_cxx_const_cast
=yes
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.
$ac_ext >&5
23688 ac_cv_cxx_const_cast
=no
23690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23692 ac_cpp
='$CXXCPP $CPPFLAGS'
23693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23699 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23700 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23701 if test "$ac_cv_cxx_const_cast" = yes; then
23703 cat >>confdefs.h
<<\_ACEOF
23704 #define HAVE_CONST_CAST
23709 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23710 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23711 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23717 ac_cpp
='$CXXCPP $CPPFLAGS'
23718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23722 cat >conftest.
$ac_ext <<_ACEOF
23725 cat confdefs.h
>>conftest.
$ac_ext
23726 cat >>conftest.
$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 #include <typeinfo>
23729 class Base { public : Base () {} virtual void f () = 0;};
23730 class Derived : public Base { public : Derived () {} virtual void f () {} };
23731 class Unrelated { public : Unrelated () {} };
23732 int g (Unrelated&) { return 0; }
23737 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23742 rm -f conftest.
$ac_objext
23743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23744 (eval $ac_compile) 2>conftest.er1
23746 grep -v '^ *+' conftest.er1
>conftest.err
23748 cat conftest.err
>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } &&
23751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; } &&
23757 { ac_try
='test -s conftest.$ac_objext'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; }; then
23763 ac_cv_cxx_reinterpret_cast
=yes
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.
$ac_ext >&5
23768 ac_cv_cxx_reinterpret_cast
=no
23770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23772 ac_cpp
='$CXXCPP $CPPFLAGS'
23773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23779 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23780 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23781 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23783 cat >>confdefs.h
<<\_ACEOF
23784 #define HAVE_REINTERPRET_CAST
23789 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23790 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23791 if test "${ac_cv_cxx_static_cast+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23797 ac_cpp
='$CXXCPP $CPPFLAGS'
23798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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 <typeinfo>
23809 class Base { public : Base () {} virtual void f () = 0; };
23810 class Derived : public Base { public : Derived () {} virtual void f () {} };
23811 int g (Derived&) { return 0; }
23816 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
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_cxx_static_cast
=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.
$ac_ext >&5
23847 ac_cv_cxx_static_cast
=no
23849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23851 ac_cpp
='$CXXCPP $CPPFLAGS'
23852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23858 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23859 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23860 if test "$ac_cv_cxx_static_cast" = yes; then
23862 cat >>confdefs.h
<<\_ACEOF
23863 #define HAVE_STATIC_CAST
23869 if test "x$SUNCXX" = xyes
; then
23870 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23873 if test "x$SUNCC" = xyes
; then
23874 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23877 if test "x$SGICC" = "xyes"; then
23878 CFLAGS
="-woff 3970 $CFLAGS"
23880 if test "x$SGICXX" = "xyes"; then
23881 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23884 if test "x$HPCC" = "xyes"; then
23885 CFLAGS
="+W 2011,2450 $CFLAGS"
23887 if test "x$HPCXX" = "xyes"; then
23888 CXXFLAGS
="+W 2340 $CXXFLAGS"
23891 if test "x$COMPAQCXX" = "xyes"; then
23892 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23895 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23896 if test "$wxUSE_UNICODE" = "yes"; then
23897 std_string
="std::wstring"
23898 char_type
="wchar_t"
23900 std_string
="std::string"
23904 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23905 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23906 cat >conftest.
$ac_ext <<_ACEOF
23909 cat confdefs.h
>>conftest.
$ac_ext
23910 cat >>conftest.
$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23921 rm -f conftest.
$ac_objext
23922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23923 (eval $ac_compile) 2>conftest.er1
23925 grep -v '^ *+' conftest.er1
>conftest.err
23927 cat conftest.err
>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; } &&
23936 { ac_try
='test -s conftest.$ac_objext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23942 echo "$as_me:$LINENO: result: yes" >&5
23943 echo "${ECHO_T}yes" >&6
23944 cat >>confdefs.h
<<\_ACEOF
23945 #define HAVE_STD_WSTRING 1
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.
$ac_ext >&5
23952 echo "$as_me:$LINENO: result: no" >&5
23953 echo "${ECHO_T}no" >&6
23954 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23955 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23956 cat >conftest.
$ac_ext <<_ACEOF
23959 cat confdefs.h
>>conftest.
$ac_ext
23960 cat >>conftest.
$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23963 #ifdef HAVE_WCHAR_H
23965 # include <stddef.h>
23967 # include <wchar.h>
23969 #ifdef HAVE_STDLIB_H
23970 # include <stdlib.h>
23978 std::basic_string<$char_type> foo;
23979 const $char_type* dummy = foo.c_str();
23984 rm -f conftest.
$ac_objext
23985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23986 (eval $ac_compile) 2>conftest.er1
23988 grep -v '^ *+' conftest.er1
>conftest.err
23990 cat conftest.err
>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); } &&
23993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; } &&
23999 { ac_try
='test -s conftest.$ac_objext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 echo "$as_me:$LINENO: result: yes" >&5
24006 echo "${ECHO_T}yes" >&6
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 echo "$as_me:$LINENO: result: no" >&5
24012 echo "${ECHO_T}no" >&6
24013 if test "$wxUSE_STL" = "yes"; then
24014 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24015 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24016 { (exit 1); exit 1; }; }
24017 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
24018 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24019 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24020 { (exit 1); exit 1; }; }
24022 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24023 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24024 wxUSE_STD_STRING
=no
24029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24035 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24036 echo "$as_me:$LINENO: checking for std::istream" >&5
24037 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24038 if test "${ac_cv_type_std__istream+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24041 cat >conftest.
$ac_ext <<_ACEOF
24044 cat confdefs.h
>>conftest.
$ac_ext
24045 cat >>conftest.
$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24047 #include <iostream>
24052 if ((std::istream *) 0)
24054 if (sizeof (std::istream))
24060 rm -f conftest.
$ac_objext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24062 (eval $ac_compile) 2>conftest.er1
24064 grep -v '^ *+' conftest.er1
>conftest.err
24066 cat conftest.err
>&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try
='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 ac_cv_type_std__istream
=yes
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.
$ac_ext >&5
24086 ac_cv_type_std__istream
=no
24088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24090 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24091 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24092 if test $ac_cv_type_std__istream = yes; then
24094 cat >>confdefs.h
<<_ACEOF
24095 #define HAVE_STD__ISTREAM 1
24100 wxUSE_STD_IOSTREAM
=no
24102 echo "$as_me:$LINENO: checking for std::ostream" >&5
24103 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24104 if test "${ac_cv_type_std__ostream+set}" = set; then
24105 echo $ECHO_N "(cached) $ECHO_C" >&6
24107 cat >conftest.
$ac_ext <<_ACEOF
24110 cat confdefs.h
>>conftest.
$ac_ext
24111 cat >>conftest.
$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 #include <iostream>
24118 if ((std::ostream *) 0)
24120 if (sizeof (std::ostream))
24126 rm -f conftest.
$ac_objext
24127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24128 (eval $ac_compile) 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); } &&
24135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try
='test -s conftest.$ac_objext'
24142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24143 (eval $ac_try) 2>&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); }; }; then
24147 ac_cv_type_std__ostream
=yes
24149 echo "$as_me: failed program was:" >&5
24150 sed 's/^/| /' conftest.
$ac_ext >&5
24152 ac_cv_type_std__ostream
=no
24154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24156 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24157 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24158 if test $ac_cv_type_std__ostream = yes; then
24160 cat >>confdefs.h
<<_ACEOF
24161 #define HAVE_STD__OSTREAM 1
24166 wxUSE_STD_IOSTREAM
=no
24170 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24171 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24172 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24173 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24174 { (exit 1); exit 1; }; }
24176 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24177 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24182 if test "$wxUSE_STL" = "yes"; then
24183 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24184 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24185 cat >conftest.
$ac_ext <<_ACEOF
24188 cat confdefs.h
>>conftest.
$ac_ext
24189 cat >>conftest.
$ac_ext <<_ACEOF
24190 /* end confdefs.h. */
24192 #include <functional>
24193 #include <algorithm>
24199 std::vector<int> moo;
24200 std::list<int> foo;
24201 std::vector<int>::iterator it =
24202 std::find_if(moo.begin(), moo.end(),
24203 std::bind2nd(std::less<int>(), 3));
24208 rm -f conftest.
$ac_objext
24209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24210 (eval $ac_compile) 2>conftest.er1
24212 grep -v '^ *+' conftest.er1
>conftest.err
24214 cat conftest.err
>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } &&
24217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; } &&
24223 { ac_try
='test -s conftest.$ac_objext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 echo "$as_me:$LINENO: result: yes" >&5
24230 echo "${ECHO_T}yes" >&6
24232 echo "$as_me: failed program was:" >&5
24233 sed 's/^/| /' conftest.
$ac_ext >&5
24235 echo "$as_me:$LINENO: result: no" >&5
24236 echo "${ECHO_T}no" >&6
24237 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24238 echo "$as_me: error: Basic STL functionality missing" >&2;}
24239 { (exit 1); exit 1; }; }
24241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24243 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24244 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24245 cat >conftest.
$ac_ext <<_ACEOF
24248 cat confdefs.h
>>conftest.
$ac_ext
24249 cat >>conftest.
$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24255 std::string foo, bar;
24257 foo.compare(1, 1, bar);
24258 foo.compare(1, 1, bar, 1, 1);
24260 foo.compare(1, 1, "");
24261 foo.compare(1, 1, "", 2);
24266 rm -f conftest.
$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24270 grep -v '^ *+' conftest.er1
>conftest.err
24272 cat conftest.err
>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277 (eval $ac_try) 2>&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; } &&
24281 { ac_try
='test -s conftest.$ac_objext'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 echo "$as_me:$LINENO: result: yes" >&5
24288 echo "${ECHO_T}yes" >&6
24289 cat >>confdefs.h
<<\_ACEOF
24290 #define HAVE_STD_STRING_COMPARE 1
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.
$ac_ext >&5
24297 echo "$as_me:$LINENO: result: no" >&5
24298 echo "${ECHO_T}no" >&6
24300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24302 if test "${ac_cv_header_hash_map+set}" = set; then
24303 echo "$as_me:$LINENO: checking for hash_map" >&5
24304 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24305 if test "${ac_cv_header_hash_map+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24309 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24311 # Is the header compilable?
24312 echo "$as_me:$LINENO: checking hash_map usability" >&5
24313 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24314 cat >conftest.
$ac_ext <<_ACEOF
24317 cat confdefs.h
>>conftest.
$ac_ext
24318 cat >>conftest.
$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 $ac_includes_default
24321 #include <hash_map>
24323 rm -f conftest.
$ac_objext
24324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24325 (eval $ac_compile) 2>conftest.er1
24327 grep -v '^ *+' conftest.er1
>conftest.err
24329 cat conftest.err
>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); } &&
24332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; } &&
24338 { ac_try
='test -s conftest.$ac_objext'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_header_compiler
=yes
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.
$ac_ext >&5
24349 ac_header_compiler
=no
24351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24353 echo "${ECHO_T}$ac_header_compiler" >&6
24355 # Is the header present?
24356 echo "$as_me:$LINENO: checking hash_map presence" >&5
24357 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24358 cat >conftest.
$ac_ext <<_ACEOF
24361 cat confdefs.h
>>conftest.
$ac_ext
24362 cat >>conftest.
$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 #include <hash_map>
24366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24369 grep -v '^ *+' conftest.er1
>conftest.err
24371 cat conftest.err
>&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } >/dev
/null
; then
24374 if test -s conftest.err
; then
24375 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24376 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24383 if test -z "$ac_cpp_err"; then
24384 ac_header_preproc
=yes
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 ac_header_preproc
=no
24391 rm -f conftest.err conftest.
$ac_ext
24392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24393 echo "${ECHO_T}$ac_header_preproc" >&6
24395 # So? What about this header?
24396 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24398 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24399 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24400 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24401 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24402 ac_header_preproc
=yes
24405 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24406 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24407 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24408 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24409 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24410 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24411 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24412 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24413 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24414 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24416 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24419 ## ----------------------------------------- ##
24420 ## Report this to wx-dev@lists.wxwidgets.org ##
24421 ## ----------------------------------------- ##
24424 sed "s/^/$as_me: WARNING: /" >&2
24427 echo "$as_me:$LINENO: checking for hash_map" >&5
24428 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24429 if test "${ac_cv_header_hash_map+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 ac_cv_header_hash_map
=$ac_header_preproc
24434 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24435 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24438 if test $ac_cv_header_hash_map = yes; then
24439 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24440 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24441 cat >conftest.
$ac_ext <<_ACEOF
24444 cat confdefs.h
>>conftest.
$ac_ext
24445 cat >>conftest.
$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 #include <hash_map>
24448 #include <hash_set>
24452 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24453 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24458 rm -f conftest.
$ac_objext
24459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24460 (eval $ac_compile) 2>conftest.er1
24462 grep -v '^ *+' conftest.er1
>conftest.err
24464 cat conftest.err
>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; } &&
24473 { ac_try
='test -s conftest.$ac_objext'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; }; then
24479 echo "$as_me:$LINENO: result: yes" >&5
24480 echo "${ECHO_T}yes" >&6
24481 cat >>confdefs.h
<<\_ACEOF
24482 #define HAVE_HASH_MAP 1
24485 cat >>confdefs.h
<<\_ACEOF
24486 #define HAVE_STD_HASH_MAP 1
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 echo "$as_me:$LINENO: result: no" >&5
24494 echo "${ECHO_T}no" >&6
24496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24502 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24503 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24504 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24509 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24511 # Is the header compilable?
24512 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24513 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24514 cat >conftest.
$ac_ext <<_ACEOF
24517 cat confdefs.h
>>conftest.
$ac_ext
24518 cat >>conftest.
$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520 $ac_includes_default
24521 #include <ext/hash_map>
24523 rm -f conftest.
$ac_objext
24524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24525 (eval $ac_compile) 2>conftest.er1
24527 grep -v '^ *+' conftest.er1
>conftest.err
24529 cat conftest.err
>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } &&
24532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try
='test -s conftest.$ac_objext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 ac_header_compiler
=yes
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.
$ac_ext >&5
24549 ac_header_compiler
=no
24551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24553 echo "${ECHO_T}$ac_header_compiler" >&6
24555 # Is the header present?
24556 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24557 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24558 cat >conftest.
$ac_ext <<_ACEOF
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <ext/hash_map>
24566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24569 grep -v '^ *+' conftest.er1
>conftest.err
24571 cat conftest.err
>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } >/dev
/null
; then
24574 if test -s conftest.err
; then
24575 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24576 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24583 if test -z "$ac_cpp_err"; then
24584 ac_header_preproc
=yes
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.
$ac_ext >&5
24589 ac_header_preproc
=no
24591 rm -f conftest.err conftest.
$ac_ext
24592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24593 echo "${ECHO_T}$ac_header_preproc" >&6
24595 # So? What about this header?
24596 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24598 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24599 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24600 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24601 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24602 ac_header_preproc
=yes
24605 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24606 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24607 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24608 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24609 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24610 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24611 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24612 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24613 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24614 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24615 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24616 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24619 ## ----------------------------------------- ##
24620 ## Report this to wx-dev@lists.wxwidgets.org ##
24621 ## ----------------------------------------- ##
24624 sed "s/^/$as_me: WARNING: /" >&2
24627 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24628 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24629 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 ac_cv_header_ext_hash_map
=$ac_header_preproc
24634 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24635 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24638 if test $ac_cv_header_ext_hash_map = yes; then
24639 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24640 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24641 cat >conftest.
$ac_ext <<_ACEOF
24644 cat confdefs.h
>>conftest.
$ac_ext
24645 cat >>conftest.
$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 #include <ext/hash_map>
24648 #include <ext/hash_set>
24652 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24653 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24658 rm -f conftest.
$ac_objext
24659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24660 (eval $ac_compile) 2>conftest.er1
24662 grep -v '^ *+' conftest.er1
>conftest.err
24664 cat conftest.err
>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
24667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; } &&
24673 { ac_try
='test -s conftest.$ac_objext'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; }; then
24679 echo "$as_me:$LINENO: result: yes" >&5
24680 echo "${ECHO_T}yes" >&6
24681 cat >>confdefs.h
<<\_ACEOF
24682 #define HAVE_EXT_HASH_MAP 1
24685 cat >>confdefs.h
<<\_ACEOF
24686 #define HAVE_GNU_CXX_HASH_MAP 1
24690 echo "$as_me: failed program was:" >&5
24691 sed 's/^/| /' conftest.
$ac_ext >&5
24693 echo "$as_me:$LINENO: result: no" >&5
24694 echo "${ECHO_T}no" >&6
24696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24705 /usr/local/include \
24707 /usr/Motif-2.1/include \
24708 /usr/Motif-1.2/include \
24709 /usr/include/Motif1.2 \
24712 /usr/openwin/include \
24716 /usr/X11R6/include \
24717 /usr/X11R6.4/include \
24718 /usr/X11R5/include \
24719 /usr/X11R4/include \
24721 /usr/include/X11R6 \
24722 /usr/include/X11R5 \
24723 /usr/include/X11R4 \
24725 /usr/local/X11R6/include \
24726 /usr/local/X11R5/include \
24727 /usr/local/X11R4/include \
24729 /usr/local/include/X11R6 \
24730 /usr/local/include/X11R5 \
24731 /usr/local/include/X11R4 \
24735 /usr/local/X11/include \
24736 /usr/local/include/X11 \
24738 /usr/XFree86/include/X11 \
24741 /usr/openwin/share/include"
24743 echo "$as_me:$LINENO: checking for libraries directory" >&5
24744 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24748 if test "${wx_cv_std_libpath+set}" = set; then
24749 echo $ECHO_N "(cached) $ECHO_C" >&6
24752 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24753 for e
in a so sl dylib dll.a
; do
24755 if test -f $libc; then
24758 cat >conftest.
$ac_ext <<_ACEOF
24759 int main() { return 0; }
24761 rm -f conftest.
$ac_objext conftest
$ac_exeext
24762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24763 (eval $ac_link) 2>conftest.er1
24765 grep -v '^ *+' conftest.er1
>conftest.err
24767 cat conftest.err
>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } &&
24770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; } &&
24776 { ac_try
='test -s conftest$ac_exeext'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24784 echo "$as_me: failed program was:" >&5
24785 sed 's/^/| /' conftest.
$ac_ext >&5
24788 rm -f conftest.err conftest.
$ac_objext \
24789 conftest
$ac_exeext conftest.
$ac_ext
24791 if test "x$wx_cv_std_libpath" != "x"; then
24797 if test "x$wx_cv_std_libpath" = "x"; then
24798 wx_cv_std_libpath
="lib"
24807 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24808 wx_cv_std_libpath
="lib/64"
24810 wx_cv_std_libpath
="lib"
24815 if test "$ac_cv_sizeof_void_p" = 8 -a \
24816 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24817 wx_cv_std_libpath
="lib64"
24819 wx_cv_std_libpath
="lib"
24824 wx_cv_std_libpath
="lib";
24828 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24829 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24831 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24833 if test "$build" != "$host" -a "$GCC" = yes; then
24834 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24835 cross_root
=`dirname $cross_root`
24836 cross_root
=`dirname $cross_root`
24838 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24839 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24840 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24842 if test -z "$PKG_CONFIG_PATH"; then
24843 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24844 export PKG_CONFIG_PATH
24847 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24850 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24852 if test -f "$ac_dir/X11/Intrinsic.h"; then
24853 ac_find_includes
=$ac_dir
24858 x_includes
=$ac_find_includes
24860 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24863 for ac_dir
in $SEARCH_LIB;
24865 for ac_extension
in a so sl dylib dll.a
; do
24866 if test -f "$ac_dir/libXt.$ac_extension"; then
24867 ac_find_libraries
=$ac_dir
24873 x_libraries
=$ac_find_libraries
24879 cat >confcache
<<\_ACEOF
24880 # This file is a shell script that caches the results of configure
24881 # tests run on this system so they can be shared between configure
24882 # scripts and configure runs, see configure's option --config-cache.
24883 # It is not useful on other systems. If it contains results you don't
24884 # want to keep, you may remove or edit it.
24886 # config.status only pays attention to the cache file if you give it
24887 # the --recheck option to rerun configure.
24889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24891 # following values.
24895 # The following way of writing the cache mishandles newlines in values,
24896 # but we know of no workaround that is simple, portable, and efficient.
24897 # So, don't put newlines in cache variables' values.
24898 # Ultrix sh set writes to stderr and can't be redirected directly,
24899 # and sets the high bit in the cache file unless we assign to the vars.
24902 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24904 # `set' does not quote correctly, so add quotes (double-quote
24905 # substitution turns \\\\ into \\, and sed turns \\ into \).
24908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24911 # `set' quotes correctly as required by POSIX, so do not add quotes.
24913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24924 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24925 if test -w $cache_file; then
24926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24927 cat confcache
>$cache_file
24929 echo "not updating unwritable cache $cache_file"
24934 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24935 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24936 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24937 if test "${wx_cv_lib_glibc21+set}" = set; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 cat >conftest.
$ac_ext <<_ACEOF
24944 cat confdefs.h
>>conftest.
$ac_ext
24945 cat >>conftest.
$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 #include <features.h>
24952 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24960 rm -f conftest.
$ac_objext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24962 (eval $ac_compile) 2>conftest.er1
24964 grep -v '^ *+' conftest.er1
>conftest.err
24966 cat conftest.err
>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; } &&
24975 { ac_try
='test -s conftest.$ac_objext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24982 wx_cv_lib_glibc21
=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.
$ac_ext >&5
24989 wx_cv_lib_glibc21
=no
24993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24996 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24997 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24998 if test "$wx_cv_lib_glibc21" = "yes"; then
24999 cat >>confdefs.h
<<\_ACEOF
25000 #define wxHAVE_GLIBC2 1
25006 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25007 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25008 cat >>confdefs.h
<<\_ACEOF
25009 #define _GNU_SOURCE 1
25020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25021 echo "$as_me:$LINENO: checking for $ac_func" >&5
25022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25023 if eval "test \"\${$as_ac_var+set}\" = set"; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 cat >conftest.
$ac_ext <<_ACEOF
25029 cat confdefs.h
>>conftest.
$ac_ext
25030 cat >>conftest.
$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25034 #define $ac_func innocuous_$ac_func
25036 /* System header to define __stub macros and hopefully few prototypes,
25037 which can conflict with char $ac_func (); below.
25038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25039 <limits.h> exists even on freestanding compilers. */
25042 # include <limits.h>
25044 # include <assert.h>
25049 /* Override any gcc2 internal prototype to avoid an error. */
25054 /* We use char because int might match the return type of a gcc2
25055 builtin and then its argument prototype would still apply. */
25057 /* The GNU C library defines this for functions which it implements
25058 to always fail with ENOSYS. Some functions are actually named
25059 something starting with __ and the normal name is an alias. */
25060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25063 char (*f) () = $ac_func;
25072 return f != $ac_func;
25077 rm -f conftest.
$ac_objext conftest
$ac_exeext
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>conftest.er1
25081 grep -v '^ *+' conftest.er1
>conftest.err
25083 cat conftest.err
>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); } &&
25086 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25088 (eval $ac_try) 2>&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); }; } &&
25092 { ac_try
='test -s conftest$ac_exeext'
25093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25094 (eval $ac_try) 2>&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; }; then
25098 eval "$as_ac_var=yes"
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.
$ac_ext >&5
25103 eval "$as_ac_var=no"
25105 rm -f conftest.err conftest.
$ac_objext \
25106 conftest
$ac_exeext conftest.
$ac_ext
25108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25110 if test `eval echo '${'$as_ac_var'}'` = yes; then
25111 cat >>confdefs.h
<<_ACEOF
25112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25119 for ac_func
in floor
25121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25122 echo "$as_me:$LINENO: checking for $ac_func" >&5
25123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25124 if eval "test \"\${$as_ac_var+set}\" = set"; then
25125 echo $ECHO_N "(cached) $ECHO_C" >&6
25127 cat >conftest.
$ac_ext <<_ACEOF
25130 cat confdefs.h
>>conftest.
$ac_ext
25131 cat >>conftest.
$ac_ext <<_ACEOF
25132 /* end confdefs.h. */
25133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25135 #define $ac_func innocuous_$ac_func
25137 /* System header to define __stub macros and hopefully few prototypes,
25138 which can conflict with char $ac_func (); below.
25139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25140 <limits.h> exists even on freestanding compilers. */
25143 # include <limits.h>
25145 # include <assert.h>
25150 /* Override any gcc2 internal prototype to avoid an error. */
25155 /* We use char because int might match the return type of a gcc2
25156 builtin and then its argument prototype would still apply. */
25158 /* The GNU C library defines this for functions which it implements
25159 to always fail with ENOSYS. Some functions are actually named
25160 something starting with __ and the normal name is an alias. */
25161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25164 char (*f) () = $ac_func;
25173 return f != $ac_func;
25178 rm -f conftest.
$ac_objext conftest
$ac_exeext
25179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25180 (eval $ac_link) 2>conftest.er1
25182 grep -v '^ *+' conftest.er1
>conftest.err
25184 cat conftest.err
>&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } &&
25187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try
='test -s conftest$ac_exeext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25199 eval "$as_ac_var=yes"
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.
$ac_ext >&5
25204 eval "$as_ac_var=no"
25206 rm -f conftest.err conftest.
$ac_objext \
25207 conftest
$ac_exeext conftest.
$ac_ext
25209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25211 if test `eval echo '${'$as_ac_var'}'` = yes; then
25212 cat >>confdefs.h
<<_ACEOF
25213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25219 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25220 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25221 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25222 echo "$as_me:$LINENO: result: yes" >&5
25223 echo "${ECHO_T}yes" >&6
25225 echo "$as_me:$LINENO: result: no" >&5
25226 echo "${ECHO_T}no" >&6
25228 # use different functions to avoid configure caching
25234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25235 echo "$as_me:$LINENO: checking for $ac_func" >&5
25236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25237 if eval "test \"\${$as_ac_var+set}\" = set"; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25240 cat >conftest.
$ac_ext <<_ACEOF
25243 cat confdefs.h
>>conftest.
$ac_ext
25244 cat >>conftest.
$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25248 #define $ac_func innocuous_$ac_func
25250 /* System header to define __stub macros and hopefully few prototypes,
25251 which can conflict with char $ac_func (); below.
25252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25253 <limits.h> exists even on freestanding compilers. */
25256 # include <limits.h>
25258 # include <assert.h>
25263 /* Override any gcc2 internal prototype to avoid an error. */
25268 /* We use char because int might match the return type of a gcc2
25269 builtin and then its argument prototype would still apply. */
25271 /* The GNU C library defines this for functions which it implements
25272 to always fail with ENOSYS. Some functions are actually named
25273 something starting with __ and the normal name is an alias. */
25274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25277 char (*f) () = $ac_func;
25286 return f != $ac_func;
25291 rm -f conftest.
$ac_objext conftest
$ac_exeext
25292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25293 (eval $ac_link) 2>conftest.er1
25295 grep -v '^ *+' conftest.er1
>conftest.err
25297 cat conftest.err
>&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); } &&
25300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; } &&
25306 { ac_try
='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 eval "$as_ac_var=yes"
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.
$ac_ext >&5
25317 eval "$as_ac_var=no"
25319 rm -f conftest.err conftest.
$ac_objext \
25320 conftest
$ac_exeext conftest.
$ac_ext
25322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h
<<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25333 for ac_func
in ceil
25335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25336 echo "$as_me:$LINENO: checking for $ac_func" >&5
25337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25338 if eval "test \"\${$as_ac_var+set}\" = set"; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25341 cat >conftest.
$ac_ext <<_ACEOF
25344 cat confdefs.h
>>conftest.
$ac_ext
25345 cat >>conftest.
$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25349 #define $ac_func innocuous_$ac_func
25351 /* System header to define __stub macros and hopefully few prototypes,
25352 which can conflict with char $ac_func (); below.
25353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25354 <limits.h> exists even on freestanding compilers. */
25357 # include <limits.h>
25359 # include <assert.h>
25364 /* Override any gcc2 internal prototype to avoid an error. */
25369 /* We use char because int might match the return type of a gcc2
25370 builtin and then its argument prototype would still apply. */
25372 /* The GNU C library defines this for functions which it implements
25373 to always fail with ENOSYS. Some functions are actually named
25374 something starting with __ and the normal name is an alias. */
25375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25378 char (*f) () = $ac_func;
25387 return f != $ac_func;
25392 rm -f conftest.
$ac_objext conftest
$ac_exeext
25393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25394 (eval $ac_link) 2>conftest.er1
25396 grep -v '^ *+' conftest.er1
>conftest.err
25398 cat conftest.err
>&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); } &&
25401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; } &&
25407 { ac_try
='test -s conftest$ac_exeext'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; }; then
25413 eval "$as_ac_var=yes"
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.
$ac_ext >&5
25418 eval "$as_ac_var=no"
25420 rm -f conftest.err conftest.
$ac_objext \
25421 conftest
$ac_exeext conftest.
$ac_ext
25423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25425 if test `eval echo '${'$as_ac_var'}'` = yes; then
25426 cat >>confdefs.h
<<_ACEOF
25427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25433 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25434 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25435 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25436 echo "$as_me:$LINENO: result: yes" >&5
25437 echo "${ECHO_T}yes" >&6
25439 echo "$as_me:$LINENO: result: no" >&5
25440 echo "${ECHO_T}no" >&6
25441 # not sure we should warn the user, crash, etc.
25445 if test "wxUSE_UNICODE" = "yes"; then
25447 for ac_func
in wcstoull
25449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25450 echo "$as_me:$LINENO: checking for $ac_func" >&5
25451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25452 if eval "test \"\${$as_ac_var+set}\" = set"; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 cat >conftest.
$ac_ext <<_ACEOF
25458 cat confdefs.h
>>conftest.
$ac_ext
25459 cat >>conftest.
$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25463 #define $ac_func innocuous_$ac_func
25465 /* System header to define __stub macros and hopefully few prototypes,
25466 which can conflict with char $ac_func (); below.
25467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25468 <limits.h> exists even on freestanding compilers. */
25471 # include <limits.h>
25473 # include <assert.h>
25478 /* Override any gcc2 internal prototype to avoid an error. */
25483 /* We use char because int might match the return type of a gcc2
25484 builtin and then its argument prototype would still apply. */
25486 /* The GNU C library defines this for functions which it implements
25487 to always fail with ENOSYS. Some functions are actually named
25488 something starting with __ and the normal name is an alias. */
25489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25492 char (*f) () = $ac_func;
25501 return f != $ac_func;
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1
>conftest.err
25512 cat conftest.err
>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; } &&
25521 { ac_try
='test -s conftest$ac_exeext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 eval "$as_ac_var=yes"
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.
$ac_ext >&5
25532 eval "$as_ac_var=no"
25534 rm -f conftest.err conftest.
$ac_objext \
25535 conftest
$ac_exeext conftest.
$ac_ext
25537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25539 if test `eval echo '${'$as_ac_var'}'` = yes; then
25540 cat >>confdefs.h
<<_ACEOF
25541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25549 for ac_func
in strtoull
25551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25552 echo "$as_me:$LINENO: checking for $ac_func" >&5
25553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25554 if eval "test \"\${$as_ac_var+set}\" = set"; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 cat >conftest.
$ac_ext <<_ACEOF
25560 cat confdefs.h
>>conftest.
$ac_ext
25561 cat >>conftest.
$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25565 #define $ac_func innocuous_$ac_func
25567 /* System header to define __stub macros and hopefully few prototypes,
25568 which can conflict with char $ac_func (); below.
25569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25570 <limits.h> exists even on freestanding compilers. */
25573 # include <limits.h>
25575 # include <assert.h>
25580 /* Override any gcc2 internal prototype to avoid an error. */
25585 /* We use char because int might match the return type of a gcc2
25586 builtin and then its argument prototype would still apply. */
25588 /* The GNU C library defines this for functions which it implements
25589 to always fail with ENOSYS. Some functions are actually named
25590 something starting with __ and the normal name is an alias. */
25591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25594 char (*f) () = $ac_func;
25603 return f != $ac_func;
25608 rm -f conftest.
$ac_objext conftest
$ac_exeext
25609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25610 (eval $ac_link) 2>conftest.er1
25612 grep -v '^ *+' conftest.er1
>conftest.err
25614 cat conftest.err
>&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } &&
25617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619 (eval $ac_try) 2>&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; } &&
25623 { ac_try
='test -s conftest$ac_exeext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 eval "$as_ac_var=yes"
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.
$ac_ext >&5
25634 eval "$as_ac_var=no"
25636 rm -f conftest.err conftest.
$ac_objext \
25637 conftest
$ac_exeext conftest.
$ac_ext
25639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25641 if test `eval echo '${'$as_ac_var'}'` = yes; then
25642 cat >>confdefs.h
<<_ACEOF
25643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25653 if test "$wxUSE_REGEX" != "no"; then
25654 cat >>confdefs.h
<<\_ACEOF
25655 #define wxUSE_REGEX 1
25659 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25660 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25661 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25662 wxUSE_REGEX
=builtin
25665 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25666 if test "${ac_cv_header_regex_h+set}" = set; then
25667 echo "$as_me:$LINENO: checking for regex.h" >&5
25668 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25669 if test "${ac_cv_header_regex_h+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25673 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25675 # Is the header compilable?
25676 echo "$as_me:$LINENO: checking regex.h usability" >&5
25677 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25678 cat >conftest.
$ac_ext <<_ACEOF
25681 cat confdefs.h
>>conftest.
$ac_ext
25682 cat >>conftest.
$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 $ac_includes_default
25687 rm -f conftest.
$ac_objext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25689 (eval $ac_compile) 2>conftest.er1
25691 grep -v '^ *+' conftest.er1
>conftest.err
25693 cat conftest.err
>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try
='test -s conftest.$ac_objext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 ac_header_compiler
=yes
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.
$ac_ext >&5
25713 ac_header_compiler
=no
25715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25717 echo "${ECHO_T}$ac_header_compiler" >&6
25719 # Is the header present?
25720 echo "$as_me:$LINENO: checking regex.h presence" >&5
25721 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25722 cat >conftest.
$ac_ext <<_ACEOF
25725 cat confdefs.h
>>conftest.
$ac_ext
25726 cat >>conftest.
$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25733 grep -v '^ *+' conftest.er1
>conftest.err
25735 cat conftest.err
>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } >/dev
/null
; then
25738 if test -s conftest.err
; then
25739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25747 if test -z "$ac_cpp_err"; then
25748 ac_header_preproc
=yes
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.
$ac_ext >&5
25753 ac_header_preproc
=no
25755 rm -f conftest.err conftest.
$ac_ext
25756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25757 echo "${ECHO_T}$ac_header_preproc" >&6
25759 # So? What about this header?
25760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25762 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25763 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25765 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25766 ac_header_preproc
=yes
25769 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25770 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25771 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25772 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25773 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25774 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25775 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25776 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25777 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25778 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25779 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25780 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25783 ## ----------------------------------------- ##
25784 ## Report this to wx-dev@lists.wxwidgets.org ##
25785 ## ----------------------------------------- ##
25788 sed "s/^/$as_me: WARNING: /" >&2
25791 echo "$as_me:$LINENO: checking for regex.h" >&5
25792 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25793 if test "${ac_cv_header_regex_h+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 ac_cv_header_regex_h
=$ac_header_preproc
25798 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25799 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25802 if test $ac_cv_header_regex_h = yes; then
25805 for ac_func
in regcomp re_search
25807 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25808 echo "$as_me:$LINENO: checking for $ac_func" >&5
25809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25810 if eval "test \"\${$as_ac_var+set}\" = set"; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 cat >conftest.
$ac_ext <<_ACEOF
25816 cat confdefs.h
>>conftest.
$ac_ext
25817 cat >>conftest.
$ac_ext <<_ACEOF
25818 /* end confdefs.h. */
25819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25821 #define $ac_func innocuous_$ac_func
25823 /* System header to define __stub macros and hopefully few prototypes,
25824 which can conflict with char $ac_func (); below.
25825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25826 <limits.h> exists even on freestanding compilers. */
25829 # include <limits.h>
25831 # include <assert.h>
25836 /* Override any gcc2 internal prototype to avoid an error. */
25841 /* We use char because int might match the return type of a gcc2
25842 builtin and then its argument prototype would still apply. */
25844 /* The GNU C library defines this for functions which it implements
25845 to always fail with ENOSYS. Some functions are actually named
25846 something starting with __ and the normal name is an alias. */
25847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25850 char (*f) () = $ac_func;
25859 return f != $ac_func;
25864 rm -f conftest.
$ac_objext conftest
$ac_exeext
25865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25866 (eval $ac_link) 2>conftest.er1
25868 grep -v '^ *+' conftest.er1
>conftest.err
25870 cat conftest.err
>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try
='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 eval "$as_ac_var=yes"
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.
$ac_ext >&5
25890 eval "$as_ac_var=no"
25892 rm -f conftest.err conftest.
$ac_objext \
25893 conftest
$ac_exeext conftest.
$ac_ext
25895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25897 if test `eval echo '${'$as_ac_var'}'` = yes; then
25898 cat >>confdefs.h
<<_ACEOF
25899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25909 if test "x$ac_cv_func_regcomp" != "xyes"; then
25910 if test "$wxUSE_REGEX" = "sys" ; then
25911 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25912 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25913 { (exit 1); exit 1; }; }
25915 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25916 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25917 wxUSE_REGEX
=builtin
25921 cat >>confdefs.h
<<\_ACEOF
25922 #define WX_NO_REGEX_ADVANCED 1
25931 if test "$wxUSE_ZLIB" != "no" ; then
25932 cat >>confdefs.h
<<\_ACEOF
25933 #define wxUSE_ZLIB 1
25937 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25938 if test "$USE_DARWIN" = 1; then
25939 system_zlib_h_ok
="yes"
25941 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25942 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25943 if test "${ac_cv_header_zlib_h+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 if test "$cross_compiling" = yes; then
25947 unset ac_cv_header_zlib_h
25950 cat >conftest.
$ac_ext <<_ACEOF
25953 cat confdefs.h
>>conftest.
$ac_ext
25954 cat >>conftest.
$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25962 FILE *f=fopen("conftestval", "w");
25965 ZLIB_VERSION[0] == '1' &&
25966 (ZLIB_VERSION[2] > '1' ||
25967 (ZLIB_VERSION[2] == '1' &&
25968 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25973 rm -f conftest
$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25984 ac_cv_header_zlib_h
=`cat conftestval`
25986 echo "$as_me: program exited with status $ac_status" >&5
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.
$ac_ext >&5
25990 ( exit $ac_status )
25991 ac_cv_header_zlib_h
=no
25993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25997 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25998 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25999 if test "${ac_cv_header_zlib_h+set}" = set; then
26000 echo "$as_me:$LINENO: checking for zlib.h" >&5
26001 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26002 if test "${ac_cv_header_zlib_h+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26006 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26008 # Is the header compilable?
26009 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26010 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26011 cat >conftest.
$ac_ext <<_ACEOF
26014 cat confdefs.h
>>conftest.
$ac_ext
26015 cat >>conftest.
$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 $ac_includes_default
26020 rm -f conftest.
$ac_objext
26021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26022 (eval $ac_compile) 2>conftest.er1
26024 grep -v '^ *+' conftest.er1
>conftest.err
26026 cat conftest.err
>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } &&
26029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; } &&
26035 { ac_try
='test -s conftest.$ac_objext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 ac_header_compiler
=yes
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.
$ac_ext >&5
26046 ac_header_compiler
=no
26048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26050 echo "${ECHO_T}$ac_header_compiler" >&6
26052 # Is the header present?
26053 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26054 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26055 cat >conftest.
$ac_ext <<_ACEOF
26058 cat confdefs.h
>>conftest.
$ac_ext
26059 cat >>conftest.
$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26066 grep -v '^ *+' conftest.er1
>conftest.err
26068 cat conftest.err
>&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); } >/dev
/null
; then
26071 if test -s conftest.err
; then
26072 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26073 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26080 if test -z "$ac_cpp_err"; then
26081 ac_header_preproc
=yes
26083 echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.
$ac_ext >&5
26086 ac_header_preproc
=no
26088 rm -f conftest.err conftest.
$ac_ext
26089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26090 echo "${ECHO_T}$ac_header_preproc" >&6
26092 # So? What about this header?
26093 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26095 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26096 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26097 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26098 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26099 ac_header_preproc
=yes
26102 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26103 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26104 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26105 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26106 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26107 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26108 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26109 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26110 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26111 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26112 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26113 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26116 ## ----------------------------------------- ##
26117 ## Report this to wx-dev@lists.wxwidgets.org ##
26118 ## ----------------------------------------- ##
26121 sed "s/^/$as_me: WARNING: /" >&2
26124 echo "$as_me:$LINENO: checking for zlib.h" >&5
26125 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26126 if test "${ac_cv_header_zlib_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 ac_cv_header_zlib_h
=$ac_header_preproc
26131 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26132 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26138 system_zlib_h_ok
=$ac_cv_header_zlib_h
26141 if test "$system_zlib_h_ok" = "yes"; then
26142 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26143 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26144 if test "${ac_cv_lib_z_deflate+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 ac_check_lib_save_LIBS
=$LIBS
26149 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26156 /* Override any gcc2 internal prototype to avoid an error. */
26160 /* We use char because int might match the return type of a gcc2
26161 builtin and then its argument prototype would still apply. */
26171 rm -f conftest.
$ac_objext conftest
$ac_exeext
26172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26173 (eval $ac_link) 2>conftest.er1
26175 grep -v '^ *+' conftest.er1
>conftest.err
26177 cat conftest.err
>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try
='test -s conftest$ac_exeext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_lib_z_deflate
=yes
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.
$ac_ext >&5
26197 ac_cv_lib_z_deflate
=no
26199 rm -f conftest.err conftest.
$ac_objext \
26200 conftest
$ac_exeext conftest.
$ac_ext
26201 LIBS
=$ac_check_lib_save_LIBS
26203 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26204 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26205 if test $ac_cv_lib_z_deflate = yes; then
26211 if test "x$ZLIB_LINK" = "x" ; then
26212 if test "$wxUSE_ZLIB" = "sys" ; then
26213 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26214 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26215 { (exit 1); exit 1; }; }
26217 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26218 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26229 if test "$wxUSE_LIBPNG" != "no" ; then
26230 cat >>confdefs.h
<<\_ACEOF
26231 #define wxUSE_LIBPNG 1
26235 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26236 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26237 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26241 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26242 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26243 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26244 wxUSE_LIBPNG
=builtin
26247 if test "$wxUSE_MGL" != 1 ; then
26248 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26249 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26250 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26251 if test "${ac_cv_header_png_h+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 if test "$cross_compiling" = yes; then
26255 unset ac_cv_header_png_h
26258 cat >conftest.
$ac_ext <<_ACEOF
26261 cat confdefs.h
>>conftest.
$ac_ext
26262 cat >>conftest.
$ac_ext <<_ACEOF
26263 /* end confdefs.h. */
26270 FILE *f=fopen("conftestval", "w");
26273 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26278 rm -f conftest
$ac_exeext
26279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26280 (eval $ac_link) 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; }; then
26289 ac_cv_header_png_h
=`cat conftestval`
26291 echo "$as_me: program exited with status $ac_status" >&5
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.
$ac_ext >&5
26295 ( exit $ac_status )
26296 ac_cv_header_png_h
=no
26298 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26302 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26303 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26304 if test "${ac_cv_header_png_h+set}" = set; then
26305 echo "$as_me:$LINENO: checking for png.h" >&5
26306 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26307 if test "${ac_cv_header_png_h+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26311 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26313 # Is the header compilable?
26314 echo "$as_me:$LINENO: checking png.h usability" >&5
26315 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26316 cat >conftest.
$ac_ext <<_ACEOF
26319 cat confdefs.h
>>conftest.
$ac_ext
26320 cat >>conftest.
$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 $ac_includes_default
26325 rm -f conftest.
$ac_objext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26327 (eval $ac_compile) 2>conftest.er1
26329 grep -v '^ *+' conftest.er1
>conftest.err
26331 cat conftest.err
>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try
='test -s conftest.$ac_objext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 ac_header_compiler
=yes
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.
$ac_ext >&5
26351 ac_header_compiler
=no
26353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26355 echo "${ECHO_T}$ac_header_compiler" >&6
26357 # Is the header present?
26358 echo "$as_me:$LINENO: checking png.h presence" >&5
26359 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26360 cat >conftest.
$ac_ext <<_ACEOF
26363 cat confdefs.h
>>conftest.
$ac_ext
26364 cat >>conftest.
$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26371 grep -v '^ *+' conftest.er1
>conftest.err
26373 cat conftest.err
>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } >/dev
/null
; then
26376 if test -s conftest.err
; then
26377 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26378 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26385 if test -z "$ac_cpp_err"; then
26386 ac_header_preproc
=yes
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.
$ac_ext >&5
26391 ac_header_preproc
=no
26393 rm -f conftest.err conftest.
$ac_ext
26394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26395 echo "${ECHO_T}$ac_header_preproc" >&6
26397 # So? What about this header?
26398 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26400 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26401 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26402 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26403 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26404 ac_header_preproc
=yes
26407 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26408 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26409 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26410 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26411 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26412 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26413 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26414 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26416 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26418 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26421 ## ----------------------------------------- ##
26422 ## Report this to wx-dev@lists.wxwidgets.org ##
26423 ## ----------------------------------------- ##
26426 sed "s/^/$as_me: WARNING: /" >&2
26429 echo "$as_me:$LINENO: checking for png.h" >&5
26430 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26431 if test "${ac_cv_header_png_h+set}" = set; then
26432 echo $ECHO_N "(cached) $ECHO_C" >&6
26434 ac_cv_header_png_h
=$ac_header_preproc
26436 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26437 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26443 if test "$ac_cv_header_png_h" = "yes"; then
26444 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26445 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26446 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 ac_check_lib_save_LIBS
=$LIBS
26450 LIBS
="-lpng -lz -lm $LIBS"
26451 cat >conftest.
$ac_ext <<_ACEOF
26454 cat confdefs.h
>>conftest.
$ac_ext
26455 cat >>conftest.
$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26458 /* Override any gcc2 internal prototype to avoid an error. */
26462 /* We use char because int might match the return type of a gcc2
26463 builtin and then its argument prototype would still apply. */
26464 char png_check_sig ();
26473 rm -f conftest.
$ac_objext conftest
$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26477 grep -v '^ *+' conftest.er1
>conftest.err
26479 cat conftest.err
>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try
='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_lib_png_png_check_sig
=yes
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26499 ac_cv_lib_png_png_check_sig
=no
26501 rm -f conftest.err conftest.
$ac_objext \
26502 conftest
$ac_exeext conftest.
$ac_ext
26503 LIBS
=$ac_check_lib_save_LIBS
26505 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26506 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26507 if test $ac_cv_lib_png_png_check_sig = yes; then
26508 PNG_LINK
=" -lpng -lz"
26513 if test "x$PNG_LINK" = "x" ; then
26514 if test "$wxUSE_LIBPNG" = "sys" ; then
26515 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26516 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26517 { (exit 1); exit 1; }; }
26519 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26520 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26521 wxUSE_LIBPNG
=builtin
26529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26534 if test "$wxUSE_LIBJPEG" != "no" ; then
26535 cat >>confdefs.h
<<\_ACEOF
26536 #define wxUSE_LIBJPEG 1
26540 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26541 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26542 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26546 if test "$wxUSE_MGL" != 1 ; then
26547 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26548 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26549 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26550 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 cat >conftest.
$ac_ext <<_ACEOF
26556 cat confdefs.h
>>conftest.
$ac_ext
26557 cat >>conftest.
$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26560 #undef HAVE_STDLIB_H
26562 #include <jpeglib.h>
26573 rm -f conftest.
$ac_objext
26574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26575 (eval $ac_compile) 2>conftest.er1
26577 grep -v '^ *+' conftest.er1
>conftest.err
26579 cat conftest.err
>&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } &&
26582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; } &&
26588 { ac_try
='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 ac_cv_header_jpeglib_h
=yes
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.
$ac_ext >&5
26599 ac_cv_header_jpeglib_h
=no
26602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26606 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26607 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26610 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26611 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26615 ac_check_lib_save_LIBS
=$LIBS
26616 LIBS
="-ljpeg $LIBS"
26617 cat >conftest.
$ac_ext <<_ACEOF
26620 cat confdefs.h
>>conftest.
$ac_ext
26621 cat >>conftest.
$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26624 /* Override any gcc2 internal prototype to avoid an error. */
26628 /* We use char because int might match the return type of a gcc2
26629 builtin and then its argument prototype would still apply. */
26630 char jpeg_read_header ();
26634 jpeg_read_header ();
26639 rm -f conftest.
$ac_objext conftest
$ac_exeext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26641 (eval $ac_link) 2>conftest.er1
26643 grep -v '^ *+' conftest.er1
>conftest.err
26645 cat conftest.err
>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } &&
26648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; } &&
26654 { ac_try
='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 ac_cv_lib_jpeg_jpeg_read_header
=yes
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.
$ac_ext >&5
26665 ac_cv_lib_jpeg_jpeg_read_header
=no
26667 rm -f conftest.err conftest.
$ac_objext \
26668 conftest
$ac_exeext conftest.
$ac_ext
26669 LIBS
=$ac_check_lib_save_LIBS
26671 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26672 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26673 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26674 JPEG_LINK
=" -ljpeg"
26679 if test "x$JPEG_LINK" = "x" ; then
26680 if test "$wxUSE_LIBJPEG" = "sys" ; then
26681 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26682 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26683 { (exit 1); exit 1; }; }
26685 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26686 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26687 wxUSE_LIBJPEG
=builtin
26698 TIFF_PREREQ_LINKS
=-lm
26699 if test "$wxUSE_LIBTIFF" != "no" ; then
26700 cat >>confdefs.h
<<\_ACEOF
26701 #define wxUSE_LIBTIFF 1
26705 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26706 if test "$wxUSE_LIBJPEG" = "sys"; then
26707 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26709 if test "$wxUSE_ZLIB" = "sys"; then
26710 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26712 if test "${ac_cv_header_tiffio_h+set}" = set; then
26713 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26714 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26715 if test "${ac_cv_header_tiffio_h+set}" = set; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26718 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26719 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26721 # Is the header compilable?
26722 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26723 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26724 cat >conftest.
$ac_ext <<_ACEOF
26727 cat confdefs.h
>>conftest.
$ac_ext
26728 cat >>conftest.
$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 $ac_includes_default
26731 #include <tiffio.h>
26733 rm -f conftest.
$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26737 grep -v '^ *+' conftest.er1
>conftest.err
26739 cat conftest.err
>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try
='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 ac_header_compiler
=yes
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26759 ac_header_compiler
=no
26761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26763 echo "${ECHO_T}$ac_header_compiler" >&6
26765 # Is the header present?
26766 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26767 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26771 cat confdefs.h
>>conftest.
$ac_ext
26772 cat >>conftest.
$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 #include <tiffio.h>
26776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26779 grep -v '^ *+' conftest.er1
>conftest.err
26781 cat conftest.err
>&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } >/dev
/null
; then
26784 if test -s conftest.err
; then
26785 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26786 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26793 if test -z "$ac_cpp_err"; then
26794 ac_header_preproc
=yes
26796 echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.
$ac_ext >&5
26799 ac_header_preproc
=no
26801 rm -f conftest.err conftest.
$ac_ext
26802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26803 echo "${ECHO_T}$ac_header_preproc" >&6
26805 # So? What about this header?
26806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26808 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26809 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26811 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26812 ac_header_preproc
=yes
26815 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26816 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26818 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26820 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26822 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26824 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26826 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26829 ## ----------------------------------------- ##
26830 ## Report this to wx-dev@lists.wxwidgets.org ##
26831 ## ----------------------------------------- ##
26834 sed "s/^/$as_me: WARNING: /" >&2
26837 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26838 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26839 if test "${ac_cv_header_tiffio_h+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 ac_cv_header_tiffio_h
=$ac_header_preproc
26844 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26845 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26848 if test $ac_cv_header_tiffio_h = yes; then
26850 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26851 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26852 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 ac_check_lib_save_LIBS
=$LIBS
26856 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26857 cat >conftest.
$ac_ext <<_ACEOF
26860 cat confdefs.h
>>conftest.
$ac_ext
26861 cat >>conftest.
$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26864 /* Override any gcc2 internal prototype to avoid an error. */
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26879 rm -f conftest.
$ac_objext conftest
$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26883 grep -v '^ *+' conftest.er1
>conftest.err
26885 cat conftest.err
>&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try
='test -s conftest$ac_exeext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 ac_cv_lib_tiff_TIFFError
=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26905 ac_cv_lib_tiff_TIFFError
=no
26907 rm -f conftest.err conftest.
$ac_objext \
26908 conftest
$ac_exeext conftest.
$ac_ext
26909 LIBS
=$ac_check_lib_save_LIBS
26911 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26912 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26913 if test $ac_cv_lib_tiff_TIFFError = yes; then
26914 TIFF_LINK
=" -ltiff"
26923 if test "x$TIFF_LINK" = "x" ; then
26924 if test "$wxUSE_LIBTIFF" = "sys" ; then
26925 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26926 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26927 { (exit 1); exit 1; }; }
26929 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26930 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26931 wxUSE_LIBTIFF
=builtin
26940 if test "$wxUSE_WCHAR_T" != "yes"; then
26941 if test "$wxUSE_EXPAT" != "no"; then
26942 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26943 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26946 if test "$wxUSE_XML" != "no"; then
26947 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26948 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26953 if test "$wxUSE_EXPAT" != "no"; then
26955 cat >>confdefs.h
<<\_ACEOF
26956 #define wxUSE_EXPAT 1
26959 cat >>confdefs.h
<<\_ACEOF
26960 #define wxUSE_XML 1
26964 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26965 if test "${ac_cv_header_expat_h+set}" = set; then
26966 echo "$as_me:$LINENO: checking for expat.h" >&5
26967 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26968 if test "${ac_cv_header_expat_h+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26972 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26974 # Is the header compilable?
26975 echo "$as_me:$LINENO: checking expat.h usability" >&5
26976 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26977 cat >conftest.
$ac_ext <<_ACEOF
26980 cat confdefs.h
>>conftest.
$ac_ext
26981 cat >>conftest.
$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 $ac_includes_default
26986 rm -f conftest.
$ac_objext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26988 (eval $ac_compile) 2>conftest.er1
26990 grep -v '^ *+' conftest.er1
>conftest.err
26992 cat conftest.err
>&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; } &&
27001 { ac_try
='test -s conftest.$ac_objext'
27002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27003 (eval $ac_try) 2>&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); }; }; then
27007 ac_header_compiler
=yes
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.
$ac_ext >&5
27012 ac_header_compiler
=no
27014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27016 echo "${ECHO_T}$ac_header_compiler" >&6
27018 # Is the header present?
27019 echo "$as_me:$LINENO: checking expat.h presence" >&5
27020 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27021 cat >conftest.
$ac_ext <<_ACEOF
27024 cat confdefs.h
>>conftest.
$ac_ext
27025 cat >>conftest.
$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27032 grep -v '^ *+' conftest.er1
>conftest.err
27034 cat conftest.err
>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } >/dev
/null
; then
27037 if test -s conftest.err
; then
27038 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27039 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27046 if test -z "$ac_cpp_err"; then
27047 ac_header_preproc
=yes
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.
$ac_ext >&5
27052 ac_header_preproc
=no
27054 rm -f conftest.err conftest.
$ac_ext
27055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27056 echo "${ECHO_T}$ac_header_preproc" >&6
27058 # So? What about this header?
27059 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27061 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27062 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27063 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27064 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27065 ac_header_preproc
=yes
27068 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27069 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27070 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27071 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27072 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27073 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27074 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27075 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27076 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27077 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27078 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27079 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27082 ## ----------------------------------------- ##
27083 ## Report this to wx-dev@lists.wxwidgets.org ##
27084 ## ----------------------------------------- ##
27087 sed "s/^/$as_me: WARNING: /" >&2
27090 echo "$as_me:$LINENO: checking for expat.h" >&5
27091 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27092 if test "${ac_cv_header_expat_h+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 ac_cv_header_expat_h
=$ac_header_preproc
27097 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27101 if test $ac_cv_header_expat_h = yes; then
27106 if test "x$found_expat_h" = "x1"; then
27107 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27108 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27109 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27110 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 cat >conftest.
$ac_ext <<_ACEOF
27116 cat confdefs.h
>>conftest.
$ac_ext
27117 cat >>conftest.
$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27128 rm -f conftest.
$ac_objext
27129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27130 (eval $ac_compile) 2>conftest.er1
27132 grep -v '^ *+' conftest.er1
>conftest.err
27134 cat conftest.err
>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); } &&
27137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; } &&
27143 { ac_try
='test -s conftest.$ac_objext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27149 wx_cv_expat_is_not_broken
=yes
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.
$ac_ext >&5
27154 wx_cv_expat_is_not_broken
=no
27157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27161 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27162 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27163 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27164 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27165 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27166 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 ac_check_lib_save_LIBS
=$LIBS
27170 LIBS
="-lexpat $LIBS"
27171 cat >conftest.
$ac_ext <<_ACEOF
27174 cat confdefs.h
>>conftest.
$ac_ext
27175 cat >>conftest.
$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27178 /* Override any gcc2 internal prototype to avoid an error. */
27182 /* We use char because int might match the return type of a gcc2
27183 builtin and then its argument prototype would still apply. */
27184 char XML_ParserCreate ();
27188 XML_ParserCreate ();
27193 rm -f conftest.
$ac_objext conftest
$ac_exeext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>conftest.er1
27197 grep -v '^ *+' conftest.er1
>conftest.err
27199 cat conftest.err
>&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } &&
27202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try
='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 ac_cv_lib_expat_XML_ParserCreate
=yes
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.
$ac_ext >&5
27219 ac_cv_lib_expat_XML_ParserCreate
=no
27221 rm -f conftest.err conftest.
$ac_objext \
27222 conftest
$ac_exeext conftest.
$ac_ext
27223 LIBS
=$ac_check_lib_save_LIBS
27225 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27226 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27227 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27228 EXPAT_LINK
=" -lexpat"
27233 if test "x$EXPAT_LINK" = "x" ; then
27234 if test "$wxUSE_EXPAT" = "sys" ; then
27235 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27236 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27237 { (exit 1); exit 1; }; }
27239 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27240 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27241 wxUSE_EXPAT
=builtin
27247 if test "$wxUSE_EXPAT" = "builtin" ; then
27250 subdirs
="$subdirs src/expat"
27257 if test "$wxUSE_LIBMSPACK" != "no"; then
27258 if test "${ac_cv_header_mspack_h+set}" = set; then
27259 echo "$as_me:$LINENO: checking for mspack.h" >&5
27260 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27261 if test "${ac_cv_header_mspack_h+set}" = set; then
27262 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27265 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27267 # Is the header compilable?
27268 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27269 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27270 cat >conftest.
$ac_ext <<_ACEOF
27273 cat confdefs.h
>>conftest.
$ac_ext
27274 cat >>conftest.
$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 $ac_includes_default
27277 #include <mspack.h>
27279 rm -f conftest.
$ac_objext
27280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27281 (eval $ac_compile) 2>conftest.er1
27283 grep -v '^ *+' conftest.er1
>conftest.err
27285 cat conftest.err
>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); } &&
27288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; } &&
27294 { ac_try
='test -s conftest.$ac_objext'
27295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27296 (eval $ac_try) 2>&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); }; }; then
27300 ac_header_compiler
=yes
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.
$ac_ext >&5
27305 ac_header_compiler
=no
27307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27309 echo "${ECHO_T}$ac_header_compiler" >&6
27311 # Is the header present?
27312 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27313 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27314 cat >conftest.
$ac_ext <<_ACEOF
27317 cat confdefs.h
>>conftest.
$ac_ext
27318 cat >>conftest.
$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 #include <mspack.h>
27322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27325 grep -v '^ *+' conftest.er1
>conftest.err
27327 cat conftest.err
>&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } >/dev
/null
; then
27330 if test -s conftest.err
; then
27331 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27332 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27339 if test -z "$ac_cpp_err"; then
27340 ac_header_preproc
=yes
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.
$ac_ext >&5
27345 ac_header_preproc
=no
27347 rm -f conftest.err conftest.
$ac_ext
27348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27349 echo "${ECHO_T}$ac_header_preproc" >&6
27351 # So? What about this header?
27352 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27354 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27355 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27356 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27357 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27358 ac_header_preproc
=yes
27361 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27362 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27363 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27364 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27366 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27368 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27370 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27372 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27375 ## ----------------------------------------- ##
27376 ## Report this to wx-dev@lists.wxwidgets.org ##
27377 ## ----------------------------------------- ##
27380 sed "s/^/$as_me: WARNING: /" >&2
27383 echo "$as_me:$LINENO: checking for mspack.h" >&5
27384 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27385 if test "${ac_cv_header_mspack_h+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27388 ac_cv_header_mspack_h
=$ac_header_preproc
27390 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27391 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27394 if test $ac_cv_header_mspack_h = yes; then
27399 if test "x$found_mspack_h" = "x1"; then
27400 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27401 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27402 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 ac_check_lib_save_LIBS
=$LIBS
27406 LIBS
="-lmspack $LIBS"
27407 cat >conftest.
$ac_ext <<_ACEOF
27410 cat confdefs.h
>>conftest.
$ac_ext
27411 cat >>conftest.
$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27414 /* Override any gcc2 internal prototype to avoid an error. */
27418 /* We use char because int might match the return type of a gcc2
27419 builtin and then its argument prototype would still apply. */
27420 char mspack_create_chm_decompressor ();
27424 mspack_create_chm_decompressor ();
27429 rm -f conftest.
$ac_objext conftest
$ac_exeext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27431 (eval $ac_link) 2>conftest.er1
27433 grep -v '^ *+' conftest.er1
>conftest.err
27435 cat conftest.err
>&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; } &&
27444 { ac_try
='test -s conftest$ac_exeext'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; }; then
27450 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.
$ac_ext >&5
27455 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27457 rm -f conftest.err conftest.
$ac_objext \
27458 conftest
$ac_exeext conftest.
$ac_ext
27459 LIBS
=$ac_check_lib_save_LIBS
27461 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27462 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27463 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27464 MSPACK_LINK
=" -lmspack"
27468 if test "x$MSPACK_LINK" = "x" ; then
27473 if test "$wxUSE_LIBMSPACK" != "no"; then
27474 cat >>confdefs.h
<<\_ACEOF
27475 #define wxUSE_LIBMSPACK 1
27489 if test "$USE_WIN32" = 1 ; then
27491 for ac_header
in w32api.h
27493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27495 echo "$as_me:$LINENO: checking for $ac_header" >&5
27496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27503 # Is the header compilable?
27504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27506 cat >conftest.
$ac_ext <<_ACEOF
27509 cat confdefs.h
>>conftest.
$ac_ext
27510 cat >>conftest.
$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27512 $ac_includes_default
27513 #include <$ac_header>
27515 rm -f conftest.
$ac_objext
27516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27517 (eval $ac_compile) 2>conftest.er1
27519 grep -v '^ *+' conftest.er1
>conftest.err
27521 cat conftest.err
>&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } &&
27524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; } &&
27530 { ac_try
='test -s conftest.$ac_objext'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; }; then
27536 ac_header_compiler
=yes
27538 echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.
$ac_ext >&5
27541 ac_header_compiler
=no
27543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27545 echo "${ECHO_T}$ac_header_compiler" >&6
27547 # Is the header present?
27548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27550 cat >conftest.
$ac_ext <<_ACEOF
27553 cat confdefs.h
>>conftest.
$ac_ext
27554 cat >>conftest.
$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556 #include <$ac_header>
27558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27561 grep -v '^ *+' conftest.er1
>conftest.err
27563 cat conftest.err
>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } >/dev
/null
; then
27566 if test -s conftest.err
; then
27567 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27568 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27575 if test -z "$ac_cpp_err"; then
27576 ac_header_preproc
=yes
27578 echo "$as_me: failed program was:" >&5
27579 sed 's/^/| /' conftest.
$ac_ext >&5
27581 ac_header_preproc
=no
27583 rm -f conftest.err conftest.
$ac_ext
27584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27585 echo "${ECHO_T}$ac_header_preproc" >&6
27587 # So? What about this header?
27588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27594 ac_header_preproc
=yes
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27611 ## ----------------------------------------- ##
27612 ## Report this to wx-dev@lists.wxwidgets.org ##
27613 ## ----------------------------------------- ##
27616 sed "s/^/$as_me: WARNING: /" >&2
27619 echo "$as_me:$LINENO: checking for $ac_header" >&5
27620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 eval "$as_ac_Header=\$ac_header_preproc"
27626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27631 cat >>confdefs.h
<<_ACEOF
27632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27639 if test "${ac_cv_header_windows_h+set}" = set; then
27640 echo "$as_me:$LINENO: checking for windows.h" >&5
27641 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27642 if test "${ac_cv_header_windows_h+set}" = set; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27646 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking windows.h usability" >&5
27650 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27651 cat >conftest.
$ac_ext <<_ACEOF
27654 cat confdefs.h
>>conftest.
$ac_ext
27655 cat >>conftest.
$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27657 $ac_includes_default
27658 #include <windows.h>
27660 rm -f conftest.
$ac_objext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>conftest.er1
27664 grep -v '^ *+' conftest.er1
>conftest.err
27666 cat conftest.err
>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; } &&
27675 { ac_try
='test -s conftest.$ac_objext'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; }; then
27681 ac_header_compiler
=yes
27683 echo "$as_me: failed program was:" >&5
27684 sed 's/^/| /' conftest.
$ac_ext >&5
27686 ac_header_compiler
=no
27688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27690 echo "${ECHO_T}$ac_header_compiler" >&6
27692 # Is the header present?
27693 echo "$as_me:$LINENO: checking windows.h presence" >&5
27694 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27695 cat >conftest.
$ac_ext <<_ACEOF
27698 cat confdefs.h
>>conftest.
$ac_ext
27699 cat >>conftest.
$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27701 #include <windows.h>
27703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27706 grep -v '^ *+' conftest.er1
>conftest.err
27708 cat conftest.err
>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } >/dev
/null
; then
27711 if test -s conftest.err
; then
27712 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27713 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27720 if test -z "$ac_cpp_err"; then
27721 ac_header_preproc
=yes
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.
$ac_ext >&5
27726 ac_header_preproc
=no
27728 rm -f conftest.err conftest.
$ac_ext
27729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27730 echo "${ECHO_T}$ac_header_preproc" >&6
27732 # So? What about this header?
27733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27735 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27736 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27737 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27738 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27739 ac_header_preproc
=yes
27742 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27743 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27744 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27745 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27746 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27747 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27748 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27749 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27750 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27751 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27752 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27753 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27756 ## ----------------------------------------- ##
27757 ## Report this to wx-dev@lists.wxwidgets.org ##
27758 ## ----------------------------------------- ##
27761 sed "s/^/$as_me: WARNING: /" >&2
27764 echo "$as_me:$LINENO: checking for windows.h" >&5
27765 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27766 if test "${ac_cv_header_windows_h+set}" = set; then
27767 echo $ECHO_N "(cached) $ECHO_C" >&6
27769 ac_cv_header_windows_h
=$ac_header_preproc
27771 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27772 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27775 if test $ac_cv_header_windows_h = yes; then
27779 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27780 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27781 { (exit 1); exit 1; }; }
27787 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27789 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27790 LIBS
="$LIBS -loleacc"
27795 LIBS
="$LIBS -lkernel32 -luser32"
27798 if test "$wxUSE_ODBC" = "sys" ; then
27801 if test "$wxUSE_ODBC" = "yes" ; then
27802 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27803 cat >>confdefs.h
<<\_ACEOF
27804 #define wxUSE_ODBC 1
27809 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27810 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27812 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27814 WIN32INSTALL
=win32install
27816 echo "$as_me:$LINENO: checking for boolean" >&5
27817 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27818 if test "${ac_cv_type_boolean+set}" = set; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 cat >conftest.
$ac_ext <<_ACEOF
27824 cat confdefs.h
>>conftest.
$ac_ext
27825 cat >>conftest.
$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 #include <windows.h>
27834 if (sizeof (boolean))
27840 rm -f conftest.
$ac_objext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27842 (eval $ac_compile) 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try
='test -s conftest.$ac_objext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_cv_type_boolean
=yes
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.
$ac_ext >&5
27866 ac_cv_type_boolean
=no
27868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27870 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27871 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27872 if test $ac_cv_type_boolean = yes; then
27874 cat >>confdefs.h
<<_ACEOF
27875 #define HAVE_BOOLEAN 1
27883 for ac_header
in pbt.h
27885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27887 echo "$as_me:$LINENO: checking for $ac_header" >&5
27888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27895 # Is the header compilable?
27896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27898 cat >conftest.
$ac_ext <<_ACEOF
27901 cat confdefs.h
>>conftest.
$ac_ext
27902 cat >>conftest.
$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904 $ac_includes_default
27905 #include <$ac_header>
27907 rm -f conftest.
$ac_objext
27908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27909 (eval $ac_compile) 2>conftest.er1
27911 grep -v '^ *+' conftest.er1
>conftest.err
27913 cat conftest.err
>&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } &&
27916 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; } &&
27922 { ac_try
='test -s conftest.$ac_objext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 ac_header_compiler
=yes
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.
$ac_ext >&5
27933 ac_header_compiler
=no
27935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27937 echo "${ECHO_T}$ac_header_compiler" >&6
27939 # Is the header present?
27940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27942 cat >conftest.
$ac_ext <<_ACEOF
27945 cat confdefs.h
>>conftest.
$ac_ext
27946 cat >>conftest.
$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948 #include <$ac_header>
27950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27953 grep -v '^ *+' conftest.er1
>conftest.err
27955 cat conftest.err
>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } >/dev
/null
; then
27958 if test -s conftest.err
; then
27959 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27960 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27967 if test -z "$ac_cpp_err"; then
27968 ac_header_preproc
=yes
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.
$ac_ext >&5
27973 ac_header_preproc
=no
27975 rm -f conftest.err conftest.
$ac_ext
27976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27977 echo "${ECHO_T}$ac_header_preproc" >&6
27979 # So? What about this header?
27980 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27986 ac_header_preproc
=yes
27989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28003 ## ----------------------------------------- ##
28004 ## Report this to wx-dev@lists.wxwidgets.org ##
28005 ## ----------------------------------------- ##
28008 sed "s/^/$as_me: WARNING: /" >&2
28011 echo "$as_me:$LINENO: checking for $ac_header" >&5
28012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28014 echo $ECHO_N "(cached) $ECHO_C" >&6
28016 eval "$as_ac_Header=\$ac_header_preproc"
28018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28023 cat >>confdefs.h
<<_ACEOF
28024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28028 cat >>confdefs.h
<<\_ACEOF
28029 #define NEED_PBT_H 1
28038 if test "$wxUSE_GUI" = "yes"; then
28048 if test "$wxUSE_COCOA" = 1 ; then
28049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28050 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28051 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28052 wxUSE_PRINTING_ARCHITECTURE
=no
28054 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28055 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28056 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28057 wxUSE_DRAG_AND_DROP
=no
28059 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28060 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28061 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28066 if test "$wxUSE_MSW" = 1 ; then
28072 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28076 if test "$wxUSE_GTK" = 1; then
28078 ac_cpp
='$CPP $CPPFLAGS'
28079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28084 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28085 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28087 gtk_version_cached
=1
28088 if test "${wx_cv_lib_gtk+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28092 gtk_version_cached
=0
28093 echo "$as_me:$LINENO: result: " >&5
28094 echo "${ECHO_T}" >&6
28097 if test "$wxUSE_THREADS" = "yes"; then
28098 GTK_MODULES
=gthread
28102 if test "x$wxGTK_VERSION" != "x1"
28106 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28111 # Check whether --enable-gtktest or --disable-gtktest was given.
28112 if test "${enable_gtktest+set}" = set; then
28113 enableval
="$enable_gtktest"
28119 pkg_config_args
=gtk
+-2.0
28120 for module
in .
$GTK_MODULES
28124 pkg_config_args
="$pkg_config_args gthread-2.0"
28131 # Extract the first word of "pkg-config", so it can be a program name with args.
28132 set dummy pkg
-config; ac_word
=$2
28133 echo "$as_me:$LINENO: checking for $ac_word" >&5
28134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28136 echo $ECHO_N "(cached) $ECHO_C" >&6
28138 case $PKG_CONFIG in
28140 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28144 for as_dir
in $PATH
28147 test -z "$as_dir" && as_dir
=.
28148 for ac_exec_ext
in '' $ac_executable_extensions; do
28149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28150 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28157 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28163 if test -n "$PKG_CONFIG"; then
28164 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28165 echo "${ECHO_T}$PKG_CONFIG" >&6
28167 echo "$as_me:$LINENO: result: no" >&5
28168 echo "${ECHO_T}no" >&6
28172 if test x
$PKG_CONFIG != xno
; then
28173 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28176 echo "*** pkg-config too old; version 0.7 or better required."
28184 min_gtk_version
=2.0.0
28185 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28186 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28188 if test x
$PKG_CONFIG != xno
; then
28189 ## don't try to run the test against uninstalled libtool libs
28190 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28191 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28195 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28202 if test x
"$no_gtk" = x
; then
28203 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28204 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28205 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28206 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28207 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28209 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28211 if test "x$enable_gtktest" = "xyes" ; then
28212 ac_save_CFLAGS
="$CFLAGS"
28213 ac_save_LIBS
="$LIBS"
28214 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28215 LIBS
="$GTK_LIBS $LIBS"
28217 if test "$cross_compiling" = yes; then
28218 echo $ac_n "cross compiling; assumed OK... $ac_c"
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>
28229 #include <stdlib.h>
28234 int major, minor, micro;
28237 system ("touch conf.gtktest");
28239 /* HP/UX 9 (%@#!) writes to sscanf strings */
28240 tmp_version = g_strdup("$min_gtk_version");
28241 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28242 printf("%s, bad version string\n", "$min_gtk_version");
28246 if ((gtk_major_version != $gtk_config_major_version) ||
28247 (gtk_minor_version != $gtk_config_minor_version) ||
28248 (gtk_micro_version != $gtk_config_micro_version))
28250 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28251 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28252 gtk_major_version, gtk_minor_version, gtk_micro_version);
28253 printf ("*** was found! If pkg-config was correct, then it is best\n");
28254 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28255 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28256 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28257 printf("*** required on your system.\n");
28258 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28259 printf("*** to point to the correct configuration files\n");
28261 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28262 (gtk_minor_version != GTK_MINOR_VERSION) ||
28263 (gtk_micro_version != GTK_MICRO_VERSION))
28265 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28266 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28267 printf("*** library (version %d.%d.%d)\n",
28268 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 if ((gtk_major_version > major) ||
28273 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28274 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28280 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28281 gtk_major_version, gtk_minor_version, gtk_micro_version);
28282 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28283 major, minor, micro);
28284 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28286 printf("*** If you have already installed a sufficiently new version, this error\n");
28287 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28288 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28289 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28290 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28291 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28292 printf("*** so that the correct libraries are found at run-time))\n");
28299 rm -f conftest
$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28312 echo "$as_me: program exited with status $ac_status" >&5
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.
$ac_ext >&5
28316 ( exit $ac_status )
28319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28321 CFLAGS
="$ac_save_CFLAGS"
28322 LIBS
="$ac_save_LIBS"
28325 if test "x$no_gtk" = x
; then
28326 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28327 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28330 echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6
28332 if test "$PKG_CONFIG" = "no" ; then
28333 echo "*** A new enough version of pkg-config was not found."
28334 echo "*** See http://pkgconfig.sourceforge.net"
28336 if test -f conf.gtktest
; then
28339 echo "*** Could not run GTK+ test program, checking why..."
28340 ac_save_CFLAGS
="$CFLAGS"
28341 ac_save_LIBS
="$LIBS"
28342 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28343 LIBS
="$LIBS $GTK_LIBS"
28344 cat >conftest.
$ac_ext <<_ACEOF
28347 cat confdefs.h
>>conftest.
$ac_ext
28348 cat >>conftest.
$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28351 #include <gtk/gtk.h>
28357 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28362 rm -f conftest.
$ac_objext conftest
$ac_exeext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28364 (eval $ac_link) 2>conftest.er1
28366 grep -v '^ *+' conftest.er1
>conftest.err
28368 cat conftest.err
>&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try
='test -s conftest$ac_exeext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28383 echo "*** The test program compiled, but did not run. This usually means"
28384 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28385 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28386 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28387 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28388 echo "*** is required on your system"
28390 echo "*** If you have an old version installed, it is best to remove it, although"
28391 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.
$ac_ext >&5
28396 echo "*** The test program failed to compile or link. See the file config.log for the"
28397 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28399 rm -f conftest.err conftest.
$ac_objext \
28400 conftest
$ac_exeext conftest.
$ac_ext
28401 CFLAGS
="$ac_save_CFLAGS"
28402 LIBS
="$ac_save_LIBS"
28416 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28417 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28418 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28420 if test "$wxUSE_SHARED" != "yes"; then
28421 GTK_LIBS
="$GTK_LIBS -lX11"
28426 if test -z "$wx_cv_lib_gtk"; then
28427 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28429 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28430 if test "${with_gtk_prefix+set}" = set; then
28431 withval
="$with_gtk_prefix"
28432 gtk_config_prefix
="$withval"
28434 gtk_config_prefix
=""
28437 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28438 if test "${with_gtk_exec_prefix+set}" = set; then
28439 withval
="$with_gtk_exec_prefix"
28440 gtk_config_exec_prefix
="$withval"
28442 gtk_config_exec_prefix
=""
28444 # Check whether --enable-gtktest or --disable-gtktest was given.
28445 if test "${enable_gtktest+set}" = set; then
28446 enableval
="$enable_gtktest"
28452 for module
in .
$GTK_MODULES
28456 gtk_config_args
="$gtk_config_args gthread"
28461 if test x
$gtk_config_exec_prefix != x
; then
28462 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28463 if test x
${GTK_CONFIG+set} != xset
; then
28464 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28467 if test x
$gtk_config_prefix != x
; then
28468 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28469 if test x
${GTK_CONFIG+set} != xset
; then
28470 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28474 # Extract the first word of "gtk-config", so it can be a program name with args.
28475 set dummy gtk
-config; ac_word
=$2
28476 echo "$as_me:$LINENO: checking for $ac_word" >&5
28477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28478 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28479 echo $ECHO_N "(cached) $ECHO_C" >&6
28481 case $GTK_CONFIG in
28483 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28487 for as_dir
in $PATH
28490 test -z "$as_dir" && as_dir
=.
28491 for ac_exec_ext
in '' $ac_executable_extensions; do
28492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28493 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28500 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28504 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28506 if test -n "$GTK_CONFIG"; then
28507 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28508 echo "${ECHO_T}$GTK_CONFIG" >&6
28510 echo "$as_me:$LINENO: result: no" >&5
28511 echo "${ECHO_T}no" >&6
28514 min_gtk_version
=1.2.7
28515 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28516 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28518 if test "$GTK_CONFIG" = "no" ; then
28521 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28522 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28523 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28525 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28527 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28529 if test "x$enable_gtktest" = "xyes" ; then
28530 ac_save_CFLAGS
="$CFLAGS"
28531 ac_save_LIBS
="$LIBS"
28532 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28533 LIBS
="$GTK_LIBS $LIBS"
28535 if test "$cross_compiling" = yes; then
28536 echo $ac_n "cross compiling; assumed OK... $ac_c"
28538 cat >conftest.
$ac_ext <<_ACEOF
28541 cat confdefs.h
>>conftest.
$ac_ext
28542 cat >>conftest.
$ac_ext <<_ACEOF
28543 /* end confdefs.h. */
28545 #include <gtk/gtk.h>
28547 #include <stdlib.h>
28552 int major, minor, micro;
28555 system ("touch conf.gtktest");
28557 /* HP/UX 9 (%@#!) writes to sscanf strings */
28558 tmp_version = g_strdup("$min_gtk_version");
28559 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28560 printf("%s, bad version string\n", "$min_gtk_version");
28564 if ((gtk_major_version != $gtk_config_major_version) ||
28565 (gtk_minor_version != $gtk_config_minor_version) ||
28566 (gtk_micro_version != $gtk_config_micro_version))
28568 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28569 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28570 gtk_major_version, gtk_minor_version, gtk_micro_version);
28571 printf ("*** was found! If gtk-config was correct, then it is best\n");
28572 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28573 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28574 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28575 printf("*** required on your system.\n");
28576 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28577 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28578 printf("*** before re-running configure\n");
28580 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28581 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28582 (gtk_minor_version != GTK_MINOR_VERSION) ||
28583 (gtk_micro_version != GTK_MICRO_VERSION))
28585 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28586 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28587 printf("*** library (version %d.%d.%d)\n",
28588 gtk_major_version, gtk_minor_version, gtk_micro_version);
28590 #endif /* defined (GTK_MAJOR_VERSION) ... */
28593 if ((gtk_major_version > major) ||
28594 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28595 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28601 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28602 gtk_major_version, gtk_minor_version, gtk_micro_version);
28603 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28604 major, minor, micro);
28605 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28607 printf("*** If you have already installed a sufficiently new version, this error\n");
28608 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28609 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28610 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28611 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28612 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28613 printf("*** so that the correct libraries are found at run-time))\n");
28620 rm -f conftest
$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28633 echo "$as_me: program exited with status $ac_status" >&5
28634 echo "$as_me: failed program was:" >&5
28635 sed 's/^/| /' conftest.
$ac_ext >&5
28637 ( exit $ac_status )
28640 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28642 CFLAGS
="$ac_save_CFLAGS"
28643 LIBS
="$ac_save_LIBS"
28646 if test "x$no_gtk" = x
; then
28647 echo "$as_me:$LINENO: result: yes" >&5
28648 echo "${ECHO_T}yes" >&6
28649 wx_cv_lib_gtk
=1.2.7
28651 echo "$as_me:$LINENO: result: no" >&5
28652 echo "${ECHO_T}no" >&6
28653 if test "$GTK_CONFIG" = "no" ; then
28654 echo "*** The gtk-config script installed by GTK could not be found"
28655 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28656 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28657 echo "*** full path to gtk-config."
28659 if test -f conf.gtktest
; then
28662 echo "*** Could not run GTK test program, checking why..."
28663 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28664 LIBS
="$LIBS $GTK_LIBS"
28665 cat >conftest.
$ac_ext <<_ACEOF
28668 cat confdefs.h
>>conftest.
$ac_ext
28669 cat >>conftest.
$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28672 #include <gtk/gtk.h>
28678 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28683 rm -f conftest.
$ac_objext conftest
$ac_exeext
28684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28685 (eval $ac_link) 2>conftest.er1
28687 grep -v '^ *+' conftest.er1
>conftest.err
28689 cat conftest.err
>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try
='test -s conftest$ac_exeext'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; }; then
28704 echo "*** The test program compiled, but did not run. This usually means"
28705 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28706 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28709 echo "*** is required on your system"
28711 echo "*** If you have an old version installed, it is best to remove it, although"
28712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28714 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28715 echo "*** came with the system with the command"
28717 echo "*** rpm --erase --nodeps gtk gtk-devel"
28719 echo "$as_me: failed program was:" >&5
28720 sed 's/^/| /' conftest.
$ac_ext >&5
28722 echo "*** The test program failed to compile or link. See the file config.log for the"
28723 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28724 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28725 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28727 rm -f conftest.err conftest.
$ac_objext \
28728 conftest
$ac_exeext conftest.
$ac_ext
28729 CFLAGS
="$ac_save_CFLAGS"
28730 LIBS
="$ac_save_LIBS"
28742 if test -z "$wx_cv_lib_gtk"; then
28744 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28745 if test "${with_gtk_prefix+set}" = set; then
28746 withval
="$with_gtk_prefix"
28747 gtk_config_prefix
="$withval"
28749 gtk_config_prefix
=""
28752 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28753 if test "${with_gtk_exec_prefix+set}" = set; then
28754 withval
="$with_gtk_exec_prefix"
28755 gtk_config_exec_prefix
="$withval"
28757 gtk_config_exec_prefix
=""
28759 # Check whether --enable-gtktest or --disable-gtktest was given.
28760 if test "${enable_gtktest+set}" = set; then
28761 enableval
="$enable_gtktest"
28767 for module
in .
$GTK_MODULES
28771 gtk_config_args
="$gtk_config_args gthread"
28776 if test x
$gtk_config_exec_prefix != x
; then
28777 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28778 if test x
${GTK_CONFIG+set} != xset
; then
28779 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28782 if test x
$gtk_config_prefix != x
; then
28783 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28784 if test x
${GTK_CONFIG+set} != xset
; then
28785 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28789 # Extract the first word of "gtk-config", so it can be a program name with args.
28790 set dummy gtk
-config; ac_word
=$2
28791 echo "$as_me:$LINENO: checking for $ac_word" >&5
28792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28793 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28796 case $GTK_CONFIG in
28798 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28802 for as_dir
in $PATH
28805 test -z "$as_dir" && as_dir
=.
28806 for ac_exec_ext
in '' $ac_executable_extensions; do
28807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28808 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28815 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28819 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28821 if test -n "$GTK_CONFIG"; then
28822 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28823 echo "${ECHO_T}$GTK_CONFIG" >&6
28825 echo "$as_me:$LINENO: result: no" >&5
28826 echo "${ECHO_T}no" >&6
28829 min_gtk_version
=1.2.3
28830 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28831 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28833 if test "$GTK_CONFIG" = "no" ; then
28836 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28837 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28838 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28840 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28842 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28844 if test "x$enable_gtktest" = "xyes" ; then
28845 ac_save_CFLAGS
="$CFLAGS"
28846 ac_save_LIBS
="$LIBS"
28847 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28848 LIBS
="$GTK_LIBS $LIBS"
28850 if test "$cross_compiling" = yes; then
28851 echo $ac_n "cross compiling; assumed OK... $ac_c"
28853 cat >conftest.
$ac_ext <<_ACEOF
28856 cat confdefs.h
>>conftest.
$ac_ext
28857 cat >>conftest.
$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28860 #include <gtk/gtk.h>
28862 #include <stdlib.h>
28867 int major, minor, micro;
28870 system ("touch conf.gtktest");
28872 /* HP/UX 9 (%@#!) writes to sscanf strings */
28873 tmp_version = g_strdup("$min_gtk_version");
28874 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28875 printf("%s, bad version string\n", "$min_gtk_version");
28879 if ((gtk_major_version != $gtk_config_major_version) ||
28880 (gtk_minor_version != $gtk_config_minor_version) ||
28881 (gtk_micro_version != $gtk_config_micro_version))
28883 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28884 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28885 gtk_major_version, gtk_minor_version, gtk_micro_version);
28886 printf ("*** was found! If gtk-config was correct, then it is best\n");
28887 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28888 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28889 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28890 printf("*** required on your system.\n");
28891 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28892 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28893 printf("*** before re-running configure\n");
28895 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28896 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28897 (gtk_minor_version != GTK_MINOR_VERSION) ||
28898 (gtk_micro_version != GTK_MICRO_VERSION))
28900 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28901 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28902 printf("*** library (version %d.%d.%d)\n",
28903 gtk_major_version, gtk_minor_version, gtk_micro_version);
28905 #endif /* defined (GTK_MAJOR_VERSION) ... */
28908 if ((gtk_major_version > major) ||
28909 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28910 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28916 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28917 gtk_major_version, gtk_minor_version, gtk_micro_version);
28918 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28919 major, minor, micro);
28920 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28922 printf("*** If you have already installed a sufficiently new version, this error\n");
28923 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28924 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28925 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28926 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28927 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28928 printf("*** so that the correct libraries are found at run-time))\n");
28935 rm -f conftest
$ac_exeext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28937 (eval $ac_link) 2>&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; }; then
28948 echo "$as_me: program exited with status $ac_status" >&5
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.
$ac_ext >&5
28952 ( exit $ac_status )
28955 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28957 CFLAGS
="$ac_save_CFLAGS"
28958 LIBS
="$ac_save_LIBS"
28961 if test "x$no_gtk" = x
; then
28962 echo "$as_me:$LINENO: result: yes" >&5
28963 echo "${ECHO_T}yes" >&6
28964 wx_cv_lib_gtk
=1.2.3
28966 echo "$as_me:$LINENO: result: no" >&5
28967 echo "${ECHO_T}no" >&6
28968 if test "$GTK_CONFIG" = "no" ; then
28969 echo "*** The gtk-config script installed by GTK could not be found"
28970 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28971 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28972 echo "*** full path to gtk-config."
28974 if test -f conf.gtktest
; then
28977 echo "*** Could not run GTK test program, checking why..."
28978 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28979 LIBS
="$LIBS $GTK_LIBS"
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28987 #include <gtk/gtk.h>
28993 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28998 rm -f conftest.
$ac_objext conftest
$ac_exeext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29000 (eval $ac_link) 2>conftest.er1
29002 grep -v '^ *+' conftest.er1
>conftest.err
29004 cat conftest.err
>&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } &&
29007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29009 (eval $ac_try) 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); }; } &&
29013 { ac_try
='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 echo "*** The test program compiled, but did not run. This usually means"
29020 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29021 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29022 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29023 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29024 echo "*** is required on your system"
29026 echo "*** If you have an old version installed, it is best to remove it, although"
29027 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29029 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29030 echo "*** came with the system with the command"
29032 echo "*** rpm --erase --nodeps gtk gtk-devel"
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.
$ac_ext >&5
29037 echo "*** The test program failed to compile or link. See the file config.log for the"
29038 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29039 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29040 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29042 rm -f conftest.err conftest.
$ac_objext \
29043 conftest
$ac_exeext conftest.
$ac_ext
29044 CFLAGS
="$ac_save_CFLAGS"
29045 LIBS
="$ac_save_LIBS"
29060 if test -z "$wx_cv_lib_gtk"; then
29063 wx_cv_cflags_gtk
=$GTK_CFLAGS
29064 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29071 if test "$gtk_version_cached" = 1; then
29072 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29073 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29076 case "$wx_cv_lib_gtk" in
29085 *) { { echo "$as_me:$LINENO: error:
29086 The development files for GTK+ were not found. For GTK+ 2, please
29087 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29088 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29089 and that the version is 1.2.3 or above. Also check that the
29090 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29091 --libs' are in the LD_LIBRARY_PATH or equivalent.
29093 echo "$as_me: error:
29094 The development files for GTK+ were not found. For GTK+ 2, please
29095 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29096 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29097 and that the version is 1.2.3 or above. Also check that the
29098 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29099 --libs' are in the LD_LIBRARY_PATH or equivalent.
29101 { (exit 1); exit 1; }; }
29105 if test "$WXGTK20" = 1; then
29106 save_CFLAGS
="$CFLAGS"
29108 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29109 LIBS
="$LIBS $wx_cv_libs_gtk"
29111 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29112 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29113 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29114 echo $ECHO_N "(cached) $ECHO_C" >&6
29116 cat >conftest.
$ac_ext <<_ACEOF
29119 cat confdefs.h
>>conftest.
$ac_ext
29120 cat >>conftest.
$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29122 #include <gtk/gtk.h>
29127 #ifndef gtk_icon_size_lookup
29128 char *p = (char *) gtk_icon_size_lookup;
29135 rm -f conftest.
$ac_objext
29136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29137 (eval $ac_compile) 2>conftest.er1
29139 grep -v '^ *+' conftest.er1
>conftest.err
29141 cat conftest.err
>&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } &&
29144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 (eval $ac_try) 2>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; } &&
29150 { ac_try
='test -s conftest.$ac_objext'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; }; then
29156 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.
$ac_ext >&5
29161 ac_cv_have_decl_gtk_icon_size_lookup
=no
29163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29165 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29166 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29167 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29169 cat >>confdefs.h
<<_ACEOF
29170 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29175 cat >>confdefs.h
<<_ACEOF
29176 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29179 cat >>confdefs.h
<<\_ACEOF
29180 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29187 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29188 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29189 cat >conftest.
$ac_ext <<_ACEOF
29192 cat confdefs.h
>>conftest.
$ac_ext
29193 cat >>conftest.
$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29196 #include <gtk/gtk.h>
29202 #if !GTK_CHECK_VERSION(2,6,0)
29210 rm -f conftest.
$ac_objext
29211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29212 (eval $ac_compile) 2>conftest.er1
29214 grep -v '^ *+' conftest.er1
>conftest.err
29216 cat conftest.err
>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); } &&
29219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29221 (eval $ac_try) 2>&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); }; } &&
29225 { ac_try
='test -s conftest.$ac_objext'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; }; then
29232 cat >>confdefs.h
<<\_ACEOF
29233 #define __WXGTK26__ 1
29236 cat >>confdefs.h
<<\_ACEOF
29237 #define __WXGTK24__ 1
29240 echo "$as_me:$LINENO: result: yes" >&5
29241 echo "${ECHO_T}yes" >&6
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.
$ac_ext >&5
29249 echo "$as_me:$LINENO: result: no" >&5
29250 echo "${ECHO_T}no" >&6
29254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29256 if test "$ac_wxgtk26" = 0; then
29257 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29258 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29259 cat >conftest.
$ac_ext <<_ACEOF
29262 cat confdefs.h
>>conftest.
$ac_ext
29263 cat >>conftest.
$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29266 #include <gtk/gtk.h>
29272 #if !GTK_CHECK_VERSION(2,4,0)
29280 rm -f conftest.
$ac_objext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29282 (eval $ac_compile) 2>conftest.er1
29284 grep -v '^ *+' conftest.er1
>conftest.err
29286 cat conftest.err
>&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try
='test -s conftest.$ac_objext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29302 cat >>confdefs.h
<<\_ACEOF
29303 #define __WXGTK24__ 1
29306 echo "$as_me:$LINENO: result: yes" >&5
29307 echo "${ECHO_T}yes" >&6
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.
$ac_ext >&5
29314 echo "$as_me:$LINENO: result: no" >&5
29315 echo "${ECHO_T}no" >&6
29318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29321 CFLAGS
="$save_CFLAGS"
29324 if test "$wxUSE_UNICODE" = "yes"; then
29325 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29326 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29330 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29331 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29332 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 ac_check_lib_save_LIBS
=$LIBS
29337 cat >conftest.
$ac_ext <<_ACEOF
29340 cat confdefs.h
>>conftest.
$ac_ext
29341 cat >>conftest.
$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29344 /* Override any gcc2 internal prototype to avoid an error. */
29348 /* We use char because int might match the return type of a gcc2
29349 builtin and then its argument prototype would still apply. */
29350 char gdk_im_open ();
29359 rm -f conftest.
$ac_objext conftest
$ac_exeext
29360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29361 (eval $ac_link) 2>conftest.er1
29363 grep -v '^ *+' conftest.er1
>conftest.err
29365 cat conftest.err
>&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } &&
29368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; } &&
29374 { ac_try
='test -s conftest$ac_exeext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 ac_cv_lib_gdk_gdk_im_open
=yes
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.
$ac_ext >&5
29385 ac_cv_lib_gdk_gdk_im_open
=no
29387 rm -f conftest.err conftest.
$ac_objext \
29388 conftest
$ac_exeext conftest.
$ac_ext
29389 LIBS
=$ac_check_lib_save_LIBS
29391 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29392 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29393 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29394 cat >>confdefs.h
<<\_ACEOF
29403 ac_cpp
='$CXXCPP $CPPFLAGS'
29404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29409 if test "$USE_DARWIN" != 1; then
29411 for ac_func
in poll
29413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29414 echo "$as_me:$LINENO: checking for $ac_func" >&5
29415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29416 if eval "test \"\${$as_ac_var+set}\" = set"; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29419 cat >conftest.
$ac_ext <<_ACEOF
29422 cat confdefs.h
>>conftest.
$ac_ext
29423 cat >>conftest.
$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29427 #define $ac_func innocuous_$ac_func
29429 /* System header to define __stub macros and hopefully few prototypes,
29430 which can conflict with char $ac_func (); below.
29431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29432 <limits.h> exists even on freestanding compilers. */
29435 # include <limits.h>
29437 # include <assert.h>
29442 /* Override any gcc2 internal prototype to avoid an error. */
29447 /* We use char because int might match the return type of a gcc2
29448 builtin and then its argument prototype would still apply. */
29450 /* The GNU C library defines this for functions which it implements
29451 to always fail with ENOSYS. Some functions are actually named
29452 something starting with __ and the normal name is an alias. */
29453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29456 char (*f) () = $ac_func;
29465 return f != $ac_func;
29470 rm -f conftest.
$ac_objext conftest
$ac_exeext
29471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29472 (eval $ac_link) 2>conftest.er1
29474 grep -v '^ *+' conftest.er1
>conftest.err
29476 cat conftest.err
>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } &&
29479 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; } &&
29485 { ac_try
='test -s conftest$ac_exeext'
29486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487 (eval $ac_try) 2>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; }; then
29491 eval "$as_ac_var=yes"
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.
$ac_ext >&5
29496 eval "$as_ac_var=no"
29498 rm -f conftest.err conftest.
$ac_objext \
29499 conftest
$ac_exeext conftest.
$ac_ext
29501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29503 if test `eval echo '${'$as_ac_var'}'` = yes; then
29504 cat >>confdefs.h
<<_ACEOF
29505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29513 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29514 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29516 AFMINSTALL
=afminstall
29520 if test "$wxUSE_GPE" = "yes"; then
29521 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29522 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29525 for ac_dir
in $SEARCH_LIB;
29527 for ac_extension
in a so sl dylib dll.a
; do
29528 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29529 ac_find_libraries
=$ac_dir
29535 if test "$ac_find_libraries" != "" ; then
29537 if test "$ac_find_libraries" = "default location"; then
29540 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29542 if test $result = 0; then
29545 ac_path_to_link
=" -L$ac_find_libraries"
29549 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29551 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29552 echo "${ECHO_T}found in $ac_find_libraries" >&6
29554 echo "$as_me:$LINENO: result: not found" >&5
29555 echo "${ECHO_T}not found" >&6
29561 if test "$wxUSE_MGL" = 1; then
29562 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29563 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29564 if test "x$MGL_ROOT" = x
; then
29565 echo "$as_me:$LINENO: result: not found" >&5
29566 echo "${ECHO_T}not found" >&6
29567 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29568 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29569 { (exit 1); exit 1; }; }
29571 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29572 echo "${ECHO_T}$MGL_ROOT" >&6
29575 echo "$as_me:$LINENO: checking for libmgl location" >&5
29576 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29579 if test "x$wxUSE_SHARED" = xyes
; then
29580 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29582 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29586 mgl_os_candidates
="dos32/dj2"
29589 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29590 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29591 { (exit 1); exit 1; }; }
29597 for mgl_os_i
in $mgl_os_candidates ; do
29598 if test "x$mgl_os" = x
; then
29599 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29600 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29601 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29606 if test "x$mgl_lib_type" = x
; then
29607 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29608 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29609 mgl_lib_type
=release
29616 if test "x$mgl_os" = x
; then
29617 echo "$as_me:$LINENO: result: not found" >&5
29618 echo "${ECHO_T}not found" >&6
29619 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29620 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29621 { (exit 1); exit 1; }; }
29623 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29624 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29626 wxUSE_UNIVERSAL
="yes"
29628 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29629 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29631 AFMINSTALL
=afminstall
29636 if test "$wxUSE_DFB" = 1; then
29639 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29640 if test -n "$ac_tool_prefix"; then
29641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29642 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29643 echo "$as_me:$LINENO: checking for $ac_word" >&5
29644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 case $PKG_CONFIG in
29650 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29654 for as_dir
in $PATH
29657 test -z "$as_dir" && as_dir
=.
29658 for ac_exec_ext
in '' $ac_executable_extensions; do
29659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29660 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29670 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29672 if test -n "$PKG_CONFIG"; then
29673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29674 echo "${ECHO_T}$PKG_CONFIG" >&6
29676 echo "$as_me:$LINENO: result: no" >&5
29677 echo "${ECHO_T}no" >&6
29681 if test -z "$ac_cv_path_PKG_CONFIG"; then
29682 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29683 # Extract the first word of "pkg-config", so it can be a program name with args.
29684 set dummy pkg
-config; ac_word
=$2
29685 echo "$as_me:$LINENO: checking for $ac_word" >&5
29686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29687 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 case $ac_pt_PKG_CONFIG in
29692 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29696 for as_dir
in $PATH
29699 test -z "$as_dir" && as_dir
=.
29700 for ac_exec_ext
in '' $ac_executable_extensions; do
29701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29702 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29712 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29714 if test -n "$ac_pt_PKG_CONFIG"; then
29715 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29716 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29718 echo "$as_me:$LINENO: result: no" >&5
29719 echo "${ECHO_T}no" >&6
29722 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29724 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29728 if test -n "$PKG_CONFIG"; then
29729 _pkg_min_version
=0.9.0
29730 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29731 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29733 echo "$as_me:$LINENO: result: yes" >&5
29734 echo "${ECHO_T}yes" >&6
29736 echo "$as_me:$LINENO: result: no" >&5
29737 echo "${ECHO_T}no" >&6
29745 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29746 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29748 if test -n "$PKG_CONFIG"; then
29749 if test -n "$DIRECTFB_CFLAGS"; then
29750 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29752 if test -n "$PKG_CONFIG" && \
29753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29754 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; then
29758 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29766 if test -n "$PKG_CONFIG"; then
29767 if test -n "$DIRECTFB_LIBS"; then
29768 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29770 if test -n "$PKG_CONFIG" && \
29771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29772 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); }; then
29776 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29787 if test $pkg_failed = yes; then
29789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29790 _pkg_short_errors_supported
=yes
29792 _pkg_short_errors_supported
=no
29794 if test $_pkg_short_errors_supported = yes; then
29795 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29797 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29799 # Put the nasty error message in config.log where it belongs
29800 echo "$DIRECTFB_PKG_ERRORS" >&5
29803 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29804 echo "$as_me: error: DirectFB not found." >&2;}
29805 { (exit 1); exit 1; }; }
29808 elif test $pkg_failed = untried
; then
29810 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29811 echo "$as_me: error: DirectFB not found." >&2;}
29812 { (exit 1); exit 1; }; }
29816 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29817 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29818 echo "$as_me:$LINENO: result: yes" >&5
29819 echo "${ECHO_T}yes" >&6
29821 wxUSE_UNIVERSAL
="yes"
29822 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29823 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29830 if test "$wxUSE_MICROWIN" = 1; then
29831 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29832 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29833 if test "x$MICROWINDOWS" = x
; then
29834 echo "$as_me:$LINENO: result: not found" >&5
29835 echo "${ECHO_T}not found" >&6
29836 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29837 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29838 { (exit 1); exit 1; }; }
29840 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29841 echo "${ECHO_T}$MICROWINDOWS" >&6
29844 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29845 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29846 echo "${ECHO_T}MicroWindows' libraries found." >&6
29848 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29849 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29850 { (exit 1); exit 1; }; }
29853 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29854 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29856 wxUSE_UNIVERSAL
="yes"
29858 AFMINSTALL
=afminstall
29860 GUIDIST
=MICROWIN_DIST
29862 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29865 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29867 if test "x$ac_path_x_has_been_run" != xyes
; then
29868 echo "$as_me:$LINENO: checking for X" >&5
29869 echo $ECHO_N "checking for X... $ECHO_C" >&6
29871 ac_path_x_has_been_run
=yes
29873 # Check whether --with-x or --without-x was given.
29874 if test "${with_x+set}" = set; then
29878 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29879 if test "x$with_x" = xno
; then
29880 # The user explicitly disabled X.
29883 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29884 # Both variables are already set.
29887 if test "${ac_cv_have_x+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29890 # One or both of the vars are not set, and there is no cached value.
29891 ac_x_includes
=no ac_x_libraries
=no
29892 rm -fr conftest.dir
29893 if mkdir conftest.dir
; then
29895 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29896 cat >Imakefile
<<'_ACEOF'
29898 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29900 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29901 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29902 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29903 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29904 for ac_extension
in a so sl
; do
29905 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29906 test -f $ac_im_libdir/libX11.
$ac_extension; then
29907 ac_im_usrlibdir
=$ac_im_libdir; break
29910 # Screen out bogus values from the imake configuration. They are
29911 # bogus both because they are the default anyway, and because
29912 # using them would break gcc on systems where it needs fixed includes.
29913 case $ac_im_incroot in
29915 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29917 case $ac_im_usrlibdir in
29918 /usr
/lib
| /lib
) ;;
29919 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29923 rm -fr conftest.dir
29926 # Standard set of common directories for X headers.
29927 # Check X11 before X11Rn because it is often a symlink to the current release.
29939 /usr/local/X11/include
29940 /usr/local/X11R6/include
29941 /usr/local/X11R5/include
29942 /usr/local/X11R4/include
29944 /usr/local/include/X11
29945 /usr/local/include/X11R6
29946 /usr/local/include/X11R5
29947 /usr/local/include/X11R4
29951 /usr/XFree86/include/X11
29955 /usr/unsupported/include
29956 /usr/athena/include
29957 /usr/local/x11r5/include
29958 /usr/lpp/Xamples/include
29960 /usr/openwin/include
29961 /usr/openwin/share/include'
29963 if test "$ac_x_includes" = no
; then
29964 # Guess where to find include files, by looking for a specified header file.
29965 # First, try using that file with no special directory specified.
29966 cat >conftest.
$ac_ext <<_ACEOF
29969 cat confdefs.h
>>conftest.
$ac_ext
29970 cat >>conftest.
$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972 #include <X11/Intrinsic.h>
29974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29977 grep -v '^ *+' conftest.er1
>conftest.err
29979 cat conftest.err
>&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); } >/dev
/null
; then
29982 if test -s conftest.err
; then
29983 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29984 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29991 if test -z "$ac_cpp_err"; then
29992 # We can compile using X headers with no special include directory.
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.
$ac_ext >&5
29998 for ac_dir
in $ac_x_header_dirs; do
29999 if test -r "$ac_dir/X11/Intrinsic.h"; then
30000 ac_x_includes
=$ac_dir
30005 rm -f conftest.err conftest.
$ac_ext
30006 fi # $ac_x_includes = no
30008 if test "$ac_x_libraries" = no
; then
30009 # Check for the libraries.
30010 # See if we find them without any special options.
30011 # Don't add to $LIBS permanently.
30014 cat >conftest.
$ac_ext <<_ACEOF
30017 cat confdefs.h
>>conftest.
$ac_ext
30018 cat >>conftest.
$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30020 #include <X11/Intrinsic.h>
30029 rm -f conftest.
$ac_objext conftest
$ac_exeext
30030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30031 (eval $ac_link) 2>conftest.er1
30033 grep -v '^ *+' conftest.er1
>conftest.err
30035 cat conftest.err
>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } &&
30038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040 (eval $ac_try) 2>&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); }; } &&
30044 { ac_try
='test -s conftest$ac_exeext'
30045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30046 (eval $ac_try) 2>&5
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); }; }; then
30051 # We can link X programs with no special library path.
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.
$ac_ext >&5
30058 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30060 # Don't even attempt the hair of trying to link an X program!
30061 for ac_extension
in a so sl
; do
30062 if test -r $ac_dir/libXt.
$ac_extension; then
30063 ac_x_libraries
=$ac_dir
30069 rm -f conftest.err conftest.
$ac_objext \
30070 conftest
$ac_exeext conftest.
$ac_ext
30071 fi # $ac_x_libraries = no
30073 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
30074 # Didn't find X anywhere. Cache the known absence of X.
30075 ac_cv_have_x
="have_x=no"
30077 # Record where we found X for the cache.
30078 ac_cv_have_x
="have_x=yes \
30079 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30084 eval "$ac_cv_have_x"
30087 if test "$have_x" != yes; then
30088 echo "$as_me:$LINENO: result: $have_x" >&5
30089 echo "${ECHO_T}$have_x" >&6
30092 # If each of the values was on the command line, it overrides each guess.
30093 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30094 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30095 # Update the cache value to reflect the command line values.
30096 ac_cv_have_x
="have_x=yes \
30097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30098 # It might be that x_includes is empty (headers are found in the
30099 # standard search path. Then output the corresponding message
30100 ac_out_x_includes
=$x_includes
30101 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
30102 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30103 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30107 if test "$no_x" = yes; then
30108 # Not all programs may use this symbol, but it does not hurt to define it.
30110 cat >>confdefs.h
<<\_ACEOF
30111 #define X_DISPLAY_MISSING 1
30114 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30116 if test -n "$x_includes"; then
30117 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30120 # It would also be nice to do this for all -L options, not just this one.
30121 if test -n "$x_libraries"; then
30122 X_LIBS
="$X_LIBS -L$x_libraries"
30123 # For Solaris; some versions of Sun CC require a space after -R and
30124 # others require no space. Words are not sufficient . . . .
30125 case `(uname -sr) 2>/dev/null` in
30127 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30129 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30130 cat >conftest.
$ac_ext <<_ACEOF
30133 cat confdefs.h
>>conftest.
$ac_ext
30134 cat >>conftest.
$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30145 rm -f conftest.
$ac_objext conftest
$ac_exeext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30147 (eval $ac_link) 2>conftest.er1
30149 grep -v '^ *+' conftest.er1
>conftest.err
30151 cat conftest.err
>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; } &&
30160 { ac_try
='test -s conftest$ac_exeext'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; }; then
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.
$ac_ext >&5
30173 rm -f conftest.err conftest.
$ac_objext \
30174 conftest
$ac_exeext conftest.
$ac_ext
30175 if test $ac_R_nospace = yes; then
30176 echo "$as_me:$LINENO: result: no" >&5
30177 echo "${ECHO_T}no" >&6
30178 X_LIBS
="$X_LIBS -R$x_libraries"
30180 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30181 cat >conftest.
$ac_ext <<_ACEOF
30184 cat confdefs.h
>>conftest.
$ac_ext
30185 cat >>conftest.
$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30196 rm -f conftest.
$ac_objext conftest
$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30200 grep -v '^ *+' conftest.er1
>conftest.err
30202 cat conftest.err
>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30211 { ac_try
='test -s conftest$ac_exeext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.
$ac_ext >&5
30224 rm -f conftest.err conftest.
$ac_objext \
30225 conftest
$ac_exeext conftest.
$ac_ext
30226 if test $ac_R_space = yes; then
30227 echo "$as_me:$LINENO: result: yes" >&5
30228 echo "${ECHO_T}yes" >&6
30229 X_LIBS
="$X_LIBS -R $x_libraries"
30231 echo "$as_me:$LINENO: result: neither works" >&5
30232 echo "${ECHO_T}neither works" >&6
30235 LIBS
=$ac_xsave_LIBS
30239 # Check for system-dependent libraries X programs must link with.
30240 # Do this before checking for the system-independent R6 libraries
30241 # (-lICE), since we may need -lsocket or whatever for X linking.
30243 if test "$ISC" = yes; then
30244 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30246 # Martyn Johnson says this is needed for Ultrix, if the X
30247 # libraries were built with DECnet support. And Karl Berry says
30248 # the Alpha needs dnet_stub (dnet does not exist).
30249 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30257 /* Override any gcc2 internal prototype to avoid an error. */
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char XOpenDisplay ();
30272 rm -f conftest.
$ac_objext conftest
$ac_exeext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30274 (eval $ac_link) 2>conftest.er1
30276 grep -v '^ *+' conftest.er1
>conftest.err
30278 cat conftest.err
>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; } &&
30287 { ac_try
='test -s conftest$ac_exeext'
30288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30289 (eval $ac_try) 2>&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); }; }; then
30295 echo "$as_me: failed program was:" >&5
30296 sed 's/^/| /' conftest.
$ac_ext >&5
30298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30299 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30300 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 ac_check_lib_save_LIBS
=$LIBS
30304 LIBS
="-ldnet $LIBS"
30305 cat >conftest.
$ac_ext <<_ACEOF
30308 cat confdefs.h
>>conftest.
$ac_ext
30309 cat >>conftest.
$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30312 /* Override any gcc2 internal prototype to avoid an error. */
30316 /* We use char because int might match the return type of a gcc2
30317 builtin and then its argument prototype would still apply. */
30327 rm -f conftest.
$ac_objext conftest
$ac_exeext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30329 (eval $ac_link) 2>conftest.er1
30331 grep -v '^ *+' conftest.er1
>conftest.err
30333 cat conftest.err
>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } &&
30336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try
='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_dnet_dnet_ntoa
=yes
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.
$ac_ext >&5
30353 ac_cv_lib_dnet_dnet_ntoa
=no
30355 rm -f conftest.err conftest.
$ac_objext \
30356 conftest
$ac_exeext conftest.
$ac_ext
30357 LIBS
=$ac_check_lib_save_LIBS
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30360 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30361 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30365 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30366 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30367 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30368 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 ac_check_lib_save_LIBS
=$LIBS
30372 LIBS
="-ldnet_stub $LIBS"
30373 cat >conftest.
$ac_ext <<_ACEOF
30376 cat confdefs.h
>>conftest.
$ac_ext
30377 cat >>conftest.
$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30380 /* Override any gcc2 internal prototype to avoid an error. */
30384 /* We use char because int might match the return type of a gcc2
30385 builtin and then its argument prototype would still apply. */
30395 rm -f conftest.
$ac_objext conftest
$ac_exeext
30396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30397 (eval $ac_link) 2>conftest.er1
30399 grep -v '^ *+' conftest.er1
>conftest.err
30401 cat conftest.err
>&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } &&
30404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try
='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30423 rm -f conftest.err conftest.
$ac_objext \
30424 conftest
$ac_exeext conftest.
$ac_ext
30425 LIBS
=$ac_check_lib_save_LIBS
30427 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30428 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30429 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30430 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30435 rm -f conftest.err conftest.
$ac_objext \
30436 conftest
$ac_exeext conftest.
$ac_ext
30437 LIBS
="$ac_xsave_LIBS"
30439 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30440 # to get the SysV transport functions.
30441 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30443 # The nsl library prevents programs from opening the X display
30444 # on Irix 5.2, according to T.E. Dickey.
30445 # The functions gethostbyname, getservbyname, and inet_addr are
30446 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30447 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30448 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30449 if test "${ac_cv_func_gethostbyname+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 cat >conftest.
$ac_ext <<_ACEOF
30455 cat confdefs.h
>>conftest.
$ac_ext
30456 cat >>conftest.
$ac_ext <<_ACEOF
30457 /* end confdefs.h. */
30458 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30460 #define gethostbyname innocuous_gethostbyname
30462 /* System header to define __stub macros and hopefully few prototypes,
30463 which can conflict with char gethostbyname (); below.
30464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30465 <limits.h> exists even on freestanding compilers. */
30468 # include <limits.h>
30470 # include <assert.h>
30473 #undef gethostbyname
30475 /* Override any gcc2 internal prototype to avoid an error. */
30480 /* We use char because int might match the return type of a gcc2
30481 builtin and then its argument prototype would still apply. */
30482 char gethostbyname ();
30483 /* The GNU C library defines this for functions which it implements
30484 to always fail with ENOSYS. Some functions are actually named
30485 something starting with __ and the normal name is an alias. */
30486 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30489 char (*f) () = gethostbyname;
30498 return f != gethostbyname;
30503 rm -f conftest.
$ac_objext conftest
$ac_exeext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30505 (eval $ac_link) 2>conftest.er1
30507 grep -v '^ *+' conftest.er1
>conftest.err
30509 cat conftest.err
>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; } &&
30518 { ac_try
='test -s conftest$ac_exeext'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; }; then
30524 ac_cv_func_gethostbyname
=yes
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.
$ac_ext >&5
30529 ac_cv_func_gethostbyname
=no
30531 rm -f conftest.err conftest.
$ac_objext \
30532 conftest
$ac_exeext conftest.
$ac_ext
30534 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30535 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30537 if test $ac_cv_func_gethostbyname = no
; then
30538 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30539 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30540 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30541 echo $ECHO_N "(cached) $ECHO_C" >&6
30543 ac_check_lib_save_LIBS
=$LIBS
30545 cat >conftest.
$ac_ext <<_ACEOF
30548 cat confdefs.h
>>conftest.
$ac_ext
30549 cat >>conftest.
$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30552 /* Override any gcc2 internal prototype to avoid an error. */
30556 /* We use char because int might match the return type of a gcc2
30557 builtin and then its argument prototype would still apply. */
30558 char gethostbyname ();
30567 rm -f conftest.
$ac_objext conftest
$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569 (eval $ac_link) 2>conftest.er1
30571 grep -v '^ *+' conftest.er1
>conftest.err
30573 cat conftest.err
>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try
='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 ac_cv_lib_nsl_gethostbyname
=yes
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.
$ac_ext >&5
30593 ac_cv_lib_nsl_gethostbyname
=no
30595 rm -f conftest.err conftest.
$ac_objext \
30596 conftest
$ac_exeext conftest.
$ac_ext
30597 LIBS
=$ac_check_lib_save_LIBS
30599 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30600 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30601 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30602 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30605 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30606 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30607 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30608 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30609 echo $ECHO_N "(cached) $ECHO_C" >&6
30611 ac_check_lib_save_LIBS
=$LIBS
30613 cat >conftest.
$ac_ext <<_ACEOF
30616 cat confdefs.h
>>conftest.
$ac_ext
30617 cat >>conftest.
$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30620 /* Override any gcc2 internal prototype to avoid an error. */
30624 /* We use char because int might match the return type of a gcc2
30625 builtin and then its argument prototype would still apply. */
30626 char gethostbyname ();
30635 rm -f conftest.
$ac_objext conftest
$ac_exeext
30636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30637 (eval $ac_link) 2>conftest.er1
30639 grep -v '^ *+' conftest.er1
>conftest.err
30641 cat conftest.err
>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); } &&
30644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30646 (eval $ac_try) 2>&5
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; } &&
30650 { ac_try
='test -s conftest$ac_exeext'
30651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30652 (eval $ac_try) 2>&5
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); }; }; then
30656 ac_cv_lib_bsd_gethostbyname
=yes
30658 echo "$as_me: failed program was:" >&5
30659 sed 's/^/| /' conftest.
$ac_ext >&5
30661 ac_cv_lib_bsd_gethostbyname
=no
30663 rm -f conftest.err conftest.
$ac_objext \
30664 conftest
$ac_exeext conftest.
$ac_ext
30665 LIBS
=$ac_check_lib_save_LIBS
30667 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30668 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30669 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30670 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30676 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30677 # socket/setsockopt and other routines are undefined under SCO ODT
30678 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30679 # on later versions), says Simon Leinen: it contains gethostby*
30680 # variants that don't use the name server (or something). -lsocket
30681 # must be given before -lnsl if both are needed. We assume that
30682 # if connect needs -lnsl, so does gethostbyname.
30683 echo "$as_me:$LINENO: checking for connect" >&5
30684 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30685 if test "${ac_cv_func_connect+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 cat >conftest.
$ac_ext <<_ACEOF
30691 cat confdefs.h
>>conftest.
$ac_ext
30692 cat >>conftest.
$ac_ext <<_ACEOF
30693 /* end confdefs.h. */
30694 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30696 #define connect innocuous_connect
30698 /* System header to define __stub macros and hopefully few prototypes,
30699 which can conflict with char connect (); below.
30700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30701 <limits.h> exists even on freestanding compilers. */
30704 # include <limits.h>
30706 # include <assert.h>
30711 /* Override any gcc2 internal prototype to avoid an error. */
30716 /* We use char because int might match the return type of a gcc2
30717 builtin and then its argument prototype would still apply. */
30719 /* The GNU C library defines this for functions which it implements
30720 to always fail with ENOSYS. Some functions are actually named
30721 something starting with __ and the normal name is an alias. */
30722 #if defined (__stub_connect) || defined (__stub___connect)
30725 char (*f) () = connect;
30734 return f != connect;
30739 rm -f conftest.
$ac_objext conftest
$ac_exeext
30740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30741 (eval $ac_link) 2>conftest.er1
30743 grep -v '^ *+' conftest.er1
>conftest.err
30745 cat conftest.err
>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } &&
30748 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; } &&
30754 { ac_try
='test -s conftest$ac_exeext'
30755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30756 (eval $ac_try) 2>&5
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); }; }; then
30760 ac_cv_func_connect
=yes
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.
$ac_ext >&5
30765 ac_cv_func_connect
=no
30767 rm -f conftest.err conftest.
$ac_objext \
30768 conftest
$ac_exeext conftest.
$ac_ext
30770 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30771 echo "${ECHO_T}$ac_cv_func_connect" >&6
30773 if test $ac_cv_func_connect = no
; then
30774 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30775 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30776 if test "${ac_cv_lib_socket_connect+set}" = set; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 ac_check_lib_save_LIBS
=$LIBS
30780 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30781 cat >conftest.
$ac_ext <<_ACEOF
30784 cat confdefs.h
>>conftest.
$ac_ext
30785 cat >>conftest.
$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30788 /* Override any gcc2 internal prototype to avoid an error. */
30792 /* We use char because int might match the return type of a gcc2
30793 builtin and then its argument prototype would still apply. */
30803 rm -f conftest.
$ac_objext conftest
$ac_exeext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30805 (eval $ac_link) 2>conftest.er1
30807 grep -v '^ *+' conftest.er1
>conftest.err
30809 cat conftest.err
>&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; } &&
30818 { ac_try
='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 ac_cv_lib_socket_connect
=yes
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.
$ac_ext >&5
30829 ac_cv_lib_socket_connect
=no
30831 rm -f conftest.err conftest.
$ac_objext \
30832 conftest
$ac_exeext conftest.
$ac_ext
30833 LIBS
=$ac_check_lib_save_LIBS
30835 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30836 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30837 if test $ac_cv_lib_socket_connect = yes; then
30838 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30843 # Guillermo Gomez says -lposix is necessary on A/UX.
30844 echo "$as_me:$LINENO: checking for remove" >&5
30845 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30846 if test "${ac_cv_func_remove+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30849 cat >conftest.
$ac_ext <<_ACEOF
30852 cat confdefs.h
>>conftest.
$ac_ext
30853 cat >>conftest.
$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30857 #define remove innocuous_remove
30859 /* System header to define __stub macros and hopefully few prototypes,
30860 which can conflict with char remove (); below.
30861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 <limits.h> exists even on freestanding compilers. */
30865 # include <limits.h>
30867 # include <assert.h>
30872 /* Override any gcc2 internal prototype to avoid an error. */
30877 /* We use char because int might match the return type of a gcc2
30878 builtin and then its argument prototype would still apply. */
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined (__stub_remove) || defined (__stub___remove)
30886 char (*f) () = remove;
30895 return f != remove;
30900 rm -f conftest.
$ac_objext conftest
$ac_exeext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902 (eval $ac_link) 2>conftest.er1
30904 grep -v '^ *+' conftest.er1
>conftest.err
30906 cat conftest.err
>&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try
='test -s conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 ac_cv_func_remove
=yes
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.
$ac_ext >&5
30926 ac_cv_func_remove
=no
30928 rm -f conftest.err conftest.
$ac_objext \
30929 conftest
$ac_exeext conftest.
$ac_ext
30931 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30932 echo "${ECHO_T}$ac_cv_func_remove" >&6
30934 if test $ac_cv_func_remove = no
; then
30935 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30936 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30937 if test "${ac_cv_lib_posix_remove+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30940 ac_check_lib_save_LIBS
=$LIBS
30941 LIBS
="-lposix $LIBS"
30942 cat >conftest.
$ac_ext <<_ACEOF
30945 cat confdefs.h
>>conftest.
$ac_ext
30946 cat >>conftest.
$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30949 /* Override any gcc2 internal prototype to avoid an error. */
30953 /* We use char because int might match the return type of a gcc2
30954 builtin and then its argument prototype would still apply. */
30964 rm -f conftest.
$ac_objext conftest
$ac_exeext
30965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30966 (eval $ac_link) 2>conftest.er1
30968 grep -v '^ *+' conftest.er1
>conftest.err
30970 cat conftest.err
>&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30975 (eval $ac_try) 2>&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); }; } &&
30979 { ac_try
='test -s conftest$ac_exeext'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; }; then
30985 ac_cv_lib_posix_remove
=yes
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.
$ac_ext >&5
30990 ac_cv_lib_posix_remove
=no
30992 rm -f conftest.err conftest.
$ac_objext \
30993 conftest
$ac_exeext conftest.
$ac_ext
30994 LIBS
=$ac_check_lib_save_LIBS
30996 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30998 if test $ac_cv_lib_posix_remove = yes; then
30999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
31004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31005 echo "$as_me:$LINENO: checking for shmat" >&5
31006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31007 if test "${ac_cv_func_shmat+set}" = set; then
31008 echo $ECHO_N "(cached) $ECHO_C" >&6
31010 cat >conftest.
$ac_ext <<_ACEOF
31013 cat confdefs.h
>>conftest.
$ac_ext
31014 cat >>conftest.
$ac_ext <<_ACEOF
31015 /* end confdefs.h. */
31016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31018 #define shmat innocuous_shmat
31020 /* System header to define __stub macros and hopefully few prototypes,
31021 which can conflict with char shmat (); below.
31022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31023 <limits.h> exists even on freestanding compilers. */
31026 # include <limits.h>
31028 # include <assert.h>
31033 /* Override any gcc2 internal prototype to avoid an error. */
31038 /* We use char because int might match the return type of a gcc2
31039 builtin and then its argument prototype would still apply. */
31041 /* The GNU C library defines this for functions which it implements
31042 to always fail with ENOSYS. Some functions are actually named
31043 something starting with __ and the normal name is an alias. */
31044 #if defined (__stub_shmat) || defined (__stub___shmat)
31047 char (*f) () = shmat;
31061 rm -f conftest.
$ac_objext conftest
$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31065 grep -v '^ *+' conftest.er1
>conftest.err
31067 cat conftest.err
>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try
='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_func_shmat
=yes
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.
$ac_ext >&5
31087 ac_cv_func_shmat
=no
31089 rm -f conftest.err conftest.
$ac_objext \
31090 conftest
$ac_exeext conftest.
$ac_ext
31092 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31093 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31095 if test $ac_cv_func_shmat = no
; then
31096 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31097 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31098 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31101 ac_check_lib_save_LIBS
=$LIBS
31103 cat >conftest.
$ac_ext <<_ACEOF
31106 cat confdefs.h
>>conftest.
$ac_ext
31107 cat >>conftest.
$ac_ext <<_ACEOF
31108 /* end confdefs.h. */
31110 /* Override any gcc2 internal prototype to avoid an error. */
31114 /* We use char because int might match the return type of a gcc2
31115 builtin and then its argument prototype would still apply. */
31125 rm -f conftest.
$ac_objext conftest
$ac_exeext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31127 (eval $ac_link) 2>conftest.er1
31129 grep -v '^ *+' conftest.er1
>conftest.err
31131 cat conftest.err
>&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } &&
31134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31136 (eval $ac_try) 2>&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); }; } &&
31140 { ac_try
='test -s conftest$ac_exeext'
31141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31142 (eval $ac_try) 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; }; then
31146 ac_cv_lib_ipc_shmat
=yes
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.
$ac_ext >&5
31151 ac_cv_lib_ipc_shmat
=no
31153 rm -f conftest.err conftest.
$ac_objext \
31154 conftest
$ac_exeext conftest.
$ac_ext
31155 LIBS
=$ac_check_lib_save_LIBS
31157 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31158 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31159 if test $ac_cv_lib_ipc_shmat = yes; then
31160 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31166 # Check for libraries that X11R6 Xt/Xaw programs need.
31167 ac_save_LDFLAGS
=$LDFLAGS
31168 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31169 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31170 # check for ICE first), but we must link in the order -lSM -lICE or
31171 # we get undefined symbols. So assume we have SM if we have ICE.
31172 # These have to be linked with before -lX11, unlike the other
31173 # libraries we check for below, so use a different variable.
31174 # John Interrante, Karl Berry
31175 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31176 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31177 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 ac_check_lib_save_LIBS
=$LIBS
31181 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31182 cat >conftest.
$ac_ext <<_ACEOF
31185 cat confdefs.h
>>conftest.
$ac_ext
31186 cat >>conftest.
$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 /* Override any gcc2 internal prototype to avoid an error. */
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31195 char IceConnectionNumber ();
31199 IceConnectionNumber ();
31204 rm -f conftest.
$ac_objext conftest
$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31208 grep -v '^ *+' conftest.er1
>conftest.err
31210 cat conftest.err
>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; } &&
31219 { ac_try
='test -s conftest$ac_exeext'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; }; then
31225 ac_cv_lib_ICE_IceConnectionNumber
=yes
31227 echo "$as_me: failed program was:" >&5
31228 sed 's/^/| /' conftest.
$ac_ext >&5
31230 ac_cv_lib_ICE_IceConnectionNumber
=no
31232 rm -f conftest.err conftest.
$ac_objext \
31233 conftest
$ac_exeext conftest.
$ac_ext
31234 LIBS
=$ac_check_lib_save_LIBS
31236 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31237 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31238 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31239 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31242 LDFLAGS
=$ac_save_LDFLAGS
31247 if test "$no_x" = "yes"; then
31248 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31249 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31250 { (exit 1); exit 1; }; }
31253 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31254 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31255 AFMINSTALL
=afminstall
31256 COMPILED_X_PROGRAM
=0
31260 if test "$wxUSE_X11" = 1; then
31261 if test "$wxUSE_NANOX" = "yes"; then
31262 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31263 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31264 if test "x$MICROWIN" = x
; then
31265 echo "$as_me:$LINENO: result: not found" >&5
31266 echo "${ECHO_T}not found" >&6
31267 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31268 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31269 { (exit 1); exit 1; }; }
31271 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31272 echo "${ECHO_T}$MICROWIN" >&6
31273 cat >>confdefs.h
<<\_ACEOF
31274 #define wxUSE_NANOX 1
31280 if test "$wxUSE_UNICODE" = "yes"; then
31283 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31284 if test -n "$ac_tool_prefix"; then
31285 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31286 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31287 echo "$as_me:$LINENO: checking for $ac_word" >&5
31288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31289 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 case $PKG_CONFIG in
31294 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31298 for as_dir
in $PATH
31301 test -z "$as_dir" && as_dir
=.
31302 for ac_exec_ext
in '' $ac_executable_extensions; do
31303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31304 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31314 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31316 if test -n "$PKG_CONFIG"; then
31317 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31318 echo "${ECHO_T}$PKG_CONFIG" >&6
31320 echo "$as_me:$LINENO: result: no" >&5
31321 echo "${ECHO_T}no" >&6
31325 if test -z "$ac_cv_path_PKG_CONFIG"; then
31326 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31327 # Extract the first word of "pkg-config", so it can be a program name with args.
31328 set dummy pkg
-config; ac_word
=$2
31329 echo "$as_me:$LINENO: checking for $ac_word" >&5
31330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31331 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 case $ac_pt_PKG_CONFIG in
31336 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31340 for as_dir
in $PATH
31343 test -z "$as_dir" && as_dir
=.
31344 for ac_exec_ext
in '' $ac_executable_extensions; do
31345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31346 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31356 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31358 if test -n "$ac_pt_PKG_CONFIG"; then
31359 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31360 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31362 echo "$as_me:$LINENO: result: no" >&5
31363 echo "${ECHO_T}no" >&6
31366 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31368 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31372 if test -n "$PKG_CONFIG"; then
31373 _pkg_min_version
=0.9.0
31374 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31375 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31377 echo "$as_me:$LINENO: result: yes" >&5
31378 echo "${ECHO_T}yes" >&6
31380 echo "$as_me:$LINENO: result: no" >&5
31381 echo "${ECHO_T}no" >&6
31389 echo "$as_me:$LINENO: checking for PANGOX" >&5
31390 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31392 if test -n "$PKG_CONFIG"; then
31393 if test -n "$PANGOX_CFLAGS"; then
31394 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31396 if test -n "$PKG_CONFIG" && \
31397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31398 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; then
31402 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31410 if test -n "$PKG_CONFIG"; then
31411 if test -n "$PANGOX_LIBS"; then
31412 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31414 if test -n "$PKG_CONFIG" && \
31415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31416 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); }; then
31420 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31431 if test $pkg_failed = yes; then
31433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31434 _pkg_short_errors_supported
=yes
31436 _pkg_short_errors_supported
=no
31438 if test $_pkg_short_errors_supported = yes; then
31439 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31441 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31443 # Put the nasty error message in config.log where it belongs
31444 echo "$PANGOX_PKG_ERRORS" >&5
31447 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31448 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31449 { (exit 1); exit 1; }; }
31452 elif test $pkg_failed = untried
; then
31454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31456 { (exit 1); exit 1; }; }
31460 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31461 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31462 echo "$as_me:$LINENO: result: yes" >&5
31463 echo "${ECHO_T}yes" >&6
31465 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31466 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31471 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31472 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31474 if test -n "$PKG_CONFIG"; then
31475 if test -n "$PANGOFT2_CFLAGS"; then
31476 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31478 if test -n "$PKG_CONFIG" && \
31479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31480 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; then
31484 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31492 if test -n "$PKG_CONFIG"; then
31493 if test -n "$PANGOFT2_LIBS"; then
31494 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31496 if test -n "$PKG_CONFIG" && \
31497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31498 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; then
31502 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31513 if test $pkg_failed = yes; then
31515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31516 _pkg_short_errors_supported
=yes
31518 _pkg_short_errors_supported
=no
31520 if test $_pkg_short_errors_supported = yes; then
31521 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31523 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31525 # Put the nasty error message in config.log where it belongs
31526 echo "$PANGOFT2_PKG_ERRORS" >&5
31529 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31530 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31531 wxUSE_PRINTING_ARCHITECTURE
="no"
31534 elif test $pkg_failed = untried
; then
31536 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31537 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31538 wxUSE_PRINTING_ARCHITECTURE
="no"
31542 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31543 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31544 echo "$as_me:$LINENO: result: yes" >&5
31545 echo "${ECHO_T}yes" >&6
31547 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31553 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31554 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOXFT_CFLAGS"; then
31558 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOXFT_LIBS"; then
31576 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31595 if test $pkg_failed = yes; then
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported
=yes
31600 _pkg_short_errors_supported
=no
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31605 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOXFT_PKG_ERRORS" >&5
31611 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31612 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31615 elif test $pkg_failed = untried
; then
31617 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31618 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31622 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31623 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31624 echo "$as_me:$LINENO: result: yes" >&5
31625 echo "${ECHO_T}yes" >&6
31627 cat >>confdefs.h
<<\_ACEOF
31628 #define HAVE_PANGO_XFT 1
31631 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31632 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31635 save_CXXFLAGS
="$CXXFLAGS"
31637 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31638 LIBS
="$LIBS $PANGOX_LIBS"
31640 for ac_func
in pango_font_family_is_monospace
31642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31643 echo "$as_me:$LINENO: checking for $ac_func" >&5
31644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31645 if eval "test \"\${$as_ac_var+set}\" = set"; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 cat >conftest.
$ac_ext <<_ACEOF
31651 cat confdefs.h
>>conftest.
$ac_ext
31652 cat >>conftest.
$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31656 #define $ac_func innocuous_$ac_func
31658 /* System header to define __stub macros and hopefully few prototypes,
31659 which can conflict with char $ac_func (); below.
31660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31661 <limits.h> exists even on freestanding compilers. */
31664 # include <limits.h>
31666 # include <assert.h>
31671 /* Override any gcc2 internal prototype to avoid an error. */
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31679 /* The GNU C library defines this for functions which it implements
31680 to always fail with ENOSYS. Some functions are actually named
31681 something starting with __ and the normal name is an alias. */
31682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31685 char (*f) () = $ac_func;
31694 return f != $ac_func;
31699 rm -f conftest.
$ac_objext conftest
$ac_exeext
31700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31701 (eval $ac_link) 2>conftest.er1
31703 grep -v '^ *+' conftest.er1
>conftest.err
31705 cat conftest.err
>&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); } &&
31708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; } &&
31714 { ac_try
='test -s conftest$ac_exeext'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; }; then
31720 eval "$as_ac_var=yes"
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.
$ac_ext >&5
31725 eval "$as_ac_var=no"
31727 rm -f conftest.err conftest.
$ac_objext \
31728 conftest
$ac_exeext conftest.
$ac_ext
31730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31732 if test `eval echo '${'$as_ac_var'}'` = yes; then
31733 cat >>confdefs.h
<<_ACEOF
31734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31740 CXXFLAGS
="$save_CXXFLAGS"
31744 wxUSE_UNIVERSAL
="yes"
31746 if test "$wxUSE_NANOX" = "yes"; then
31747 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31748 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"
31749 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31751 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31758 if test "$wxUSE_MOTIF" = 1; then
31759 if test "$wxUSE_UNICODE" = "yes"; then
31760 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31761 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31762 { (exit 1); exit 1; }; }
31765 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31766 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31769 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31771 if test -f "$ac_dir/Xm/Xm.h"; then
31772 ac_find_includes
=$ac_dir
31777 if test "$ac_find_includes" != "" ; then
31778 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31779 echo "${ECHO_T}found in $ac_find_includes" >&6
31781 if test "x$ac_find_includes" = "x/usr/include"; then
31782 ac_path_to_include
=""
31784 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31786 if test $result = 0; then
31787 ac_path_to_include
=""
31789 ac_path_to_include
=" -I$ac_find_includes"
31793 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31795 save_CXXFLAGS
=$CXXFLAGS
31796 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31798 cat >conftest.
$ac_ext <<_ACEOF
31801 cat confdefs.h
>>conftest.
$ac_ext
31802 cat >>conftest.
$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31812 version = xmUseVersion;
31818 rm -f conftest.
$ac_objext
31819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31820 (eval $ac_compile) 2>conftest.er1
31822 grep -v '^ *+' conftest.er1
>conftest.err
31824 cat conftest.err
>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } &&
31827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try
='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31840 echo "$as_me:$LINENO: result: found in default search path" >&5
31841 echo "${ECHO_T}found in default search path" >&6
31842 COMPILED_X_PROGRAM
=1
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.
$ac_ext >&5
31849 echo "$as_me:$LINENO: result: no" >&5
31850 echo "${ECHO_T}no" >&6
31851 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31852 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31853 { (exit 1); exit 1; }; }
31857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31859 CXXFLAGS
=$save_CXXFLAGS
31863 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31864 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31867 for ac_dir
in $SEARCH_LIB;
31869 for ac_extension
in a so sl dylib dll.a
; do
31870 if test -f "$ac_dir/libXm.$ac_extension"; then
31871 ac_find_libraries
=$ac_dir
31878 if test "x$ac_find_libraries" != "x" ; then
31879 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31880 echo "${ECHO_T}found in $ac_find_libraries" >&6
31883 if test "$ac_find_libraries" = "default location"; then
31886 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31888 if test $result = 0; then
31891 ac_path_to_link
=" -L$ac_find_libraries"
31895 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31897 save_CXXFLAGS
=$CXXFLAGS
31898 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31900 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31902 cat >conftest.
$ac_ext <<_ACEOF
31905 cat confdefs.h
>>conftest.
$ac_ext
31906 cat >>conftest.
$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31916 version = xmUseVersion;
31922 rm -f conftest.
$ac_objext conftest
$ac_exeext
31923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31924 (eval $ac_link) 2>conftest.er1
31926 grep -v '^ *+' conftest.er1
>conftest.err
31928 cat conftest.err
>&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } &&
31931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31933 (eval $ac_try) 2>&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); }; } &&
31937 { ac_try
='test -s conftest$ac_exeext'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; }; then
31944 echo "$as_me:$LINENO: result: found in default search path" >&5
31945 echo "${ECHO_T}found in default search path" >&6
31946 COMPILED_X_PROGRAM
=1
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.
$ac_ext >&5
31953 echo "$as_me:$LINENO: result: no" >&5
31954 echo "${ECHO_T}no" >&6
31955 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31956 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31957 { (exit 1); exit 1; }; }
31961 rm -f conftest.err conftest.
$ac_objext \
31962 conftest
$ac_exeext conftest.
$ac_ext
31964 CXXFLAGS
=$save_CXXFLAGS
31968 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31969 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31973 for libp
in "" " -lXp"; do
31974 if test "$libs_found" = "0"; then
31975 for libsm_ice
in "" " -lSM -lICE"; do
31976 if test "$libs_found" = "0"; then
31978 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31979 save_CXXFLAGS
=$CXXFLAGS
31980 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31982 cat >conftest.
$ac_ext <<_ACEOF
31985 cat confdefs.h
>>conftest.
$ac_ext
31986 cat >>conftest.
$ac_ext <<_ACEOF
31987 /* end confdefs.h. */
31990 #include <Xm/List.h>
31996 XmString string = NULL;
31999 XmListAddItem(w, string, position);
32005 rm -f conftest.
$ac_objext conftest
$ac_exeext
32006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32007 (eval $ac_link) 2>conftest.er1
32009 grep -v '^ *+' conftest.er1
>conftest.err
32011 cat conftest.err
>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); } &&
32014 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; } &&
32020 { ac_try
='test -s conftest$ac_exeext'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; }; then
32028 libsm_ice_link
="$libsm_ice"
32029 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32030 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.
$ac_ext >&5
32040 rm -f conftest.err conftest.
$ac_objext \
32041 conftest
$ac_exeext conftest.
$ac_ext
32044 CXXFLAGS
=$save_CXXFLAGS
32050 if test "$libs_found" = "0"; then
32051 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32052 echo "${ECHO_T}can't find the right libraries" >&6
32053 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32054 echo "$as_me: error: can't link a simple motif program" >&2;}
32055 { (exit 1); exit 1; }; }
32058 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32059 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32060 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32063 ac_check_lib_save_LIBS
=$LIBS
32065 cat >conftest.
$ac_ext <<_ACEOF
32068 cat confdefs.h
>>conftest.
$ac_ext
32069 cat >>conftest.
$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32072 /* Override any gcc2 internal prototype to avoid an error. */
32076 /* We use char because int might match the return type of a gcc2
32077 builtin and then its argument prototype would still apply. */
32078 char SgCreateList ();
32087 rm -f conftest.
$ac_objext conftest
$ac_exeext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32089 (eval $ac_link) 2>conftest.er1
32091 grep -v '^ *+' conftest.er1
>conftest.err
32093 cat conftest.err
>&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try
='test -s conftest$ac_exeext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 ac_cv_lib_Sgm_SgCreateList
=yes
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.
$ac_ext >&5
32113 ac_cv_lib_Sgm_SgCreateList
=no
32115 rm -f conftest.err conftest.
$ac_objext \
32116 conftest
$ac_exeext conftest.
$ac_ext
32117 LIBS
=$ac_check_lib_save_LIBS
32119 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32120 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32121 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32122 libsgm_link
=" -lSgm"
32126 save_CXXFLAGS
=$CXXFLAGS
32127 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32129 echo "$as_me:$LINENO: checking for Motif 2" >&5
32130 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32131 if test "${wx_cv_lib_motif2+set}" = set; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 cat >conftest.
$ac_ext <<_ACEOF
32137 cat confdefs.h
>>conftest.
$ac_ext
32138 cat >>conftest.
$ac_ext <<_ACEOF
32139 /* end confdefs.h. */
32147 #if XmVersion < 2000
32155 rm -f conftest.
$ac_objext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32157 (eval $ac_compile) 2>conftest.er1
32159 grep -v '^ *+' conftest.er1
>conftest.err
32161 cat conftest.err
>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } &&
32164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32166 (eval $ac_try) 2>&5
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); }; } &&
32170 { ac_try
='test -s conftest.$ac_objext'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; }; then
32176 wx_cv_lib_motif2
="yes"
32178 echo "$as_me: failed program was:" >&5
32179 sed 's/^/| /' conftest.
$ac_ext >&5
32181 wx_cv_lib_motif2
="no"
32183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32185 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32186 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32187 if test "$wx_cv_lib_motif2" = "yes"; then
32188 cat >>confdefs.h
<<\_ACEOF
32189 #define __WXMOTIF20__ 1
32193 cat >>confdefs.h
<<\_ACEOF
32194 #define __WXMOTIF20__ 0
32199 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32200 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32201 if test "${wx_cv_lib_lesstif+set}" = set; then
32202 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 cat >conftest.
$ac_ext <<_ACEOF
32207 cat confdefs.h
>>conftest.
$ac_ext
32208 cat >>conftest.
$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32217 #if !defined(LesstifVersion) || LesstifVersion <= 0
32225 rm -f conftest.
$ac_objext
32226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32227 (eval $ac_compile) 2>conftest.er1
32229 grep -v '^ *+' conftest.er1
>conftest.err
32231 cat conftest.err
>&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } &&
32234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; } &&
32240 { ac_try
='test -s conftest.$ac_objext'
32241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32242 (eval $ac_try) 2>&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; }; then
32246 wx_cv_lib_lesstif
="yes"
32248 echo "$as_me: failed program was:" >&5
32249 sed 's/^/| /' conftest.
$ac_ext >&5
32251 wx_cv_lib_lesstif
="no"
32253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32256 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32257 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32258 if test "$wx_cv_lib_lesstif" = "yes"; then
32259 cat >>confdefs.h
<<\_ACEOF
32260 #define __WXLESSTIF__ 1
32264 cat >>confdefs.h
<<\_ACEOF
32265 #define __WXLESSTIF__ 0
32270 CXXFLAGS
=$save_CXXFLAGS
32272 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32277 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32278 if test "$wxUSE_LIBXPM" = "sys"; then
32279 echo "$as_me:$LINENO: checking for Xpm library" >&5
32280 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32283 for ac_dir
in $SEARCH_LIB;
32285 for ac_extension
in a so sl dylib dll.a
; do
32286 if test -f "$ac_dir/libXpm.$ac_extension"; then
32287 ac_find_libraries
=$ac_dir
32293 if test "$ac_find_libraries" != "" ; then
32295 if test "$ac_find_libraries" = "default location"; then
32298 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32300 if test $result = 0; then
32303 ac_path_to_link
=" -L$ac_find_libraries"
32307 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32308 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32309 echo "${ECHO_T}found in $ac_find_libraries" >&6
32311 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32312 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32313 if test "${wx_cv_x11_xpm_h+set}" = set; then
32314 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 save_CXXFLAGS
=$CXXFLAGS
32318 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32320 cat >conftest.
$ac_ext <<_ACEOF
32323 cat confdefs.h
>>conftest.
$ac_ext
32324 cat >>conftest.
$ac_ext <<_ACEOF
32325 /* end confdefs.h. */
32327 #include <X11/xpm.h>
32334 version = XpmLibraryVersion();
32340 rm -f conftest.
$ac_objext
32341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32342 (eval $ac_compile) 2>conftest.er1
32344 grep -v '^ *+' conftest.er1
>conftest.err
32346 cat conftest.err
>&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } &&
32349 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32351 (eval $ac_try) 2>&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); }; } &&
32355 { ac_try
='test -s conftest.$ac_objext'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; }; then
32361 wx_cv_x11_xpm_h
=yes
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.
$ac_ext >&5
32369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32371 CXXFLAGS
=$save_CXXFLAGS
32375 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32376 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32378 if test $wx_cv_x11_xpm_h = "yes"; then
32379 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32380 cat >>confdefs.h
<<\_ACEOF
32381 #define wxHAVE_LIB_XPM 1
32385 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32386 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32392 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32393 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32394 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32395 echo $ECHO_N "(cached) $ECHO_C" >&6
32397 ac_check_lib_save_LIBS
=$LIBS
32398 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32399 cat >conftest.
$ac_ext <<_ACEOF
32402 cat confdefs.h
>>conftest.
$ac_ext
32403 cat >>conftest.
$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32406 /* Override any gcc2 internal prototype to avoid an error. */
32410 /* We use char because int might match the return type of a gcc2
32411 builtin and then its argument prototype would still apply. */
32412 char XShapeQueryExtension ();
32416 XShapeQueryExtension ();
32421 rm -f conftest.
$ac_objext conftest
$ac_exeext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32423 (eval $ac_link) 2>conftest.er1
32425 grep -v '^ *+' conftest.er1
>conftest.err
32427 cat conftest.err
>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } &&
32430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; } &&
32436 { ac_try
='test -s conftest$ac_exeext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32442 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.
$ac_ext >&5
32447 ac_cv_lib_Xext_XShapeQueryExtension
=no
32449 rm -f conftest.err conftest.
$ac_objext \
32450 conftest
$ac_exeext conftest.
$ac_ext
32451 LIBS
=$ac_check_lib_save_LIBS
32453 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32454 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32455 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32457 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32463 if test "$wxHAVE_XEXT_LIB" = 1; then
32464 save_CXXFLAGS
="$CXXFLAGS"
32465 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32467 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32468 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32469 cat >conftest.
$ac_ext <<_ACEOF
32472 cat confdefs.h
>>conftest.
$ac_ext
32473 cat >>conftest.
$ac_ext <<_ACEOF
32474 /* end confdefs.h. */
32476 #include <X11/Xlib.h>
32477 #include <X11/extensions/shape.h>
32483 int dummy1, dummy2;
32484 XShapeQueryExtension((Display*)NULL,
32485 (int*)NULL, (int*)NULL);
32491 rm -f conftest.
$ac_objext
32492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32493 (eval $ac_compile) 2>conftest.er1
32495 grep -v '^ *+' conftest.er1
>conftest.err
32497 cat conftest.err
>&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } &&
32500 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; } &&
32506 { ac_try
='test -s conftest.$ac_objext'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; }; then
32513 cat >>confdefs.h
<<\_ACEOF
32514 #define HAVE_XSHAPE 1
32517 echo "$as_me:$LINENO: result: found" >&5
32518 echo "${ECHO_T}found" >&6
32521 echo "$as_me: failed program was:" >&5
32522 sed 's/^/| /' conftest.
$ac_ext >&5
32525 echo "$as_me:$LINENO: result: not found" >&5
32526 echo "${ECHO_T}not found" >&6
32529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32530 CXXFLAGS
="$save_CXXFLAGS"
32535 if test "$wxUSE_MAC" = 1; then
32536 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32537 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32538 if test "$GCC" = yes; then
32539 echo "$as_me:$LINENO: result: gcc" >&5
32540 echo "${ECHO_T}gcc" >&6
32541 CPPFLAGS_PASCAL
="-fpascal-strings"
32542 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32543 echo "$as_me:$LINENO: result: xlc" >&5
32544 echo "${ECHO_T}xlc" >&6
32545 CPPFLAGS_PASCAL
="-qmacpstr"
32547 echo "$as_me:$LINENO: result: none" >&5
32548 echo "${ECHO_T}none" >&6
32551 if test "x$wxUSE_UNIX" = "xyes"; then
32552 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32554 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32559 WXBASEPORT
="_carbon"
32562 if test "$wxUSE_COCOA" = 1; then
32567 if test "$wxUSE_PM" = 1; then
32570 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32571 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32572 if test "${wx_cv_spbcdata+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32576 cat >conftest.
$ac_ext <<_ACEOF
32579 cat confdefs.h
>>conftest.
$ac_ext
32580 cat >>conftest.
$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32596 rm -f conftest.
$ac_objext
32597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32598 (eval $ac_compile) 2>conftest.er1
32600 grep -v '^ *+' conftest.er1
>conftest.err
32602 cat conftest.err
>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } &&
32605 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; } &&
32611 { ac_try
='test -s conftest.$ac_objext'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; }; then
32619 echo "$as_me: failed program was:" >&5
32620 sed 's/^/| /' conftest.
$ac_ext >&5
32625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32629 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32630 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32632 if test $wx_cv_spbcdata = "yes"; then
32633 cat >>confdefs.h
<<\_ACEOF
32634 #define HAVE_SPBCDATA 1
32640 if test "$TOOLKIT" = "PM" ; then
32643 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32646 if test "$wxUSE_UNIVERSAL" = "yes"; then
32647 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32651 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32652 DISTDIR
="wx\$(TOOLKIT)"
32658 if test "$USE_WIN32" = 1 ; then
32662 GUIDIST
="BASE_DIST"
32667 if test "$wxUSE_GUI" = "yes"; then
32668 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32670 for ac_header
in X
11/Xlib.h
32672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32674 echo "$as_me:$LINENO: checking for $ac_header" >&5
32675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32682 # Is the header compilable?
32683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32685 cat >conftest.
$ac_ext <<_ACEOF
32688 cat confdefs.h
>>conftest.
$ac_ext
32689 cat >>conftest.
$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32691 $ac_includes_default
32692 #include <$ac_header>
32694 rm -f conftest.
$ac_objext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32696 (eval $ac_compile) 2>conftest.er1
32698 grep -v '^ *+' conftest.er1
>conftest.err
32700 cat conftest.err
>&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } &&
32703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; } &&
32709 { ac_try
='test -s conftest.$ac_objext'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; }; then
32715 ac_header_compiler
=yes
32717 echo "$as_me: failed program was:" >&5
32718 sed 's/^/| /' conftest.
$ac_ext >&5
32720 ac_header_compiler
=no
32722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32724 echo "${ECHO_T}$ac_header_compiler" >&6
32726 # Is the header present?
32727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32729 cat >conftest.
$ac_ext <<_ACEOF
32732 cat confdefs.h
>>conftest.
$ac_ext
32733 cat >>conftest.
$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 #include <$ac_header>
32737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32740 grep -v '^ *+' conftest.er1
>conftest.err
32742 cat conftest.err
>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } >/dev
/null
; then
32745 if test -s conftest.err
; then
32746 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32747 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32754 if test -z "$ac_cpp_err"; then
32755 ac_header_preproc
=yes
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.
$ac_ext >&5
32760 ac_header_preproc
=no
32762 rm -f conftest.err conftest.
$ac_ext
32763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32764 echo "${ECHO_T}$ac_header_preproc" >&6
32766 # So? What about this header?
32767 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32773 ac_header_preproc
=yes
32776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32790 ## ----------------------------------------- ##
32791 ## Report this to wx-dev@lists.wxwidgets.org ##
32792 ## ----------------------------------------- ##
32795 sed "s/^/$as_me: WARNING: /" >&2
32798 echo "$as_me:$LINENO: checking for $ac_header" >&5
32799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 eval "$as_ac_Header=\$ac_header_preproc"
32805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32810 cat >>confdefs.h
<<_ACEOF
32811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32819 for ac_header
in X
11/XKBlib.h
32821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_header" >&5
32823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32827 cat >conftest.
$ac_ext <<_ACEOF
32830 cat confdefs.h
>>conftest.
$ac_ext
32831 cat >>conftest.
$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32834 #if HAVE_X11_XLIB_H
32835 #include <X11/Xlib.h>
32839 #include <$ac_header>
32841 rm -f conftest.
$ac_objext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32843 (eval $ac_compile) 2>conftest.er1
32845 grep -v '^ *+' conftest.er1
>conftest.err
32847 cat conftest.err
>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } &&
32850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; } &&
32856 { ac_try
='test -s conftest.$ac_objext'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; }; then
32862 eval "$as_ac_Header=yes"
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.
$ac_ext >&5
32867 eval "$as_ac_Header=no"
32869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32874 cat >>confdefs.h
<<_ACEOF
32875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32890 if test "$TOOLKIT" != "MSW" ; then
32892 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32894 if test "${ac_cv_header_sql_h+set}" = set; then
32895 echo "$as_me:$LINENO: checking for sql.h" >&5
32896 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32897 if test "${ac_cv_header_sql_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32901 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32903 # Is the header compilable?
32904 echo "$as_me:$LINENO: checking sql.h usability" >&5
32905 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32906 cat >conftest.
$ac_ext <<_ACEOF
32909 cat confdefs.h
>>conftest.
$ac_ext
32910 cat >>conftest.
$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32912 $ac_includes_default
32915 rm -f conftest.
$ac_objext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32917 (eval $ac_compile) 2>conftest.er1
32919 grep -v '^ *+' conftest.er1
>conftest.err
32921 cat conftest.err
>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; } &&
32930 { ac_try
='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 ac_header_compiler
=yes
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.
$ac_ext >&5
32941 ac_header_compiler
=no
32943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32945 echo "${ECHO_T}$ac_header_compiler" >&6
32947 # Is the header present?
32948 echo "$as_me:$LINENO: checking sql.h presence" >&5
32949 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32961 grep -v '^ *+' conftest.er1
>conftest.err
32963 cat conftest.err
>&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } >/dev
/null
; then
32966 if test -s conftest.err
; then
32967 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32968 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32975 if test -z "$ac_cpp_err"; then
32976 ac_header_preproc
=yes
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.
$ac_ext >&5
32981 ac_header_preproc
=no
32983 rm -f conftest.err conftest.
$ac_ext
32984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32985 echo "${ECHO_T}$ac_header_preproc" >&6
32987 # So? What about this header?
32988 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32990 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32991 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32992 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32993 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32994 ac_header_preproc
=yes
32997 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32998 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32999 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33000 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33001 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33002 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33003 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33004 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33005 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33006 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33007 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33008 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33011 ## ----------------------------------------- ##
33012 ## Report this to wx-dev@lists.wxwidgets.org ##
33013 ## ----------------------------------------- ##
33016 sed "s/^/$as_me: WARNING: /" >&2
33019 echo "$as_me:$LINENO: checking for sql.h" >&5
33020 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33021 if test "${ac_cv_header_sql_h+set}" = set; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33024 ac_cv_header_sql_h
=$ac_header_preproc
33026 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33030 if test $ac_cv_header_sql_h = yes; then
33035 if test "x$found_sql_h" = "x1" ; then
33036 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33037 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33038 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 ac_check_lib_save_LIBS
=$LIBS
33042 LIBS
="-liodbc $LIBS"
33043 cat >conftest.
$ac_ext <<_ACEOF
33046 cat confdefs.h
>>conftest.
$ac_ext
33047 cat >>conftest.
$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33050 /* Override any gcc2 internal prototype to avoid an error. */
33054 /* We use char because int might match the return type of a gcc2
33055 builtin and then its argument prototype would still apply. */
33056 char SQLAllocEnv ();
33065 rm -f conftest.
$ac_objext conftest
$ac_exeext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33067 (eval $ac_link) 2>conftest.er1
33069 grep -v '^ *+' conftest.er1
>conftest.err
33071 cat conftest.err
>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 (eval $ac_try) 2>&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); }; } &&
33080 { ac_try
='test -s conftest$ac_exeext'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; }; then
33086 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33088 echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.
$ac_ext >&5
33091 ac_cv_lib_iodbc_SQLAllocEnv
=no
33093 rm -f conftest.err conftest.
$ac_objext \
33094 conftest
$ac_exeext conftest.
$ac_ext
33095 LIBS
=$ac_check_lib_save_LIBS
33097 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33098 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33099 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33100 ODBC_LINK
=" -liodbc"
33103 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33104 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33105 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33108 ac_check_lib_save_LIBS
=$LIBS
33109 LIBS
="-lunixodbc $LIBS"
33110 cat >conftest.
$ac_ext <<_ACEOF
33113 cat confdefs.h
>>conftest.
$ac_ext
33114 cat >>conftest.
$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33117 /* Override any gcc2 internal prototype to avoid an error. */
33121 /* We use char because int might match the return type of a gcc2
33122 builtin and then its argument prototype would still apply. */
33123 char SQLAllocEnv ();
33132 rm -f conftest.
$ac_objext conftest
$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33136 grep -v '^ *+' conftest.er1
>conftest.err
33138 cat conftest.err
>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try
='test -s conftest$ac_exeext'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }; then
33153 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.
$ac_ext >&5
33158 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33160 rm -f conftest.err conftest.
$ac_objext \
33161 conftest
$ac_exeext conftest.
$ac_ext
33162 LIBS
=$ac_check_lib_save_LIBS
33164 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33165 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33166 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33167 ODBC_LINK
=" -lunixodbc"
33170 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33171 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33172 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 ac_check_lib_save_LIBS
=$LIBS
33176 LIBS
="-lodbc $LIBS"
33177 cat >conftest.
$ac_ext <<_ACEOF
33180 cat confdefs.h
>>conftest.
$ac_ext
33181 cat >>conftest.
$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33184 /* Override any gcc2 internal prototype to avoid an error. */
33188 /* We use char because int might match the return type of a gcc2
33189 builtin and then its argument prototype would still apply. */
33190 char SQLAllocEnv ();
33199 rm -f conftest.
$ac_objext conftest
$ac_exeext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33201 (eval $ac_link) 2>conftest.er1
33203 grep -v '^ *+' conftest.er1
>conftest.err
33205 cat conftest.err
>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; } &&
33214 { ac_try
='test -s conftest$ac_exeext'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; }; then
33220 ac_cv_lib_odbc_SQLAllocEnv
=yes
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.
$ac_ext >&5
33225 ac_cv_lib_odbc_SQLAllocEnv
=no
33227 rm -f conftest.err conftest.
$ac_objext \
33228 conftest
$ac_exeext conftest.
$ac_ext
33229 LIBS
=$ac_check_lib_save_LIBS
33231 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33232 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33233 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33234 ODBC_LINK
=" -lodbc"
33244 if test "x$ODBC_LINK" = "x" ; then
33245 if test "$wxUSE_ODBC" = "sys" ; then
33246 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33247 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33248 { (exit 1); exit 1; }; }
33250 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33251 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33259 if test "$wxUSE_ODBC" = "builtin" ; then
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_BUILTIN_IODBC 1
33267 if test "$wxUSE_ODBC" != "no" ; then
33268 cat >>confdefs.h
<<\_ACEOF
33269 #define wxUSE_ODBC 1
33272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33274 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33278 if test "$wxUSE_DISPLAY" = "yes"; then
33279 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33280 echo "$as_me:$LINENO: checking for Xinerama" >&5
33281 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33284 for ac_dir
in $SEARCH_LIB;
33286 for ac_extension
in a so sl dylib dll.a
; do
33287 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33288 ac_find_libraries
=$ac_dir
33294 if test "$ac_find_libraries" != "" ; then
33296 if test "$ac_find_libraries" = "default location"; then
33299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33301 if test $result = 0; then
33304 ac_path_to_link
=" -L$ac_find_libraries"
33308 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33309 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33311 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33312 echo "$as_me:$LINENO: result: yes" >&5
33313 echo "${ECHO_T}yes" >&6
33315 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33316 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33319 for ac_dir
in $SEARCH_LIB;
33321 for ac_extension
in a so sl dylib dll.a
; do
33322 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33323 ac_find_libraries
=$ac_dir
33329 if test "$ac_find_libraries" != "" ; then
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33333 for ac_header
in X
11/extensions
/xf86vmode.h
33335 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33336 echo "$as_me:$LINENO: checking for $ac_header" >&5
33337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33341 cat >conftest.
$ac_ext <<_ACEOF
33344 cat confdefs.h
>>conftest.
$ac_ext
33345 cat >>conftest.
$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33348 #if HAVE_X11_XLIB_H
33349 #include <X11/Xlib.h>
33353 #include <$ac_header>
33355 rm -f conftest.
$ac_objext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33357 (eval $ac_compile) 2>conftest.er1
33359 grep -v '^ *+' conftest.er1
>conftest.err
33361 cat conftest.err
>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try
='test -s conftest.$ac_objext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 eval "$as_ac_Header=yes"
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.
$ac_ext >&5
33381 eval "$as_ac_Header=no"
33383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33388 cat >>confdefs.h
<<_ACEOF
33389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33392 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33399 echo "$as_me:$LINENO: result: no" >&5
33400 echo "${ECHO_T}no" >&6
33404 echo "$as_me:$LINENO: result: no" >&5
33405 echo "${ECHO_T}no" >&6
33406 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33407 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33410 elif test "$wxUSE_MSW" = 1; then
33412 for ac_header
in ddraw.h
33414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33415 echo "$as_me:$LINENO: checking for $ac_header" >&5
33416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 cat >conftest.
$ac_ext <<_ACEOF
33423 cat confdefs.h
>>conftest.
$ac_ext
33424 cat >>conftest.
$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <windows.h>
33428 #include <$ac_header>
33430 rm -f conftest.
$ac_objext
33431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33432 (eval $ac_compile) 2>conftest.er1
33434 grep -v '^ *+' conftest.er1
>conftest.err
33436 cat conftest.err
>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } &&
33439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try
='test -s conftest.$ac_objext'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 eval "$as_ac_Header=yes"
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.
$ac_ext >&5
33456 eval "$as_ac_Header=no"
33458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33463 cat >>confdefs.h
<<_ACEOF
33464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33474 if test "$wxUSE_DETECT_SM" = "yes"; then
33475 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33476 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33477 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33480 for ac_dir
in $SEARCH_LIB;
33482 for ac_extension
in a so sl dylib dll.a
; do
33483 if test -f "$ac_dir/libSM.$ac_extension"; then
33484 ac_find_libraries
=$ac_dir
33490 if test "$ac_find_libraries" != "" ; then
33492 if test "$ac_find_libraries" = "default location"; then
33495 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33497 if test $result = 0; then
33500 ac_path_to_link
=" -L$ac_find_libraries"
33504 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33505 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33507 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33508 echo "$as_me:$LINENO: result: yes" >&5
33509 echo "${ECHO_T}yes" >&6
33511 echo "$as_me:$LINENO: result: no" >&5
33512 echo "${ECHO_T}no" >&6
33513 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33514 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33515 wxUSE_DETECT_SM
="no"
33518 wxUSE_DETECT_SM
="no"
33525 if test "$wxUSE_OPENGL" = "yes"; then
33526 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33527 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33528 elif test "$wxUSE_MSW" = 1; then
33529 OPENGL_LIBS
="-lopengl32 -lglu32"
33534 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33536 if test -f "$ac_dir/GL/gl.h"; then
33537 ac_find_includes
=$ac_dir
33542 if test "$ac_find_includes" != "" ; then
33543 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33544 echo "${ECHO_T}found in $ac_find_includes" >&6
33546 if test "x$ac_find_includes" = "x/usr/include"; then
33547 ac_path_to_include
=""
33549 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33551 if test $result = 0; then
33552 ac_path_to_include
=""
33554 ac_path_to_include
=" -I$ac_find_includes"
33558 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33561 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33562 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33563 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33564 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33565 echo $ECHO_N "(cached) $ECHO_C" >&6
33567 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33568 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33570 # Is the header compilable?
33571 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33572 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33573 cat >conftest.
$ac_ext <<_ACEOF
33576 cat confdefs.h
>>conftest.
$ac_ext
33577 cat >>conftest.
$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579 $ac_includes_default
33582 rm -f conftest.
$ac_objext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33584 (eval $ac_compile) 2>conftest.er1
33586 grep -v '^ *+' conftest.er1
>conftest.err
33588 cat conftest.err
>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; } &&
33597 { ac_try
='test -s conftest.$ac_objext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 ac_header_compiler
=yes
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.
$ac_ext >&5
33608 ac_header_compiler
=no
33610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33612 echo "${ECHO_T}$ac_header_compiler" >&6
33614 # Is the header present?
33615 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33616 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33617 cat >conftest.
$ac_ext <<_ACEOF
33620 cat confdefs.h
>>conftest.
$ac_ext
33621 cat >>conftest.
$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33628 grep -v '^ *+' conftest.er1
>conftest.err
33630 cat conftest.err
>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } >/dev
/null
; then
33633 if test -s conftest.err
; then
33634 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33635 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33642 if test -z "$ac_cpp_err"; then
33643 ac_header_preproc
=yes
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.
$ac_ext >&5
33648 ac_header_preproc
=no
33650 rm -f conftest.err conftest.
$ac_ext
33651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33652 echo "${ECHO_T}$ac_header_preproc" >&6
33654 # So? What about this header?
33655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33657 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33658 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33659 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33660 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33661 ac_header_preproc
=yes
33664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33665 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33667 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33668 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33669 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33671 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33672 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33673 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33674 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33675 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33678 ## ----------------------------------------- ##
33679 ## Report this to wx-dev@lists.wxwidgets.org ##
33680 ## ----------------------------------------- ##
33683 sed "s/^/$as_me: WARNING: /" >&2
33686 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33687 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33688 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 ac_cv_header_GL_gl_h
=$ac_header_preproc
33693 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33694 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33697 if test $ac_cv_header_GL_gl_h = yes; then
33701 echo "$as_me:$LINENO: checking for -lGL" >&5
33702 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33705 for ac_dir
in $SEARCH_LIB;
33707 for ac_extension
in a so sl dylib dll.a
; do
33708 if test -f "$ac_dir/libGL.$ac_extension"; then
33709 ac_find_libraries
=$ac_dir
33715 if test "$ac_find_libraries" != "" ; then
33716 echo "$as_me:$LINENO: result: yes" >&5
33717 echo "${ECHO_T}yes" >&6
33720 if test "$ac_find_libraries" = "default location"; then
33723 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33725 if test $result = 0; then
33728 ac_path_to_link
=" -L$ac_find_libraries"
33732 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33733 LDFLAGS_GL
="$ac_path_to_link"
33736 echo "$as_me:$LINENO: checking for -lGLU" >&5
33737 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33740 for ac_dir
in $SEARCH_LIB;
33742 for ac_extension
in a so sl dylib dll.a
; do
33743 if test -f "$ac_dir/libGLU.$ac_extension"; then
33744 ac_find_libraries
=$ac_dir
33750 if test "$ac_find_libraries" != "" ; then
33752 if test "$ac_find_libraries" = "default location"; then
33755 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33757 if test $result = 0; then
33760 ac_path_to_link
=" -L$ac_find_libraries"
33764 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33765 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33766 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33770 OPENGL_LIBS
="-lGL -lGLU"
33771 echo "$as_me:$LINENO: result: yes" >&5
33772 echo "${ECHO_T}yes" >&6
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33778 echo "$as_me:$LINENO: result: no" >&5
33779 echo "${ECHO_T}no" >&6
33782 if test "$found_gl" != 1; then
33783 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33784 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33787 for ac_dir
in $SEARCH_LIB;
33789 for ac_extension
in a so sl dylib dll.a
; do
33790 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33791 ac_find_libraries
=$ac_dir
33797 if test "$ac_find_libraries" != "" ; then
33799 if test "$ac_find_libraries" = "default location"; then
33802 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33804 if test $result = 0; then
33807 ac_path_to_link
=" -L$ac_find_libraries"
33811 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33812 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33813 echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6
33816 echo "$as_me:$LINENO: result: no" >&5
33817 echo "${ECHO_T}no" >&6
33825 if test "x$OPENGL_LIBS" = "x"; then
33826 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33827 echo "$as_me: error: OpenGL libraries not available" >&2;}
33828 { (exit 1); exit 1; }; }
33832 if test "$wxUSE_OPENGL" = "yes"; then
33834 cat >>confdefs.h
<<\_ACEOF
33835 #define wxUSE_OPENGL 1
33838 cat >>confdefs.h
<<\_ACEOF
33839 #define wxUSE_GLCANVAS 1
33842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33847 if test -n "$TOOLKIT" ; then
33848 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33853 if test "$wxUSE_SHARED" = "yes"; then
33857 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33858 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33863 if test "$wxUSE_SHARED" = "yes"; then
33866 found_versioning
=no
33869 if test $found_versioning = no
; then
33870 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33871 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33872 if test "${wx_cv_version_script+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33876 echo "VER_1 { *; };" >conftest.sym
33877 echo "int main() { return 0; }" >conftest.cpp
33880 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33881 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } ; then
33887 if test -s conftest.stderr
; then
33888 wx_cv_version_script
=no
33890 wx_cv_version_script
=yes
33893 wx_cv_version_script
=no
33896 if test $wx_cv_version_script = yes
33898 echo "struct B { virtual ~B() { } }; \
33899 struct D : public B { }; \
33900 void F() { D d; }" > conftest.cpp
33903 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33904 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; } &&
33911 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33912 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }
33920 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33921 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; }
33928 wx_cv_version_script
=yes
33930 wx_cv_version_script
=no
33935 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33936 rm -f conftest1.output conftest2.output conftest3.output
33939 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33940 echo "${ECHO_T}$wx_cv_version_script" >&6
33941 if test $wx_cv_version_script = yes ; then
33942 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33948 *-*-linux* | *-*-gnu* )
33949 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33950 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33954 if test "$GCC" = yes ; then
33955 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33957 saveLdflags
="$LDFLAGS"
33958 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33959 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33960 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33961 cat >conftest.
$ac_ext <<_ACEOF
33964 cat confdefs.h
>>conftest.
$ac_ext
33965 cat >>conftest.
$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33976 rm -f conftest.
$ac_objext conftest
$ac_exeext
33977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33978 (eval $ac_link) 2>conftest.er1
33980 grep -v '^ *+' conftest.er1
>conftest.err
33982 cat conftest.err
>&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); } &&
33985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33987 (eval $ac_try) 2>&5
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); }; } &&
33991 { ac_try
='test -s conftest$ac_exeext'
33992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33993 (eval $ac_try) 2>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); }; }; then
33998 echo "$as_me:$LINENO: result: yes" >&5
33999 echo "${ECHO_T}yes" >&6
34000 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
34001 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34004 echo "$as_me: failed program was:" >&5
34005 sed 's/^/| /' conftest.
$ac_ext >&5
34008 echo "$as_me:$LINENO: result: no" >&5
34009 echo "${ECHO_T}no" >&6
34010 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34011 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34012 LDFLAGS
="$saveLdflags -Wl,-R,/"
34013 cat >conftest.
$ac_ext <<_ACEOF
34016 cat confdefs.h
>>conftest.
$ac_ext
34017 cat >>conftest.
$ac_ext <<_ACEOF
34018 /* end confdefs.h. */
34028 rm -f conftest.
$ac_objext conftest
$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34032 grep -v '^ *+' conftest.er1
>conftest.err
34034 cat conftest.err
>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try
='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34050 echo "$as_me:$LINENO: result: yes" >&5
34051 echo "${ECHO_T}yes" >&6
34052 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
34053 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.
$ac_ext >&5
34060 echo "$as_me:$LINENO: result: no" >&5
34061 echo "${ECHO_T}no" >&6
34064 rm -f conftest.err conftest.
$ac_objext \
34065 conftest
$ac_exeext conftest.
$ac_ext
34068 rm -f conftest.err conftest.
$ac_objext \
34069 conftest
$ac_exeext conftest.
$ac_ext
34070 LDFLAGS
="$saveLdflags"
34072 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
34073 WXCONFIG_RPATH
="-R\$libdir"
34078 install_name_tool
=`which install_name_tool`
34079 if test "$install_name_tool" -a -x "$install_name_tool"; then
34080 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34081 cat <<EOF >change-install-names
34083 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34084 inst_cmd="install_name_tool "
34085 for i in \${libnames} ; do
34086 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34090 chmod +x change
-install-names
34094 *-*-cygwin* | *-*-mingw32* )
34095 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34099 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
34100 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34105 if test $wxUSE_RPATH = "no"; then
34106 SAMPLES_RPATH_FLAG
=''
34107 SAMPLES_RPATH_POSTLINK
=''
34115 config_linkage_component
="-static"
34122 lib_unicode_suffix
=
34124 if test "$wxUSE_UNICODE" = "yes"; then
34125 lib_unicode_suffix
=u
34126 WX_CHARTYPE
="unicode"
34131 WX_DEBUGTYPE
="release"
34133 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34135 WX_DEBUGTYPE
="debug"
34139 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34140 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34143 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34147 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34149 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34151 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34153 if test "$cross_compiling" = "yes"; then
34154 HOST_SUFFIX
="-$host_alias"
34155 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34156 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34159 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34160 if test "${TOOLKIT_DIR}" = "os2"; then
34161 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34163 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34168 if test "$wxUSE_COCOA" = 1; then
34172 ac_cpp
='$CPP $CPPFLAGS'
34173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34179 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34180 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34181 cat >conftest.
$ac_ext <<_ACEOF
34184 cat confdefs.h
>>conftest.
$ac_ext
34185 cat >>conftest.
$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187 #include <AppKit/NSEvent.h>
34188 #include <CoreFoundation/CoreFoundation.h>
34198 rm -f conftest.
$ac_objext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34200 (eval $ac_compile) 2>conftest.er1
34202 grep -v '^ *+' conftest.er1
>conftest.err
34204 cat conftest.err
>&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } &&
34207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34209 (eval $ac_try) 2>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); }; } &&
34213 { ac_try
='test -s conftest.$ac_objext'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; }; then
34219 echo "$as_me:$LINENO: result: no" >&5
34220 echo "${ECHO_T}no" >&6
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.
$ac_ext >&5
34225 echo "$as_me:$LINENO: result: yes" >&5
34226 echo "${ECHO_T}yes" >&6
34227 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34228 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34229 cat >conftest.
$ac_ext <<_ACEOF
34232 cat confdefs.h
>>conftest.
$ac_ext
34233 cat >>conftest.
$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 #define __Point__ 1
34236 #include <AppKit/NSEvent.h>
34237 #include <CoreFoundation/CoreFoundation.h>
34247 rm -f conftest.
$ac_objext
34248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34249 (eval $ac_compile) 2>conftest.er1
34251 grep -v '^ *+' conftest.er1
>conftest.err
34253 cat conftest.err
>&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } &&
34256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; } &&
34262 { ac_try
='test -s conftest.$ac_objext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34268 echo "$as_me:$LINENO: result: yes" >&5
34269 echo "${ECHO_T}yes" >&6
34270 cat >>confdefs.h
<<\_ACEOF
34271 #define __Point__ 1
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.
$ac_ext >&5
34279 { { echo "$as_me:$LINENO: error: no
34280 See \`config.log' for more details." >&5
34281 echo "$as_me: error: no
34282 See \`config.log' for more details." >&2;}
34283 { (exit 1); exit 1; }; }
34286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34291 ac_cpp
='$CXXCPP $CPPFLAGS'
34292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34298 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34299 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34300 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34302 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34304 # Extract the first word of "Rez", so it can be a program name with args.
34305 set dummy Rez
; ac_word
=$2
34306 echo "$as_me:$LINENO: checking for $ac_word" >&5
34307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34308 if test "${ac_cv_prog_REZ+set}" = set; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 if test -n "$REZ"; then
34312 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34315 for as_dir
in $PATH
34318 test -z "$as_dir" && as_dir
=.
34319 for ac_exec_ext
in '' $ac_executable_extensions; do
34320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34321 ac_cv_prog_REZ
="Rez"
34322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34328 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34331 REZ
=$ac_cv_prog_REZ
34332 if test -n "$REZ"; then
34333 echo "$as_me:$LINENO: result: $REZ" >&5
34334 echo "${ECHO_T}$REZ" >&6
34336 echo "$as_me:$LINENO: result: no" >&5
34337 echo "${ECHO_T}no" >&6
34340 # Extract the first word of "DeRez", so it can be a program name with args.
34341 set dummy DeRez
; ac_word
=$2
34342 echo "$as_me:$LINENO: checking for $ac_word" >&5
34343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34344 if test "${ac_cv_prog_DEREZ+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 if test -n "$DEREZ"; then
34348 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34351 for as_dir
in $PATH
34354 test -z "$as_dir" && as_dir
=.
34355 for ac_exec_ext
in '' $ac_executable_extensions; do
34356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34357 ac_cv_prog_DEREZ
="DeRez"
34358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34364 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34367 DEREZ
=$ac_cv_prog_DEREZ
34368 if test -n "$DEREZ"; then
34369 echo "$as_me:$LINENO: result: $DEREZ" >&5
34370 echo "${ECHO_T}$DEREZ" >&6
34372 echo "$as_me:$LINENO: result: no" >&5
34373 echo "${ECHO_T}no" >&6
34376 # Extract the first word of "SetFile", so it can be a program name with args.
34377 set dummy SetFile
; ac_word
=$2
34378 echo "$as_me:$LINENO: checking for $ac_word" >&5
34379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34380 if test "${ac_cv_prog_SETFILE+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 if test -n "$SETFILE"; then
34384 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34387 for as_dir
in $PATH
34390 test -z "$as_dir" && as_dir
=.
34391 for ac_exec_ext
in '' $ac_executable_extensions; do
34392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34393 ac_cv_prog_SETFILE
="SetFile"
34394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34400 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34403 SETFILE
=$ac_cv_prog_SETFILE
34404 if test -n "$SETFILE"; then
34405 echo "$as_me:$LINENO: result: $SETFILE" >&5
34406 echo "${ECHO_T}$SETFILE" >&6
34408 echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6
34413 MACSETFILE
="\$(SETFILE)"
34415 if test "$wxUSE_MAC" = 1; then
34416 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34418 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34420 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34421 RESCOMP
="echo -n \| $REZ"
34422 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34428 if test "$wxUSE_PM" = 1; then
34430 WXCONFIG_RESFLAGS
="-ep"
34432 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34434 POSTLINK_COMMAND
="@true"
34441 echo "$as_me:$LINENO: checking for mode_t" >&5
34442 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34443 if test "${ac_cv_type_mode_t+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 cat >conftest.
$ac_ext <<_ACEOF
34449 cat confdefs.h
>>conftest.
$ac_ext
34450 cat >>conftest.
$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 $ac_includes_default
34458 if (sizeof (mode_t))
34464 rm -f conftest.
$ac_objext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34466 (eval $ac_compile) 2>conftest.er1
34468 grep -v '^ *+' conftest.er1
>conftest.err
34470 cat conftest.err
>&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } &&
34473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; } &&
34479 { ac_try
='test -s conftest.$ac_objext'
34480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481 (eval $ac_try) 2>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; }; then
34485 ac_cv_type_mode_t
=yes
34487 echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.
$ac_ext >&5
34490 ac_cv_type_mode_t
=no
34492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34494 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34495 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34496 if test $ac_cv_type_mode_t = yes; then
34500 cat >>confdefs.h
<<_ACEOF
34506 echo "$as_me:$LINENO: checking for off_t" >&5
34507 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34508 if test "${ac_cv_type_off_t+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34511 cat >conftest.
$ac_ext <<_ACEOF
34514 cat confdefs.h
>>conftest.
$ac_ext
34515 cat >>conftest.
$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34517 $ac_includes_default
34523 if (sizeof (off_t))
34529 rm -f conftest.
$ac_objext
34530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34531 (eval $ac_compile) 2>conftest.er1
34533 grep -v '^ *+' conftest.er1
>conftest.err
34535 cat conftest.err
>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; } &&
34544 { ac_try
='test -s conftest.$ac_objext'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }; then
34550 ac_cv_type_off_t
=yes
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.
$ac_ext >&5
34555 ac_cv_type_off_t
=no
34557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34559 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34560 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34561 if test $ac_cv_type_off_t = yes; then
34565 cat >>confdefs.h
<<_ACEOF
34571 echo "$as_me:$LINENO: checking for pid_t" >&5
34572 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34573 if test "${ac_cv_type_pid_t+set}" = set; then
34574 echo $ECHO_N "(cached) $ECHO_C" >&6
34576 cat >conftest.
$ac_ext <<_ACEOF
34579 cat confdefs.h
>>conftest.
$ac_ext
34580 cat >>conftest.
$ac_ext <<_ACEOF
34581 /* end confdefs.h. */
34582 $ac_includes_default
34588 if (sizeof (pid_t))
34594 rm -f conftest.
$ac_objext
34595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34596 (eval $ac_compile) 2>conftest.er1
34598 grep -v '^ *+' conftest.er1
>conftest.err
34600 cat conftest.err
>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; } &&
34609 { ac_try
='test -s conftest.$ac_objext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34615 ac_cv_type_pid_t
=yes
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.
$ac_ext >&5
34620 ac_cv_type_pid_t
=no
34622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34624 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34625 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34626 if test $ac_cv_type_pid_t = yes; then
34630 cat >>confdefs.h
<<_ACEOF
34636 echo "$as_me:$LINENO: checking for size_t" >&5
34637 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34638 if test "${ac_cv_type_size_t+set}" = set; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 cat >conftest.
$ac_ext <<_ACEOF
34644 cat confdefs.h
>>conftest.
$ac_ext
34645 cat >>conftest.
$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647 $ac_includes_default
34653 if (sizeof (size_t))
34659 rm -f conftest.
$ac_objext
34660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34661 (eval $ac_compile) 2>conftest.er1
34663 grep -v '^ *+' conftest.er1
>conftest.err
34665 cat conftest.err
>&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); } &&
34668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; } &&
34674 { ac_try
='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34680 ac_cv_type_size_t
=yes
34682 echo "$as_me: failed program was:" >&5
34683 sed 's/^/| /' conftest.
$ac_ext >&5
34685 ac_cv_type_size_t
=no
34687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34689 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34690 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34691 if test $ac_cv_type_size_t = yes; then
34695 cat >>confdefs.h
<<_ACEOF
34696 #define size_t unsigned
34701 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34702 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34703 if test "${ac_cv_type_uid_t+set}" = set; then
34704 echo $ECHO_N "(cached) $ECHO_C" >&6
34706 cat >conftest.
$ac_ext <<_ACEOF
34709 cat confdefs.h
>>conftest.
$ac_ext
34710 cat >>conftest.
$ac_ext <<_ACEOF
34711 /* end confdefs.h. */
34712 #include <sys/types.h>
34715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34716 $EGREP "uid_t" >/dev
/null
2>&1; then
34717 ac_cv_type_uid_t
=yes
34719 ac_cv_type_uid_t
=no
34724 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34725 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34726 if test $ac_cv_type_uid_t = no
; then
34728 cat >>confdefs.h
<<\_ACEOF
34733 cat >>confdefs.h
<<\_ACEOF
34740 echo "$as_me:$LINENO: checking for ssize_t" >&5
34741 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34742 if test "${ac_cv_type_ssize_t+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 cat >conftest.
$ac_ext <<_ACEOF
34748 cat confdefs.h
>>conftest.
$ac_ext
34749 cat >>conftest.
$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34751 $ac_includes_default
34757 if (sizeof (ssize_t))
34763 rm -f conftest.
$ac_objext
34764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34765 (eval $ac_compile) 2>conftest.er1
34767 grep -v '^ *+' conftest.er1
>conftest.err
34769 cat conftest.err
>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } &&
34772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; } &&
34778 { ac_try
='test -s conftest.$ac_objext'
34779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34780 (eval $ac_try) 2>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); }; }; then
34784 ac_cv_type_ssize_t
=yes
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.
$ac_ext >&5
34789 ac_cv_type_ssize_t
=no
34791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34793 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34794 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34795 if test $ac_cv_type_ssize_t = yes; then
34797 cat >>confdefs.h
<<_ACEOF
34798 #define HAVE_SSIZE_T 1
34805 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34806 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34807 if test "${wx_cv_size_t_is_uint+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 cat >conftest.
$ac_ext <<_ACEOF
34814 cat confdefs.h
>>conftest.
$ac_ext
34815 cat >>conftest.
$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 #include <stddef.h>
34824 struct Foo { void foo(size_t); void foo(unsigned int); };
34832 rm -f conftest.
$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34836 grep -v '^ *+' conftest.er1
>conftest.err
34838 cat conftest.err
>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try
='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 wx_cv_size_t_is_uint
=no
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.
$ac_ext >&5
34858 wx_cv_size_t_is_uint
=yes
34861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34868 if test "$wx_cv_size_t_is_uint" = "yes"; then
34869 cat >>confdefs.h
<<\_ACEOF
34870 #define wxSIZE_T_IS_UINT 1
34874 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34875 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34876 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 cat >conftest.
$ac_ext <<_ACEOF
34882 cat confdefs.h
>>conftest.
$ac_ext
34883 cat >>conftest.
$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 #include <stddef.h>
34892 struct Foo { void foo(size_t); void foo(unsigned long); };
34900 rm -f conftest.
$ac_objext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34902 (eval $ac_compile) 2>conftest.er1
34904 grep -v '^ *+' conftest.er1
>conftest.err
34906 cat conftest.err
>&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try
='test -s conftest.$ac_objext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 wx_cv_size_t_is_ulong
=no
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.
$ac_ext >&5
34926 wx_cv_size_t_is_ulong
=yes
34929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34932 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34933 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34935 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34936 cat >>confdefs.h
<<\_ACEOF
34937 #define wxSIZE_T_IS_ULONG 1
34944 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34945 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34946 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34947 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34969 rm -f conftest.
$ac_objext
34970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34971 (eval $ac_compile) 2>conftest.er1
34973 grep -v '^ *+' conftest.er1
>conftest.err
34975 cat conftest.err
>&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); } &&
34978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; } &&
34984 { ac_try
='test -s conftest.$ac_objext'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; }; then
34991 wx_cv_struct_pw_gecos
=yes
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.
$ac_ext >&5
34998 wx_cv_struct_pw_gecos
=no
35002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35006 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35007 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35009 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35010 cat >>confdefs.h
<<\_ACEOF
35011 #define HAVE_PW_GECOS 1
35017 if test "$wxUSE_WCHAR_T" = "yes"; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define wxUSE_WCHAR_T 1
35026 for ac_func
in wcslen
35028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35029 echo "$as_me:$LINENO: checking for $ac_func" >&5
35030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35031 if eval "test \"\${$as_ac_var+set}\" = set"; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 cat >conftest.
$ac_ext <<_ACEOF
35037 cat confdefs.h
>>conftest.
$ac_ext
35038 cat >>conftest.
$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35042 #define $ac_func innocuous_$ac_func
35044 /* System header to define __stub macros and hopefully few prototypes,
35045 which can conflict with char $ac_func (); below.
35046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35047 <limits.h> exists even on freestanding compilers. */
35050 # include <limits.h>
35052 # include <assert.h>
35057 /* Override any gcc2 internal prototype to avoid an error. */
35062 /* We use char because int might match the return type of a gcc2
35063 builtin and then its argument prototype would still apply. */
35065 /* The GNU C library defines this for functions which it implements
35066 to always fail with ENOSYS. Some functions are actually named
35067 something starting with __ and the normal name is an alias. */
35068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35071 char (*f) () = $ac_func;
35080 return f != $ac_func;
35085 rm -f conftest.
$ac_objext conftest
$ac_exeext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35087 (eval $ac_link) 2>conftest.er1
35089 grep -v '^ *+' conftest.er1
>conftest.err
35091 cat conftest.err
>&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35096 (eval $ac_try) 2>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; } &&
35100 { ac_try
='test -s conftest$ac_exeext'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; }; then
35106 eval "$as_ac_var=yes"
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.
$ac_ext >&5
35111 eval "$as_ac_var=no"
35113 rm -f conftest.err conftest.
$ac_objext \
35114 conftest
$ac_exeext conftest.
$ac_ext
35116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35118 if test `eval echo '${'$as_ac_var'}'` = yes; then
35119 cat >>confdefs.h
<<_ACEOF
35120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35127 if test "$WCSLEN_FOUND" = 0; then
35128 if test "$TOOLKIT" = "MSW"; then
35129 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35130 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35131 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 ac_check_lib_save_LIBS
=$LIBS
35135 LIBS
="-lmsvcrt $LIBS"
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35143 /* Override any gcc2 internal prototype to avoid an error. */
35147 /* We use char because int might match the return type of a gcc2
35148 builtin and then its argument prototype would still apply. */
35158 rm -f conftest.
$ac_objext conftest
$ac_exeext
35159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35160 (eval $ac_link) 2>conftest.er1
35162 grep -v '^ *+' conftest.er1
>conftest.err
35164 cat conftest.err
>&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } &&
35167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; } &&
35173 { ac_try
='test -s conftest$ac_exeext'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; }; then
35179 ac_cv_lib_msvcrt_wcslen
=yes
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.
$ac_ext >&5
35184 ac_cv_lib_msvcrt_wcslen
=no
35186 rm -f conftest.err conftest.
$ac_objext \
35187 conftest
$ac_exeext conftest.
$ac_ext
35188 LIBS
=$ac_check_lib_save_LIBS
35190 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35191 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35192 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35197 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35198 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35199 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35200 echo $ECHO_N "(cached) $ECHO_C" >&6
35202 ac_check_lib_save_LIBS
=$LIBS
35204 cat >conftest.
$ac_ext <<_ACEOF
35207 cat confdefs.h
>>conftest.
$ac_ext
35208 cat >>conftest.
$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35211 /* Override any gcc2 internal prototype to avoid an error. */
35215 /* We use char because int might match the return type of a gcc2
35216 builtin and then its argument prototype would still apply. */
35226 rm -f conftest.
$ac_objext conftest
$ac_exeext
35227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228 (eval $ac_link) 2>conftest.er1
35230 grep -v '^ *+' conftest.er1
>conftest.err
35232 cat conftest.err
>&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } &&
35235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; } &&
35241 { ac_try
='test -s conftest$ac_exeext'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; }; then
35247 ac_cv_lib_w_wcslen
=yes
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.
$ac_ext >&5
35252 ac_cv_lib_w_wcslen
=no
35254 rm -f conftest.err conftest.
$ac_objext \
35255 conftest
$ac_exeext conftest.
$ac_ext
35256 LIBS
=$ac_check_lib_save_LIBS
35258 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35259 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35260 if test $ac_cv_lib_w_wcslen = yes; then
35270 if test "$WCSLEN_FOUND" = 1; then
35271 cat >>confdefs.h
<<\_ACEOF
35272 #define HAVE_WCSLEN 1
35277 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35278 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35281 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35282 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35283 if test "${ac_cv_type_mbstate_t+set}" = set; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 cat >conftest.
$ac_ext <<_ACEOF
35289 cat confdefs.h
>>conftest.
$ac_ext
35290 cat >>conftest.
$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35297 if ((mbstate_t *) 0)
35299 if (sizeof (mbstate_t))
35305 rm -f conftest.
$ac_objext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35307 (eval $ac_compile) 2>conftest.er1
35309 grep -v '^ *+' conftest.er1
>conftest.err
35311 cat conftest.err
>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try
='test -s conftest.$ac_objext'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35326 ac_cv_type_mbstate_t
=yes
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.
$ac_ext >&5
35331 ac_cv_type_mbstate_t
=no
35333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35335 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35336 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35337 if test $ac_cv_type_mbstate_t = yes; then
35339 cat >>confdefs.h
<<_ACEOF
35340 #define HAVE_MBSTATE_T 1
35344 for ac_func
in wcsrtombs
35346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35347 echo "$as_me:$LINENO: checking for $ac_func" >&5
35348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35349 if eval "test \"\${$as_ac_var+set}\" = set"; then
35350 echo $ECHO_N "(cached) $ECHO_C" >&6
35352 cat >conftest.
$ac_ext <<_ACEOF
35355 cat confdefs.h
>>conftest.
$ac_ext
35356 cat >>conftest.
$ac_ext <<_ACEOF
35357 /* end confdefs.h. */
35358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35360 #define $ac_func innocuous_$ac_func
35362 /* System header to define __stub macros and hopefully few prototypes,
35363 which can conflict with char $ac_func (); below.
35364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35365 <limits.h> exists even on freestanding compilers. */
35368 # include <limits.h>
35370 # include <assert.h>
35375 /* Override any gcc2 internal prototype to avoid an error. */
35380 /* We use char because int might match the return type of a gcc2
35381 builtin and then its argument prototype would still apply. */
35383 /* The GNU C library defines this for functions which it implements
35384 to always fail with ENOSYS. Some functions are actually named
35385 something starting with __ and the normal name is an alias. */
35386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35389 char (*f) () = $ac_func;
35398 return f != $ac_func;
35403 rm -f conftest.
$ac_objext conftest
$ac_exeext
35404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35405 (eval $ac_link) 2>conftest.er1
35407 grep -v '^ *+' conftest.er1
>conftest.err
35409 cat conftest.err
>&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); } &&
35412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35414 (eval $ac_try) 2>&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); }; } &&
35418 { ac_try
='test -s conftest$ac_exeext'
35419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35420 (eval $ac_try) 2>&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); }; }; then
35424 eval "$as_ac_var=yes"
35426 echo "$as_me: failed program was:" >&5
35427 sed 's/^/| /' conftest.
$ac_ext >&5
35429 eval "$as_ac_var=no"
35431 rm -f conftest.err conftest.
$ac_objext \
35432 conftest
$ac_exeext conftest.
$ac_ext
35434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35436 if test `eval echo '${'$as_ac_var'}'` = yes; then
35437 cat >>confdefs.h
<<_ACEOF
35438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35447 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35448 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35453 for ac_func
in snprintf vsnprintf
35455 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35456 echo "$as_me:$LINENO: checking for $ac_func" >&5
35457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35458 if eval "test \"\${$as_ac_var+set}\" = set"; then
35459 echo $ECHO_N "(cached) $ECHO_C" >&6
35461 cat >conftest.
$ac_ext <<_ACEOF
35464 cat confdefs.h
>>conftest.
$ac_ext
35465 cat >>conftest.
$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35469 #define $ac_func innocuous_$ac_func
35471 /* System header to define __stub macros and hopefully few prototypes,
35472 which can conflict with char $ac_func (); below.
35473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35474 <limits.h> exists even on freestanding compilers. */
35477 # include <limits.h>
35479 # include <assert.h>
35484 /* Override any gcc2 internal prototype to avoid an error. */
35489 /* We use char because int might match the return type of a gcc2
35490 builtin and then its argument prototype would still apply. */
35492 /* The GNU C library defines this for functions which it implements
35493 to always fail with ENOSYS. Some functions are actually named
35494 something starting with __ and the normal name is an alias. */
35495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35498 char (*f) () = $ac_func;
35507 return f != $ac_func;
35512 rm -f conftest.
$ac_objext conftest
$ac_exeext
35513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35514 (eval $ac_link) 2>conftest.er1
35516 grep -v '^ *+' conftest.er1
>conftest.err
35518 cat conftest.err
>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } &&
35521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; } &&
35527 { ac_try
='test -s conftest$ac_exeext'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; }; then
35533 eval "$as_ac_var=yes"
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.
$ac_ext >&5
35538 eval "$as_ac_var=no"
35540 rm -f conftest.err conftest.
$ac_objext \
35541 conftest
$ac_exeext conftest.
$ac_ext
35543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35545 if test `eval echo '${'$as_ac_var'}'` = yes; then
35546 cat >>confdefs.h
<<_ACEOF
35547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35554 if test "$ac_cv_func_vsnprintf" = "yes"; then
35555 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35556 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35557 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 cat >conftest.
$ac_ext <<_ACEOF
35564 cat confdefs.h
>>conftest.
$ac_ext
35565 cat >>conftest.
$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35569 #include <stdarg.h>
35571 #if __MSL__ >= 0x6000
35573 using namespace std;
35583 vsnprintf(buf, 10u, "%s", ap);
35589 rm -f conftest.
$ac_objext
35590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35591 (eval $ac_compile) 2>conftest.er1
35593 grep -v '^ *+' conftest.er1
>conftest.err
35595 cat conftest.err
>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } &&
35598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; } &&
35604 { ac_try
='test -s conftest.$ac_objext'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 wx_cv_func_vsnprintf_decl
=yes
35612 echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.
$ac_ext >&5
35615 wx_cv_func_vsnprintf_decl
=no
35618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35622 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35623 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35625 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35626 cat >>confdefs.h
<<\_ACEOF
35627 #define HAVE_VSNPRINTF_DECL 1
35631 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35632 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35633 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 cat >conftest.
$ac_ext <<_ACEOF
35640 cat confdefs.h
>>conftest.
$ac_ext
35641 cat >>conftest.
$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35645 #include <stdarg.h>
35647 #if __MSL__ >= 0x6000
35649 using namespace std;
35659 const char *fmt = "%s";
35660 vsnprintf(buf, 10u, fmt, ap);
35666 rm -f conftest.
$ac_objext
35667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35668 (eval $ac_compile) 2>conftest.er1
35670 grep -v '^ *+' conftest.er1
>conftest.err
35672 cat conftest.err
>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } &&
35675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35677 (eval $ac_try) 2>&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); }; } &&
35681 { ac_try
='test -s conftest.$ac_objext'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; }; then
35687 wx_cv_func_broken_vsnprintf_decl
=no
35689 echo "$as_me: failed program was:" >&5
35690 sed 's/^/| /' conftest.
$ac_ext >&5
35692 wx_cv_func_broken_vsnprintf_decl
=yes
35695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35699 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35700 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35702 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35703 cat >>confdefs.h
<<\_ACEOF
35704 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35711 if test "$ac_cv_func_snprintf" = "yes"; then
35712 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35713 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35714 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35715 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 cat >conftest.
$ac_ext <<_ACEOF
35721 cat confdefs.h
>>conftest.
$ac_ext
35722 cat >>conftest.
$ac_ext <<_ACEOF
35723 /* end confdefs.h. */
35726 #include <stdarg.h>
35728 #if __MSL__ >= 0x6000
35730 using namespace std;
35739 snprintf(buf, 10u, "%s", "wx");
35745 rm -f conftest.
$ac_objext
35746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35747 (eval $ac_compile) 2>conftest.er1
35749 grep -v '^ *+' conftest.er1
>conftest.err
35751 cat conftest.err
>&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); } &&
35754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try
='test -s conftest.$ac_objext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 wx_cv_func_snprintf_decl
=yes
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.
$ac_ext >&5
35771 wx_cv_func_snprintf_decl
=no
35774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35778 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35779 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35781 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35782 cat >>confdefs.h
<<\_ACEOF
35783 #define HAVE_SNPRINTF_DECL 1
35787 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35788 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35789 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 cat >conftest.
$ac_ext <<_ACEOF
35796 cat confdefs.h
>>conftest.
$ac_ext
35797 cat >>conftest.
$ac_ext <<_ACEOF
35798 /* end confdefs.h. */
35801 #include <stdarg.h>
35803 #if __MSL__ >= 0x6000
35805 using namespace std;
35814 const char *fmt = "%s";
35815 snprintf(buf, 10u, fmt, "wx");
35821 rm -f conftest.
$ac_objext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35823 (eval $ac_compile) 2>conftest.er1
35825 grep -v '^ *+' conftest.er1
>conftest.err
35827 cat conftest.err
>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try
='test -s conftest.$ac_objext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 wx_cv_func_broken_snprintf_decl
=no
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.
$ac_ext >&5
35847 wx_cv_func_broken_snprintf_decl
=yes
35850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35854 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35855 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35857 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35858 cat >>confdefs.h
<<\_ACEOF
35859 #define HAVE_BROKEN_SNPRINTF_DECL 1
35865 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35867 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35868 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35869 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35870 echo $ECHO_N "(cached) $ECHO_C" >&6
35873 if test "$cross_compiling" = yes; then
35875 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35877 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35878 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35879 wx_cv_func_snprintf_pos_params
=no
35883 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35895 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35896 if (strcmp ("2 3 1", buffer) == 0)
35902 rm -f conftest
$ac_exeext
35903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35904 (eval $ac_link) 2>&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }; then
35913 wx_cv_func_snprintf_pos_params
=no
35915 echo "$as_me: program exited with status $ac_status" >&5
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.
$ac_ext >&5
35919 ( exit $ac_status )
35920 wx_cv_func_snprintf_pos_params
=yes
35922 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35927 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35928 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35930 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35931 cat >>confdefs.h
<<\_ACEOF
35932 #define HAVE_UNIX98_PRINTF 1
35939 if test "$wxUSE_UNICODE" = yes; then
35942 for ac_func
in swprintf
35944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35945 echo "$as_me:$LINENO: checking for $ac_func" >&5
35946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35947 if eval "test \"\${$as_ac_var+set}\" = set"; then
35948 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 cat >conftest.
$ac_ext <<_ACEOF
35953 cat confdefs.h
>>conftest.
$ac_ext
35954 cat >>conftest.
$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35958 #define $ac_func innocuous_$ac_func
35960 /* System header to define __stub macros and hopefully few prototypes,
35961 which can conflict with char $ac_func (); below.
35962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35963 <limits.h> exists even on freestanding compilers. */
35966 # include <limits.h>
35968 # include <assert.h>
35973 /* Override any gcc2 internal prototype to avoid an error. */
35978 /* We use char because int might match the return type of a gcc2
35979 builtin and then its argument prototype would still apply. */
35981 /* The GNU C library defines this for functions which it implements
35982 to always fail with ENOSYS. Some functions are actually named
35983 something starting with __ and the normal name is an alias. */
35984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35987 char (*f) () = $ac_func;
35996 return f != $ac_func;
36001 rm -f conftest.
$ac_objext conftest
$ac_exeext
36002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36003 (eval $ac_link) 2>conftest.er1
36005 grep -v '^ *+' conftest.er1
>conftest.err
36007 cat conftest.err
>&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } &&
36010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36012 (eval $ac_try) 2>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); }; } &&
36016 { ac_try
='test -s conftest$ac_exeext'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; }; then
36022 eval "$as_ac_var=yes"
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.
$ac_ext >&5
36027 eval "$as_ac_var=no"
36029 rm -f conftest.err conftest.
$ac_objext \
36030 conftest
$ac_exeext conftest.
$ac_ext
36032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36034 if test `eval echo '${'$as_ac_var'}'` = yes; then
36035 cat >>confdefs.h
<<_ACEOF
36036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36043 if test "$ac_cv_func_swprintf" = "yes"; then
36044 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36045 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36046 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36047 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. */
36058 #include <stdarg.h>
36066 const wchar_t *fmt = L"test";
36067 swprintf(buf, 10u, fmt);
36073 rm -f conftest.
$ac_objext
36074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36075 (eval $ac_compile) 2>conftest.er1
36077 grep -v '^ *+' conftest.er1
>conftest.err
36079 cat conftest.err
>&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); } &&
36082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084 (eval $ac_try) 2>&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); }; } &&
36088 { ac_try
='test -s conftest.$ac_objext'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; }; then
36094 wx_cv_func_broken_swprintf_decl
=no
36096 echo "$as_me: failed program was:" >&5
36097 sed 's/^/| /' conftest.
$ac_ext >&5
36099 wx_cv_func_broken_swprintf_decl
=yes
36102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36106 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36107 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36109 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36110 cat >>confdefs.h
<<\_ACEOF
36111 #define HAVE_BROKEN_SWPRINTF_DECL 1
36123 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
36125 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36126 echo "$as_me:$LINENO: checking for $ac_func" >&5
36127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36128 if eval "test \"\${$as_ac_var+set}\" = set"; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 cat >conftest.
$ac_ext <<_ACEOF
36134 cat confdefs.h
>>conftest.
$ac_ext
36135 cat >>conftest.
$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36139 #define $ac_func innocuous_$ac_func
36141 /* System header to define __stub macros and hopefully few prototypes,
36142 which can conflict with char $ac_func (); below.
36143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36144 <limits.h> exists even on freestanding compilers. */
36147 # include <limits.h>
36149 # include <assert.h>
36154 /* Override any gcc2 internal prototype to avoid an error. */
36159 /* We use char because int might match the return type of a gcc2
36160 builtin and then its argument prototype would still apply. */
36162 /* The GNU C library defines this for functions which it implements
36163 to always fail with ENOSYS. Some functions are actually named
36164 something starting with __ and the normal name is an alias. */
36165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36168 char (*f) () = $ac_func;
36177 return f != $ac_func;
36182 rm -f conftest.
$ac_objext conftest
$ac_exeext
36183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36184 (eval $ac_link) 2>conftest.er1
36186 grep -v '^ *+' conftest.er1
>conftest.err
36188 cat conftest.err
>&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } &&
36191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; } &&
36197 { ac_try
='test -s conftest$ac_exeext'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; }; then
36203 eval "$as_ac_var=yes"
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.
$ac_ext >&5
36208 eval "$as_ac_var=no"
36210 rm -f conftest.err conftest.
$ac_objext \
36211 conftest
$ac_exeext conftest.
$ac_ext
36213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36215 if test `eval echo '${'$as_ac_var'}'` = yes; then
36216 cat >>confdefs.h
<<_ACEOF
36217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36224 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36225 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36241 rm -f conftest.
$ac_objext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36243 (eval $ac_compile) 2>conftest.er1
36245 grep -v '^ *+' conftest.er1
>conftest.err
36247 cat conftest.err
>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try
='test -s conftest.$ac_objext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 echo "$as_me:$LINENO: result: yes" >&5
36263 echo "${ECHO_T}yes" >&6
36264 cat >>confdefs.h
<<\_ACEOF
36265 #define HAVE__VSNWPRINTF 1
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.
$ac_ext >&5
36272 echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6
36275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36278 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36280 for ac_func
in fnmatch
36282 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36283 echo "$as_me:$LINENO: checking for $ac_func" >&5
36284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36285 if eval "test \"\${$as_ac_var+set}\" = set"; then
36286 echo $ECHO_N "(cached) $ECHO_C" >&6
36288 cat >conftest.
$ac_ext <<_ACEOF
36291 cat confdefs.h
>>conftest.
$ac_ext
36292 cat >>conftest.
$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36296 #define $ac_func innocuous_$ac_func
36298 /* System header to define __stub macros and hopefully few prototypes,
36299 which can conflict with char $ac_func (); below.
36300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36301 <limits.h> exists even on freestanding compilers. */
36304 # include <limits.h>
36306 # include <assert.h>
36311 /* Override any gcc2 internal prototype to avoid an error. */
36316 /* We use char because int might match the return type of a gcc2
36317 builtin and then its argument prototype would still apply. */
36319 /* The GNU C library defines this for functions which it implements
36320 to always fail with ENOSYS. Some functions are actually named
36321 something starting with __ and the normal name is an alias. */
36322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36325 char (*f) () = $ac_func;
36334 return f != $ac_func;
36339 rm -f conftest.
$ac_objext conftest
$ac_exeext
36340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36341 (eval $ac_link) 2>conftest.er1
36343 grep -v '^ *+' conftest.er1
>conftest.err
36345 cat conftest.err
>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try
='test -s conftest$ac_exeext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 eval "$as_ac_var=yes"
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.
$ac_ext >&5
36365 eval "$as_ac_var=no"
36367 rm -f conftest.err conftest.
$ac_objext \
36368 conftest
$ac_exeext conftest.
$ac_ext
36370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h
<<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36382 if test "$wxUSE_FILE" = "yes"; then
36384 for ac_func
in fsync
36386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36387 echo "$as_me:$LINENO: checking for $ac_func" >&5
36388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36389 if eval "test \"\${$as_ac_var+set}\" = set"; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 cat >conftest.
$ac_ext <<_ACEOF
36395 cat confdefs.h
>>conftest.
$ac_ext
36396 cat >>conftest.
$ac_ext <<_ACEOF
36397 /* end confdefs.h. */
36398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36400 #define $ac_func innocuous_$ac_func
36402 /* System header to define __stub macros and hopefully few prototypes,
36403 which can conflict with char $ac_func (); below.
36404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36405 <limits.h> exists even on freestanding compilers. */
36408 # include <limits.h>
36410 # include <assert.h>
36415 /* Override any gcc2 internal prototype to avoid an error. */
36420 /* We use char because int might match the return type of a gcc2
36421 builtin and then its argument prototype would still apply. */
36423 /* The GNU C library defines this for functions which it implements
36424 to always fail with ENOSYS. Some functions are actually named
36425 something starting with __ and the normal name is an alias. */
36426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36429 char (*f) () = $ac_func;
36438 return f != $ac_func;
36443 rm -f conftest.
$ac_objext conftest
$ac_exeext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36445 (eval $ac_link) 2>conftest.er1
36447 grep -v '^ *+' conftest.er1
>conftest.err
36449 cat conftest.err
>&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454 (eval $ac_try) 2>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); }; } &&
36458 { ac_try
='test -s conftest$ac_exeext'
36459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36460 (eval $ac_try) 2>&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); }; }; then
36464 eval "$as_ac_var=yes"
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.
$ac_ext >&5
36469 eval "$as_ac_var=no"
36471 rm -f conftest.err conftest.
$ac_objext \
36472 conftest
$ac_exeext conftest.
$ac_ext
36474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36476 if test `eval echo '${'$as_ac_var'}'` = yes; then
36477 cat >>confdefs.h
<<_ACEOF
36478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36487 for ac_func
in round
36489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36490 echo "$as_me:$LINENO: checking for $ac_func" >&5
36491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36492 if eval "test \"\${$as_ac_var+set}\" = set"; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36495 cat >conftest.
$ac_ext <<_ACEOF
36498 cat confdefs.h
>>conftest.
$ac_ext
36499 cat >>conftest.
$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36503 #define $ac_func innocuous_$ac_func
36505 /* System header to define __stub macros and hopefully few prototypes,
36506 which can conflict with char $ac_func (); below.
36507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36508 <limits.h> exists even on freestanding compilers. */
36511 # include <limits.h>
36513 # include <assert.h>
36518 /* Override any gcc2 internal prototype to avoid an error. */
36523 /* We use char because int might match the return type of a gcc2
36524 builtin and then its argument prototype would still apply. */
36526 /* The GNU C library defines this for functions which it implements
36527 to always fail with ENOSYS. Some functions are actually named
36528 something starting with __ and the normal name is an alias. */
36529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36532 char (*f) () = $ac_func;
36541 return f != $ac_func;
36546 rm -f conftest.
$ac_objext conftest
$ac_exeext
36547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36548 (eval $ac_link) 2>conftest.er1
36550 grep -v '^ *+' conftest.er1
>conftest.err
36552 cat conftest.err
>&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); } &&
36555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; } &&
36561 { ac_try
='test -s conftest$ac_exeext'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; }; then
36567 eval "$as_ac_var=yes"
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.
$ac_ext >&5
36572 eval "$as_ac_var=no"
36574 rm -f conftest.err conftest.
$ac_objext \
36575 conftest
$ac_exeext conftest.
$ac_ext
36577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36579 if test `eval echo '${'$as_ac_var'}'` = yes; then
36580 cat >>confdefs.h
<<_ACEOF
36581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36587 if test "$ac_cv_func_round" = yes; then
36588 echo "$as_me:$LINENO: checking whether round is declared" >&5
36589 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36590 if test "${ac_cv_have_decl_round+set}" = set; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36593 cat >conftest.
$ac_ext <<_ACEOF
36596 cat confdefs.h
>>conftest.
$ac_ext
36597 cat >>conftest.
$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36605 char *p = (char *) round;
36612 rm -f conftest.
$ac_objext
36613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36614 (eval $ac_compile) 2>conftest.er1
36616 grep -v '^ *+' conftest.er1
>conftest.err
36618 cat conftest.err
>&5
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); } &&
36621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36623 (eval $ac_try) 2>&5
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); }; } &&
36627 { ac_try
='test -s conftest.$ac_objext'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; }; then
36633 ac_cv_have_decl_round
=yes
36635 echo "$as_me: failed program was:" >&5
36636 sed 's/^/| /' conftest.
$ac_ext >&5
36638 ac_cv_have_decl_round
=no
36640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36642 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36643 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36644 if test $ac_cv_have_decl_round = yes; then
36646 cat >>confdefs.h
<<_ACEOF
36647 #define HAVE_DECL_ROUND 1
36652 cat >>confdefs.h
<<_ACEOF
36653 #define HAVE_DECL_ROUND 0
36663 if test "$TOOLKIT" != "MSW"; then
36669 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36670 if test "${with_libiconv_prefix+set}" = set; then
36671 withval
="$with_libiconv_prefix"
36673 for dir
in `echo "$withval" | tr : ' '`; do
36674 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36675 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36680 echo "$as_me:$LINENO: checking for iconv" >&5
36681 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36682 if test "${am_cv_func_iconv+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 am_cv_func_iconv
="no, consider installing GNU libiconv"
36688 cat >conftest.
$ac_ext <<_ACEOF
36691 cat confdefs.h
>>conftest.
$ac_ext
36692 cat >>conftest.
$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694 #include <stdlib.h>
36699 iconv_t cd = iconv_open("","");
36700 iconv(cd,NULL,NULL,NULL,NULL);
36706 rm -f conftest.
$ac_objext conftest
$ac_exeext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708 (eval $ac_link) 2>conftest.er1
36710 grep -v '^ *+' conftest.er1
>conftest.err
36712 cat conftest.err
>&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; } &&
36721 { ac_try
='test -s conftest$ac_exeext'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36727 am_cv_func_iconv
=yes
36729 echo "$as_me: failed program was:" >&5
36730 sed 's/^/| /' conftest.
$ac_ext >&5
36733 rm -f conftest.err conftest.
$ac_objext \
36734 conftest
$ac_exeext conftest.
$ac_ext
36735 if test "$am_cv_func_iconv" != yes; then
36736 am_save_LIBS
="$LIBS"
36737 LIBS
="$LIBS -liconv"
36738 cat >conftest.
$ac_ext <<_ACEOF
36741 cat confdefs.h
>>conftest.
$ac_ext
36742 cat >>conftest.
$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744 #include <stdlib.h>
36749 iconv_t cd = iconv_open("","");
36750 iconv(cd,NULL,NULL,NULL,NULL);
36756 rm -f conftest.
$ac_objext conftest
$ac_exeext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36758 (eval $ac_link) 2>conftest.er1
36760 grep -v '^ *+' conftest.er1
>conftest.err
36762 cat conftest.err
>&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try
='test -s conftest$ac_exeext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 am_cv_lib_iconv
=yes
36778 am_cv_func_iconv
=yes
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.
$ac_ext >&5
36784 rm -f conftest.err conftest.
$ac_objext \
36785 conftest
$ac_exeext conftest.
$ac_ext
36786 LIBS
="$am_save_LIBS"
36790 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36791 echo "${ECHO_T}$am_cv_func_iconv" >&6
36792 if test "$am_cv_func_iconv" = yes; then
36794 cat >>confdefs.h
<<\_ACEOF
36795 #define HAVE_ICONV 1
36798 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36799 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36800 if test "${wx_cv_func_iconv_const+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 cat >conftest.
$ac_ext <<_ACEOF
36806 cat confdefs.h
>>conftest.
$ac_ext
36807 cat >>conftest.
$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36810 #include <stdlib.h>
36816 #if defined(__STDC__) || defined(__cplusplus)
36817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36830 rm -f conftest.
$ac_objext
36831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36832 (eval $ac_compile) 2>conftest.er1
36834 grep -v '^ *+' conftest.er1
>conftest.err
36836 cat conftest.err
>&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); } &&
36839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; } &&
36845 { ac_try
='test -s conftest.$ac_objext'
36846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36847 (eval $ac_try) 2>&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); }; }; then
36851 wx_cv_func_iconv_const
="no"
36853 echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.
$ac_ext >&5
36856 wx_cv_func_iconv_const
="yes"
36859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36862 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36863 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36866 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36867 iconv_const
="const"
36871 cat >>confdefs.h
<<_ACEOF
36872 #define ICONV_CONST $iconv_const
36877 if test "$am_cv_lib_iconv" = yes; then
36882 LIBS
="$LIBICONV $LIBS"
36884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36886 for ac_func
in sigaction
36888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36889 echo "$as_me:$LINENO: checking for $ac_func" >&5
36890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36891 if eval "test \"\${$as_ac_var+set}\" = set"; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36894 cat >conftest.
$ac_ext <<_ACEOF
36897 cat confdefs.h
>>conftest.
$ac_ext
36898 cat >>conftest.
$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36902 #define $ac_func innocuous_$ac_func
36904 /* System header to define __stub macros and hopefully few prototypes,
36905 which can conflict with char $ac_func (); below.
36906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36907 <limits.h> exists even on freestanding compilers. */
36910 # include <limits.h>
36912 # include <assert.h>
36917 /* Override any gcc2 internal prototype to avoid an error. */
36922 /* We use char because int might match the return type of a gcc2
36923 builtin and then its argument prototype would still apply. */
36925 /* The GNU C library defines this for functions which it implements
36926 to always fail with ENOSYS. Some functions are actually named
36927 something starting with __ and the normal name is an alias. */
36928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36931 char (*f) () = $ac_func;
36940 return f != $ac_func;
36945 rm -f conftest.
$ac_objext conftest
$ac_exeext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36947 (eval $ac_link) 2>conftest.er1
36949 grep -v '^ *+' conftest.er1
>conftest.err
36951 cat conftest.err
>&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } &&
36954 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try
='test -s conftest$ac_exeext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 eval "$as_ac_var=yes"
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.
$ac_ext >&5
36971 eval "$as_ac_var=no"
36973 rm -f conftest.err conftest.
$ac_objext \
36974 conftest
$ac_exeext conftest.
$ac_ext
36976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36978 if test `eval echo '${'$as_ac_var'}'` = yes; then
36979 cat >>confdefs.h
<<_ACEOF
36980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36987 if test "$ac_cv_func_sigaction" = "no"; then
36988 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36989 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36990 wxUSE_ON_FATAL_EXCEPTION
=no
36993 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36994 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36995 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36996 if test "${wx_cv_type_sa_handler+set}" = set; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 cat >conftest.
$ac_ext <<_ACEOF
37003 cat confdefs.h
>>conftest.
$ac_ext
37004 cat >>conftest.
$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37006 #include <signal.h>
37011 extern void testSigHandler(int);
37013 struct sigaction sa;
37014 sa.sa_handler = testSigHandler;
37020 rm -f conftest.
$ac_objext
37021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37022 (eval $ac_compile) 2>conftest.er1
37024 grep -v '^ *+' conftest.er1
>conftest.err
37026 cat conftest.err
>&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031 (eval $ac_try) 2>&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); }; } &&
37035 { ac_try
='test -s conftest.$ac_objext'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; }; then
37042 wx_cv_type_sa_handler
=int
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.
$ac_ext >&5
37049 wx_cv_type_sa_handler
=void
37052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37055 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37056 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37058 cat >>confdefs.h
<<_ACEOF
37059 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37065 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37066 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37067 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37068 if test "${wx_cv_func_backtrace+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 cat >conftest.
$ac_ext <<_ACEOF
37075 cat confdefs.h
>>conftest.
$ac_ext
37076 cat >>conftest.
$ac_ext <<_ACEOF
37077 /* end confdefs.h. */
37078 #include <execinfo.h>
37086 backtrace(trace, 1);
37087 messages = backtrace_symbols(trace, 1);
37093 rm -f conftest.
$ac_objext
37094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37095 (eval $ac_compile) 2>conftest.er1
37097 grep -v '^ *+' conftest.er1
>conftest.err
37099 cat conftest.err
>&5
37100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101 (exit $ac_status); } &&
37102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104 (eval $ac_try) 2>&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); }; } &&
37108 { ac_try
='test -s conftest.$ac_objext'
37109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37110 (eval $ac_try) 2>&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); }; }; then
37114 wx_cv_func_backtrace
=yes
37116 echo "$as_me: failed program was:" >&5
37117 sed 's/^/| /' conftest.
$ac_ext >&5
37119 wx_cv_func_backtrace
=no
37122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37126 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37127 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37130 if test "$wx_cv_func_backtrace" = "no"; then
37131 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37132 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37133 wxUSE_STACKWALKER
=no
37135 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37136 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37137 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37141 cat >conftest.
$ac_ext <<_ACEOF
37144 cat confdefs.h
>>conftest.
$ac_ext
37145 cat >>conftest.
$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 #include <cxxabi.h>
37153 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37159 rm -f conftest.
$ac_objext conftest
$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 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_exeext'
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_func_cxa_demangle
=yes
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.
$ac_ext >&5
37185 wx_cv_func_cxa_demangle
=no
37188 rm -f conftest.err conftest.
$ac_objext \
37189 conftest
$ac_exeext conftest.
$ac_ext
37193 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37194 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37196 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37197 cat >>confdefs.h
<<\_ACEOF
37198 #define HAVE_CXA_DEMANGLE 1
37205 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37206 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37207 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37208 wxUSE_STACKWALKER
=no
37214 for ac_func
in mkstemp mktemp
37216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37219 if eval "test \"\${$as_ac_var+set}\" = set"; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 cat >conftest.
$ac_ext <<_ACEOF
37225 cat confdefs.h
>>conftest.
$ac_ext
37226 cat >>conftest.
$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37238 # include <limits.h>
37240 # include <assert.h>
37245 /* Override any gcc2 internal prototype to avoid an error. */
37250 /* We use char because int might match the return type of a gcc2
37251 builtin and then its argument prototype would still apply. */
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37259 char (*f) () = $ac_func;
37268 return f != $ac_func;
37273 rm -f conftest.
$ac_objext conftest
$ac_exeext
37274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275 (eval $ac_link) 2>conftest.er1
37277 grep -v '^ *+' conftest.er1
>conftest.err
37279 cat conftest.err
>&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } &&
37282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try
='test -s conftest$ac_exeext'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; }; then
37294 eval "$as_ac_var=yes"
37296 echo "$as_me: failed program was:" >&5
37297 sed 's/^/| /' conftest.
$ac_ext >&5
37299 eval "$as_ac_var=no"
37301 rm -f conftest.err conftest.
$ac_objext \
37302 conftest
$ac_exeext conftest.
$ac_ext
37304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h
<<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 echo "$as_me:$LINENO: checking for statfs" >&5
37316 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37317 if test "${wx_cv_func_statfs+set}" = set; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 cat >conftest.
$ac_ext <<_ACEOF
37323 cat confdefs.h
>>conftest.
$ac_ext
37324 cat >>conftest.
$ac_ext <<_ACEOF
37325 /* end confdefs.h. */
37327 #if defined(__BSD__)
37328 #include <sys/param.h>
37329 #include <sys/mount.h>
37331 #include <sys/vfs.h>
37349 rm -f conftest.
$ac_objext
37350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37351 (eval $ac_compile) 2>conftest.er1
37353 grep -v '^ *+' conftest.er1
>conftest.err
37355 cat conftest.err
>&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } &&
37358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try
='test -s conftest.$ac_objext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 wx_cv_func_statfs
=yes
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.
$ac_ext >&5
37375 wx_cv_func_statfs
=no
37378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37381 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37382 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37384 if test "$wx_cv_func_statfs" = "yes"; then
37385 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37386 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37387 if test "${wx_cv_func_statfs_decl+set}" = set; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 cat >conftest.
$ac_ext <<_ACEOF
37393 cat confdefs.h
>>conftest.
$ac_ext
37394 cat >>conftest.
$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37397 #if defined(__BSD__)
37398 #include <sys/param.h>
37399 #include <sys/mount.h>
37401 #include <sys/vfs.h>
37415 rm -f conftest.
$ac_objext
37416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37417 (eval $ac_compile) 2>conftest.er1
37419 grep -v '^ *+' conftest.er1
>conftest.err
37421 cat conftest.err
>&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); } &&
37424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37426 (eval $ac_try) 2>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); }; } &&
37430 { ac_try
='test -s conftest.$ac_objext'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; }; then
37436 wx_cv_func_statfs_decl
=yes
37438 echo "$as_me: failed program was:" >&5
37439 sed 's/^/| /' conftest.
$ac_ext >&5
37441 wx_cv_func_statfs_decl
=no
37444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37447 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37448 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37450 if test "$wx_cv_func_statfs_decl" = "yes"; then
37451 cat >>confdefs.h
<<\_ACEOF
37452 #define HAVE_STATFS_DECL 1
37457 wx_cv_type_statvfs_t
="struct statfs"
37458 cat >>confdefs.h
<<\_ACEOF
37459 #define HAVE_STATFS 1
37463 echo "$as_me:$LINENO: checking for statvfs" >&5
37464 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37465 if test "${wx_cv_func_statvfs+set}" = set; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 cat >conftest.
$ac_ext <<_ACEOF
37471 cat confdefs.h
>>conftest.
$ac_ext
37472 cat >>conftest.
$ac_ext <<_ACEOF
37473 /* end confdefs.h. */
37475 #include <stddef.h>
37476 #include <sys/statvfs.h>
37482 statvfs("/", NULL);
37488 rm -f conftest.
$ac_objext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37490 (eval $ac_compile) 2>conftest.er1
37492 grep -v '^ *+' conftest.er1
>conftest.err
37494 cat conftest.err
>&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } &&
37497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37499 (eval $ac_try) 2>&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); }; } &&
37503 { ac_try
='test -s conftest.$ac_objext'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; }; then
37509 wx_cv_func_statvfs
=yes
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.
$ac_ext >&5
37514 wx_cv_func_statvfs
=no
37517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37520 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37521 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37523 if test "$wx_cv_func_statvfs" = "yes"; then
37524 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37525 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37526 if test "${wx_cv_type_statvfs_t+set}" = set; then
37527 echo $ECHO_N "(cached) $ECHO_C" >&6
37529 cat >conftest.
$ac_ext <<_ACEOF
37532 cat confdefs.h
>>conftest.
$ac_ext
37533 cat >>conftest.
$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37536 #include <sys/statvfs.h>
37553 rm -f conftest.
$ac_objext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37555 (eval $ac_compile) 2>conftest.er1
37557 grep -v '^ *+' conftest.er1
>conftest.err
37559 cat conftest.err
>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try
='test -s conftest.$ac_objext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 wx_cv_type_statvfs_t
=statvfs_t
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.
$ac_ext >&5
37580 cat >conftest.
$ac_ext <<_ACEOF
37583 cat confdefs.h
>>conftest.
$ac_ext
37584 cat >>conftest.
$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37587 #include <sys/statvfs.h>
37604 rm -f conftest.
$ac_objext
37605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37606 (eval $ac_compile) 2>conftest.er1
37608 grep -v '^ *+' conftest.er1
>conftest.err
37610 cat conftest.err
>&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); } &&
37613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; } &&
37619 { ac_try
='test -s conftest.$ac_objext'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; }; then
37625 wx_cv_type_statvfs_t
="struct statvfs"
37627 echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.
$ac_ext >&5
37630 wx_cv_type_statvfs_t
="unknown"
37633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37640 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37641 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37643 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37644 cat >>confdefs.h
<<\_ACEOF
37645 #define HAVE_STATVFS 1
37650 wx_cv_type_statvfs_t
="unknown"
37654 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37655 cat >>confdefs.h
<<_ACEOF
37656 #define WX_STATFS_T $wx_cv_type_statvfs_t
37660 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37661 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37664 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37667 for ac_func
in fcntl flock
37669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37670 echo "$as_me:$LINENO: checking for $ac_func" >&5
37671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37672 if eval "test \"\${$as_ac_var+set}\" = set"; then
37673 echo $ECHO_N "(cached) $ECHO_C" >&6
37675 cat >conftest.
$ac_ext <<_ACEOF
37678 cat confdefs.h
>>conftest.
$ac_ext
37679 cat >>conftest.
$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37683 #define $ac_func innocuous_$ac_func
37685 /* System header to define __stub macros and hopefully few prototypes,
37686 which can conflict with char $ac_func (); below.
37687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37688 <limits.h> exists even on freestanding compilers. */
37691 # include <limits.h>
37693 # include <assert.h>
37698 /* Override any gcc2 internal prototype to avoid an error. */
37703 /* We use char because int might match the return type of a gcc2
37704 builtin and then its argument prototype would still apply. */
37706 /* The GNU C library defines this for functions which it implements
37707 to always fail with ENOSYS. Some functions are actually named
37708 something starting with __ and the normal name is an alias. */
37709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37712 char (*f) () = $ac_func;
37721 return f != $ac_func;
37726 rm -f conftest.
$ac_objext conftest
$ac_exeext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37728 (eval $ac_link) 2>conftest.er1
37730 grep -v '^ *+' conftest.er1
>conftest.err
37732 cat conftest.err
>&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try
='test -s conftest$ac_exeext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 eval "$as_ac_var=yes"
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.
$ac_ext >&5
37752 eval "$as_ac_var=no"
37754 rm -f conftest.err conftest.
$ac_objext \
37755 conftest
$ac_exeext conftest.
$ac_ext
37757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37759 if test `eval echo '${'$as_ac_var'}'` = yes; then
37760 cat >>confdefs.h
<<_ACEOF
37761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37768 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37769 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37770 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37771 wxUSE_SNGLINST_CHECKER
=no
37776 for ac_func
in timegm
37778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37779 echo "$as_me:$LINENO: checking for $ac_func" >&5
37780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37781 if eval "test \"\${$as_ac_var+set}\" = set"; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37784 cat >conftest.
$ac_ext <<_ACEOF
37787 cat confdefs.h
>>conftest.
$ac_ext
37788 cat >>conftest.
$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37800 # include <limits.h>
37802 # include <assert.h>
37807 /* Override any gcc2 internal prototype to avoid an error. */
37812 /* We use char because int might match the return type of a gcc2
37813 builtin and then its argument prototype would still apply. */
37815 /* The GNU C library defines this for functions which it implements
37816 to always fail with ENOSYS. Some functions are actually named
37817 something starting with __ and the normal name is an alias. */
37818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37821 char (*f) () = $ac_func;
37830 return f != $ac_func;
37835 rm -f conftest.
$ac_objext conftest
$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37839 grep -v '^ *+' conftest.er1
>conftest.err
37841 cat conftest.err
>&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; } &&
37850 { ac_try
='test -s conftest$ac_exeext'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; }; then
37856 eval "$as_ac_var=yes"
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.
$ac_ext >&5
37861 eval "$as_ac_var=no"
37863 rm -f conftest.err conftest.
$ac_objext \
37864 conftest
$ac_exeext conftest.
$ac_ext
37866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37868 if test `eval echo '${'$as_ac_var'}'` = yes; then
37869 cat >>confdefs.h
<<_ACEOF
37870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37879 for ac_func
in putenv setenv
37881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37882 echo "$as_me:$LINENO: checking for $ac_func" >&5
37883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37884 if eval "test \"\${$as_ac_var+set}\" = set"; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37887 cat >conftest.
$ac_ext <<_ACEOF
37890 cat confdefs.h
>>conftest.
$ac_ext
37891 cat >>conftest.
$ac_ext <<_ACEOF
37892 /* end confdefs.h. */
37893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37895 #define $ac_func innocuous_$ac_func
37897 /* System header to define __stub macros and hopefully few prototypes,
37898 which can conflict with char $ac_func (); below.
37899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37900 <limits.h> exists even on freestanding compilers. */
37903 # include <limits.h>
37905 # include <assert.h>
37910 /* Override any gcc2 internal prototype to avoid an error. */
37915 /* We use char because int might match the return type of a gcc2
37916 builtin and then its argument prototype would still apply. */
37918 /* The GNU C library defines this for functions which it implements
37919 to always fail with ENOSYS. Some functions are actually named
37920 something starting with __ and the normal name is an alias. */
37921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37924 char (*f) () = $ac_func;
37933 return f != $ac_func;
37938 rm -f conftest.
$ac_objext conftest
$ac_exeext
37939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37940 (eval $ac_link) 2>conftest.er1
37942 grep -v '^ *+' conftest.er1
>conftest.err
37944 cat conftest.err
>&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } &&
37947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37949 (eval $ac_try) 2>&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); }; } &&
37953 { ac_try
='test -s conftest$ac_exeext'
37954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955 (eval $ac_try) 2>&5
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; }; then
37959 eval "$as_ac_var=yes"
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.
$ac_ext >&5
37964 eval "$as_ac_var=no"
37966 rm -f conftest.err conftest.
$ac_objext \
37967 conftest
$ac_exeext conftest.
$ac_ext
37969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37971 if test `eval echo '${'$as_ac_var'}'` = yes; then
37972 cat >>confdefs.h
<<_ACEOF
37973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37980 HAVE_SOME_SLEEP_FUNC
=0
37981 if test "$USE_BEOS" = 1; then
37982 cat >>confdefs.h
<<\_ACEOF
37983 #define HAVE_SLEEP 1
37986 HAVE_SOME_SLEEP_FUNC
=1
37989 if test "$USE_DARWIN" = 1; then
37990 cat >>confdefs.h
<<\_ACEOF
37991 #define HAVE_USLEEP 1
37994 HAVE_SOME_SLEEP_FUNC
=1
37997 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38000 for ac_func
in nanosleep
38002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define $ac_func innocuous_$ac_func
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char $ac_func (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38024 # include <limits.h>
38026 # include <assert.h>
38031 /* Override any gcc2 internal prototype to avoid an error. */
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38045 char (*f) () = $ac_func;
38054 return f != $ac_func;
38059 rm -f conftest.
$ac_objext conftest
$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38063 grep -v '^ *+' conftest.er1
>conftest.err
38065 cat conftest.err
>&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try
='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 eval "$as_ac_var=yes"
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.
$ac_ext >&5
38085 eval "$as_ac_var=no"
38087 rm -f conftest.err conftest.
$ac_objext \
38088 conftest
$ac_exeext conftest.
$ac_ext
38090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38092 if test `eval echo '${'$as_ac_var'}'` = yes; then
38093 cat >>confdefs.h
<<_ACEOF
38094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38096 cat >>confdefs.h
<<\_ACEOF
38097 #define HAVE_NANOSLEEP 1
38102 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38103 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38104 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 ac_check_lib_save_LIBS
=$LIBS
38108 LIBS
="-lposix4 $LIBS"
38109 cat >conftest.
$ac_ext <<_ACEOF
38112 cat confdefs.h
>>conftest.
$ac_ext
38113 cat >>conftest.
$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38116 /* Override any gcc2 internal prototype to avoid an error. */
38120 /* We use char because int might match the return type of a gcc2
38121 builtin and then its argument prototype would still apply. */
38131 rm -f conftest.
$ac_objext conftest
$ac_exeext
38132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38133 (eval $ac_link) 2>conftest.er1
38135 grep -v '^ *+' conftest.er1
>conftest.err
38137 cat conftest.err
>&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } &&
38140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38142 (eval $ac_try) 2>&5
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); }; } &&
38146 { ac_try
='test -s conftest$ac_exeext'
38147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38148 (eval $ac_try) 2>&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); }; }; then
38152 ac_cv_lib_posix4_nanosleep
=yes
38154 echo "$as_me: failed program was:" >&5
38155 sed 's/^/| /' conftest.
$ac_ext >&5
38157 ac_cv_lib_posix4_nanosleep
=no
38159 rm -f conftest.err conftest.
$ac_objext \
38160 conftest
$ac_exeext conftest.
$ac_ext
38161 LIBS
=$ac_check_lib_save_LIBS
38163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38164 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38165 if test $ac_cv_lib_posix4_nanosleep = yes; then
38167 cat >>confdefs.h
<<\_ACEOF
38168 #define HAVE_NANOSLEEP 1
38171 POSIX4_LINK
=" -lposix4"
38176 for ac_func
in usleep
38178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38179 echo "$as_me:$LINENO: checking for $ac_func" >&5
38180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38181 if eval "test \"\${$as_ac_var+set}\" = set"; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38184 cat >conftest.
$ac_ext <<_ACEOF
38187 cat confdefs.h
>>conftest.
$ac_ext
38188 cat >>conftest.
$ac_ext <<_ACEOF
38189 /* end confdefs.h. */
38190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38192 #define $ac_func innocuous_$ac_func
38194 /* System header to define __stub macros and hopefully few prototypes,
38195 which can conflict with char $ac_func (); below.
38196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38197 <limits.h> exists even on freestanding compilers. */
38200 # include <limits.h>
38202 # include <assert.h>
38207 /* Override any gcc2 internal prototype to avoid an error. */
38212 /* We use char because int might match the return type of a gcc2
38213 builtin and then its argument prototype would still apply. */
38215 /* The GNU C library defines this for functions which it implements
38216 to always fail with ENOSYS. Some functions are actually named
38217 something starting with __ and the normal name is an alias. */
38218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38221 char (*f) () = $ac_func;
38230 return f != $ac_func;
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 eval "$as_ac_var=yes"
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.
$ac_ext >&5
38261 eval "$as_ac_var=no"
38263 rm -f conftest.err conftest.
$ac_objext \
38264 conftest
$ac_exeext conftest.
$ac_ext
38266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38268 if test `eval echo '${'$as_ac_var'}'` = yes; then
38269 cat >>confdefs.h
<<_ACEOF
38270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38272 cat >>confdefs.h
<<\_ACEOF
38273 #define HAVE_USLEEP 1
38277 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38278 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38296 for ac_func
in uname gethostname
38298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38299 echo "$as_me:$LINENO: checking for $ac_func" >&5
38300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38301 if eval "test \"\${$as_ac_var+set}\" = set"; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38304 cat >conftest.
$ac_ext <<_ACEOF
38307 cat confdefs.h
>>conftest.
$ac_ext
38308 cat >>conftest.
$ac_ext <<_ACEOF
38309 /* end confdefs.h. */
38310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38312 #define $ac_func innocuous_$ac_func
38314 /* System header to define __stub macros and hopefully few prototypes,
38315 which can conflict with char $ac_func (); below.
38316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38317 <limits.h> exists even on freestanding compilers. */
38320 # include <limits.h>
38322 # include <assert.h>
38327 /* Override any gcc2 internal prototype to avoid an error. */
38332 /* We use char because int might match the return type of a gcc2
38333 builtin and then its argument prototype would still apply. */
38335 /* The GNU C library defines this for functions which it implements
38336 to always fail with ENOSYS. Some functions are actually named
38337 something starting with __ and the normal name is an alias. */
38338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38341 char (*f) () = $ac_func;
38350 return f != $ac_func;
38355 rm -f conftest.
$ac_objext conftest
$ac_exeext
38356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38357 (eval $ac_link) 2>conftest.er1
38359 grep -v '^ *+' conftest.er1
>conftest.err
38361 cat conftest.err
>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } &&
38364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; } &&
38370 { ac_try
='test -s conftest$ac_exeext'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; }; then
38376 eval "$as_ac_var=yes"
38378 echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.
$ac_ext >&5
38381 eval "$as_ac_var=no"
38383 rm -f conftest.err conftest.
$ac_objext \
38384 conftest
$ac_exeext conftest.
$ac_ext
38386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38388 if test `eval echo '${'$as_ac_var'}'` = yes; then
38389 cat >>confdefs.h
<<_ACEOF
38390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38398 for wx_func
in strtok_r
38400 echo "$as_me:$LINENO: checking for $wx_func" >&5
38401 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38402 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38403 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 cat >conftest.
$ac_ext <<_ACEOF
38410 cat confdefs.h
>>conftest.
$ac_ext
38411 cat >>conftest.
$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38415 $ac_includes_default
38431 rm -f conftest.
$ac_objext conftest
$ac_exeext
38432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38433 (eval $ac_link) 2>conftest.er1
38435 grep -v '^ *+' conftest.er1
>conftest.err
38437 cat conftest.err
>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } &&
38440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38442 (eval $ac_try) 2>&5
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); }; } &&
38446 { ac_try
='test -s conftest$ac_exeext'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; }; then
38452 eval wx_cv_func_
$wx_func=yes
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.
$ac_ext >&5
38457 eval wx_cv_func_
$wx_func=no
38459 rm -f conftest.err conftest.
$ac_objext \
38460 conftest
$ac_exeext conftest.
$ac_ext
38463 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38464 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38466 if eval test \
$wx_cv_func_$wx_func = yes
38468 cat >>confdefs.h
<<_ACEOF
38469 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38482 for ac_func
in inet_addr
38484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38485 echo "$as_me:$LINENO: checking for $ac_func" >&5
38486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38487 if eval "test \"\${$as_ac_var+set}\" = set"; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38490 cat >conftest.
$ac_ext <<_ACEOF
38493 cat confdefs.h
>>conftest.
$ac_ext
38494 cat >>conftest.
$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38498 #define $ac_func innocuous_$ac_func
38500 /* System header to define __stub macros and hopefully few prototypes,
38501 which can conflict with char $ac_func (); below.
38502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503 <limits.h> exists even on freestanding compilers. */
38506 # include <limits.h>
38508 # include <assert.h>
38513 /* Override any gcc2 internal prototype to avoid an error. */
38518 /* We use char because int might match the return type of a gcc2
38519 builtin and then its argument prototype would still apply. */
38521 /* The GNU C library defines this for functions which it implements
38522 to always fail with ENOSYS. Some functions are actually named
38523 something starting with __ and the normal name is an alias. */
38524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38527 char (*f) () = $ac_func;
38536 return f != $ac_func;
38541 rm -f conftest.
$ac_objext conftest
$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38545 grep -v '^ *+' conftest.er1
>conftest.err
38547 cat conftest.err
>&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try
='test -s conftest$ac_exeext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 eval "$as_ac_var=yes"
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 eval "$as_ac_var=no"
38569 rm -f conftest.err conftest.
$ac_objext \
38570 conftest
$ac_exeext conftest.
$ac_ext
38572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38574 if test `eval echo '${'$as_ac_var'}'` = yes; then
38575 cat >>confdefs.h
<<_ACEOF
38576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38578 cat >>confdefs.h
<<\_ACEOF
38579 #define HAVE_INET_ADDR 1
38584 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38585 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38586 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38589 ac_check_lib_save_LIBS
=$LIBS
38591 cat >conftest.
$ac_ext <<_ACEOF
38594 cat confdefs.h
>>conftest.
$ac_ext
38595 cat >>conftest.
$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38598 /* Override any gcc2 internal prototype to avoid an error. */
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38613 rm -f conftest.
$ac_objext conftest
$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615 (eval $ac_link) 2>conftest.er1
38617 grep -v '^ *+' conftest.er1
>conftest.err
38619 cat conftest.err
>&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; } &&
38628 { ac_try
='test -s conftest$ac_exeext'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; }; then
38634 ac_cv_lib_nsl_inet_addr
=yes
38636 echo "$as_me: failed program was:" >&5
38637 sed 's/^/| /' conftest.
$ac_ext >&5
38639 ac_cv_lib_nsl_inet_addr
=no
38641 rm -f conftest.err conftest.
$ac_objext \
38642 conftest
$ac_exeext conftest.
$ac_ext
38643 LIBS
=$ac_check_lib_save_LIBS
38645 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38646 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38647 if test $ac_cv_lib_nsl_inet_addr = yes; then
38651 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38652 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38653 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38656 ac_check_lib_save_LIBS
=$LIBS
38657 LIBS
="-lresolv $LIBS"
38658 cat >conftest.
$ac_ext <<_ACEOF
38661 cat confdefs.h
>>conftest.
$ac_ext
38662 cat >>conftest.
$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38665 /* Override any gcc2 internal prototype to avoid an error. */
38669 /* We use char because int might match the return type of a gcc2
38670 builtin and then its argument prototype would still apply. */
38680 rm -f conftest.
$ac_objext conftest
$ac_exeext
38681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38682 (eval $ac_link) 2>conftest.er1
38684 grep -v '^ *+' conftest.er1
>conftest.err
38686 cat conftest.err
>&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } &&
38689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; } &&
38695 { ac_try
='test -s conftest$ac_exeext'
38696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38697 (eval $ac_try) 2>&5
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); }; }; then
38701 ac_cv_lib_resolv_inet_addr
=yes
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.
$ac_ext >&5
38706 ac_cv_lib_resolv_inet_addr
=no
38708 rm -f conftest.err conftest.
$ac_objext \
38709 conftest
$ac_exeext conftest.
$ac_ext
38710 LIBS
=$ac_check_lib_save_LIBS
38712 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38713 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38714 if test $ac_cv_lib_resolv_inet_addr = yes; then
38718 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38719 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38720 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 ac_check_lib_save_LIBS
=$LIBS
38724 LIBS
="-lsocket $LIBS"
38725 cat >conftest.
$ac_ext <<_ACEOF
38728 cat confdefs.h
>>conftest.
$ac_ext
38729 cat >>conftest.
$ac_ext <<_ACEOF
38730 /* end confdefs.h. */
38732 /* Override any gcc2 internal prototype to avoid an error. */
38736 /* We use char because int might match the return type of a gcc2
38737 builtin and then its argument prototype would still apply. */
38747 rm -f conftest.
$ac_objext conftest
$ac_exeext
38748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38749 (eval $ac_link) 2>conftest.er1
38751 grep -v '^ *+' conftest.er1
>conftest.err
38753 cat conftest.err
>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } &&
38756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; } &&
38762 { ac_try
='test -s conftest$ac_exeext'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; }; then
38768 ac_cv_lib_socket_inet_addr
=yes
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.
$ac_ext >&5
38773 ac_cv_lib_socket_inet_addr
=no
38775 rm -f conftest.err conftest.
$ac_objext \
38776 conftest
$ac_exeext conftest.
$ac_ext
38777 LIBS
=$ac_check_lib_save_LIBS
38779 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38780 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38781 if test $ac_cv_lib_socket_inet_addr = yes; then
38801 for ac_func
in inet_aton
38803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38804 echo "$as_me:$LINENO: checking for $ac_func" >&5
38805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38806 if eval "test \"\${$as_ac_var+set}\" = set"; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 cat >conftest.
$ac_ext <<_ACEOF
38812 cat confdefs.h
>>conftest.
$ac_ext
38813 cat >>conftest.
$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38817 #define $ac_func innocuous_$ac_func
38819 /* System header to define __stub macros and hopefully few prototypes,
38820 which can conflict with char $ac_func (); below.
38821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38822 <limits.h> exists even on freestanding compilers. */
38825 # include <limits.h>
38827 # include <assert.h>
38832 /* Override any gcc2 internal prototype to avoid an error. */
38837 /* We use char because int might match the return type of a gcc2
38838 builtin and then its argument prototype would still apply. */
38840 /* The GNU C library defines this for functions which it implements
38841 to always fail with ENOSYS. Some functions are actually named
38842 something starting with __ and the normal name is an alias. */
38843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38846 char (*f) () = $ac_func;
38855 return f != $ac_func;
38860 rm -f conftest.
$ac_objext conftest
$ac_exeext
38861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38862 (eval $ac_link) 2>conftest.er1
38864 grep -v '^ *+' conftest.er1
>conftest.err
38866 cat conftest.err
>&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } &&
38869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38871 (eval $ac_try) 2>&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); }; } &&
38875 { ac_try
='test -s conftest$ac_exeext'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; }; then
38881 eval "$as_ac_var=yes"
38883 echo "$as_me: failed program was:" >&5
38884 sed 's/^/| /' conftest.
$ac_ext >&5
38886 eval "$as_ac_var=no"
38888 rm -f conftest.err conftest.
$ac_objext \
38889 conftest
$ac_exeext conftest.
$ac_ext
38891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38893 if test `eval echo '${'$as_ac_var'}'` = yes; then
38894 cat >>confdefs.h
<<_ACEOF
38895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38897 cat >>confdefs.h
<<\_ACEOF
38898 #define HAVE_INET_ATON 1
38903 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38904 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38905 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38906 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38909 ac_check_lib_save_LIBS
=$LIBS
38910 LIBS
="-l$INET_LINK $LIBS"
38911 cat >conftest.
$ac_ext <<_ACEOF
38914 cat confdefs.h
>>conftest.
$ac_ext
38915 cat >>conftest.
$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38918 /* Override any gcc2 internal prototype to avoid an error. */
38922 /* We use char because int might match the return type of a gcc2
38923 builtin and then its argument prototype would still apply. */
38933 rm -f conftest.
$ac_objext conftest
$ac_exeext
38934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38935 (eval $ac_link) 2>conftest.er1
38937 grep -v '^ *+' conftest.er1
>conftest.err
38939 cat conftest.err
>&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); } &&
38942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38944 (eval $ac_try) 2>&5
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); }; } &&
38948 { ac_try
='test -s conftest$ac_exeext'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; }; then
38954 eval "$as_ac_Lib=yes"
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.
$ac_ext >&5
38959 eval "$as_ac_Lib=no"
38961 rm -f conftest.err conftest.
$ac_objext \
38962 conftest
$ac_exeext conftest.
$ac_ext
38963 LIBS
=$ac_check_lib_save_LIBS
38965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38966 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38967 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38968 cat >>confdefs.h
<<\_ACEOF
38969 #define HAVE_INET_ATON 1
38979 if test "x$INET_LINK" != "x"; then
38980 cat >>confdefs.h
<<\_ACEOF
38981 #define HAVE_INET_ADDR 1
38984 INET_LINK
=" -l$INET_LINK"
38988 for wx_func
in fdopen
38990 echo "$as_me:$LINENO: checking for $wx_func" >&5
38991 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38992 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38996 cat >conftest.
$ac_ext <<_ACEOF
39000 cat confdefs.h
>>conftest.
$ac_ext
39001 cat >>conftest.
$ac_ext <<_ACEOF
39002 /* end confdefs.h. */
39005 $ac_includes_default
39021 rm -f conftest.
$ac_objext conftest
$ac_exeext
39022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39023 (eval $ac_link) 2>conftest.er1
39025 grep -v '^ *+' conftest.er1
>conftest.err
39027 cat conftest.err
>&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); } &&
39030 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; } &&
39036 { ac_try
='test -s conftest$ac_exeext'
39037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39038 (eval $ac_try) 2>&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); }; }; then
39042 eval wx_cv_func_
$wx_func=yes
39044 echo "$as_me: failed program was:" >&5
39045 sed 's/^/| /' conftest.
$ac_ext >&5
39047 eval wx_cv_func_
$wx_func=no
39049 rm -f conftest.err conftest.
$ac_objext \
39050 conftest
$ac_exeext conftest.
$ac_ext
39053 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39054 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39056 if eval test \
$wx_cv_func_$wx_func = yes
39058 cat >>confdefs.h
<<_ACEOF
39059 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39076 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39077 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39078 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39079 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 ac_check_lib_save_LIBS
=$LIBS
39083 cat >conftest.
$ac_ext <<_ACEOF
39086 cat confdefs.h
>>conftest.
$ac_ext
39087 cat >>conftest.
$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39090 /* Override any gcc2 internal prototype to avoid an error. */
39094 /* We use char because int might match the return type of a gcc2
39095 builtin and then its argument prototype would still apply. */
39105 rm -f conftest.
$ac_objext conftest
$ac_exeext
39106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39107 (eval $ac_link) 2>conftest.er1
39109 grep -v '^ *+' conftest.er1
>conftest.err
39111 cat conftest.err
>&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); } &&
39114 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116 (eval $ac_try) 2>&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); }; } &&
39120 { ac_try
='test -s conftest$ac_exeext'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; }; then
39126 ac_cv_lib_esd_esd_close
=yes
39128 echo "$as_me: failed program was:" >&5
39129 sed 's/^/| /' conftest.
$ac_ext >&5
39131 ac_cv_lib_esd_esd_close
=no
39133 rm -f conftest.err conftest.
$ac_objext \
39134 conftest
$ac_exeext conftest.
$ac_ext
39135 LIBS
=$ac_check_lib_save_LIBS
39137 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39138 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39139 if test $ac_cv_lib_esd_esd_close = yes; then
39142 for ac_header
in esd.h
39144 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39146 echo "$as_me:$LINENO: checking for $ac_header" >&5
39147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39149 echo $ECHO_N "(cached) $ECHO_C" >&6
39151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39154 # Is the header compilable?
39155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39157 cat >conftest.
$ac_ext <<_ACEOF
39160 cat confdefs.h
>>conftest.
$ac_ext
39161 cat >>conftest.
$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 $ac_includes_default
39164 #include <$ac_header>
39166 rm -f conftest.
$ac_objext
39167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39168 (eval $ac_compile) 2>conftest.er1
39170 grep -v '^ *+' conftest.er1
>conftest.err
39172 cat conftest.err
>&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } &&
39175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try
='test -s conftest.$ac_objext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 ac_header_compiler
=yes
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.
$ac_ext >&5
39192 ac_header_compiler
=no
39194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39196 echo "${ECHO_T}$ac_header_compiler" >&6
39198 # Is the header present?
39199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39201 cat >conftest.
$ac_ext <<_ACEOF
39204 cat confdefs.h
>>conftest.
$ac_ext
39205 cat >>conftest.
$ac_ext <<_ACEOF
39206 /* end confdefs.h. */
39207 #include <$ac_header>
39209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39212 grep -v '^ *+' conftest.er1
>conftest.err
39214 cat conftest.err
>&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); } >/dev
/null
; then
39217 if test -s conftest.err
; then
39218 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39219 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39226 if test -z "$ac_cpp_err"; then
39227 ac_header_preproc
=yes
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.
$ac_ext >&5
39232 ac_header_preproc
=no
39234 rm -f conftest.err conftest.
$ac_ext
39235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39236 echo "${ECHO_T}$ac_header_preproc" >&6
39238 # So? What about this header?
39239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39245 ac_header_preproc
=yes
39248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39262 ## ----------------------------------------- ##
39263 ## Report this to wx-dev@lists.wxwidgets.org ##
39264 ## ----------------------------------------- ##
39267 sed "s/^/$as_me: WARNING: /" >&2
39270 echo "$as_me:$LINENO: checking for $ac_header" >&5
39271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 eval "$as_ac_Header=\$ac_header_preproc"
39277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39282 cat >>confdefs.h
<<_ACEOF
39283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39286 EXTRALIBS_ESD
="-lesd"
39297 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39298 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39299 cat >conftest.
$ac_ext <<_ACEOF
39302 cat confdefs.h
>>conftest.
$ac_ext
39303 cat >>conftest.
$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39306 #include <linux/cdrom.h>
39309 #include <sys/cdio.h>
39315 struct cdrom_tocentry entry, old_entry;
39320 rm -f conftest.
$ac_objext
39321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39322 (eval $ac_compile) 2>conftest.er1
39324 grep -v '^ *+' conftest.er1
>conftest.err
39326 cat conftest.err
>&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } &&
39329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; } &&
39335 { ac_try
='test -s conftest.$ac_objext'
39336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337 (eval $ac_try) 2>&5
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); }; }; then
39341 echo "$as_me:$LINENO: result: yes" >&5
39342 echo "${ECHO_T}yes" >&6
39343 cat >>confdefs.h
<<\_ACEOF
39344 #define HAVE_KNOWN_CDROM_INTERFACE 1
39348 echo "$as_me: failed program was:" >&5
39349 sed 's/^/| /' conftest.
$ac_ext >&5
39351 echo "$as_me:$LINENO: result: no" >&5
39352 echo "${ECHO_T}no" >&6
39354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39357 cat >confcache
<<\_ACEOF
39358 # This file is a shell script that caches the results of configure
39359 # tests run on this system so they can be shared between configure
39360 # scripts and configure runs, see configure's option --config-cache.
39361 # It is not useful on other systems. If it contains results you don't
39362 # want to keep, you may remove or edit it.
39364 # config.status only pays attention to the cache file if you give it
39365 # the --recheck option to rerun configure.
39367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39369 # following values.
39373 # The following way of writing the cache mishandles newlines in values,
39374 # but we know of no workaround that is simple, portable, and efficient.
39375 # So, don't put newlines in cache variables' values.
39376 # Ultrix sh set writes to stderr and can't be redirected directly,
39377 # and sets the high bit in the cache file unless we assign to the vars.
39380 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39382 # `set' does not quote correctly, so add quotes (double-quote
39383 # substitution turns \\\\ into \\, and sed turns \\ into \).
39386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39389 # `set' quotes correctly as required by POSIX, so do not add quotes.
39391 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39398 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39400 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39402 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39403 if test -w $cache_file; then
39404 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39405 cat confcache
>$cache_file
39407 echo "not updating unwritable cache $cache_file"
39413 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39419 if test "$wxUSE_THREADS" = "yes" ; then
39420 if test "$USE_BEOS" = 1; then
39421 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39422 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39427 if test "$wxUSE_THREADS" = "yes" ; then
39430 THREAD_OPTS
="-pthread"
39432 *-*-solaris2* | *-*-sunos4* )
39433 if test "x$GCC" = "xyes"; then
39434 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39436 THREAD_OPTS
="-mt $THREAD_OPTS"
39440 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39442 *-*-darwin* | *-*-cygwin* )
39446 THREAD_OPTS
="pthreads"
39449 if test "x$GCC" = "xyes"; then
39450 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39458 if test "x$GCC" = "xyes"; then
39464 if test "x$GCC" != "xyes"; then
39465 THREAD_OPTS
="-Ethread"
39470 THREAD_OPTS
="$THREAD_OPTS pthread none"
39473 for flag
in $THREAD_OPTS; do
39476 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39477 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39481 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39482 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39483 THREADS_CXXFLAGS
="$flag"
39487 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39488 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39489 THREADS_LINK
="-l$flag"
39494 save_CXXFLAGS
="$CXXFLAGS"
39495 LIBS
="$THREADS_LINK $LIBS"
39496 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39498 cat >conftest.
$ac_ext <<_ACEOF
39501 cat confdefs.h
>>conftest.
$ac_ext
39502 cat >>conftest.
$ac_ext <<_ACEOF
39503 /* end confdefs.h. */
39504 #include <pthread.h>
39508 pthread_create(0,0,0,0);
39513 rm -f conftest.
$ac_objext conftest
$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39517 grep -v '^ *+' conftest.er1
>conftest.err
39519 cat conftest.err
>&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try
='test -s conftest$ac_exeext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.
$ac_ext >&5
39540 rm -f conftest.err conftest.
$ac_objext \
39541 conftest
$ac_exeext conftest.
$ac_ext
39544 CXXFLAGS
="$save_CXXFLAGS"
39546 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39547 echo "${ECHO_T}$THREADS_OK" >&6
39548 if test "x$THREADS_OK" = "xyes"; then
39553 THREADS_CXXFLAGS
=""
39556 if test "x$THREADS_OK" != "xyes"; then
39558 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39559 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39561 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39562 LIBS
="$THREADS_LINK $LIBS"
39564 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39565 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39569 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39570 flag
="-D_THREAD_SAFE"
39573 flag
="-D_THREAD_SAFE"
39576 flag
="-D_REENTRANT"
39577 if test "x$GCC" != "xyes"; then
39578 flag
="$flag -D_RWSTD_MULTI_THREAD"
39581 *solaris
* | alpha
*-osf*)
39582 flag
="-D_REENTRANT"
39585 echo "$as_me:$LINENO: result: ${flag}" >&5
39586 echo "${ECHO_T}${flag}" >&6
39587 if test "x$flag" != xno
; then
39588 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39591 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39595 if test "$wxUSE_THREADS" = "yes" ; then
39597 for ac_func
in thr_setconcurrency
39599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39600 echo "$as_me:$LINENO: checking for $ac_func" >&5
39601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39602 if eval "test \"\${$as_ac_var+set}\" = set"; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39605 cat >conftest.
$ac_ext <<_ACEOF
39608 cat confdefs.h
>>conftest.
$ac_ext
39609 cat >>conftest.
$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39613 #define $ac_func innocuous_$ac_func
39615 /* System header to define __stub macros and hopefully few prototypes,
39616 which can conflict with char $ac_func (); below.
39617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39618 <limits.h> exists even on freestanding compilers. */
39621 # include <limits.h>
39623 # include <assert.h>
39628 /* Override any gcc2 internal prototype to avoid an error. */
39633 /* We use char because int might match the return type of a gcc2
39634 builtin and then its argument prototype would still apply. */
39636 /* The GNU C library defines this for functions which it implements
39637 to always fail with ENOSYS. Some functions are actually named
39638 something starting with __ and the normal name is an alias. */
39639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39642 char (*f) () = $ac_func;
39651 return f != $ac_func;
39656 rm -f conftest.
$ac_objext conftest
$ac_exeext
39657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39658 (eval $ac_link) 2>conftest.er1
39660 grep -v '^ *+' conftest.er1
>conftest.err
39662 cat conftest.err
>&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } &&
39665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; } &&
39671 { ac_try
='test -s conftest$ac_exeext'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; }; then
39677 eval "$as_ac_var=yes"
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.
$ac_ext >&5
39682 eval "$as_ac_var=no"
39684 rm -f conftest.err conftest.
$ac_objext \
39685 conftest
$ac_exeext conftest.
$ac_ext
39687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39689 if test `eval echo '${'$as_ac_var'}'` = yes; then
39690 cat >>confdefs.h
<<_ACEOF
39691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39698 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39699 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39700 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39704 cat >conftest.
$ac_ext <<_ACEOF
39707 cat confdefs.h
>>conftest.
$ac_ext
39708 cat >>conftest.
$ac_ext <<_ACEOF
39709 /* end confdefs.h. */
39710 #include <pthread.h>
39711 void ThreadCleanupFunc(void *p);
39718 pthread_cleanup_push(ThreadCleanupFunc, p);
39719 pthread_cleanup_pop(0);
39725 rm -f conftest.
$ac_objext
39726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39727 (eval $ac_compile) 2>conftest.er1
39729 grep -v '^ *+' conftest.er1
>conftest.err
39731 cat conftest.err
>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); } &&
39734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try
='test -s conftest.$ac_objext'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; }; then
39747 wx_cv_func_pthread_cleanup
=yes
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.
$ac_ext >&5
39754 wx_cv_func_pthread_cleanup
=no
39758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39761 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39762 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39763 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39764 cat >>confdefs.h
<<\_ACEOF
39765 #define wxHAVE_PTHREAD_CLEANUP 1
39771 for ac_header
in sched.h
39773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39775 echo "$as_me:$LINENO: checking for $ac_header" >&5
39776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39783 # Is the header compilable?
39784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39786 cat >conftest.
$ac_ext <<_ACEOF
39789 cat confdefs.h
>>conftest.
$ac_ext
39790 cat >>conftest.
$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39792 $ac_includes_default
39793 #include <$ac_header>
39795 rm -f conftest.
$ac_objext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39797 (eval $ac_compile) 2>conftest.er1
39799 grep -v '^ *+' conftest.er1
>conftest.err
39801 cat conftest.err
>&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } &&
39804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; } &&
39810 { ac_try
='test -s conftest.$ac_objext'
39811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812 (eval $ac_try) 2>&5
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); }; }; then
39816 ac_header_compiler
=yes
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.
$ac_ext >&5
39821 ac_header_compiler
=no
39823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39825 echo "${ECHO_T}$ac_header_compiler" >&6
39827 # Is the header present?
39828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39830 cat >conftest.
$ac_ext <<_ACEOF
39833 cat confdefs.h
>>conftest.
$ac_ext
39834 cat >>conftest.
$ac_ext <<_ACEOF
39835 /* end confdefs.h. */
39836 #include <$ac_header>
39838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39841 grep -v '^ *+' conftest.er1
>conftest.err
39843 cat conftest.err
>&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } >/dev
/null
; then
39846 if test -s conftest.err
; then
39847 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39848 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39855 if test -z "$ac_cpp_err"; then
39856 ac_header_preproc
=yes
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.
$ac_ext >&5
39861 ac_header_preproc
=no
39863 rm -f conftest.err conftest.
$ac_ext
39864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39865 echo "${ECHO_T}$ac_header_preproc" >&6
39867 # So? What about this header?
39868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39874 ac_header_preproc
=yes
39877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39891 ## ----------------------------------------- ##
39892 ## Report this to wx-dev@lists.wxwidgets.org ##
39893 ## ----------------------------------------- ##
39896 sed "s/^/$as_me: WARNING: /" >&2
39899 echo "$as_me:$LINENO: checking for $ac_header" >&5
39900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39902 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 eval "$as_ac_Header=\$ac_header_preproc"
39906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39911 cat >>confdefs.h
<<_ACEOF
39912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39919 if test "$ac_cv_header_sched_h" = "yes"; then
39920 echo "$as_me:$LINENO: checking for sched_yield" >&5
39921 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39922 if test "${ac_cv_func_sched_yield+set}" = set; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 cat >conftest.
$ac_ext <<_ACEOF
39928 cat confdefs.h
>>conftest.
$ac_ext
39929 cat >>conftest.
$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define sched_yield innocuous_sched_yield
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char sched_yield (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39941 # include <limits.h>
39943 # include <assert.h>
39948 /* Override any gcc2 internal prototype to avoid an error. */
39953 /* We use char because int might match the return type of a gcc2
39954 builtin and then its argument prototype would still apply. */
39955 char sched_yield ();
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39962 char (*f) () = sched_yield;
39971 return f != sched_yield;
39976 rm -f conftest.
$ac_objext conftest
$ac_exeext
39977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39978 (eval $ac_link) 2>conftest.er1
39980 grep -v '^ *+' conftest.er1
>conftest.err
39982 cat conftest.err
>&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } &&
39985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; } &&
39991 { ac_try
='test -s conftest$ac_exeext'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; }; then
39997 ac_cv_func_sched_yield
=yes
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.
$ac_ext >&5
40002 ac_cv_func_sched_yield
=no
40004 rm -f conftest.err conftest.
$ac_objext \
40005 conftest
$ac_exeext conftest.
$ac_ext
40007 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40008 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40009 if test $ac_cv_func_sched_yield = yes; then
40010 cat >>confdefs.h
<<\_ACEOF
40011 #define HAVE_SCHED_YIELD 1
40016 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40017 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40018 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40021 ac_check_lib_save_LIBS
=$LIBS
40022 LIBS
="-lposix4 $LIBS"
40023 cat >conftest.
$ac_ext <<_ACEOF
40026 cat confdefs.h
>>conftest.
$ac_ext
40027 cat >>conftest.
$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40030 /* Override any gcc2 internal prototype to avoid an error. */
40034 /* We use char because int might match the return type of a gcc2
40035 builtin and then its argument prototype would still apply. */
40036 char sched_yield ();
40045 rm -f conftest.
$ac_objext conftest
$ac_exeext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40047 (eval $ac_link) 2>conftest.er1
40049 grep -v '^ *+' conftest.er1
>conftest.err
40051 cat conftest.err
>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; } &&
40060 { ac_try
='test -s conftest$ac_exeext'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; }; then
40066 ac_cv_lib_posix4_sched_yield
=yes
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.
$ac_ext >&5
40071 ac_cv_lib_posix4_sched_yield
=no
40073 rm -f conftest.err conftest.
$ac_objext \
40074 conftest
$ac_exeext conftest.
$ac_ext
40075 LIBS
=$ac_check_lib_save_LIBS
40077 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40079 if test $ac_cv_lib_posix4_sched_yield = yes; then
40080 cat >>confdefs.h
<<\_ACEOF
40081 #define HAVE_SCHED_YIELD 1
40083 POSIX4_LINK
=" -lposix4"
40085 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40086 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40097 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40098 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40099 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 cat >conftest.
$ac_ext <<_ACEOF
40105 cat confdefs.h
>>conftest.
$ac_ext
40106 cat >>conftest.
$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40108 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40110 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40112 /* System header to define __stub macros and hopefully few prototypes,
40113 which can conflict with char pthread_attr_getschedpolicy (); below.
40114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40115 <limits.h> exists even on freestanding compilers. */
40118 # include <limits.h>
40120 # include <assert.h>
40123 #undef pthread_attr_getschedpolicy
40125 /* Override any gcc2 internal prototype to avoid an error. */
40130 /* We use char because int might match the return type of a gcc2
40131 builtin and then its argument prototype would still apply. */
40132 char pthread_attr_getschedpolicy ();
40133 /* The GNU C library defines this for functions which it implements
40134 to always fail with ENOSYS. Some functions are actually named
40135 something starting with __ and the normal name is an alias. */
40136 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40139 char (*f) () = pthread_attr_getschedpolicy;
40148 return f != pthread_attr_getschedpolicy;
40153 rm -f conftest.
$ac_objext conftest
$ac_exeext
40154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40155 (eval $ac_link) 2>conftest.er1
40157 grep -v '^ *+' conftest.er1
>conftest.err
40159 cat conftest.err
>&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); } &&
40162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40164 (eval $ac_try) 2>&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); }; } &&
40168 { ac_try
='test -s conftest$ac_exeext'
40169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40170 (eval $ac_try) 2>&5
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); }; }; then
40174 ac_cv_func_pthread_attr_getschedpolicy
=yes
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.
$ac_ext >&5
40179 ac_cv_func_pthread_attr_getschedpolicy
=no
40181 rm -f conftest.err conftest.
$ac_objext \
40182 conftest
$ac_exeext conftest.
$ac_ext
40184 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40185 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40186 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40187 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40188 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40189 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40190 echo $ECHO_N "(cached) $ECHO_C" >&6
40192 cat >conftest.
$ac_ext <<_ACEOF
40195 cat confdefs.h
>>conftest.
$ac_ext
40196 cat >>conftest.
$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40200 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40202 /* System header to define __stub macros and hopefully few prototypes,
40203 which can conflict with char pthread_attr_setschedparam (); below.
40204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40205 <limits.h> exists even on freestanding compilers. */
40208 # include <limits.h>
40210 # include <assert.h>
40213 #undef pthread_attr_setschedparam
40215 /* Override any gcc2 internal prototype to avoid an error. */
40220 /* We use char because int might match the return type of a gcc2
40221 builtin and then its argument prototype would still apply. */
40222 char pthread_attr_setschedparam ();
40223 /* The GNU C library defines this for functions which it implements
40224 to always fail with ENOSYS. Some functions are actually named
40225 something starting with __ and the normal name is an alias. */
40226 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40229 char (*f) () = pthread_attr_setschedparam;
40238 return f != pthread_attr_setschedparam;
40243 rm -f conftest.
$ac_objext conftest
$ac_exeext
40244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40245 (eval $ac_link) 2>conftest.er1
40247 grep -v '^ *+' conftest.er1
>conftest.err
40249 cat conftest.err
>&5
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); } &&
40252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254 (eval $ac_try) 2>&5
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); }; } &&
40258 { ac_try
='test -s conftest$ac_exeext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 ac_cv_func_pthread_attr_setschedparam
=yes
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.
$ac_ext >&5
40269 ac_cv_func_pthread_attr_setschedparam
=no
40271 rm -f conftest.err conftest.
$ac_objext \
40272 conftest
$ac_exeext conftest.
$ac_ext
40274 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40275 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40276 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40277 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40278 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40279 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40280 echo $ECHO_N "(cached) $ECHO_C" >&6
40282 cat >conftest.
$ac_ext <<_ACEOF
40285 cat confdefs.h
>>conftest.
$ac_ext
40286 cat >>conftest.
$ac_ext <<_ACEOF
40287 /* end confdefs.h. */
40288 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40290 #define sched_get_priority_max innocuous_sched_get_priority_max
40292 /* System header to define __stub macros and hopefully few prototypes,
40293 which can conflict with char sched_get_priority_max (); below.
40294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40295 <limits.h> exists even on freestanding compilers. */
40298 # include <limits.h>
40300 # include <assert.h>
40303 #undef sched_get_priority_max
40305 /* Override any gcc2 internal prototype to avoid an error. */
40310 /* We use char because int might match the return type of a gcc2
40311 builtin and then its argument prototype would still apply. */
40312 char sched_get_priority_max ();
40313 /* The GNU C library defines this for functions which it implements
40314 to always fail with ENOSYS. Some functions are actually named
40315 something starting with __ and the normal name is an alias. */
40316 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40319 char (*f) () = sched_get_priority_max;
40328 return f != sched_get_priority_max;
40333 rm -f conftest.
$ac_objext conftest
$ac_exeext
40334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40335 (eval $ac_link) 2>conftest.er1
40337 grep -v '^ *+' conftest.er1
>conftest.err
40339 cat conftest.err
>&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } &&
40342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40344 (eval $ac_try) 2>&5
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); }; } &&
40348 { ac_try
='test -s conftest$ac_exeext'
40349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350 (eval $ac_try) 2>&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); }; }; then
40354 ac_cv_func_sched_get_priority_max
=yes
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.
$ac_ext >&5
40359 ac_cv_func_sched_get_priority_max
=no
40361 rm -f conftest.err conftest.
$ac_objext \
40362 conftest
$ac_exeext conftest.
$ac_ext
40364 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40365 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40366 if test $ac_cv_func_sched_get_priority_max = yes; then
40369 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40370 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40371 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40374 ac_check_lib_save_LIBS
=$LIBS
40375 LIBS
="-lposix4 $LIBS"
40376 cat >conftest.
$ac_ext <<_ACEOF
40379 cat confdefs.h
>>conftest.
$ac_ext
40380 cat >>conftest.
$ac_ext <<_ACEOF
40381 /* end confdefs.h. */
40383 /* Override any gcc2 internal prototype to avoid an error. */
40387 /* We use char because int might match the return type of a gcc2
40388 builtin and then its argument prototype would still apply. */
40389 char sched_get_priority_max ();
40393 sched_get_priority_max ();
40398 rm -f conftest.
$ac_objext conftest
$ac_exeext
40399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40400 (eval $ac_link) 2>conftest.er1
40402 grep -v '^ *+' conftest.er1
>conftest.err
40404 cat conftest.err
>&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); } &&
40407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40409 (eval $ac_try) 2>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; } &&
40413 { ac_try
='test -s conftest$ac_exeext'
40414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40415 (eval $ac_try) 2>&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); }; }; then
40419 ac_cv_lib_posix4_sched_get_priority_max
=yes
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.
$ac_ext >&5
40424 ac_cv_lib_posix4_sched_get_priority_max
=no
40426 rm -f conftest.err conftest.
$ac_objext \
40427 conftest
$ac_exeext conftest.
$ac_ext
40428 LIBS
=$ac_check_lib_save_LIBS
40430 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40431 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40432 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40435 POSIX4_LINK
=" -lposix4"
40449 if test "$HAVE_PRIOR_FUNCS" = 1; then
40450 cat >>confdefs.h
<<\_ACEOF
40451 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40455 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40456 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40459 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40460 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40461 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40462 echo $ECHO_N "(cached) $ECHO_C" >&6
40464 cat >conftest.
$ac_ext <<_ACEOF
40467 cat confdefs.h
>>conftest.
$ac_ext
40468 cat >>conftest.
$ac_ext <<_ACEOF
40469 /* end confdefs.h. */
40470 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40472 #define pthread_cancel innocuous_pthread_cancel
40474 /* System header to define __stub macros and hopefully few prototypes,
40475 which can conflict with char pthread_cancel (); below.
40476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40477 <limits.h> exists even on freestanding compilers. */
40480 # include <limits.h>
40482 # include <assert.h>
40485 #undef pthread_cancel
40487 /* Override any gcc2 internal prototype to avoid an error. */
40492 /* We use char because int might match the return type of a gcc2
40493 builtin and then its argument prototype would still apply. */
40494 char pthread_cancel ();
40495 /* The GNU C library defines this for functions which it implements
40496 to always fail with ENOSYS. Some functions are actually named
40497 something starting with __ and the normal name is an alias. */
40498 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40501 char (*f) () = pthread_cancel;
40510 return f != pthread_cancel;
40515 rm -f conftest.
$ac_objext conftest
$ac_exeext
40516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40517 (eval $ac_link) 2>conftest.er1
40519 grep -v '^ *+' conftest.er1
>conftest.err
40521 cat conftest.err
>&5
40522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523 (exit $ac_status); } &&
40524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40526 (eval $ac_try) 2>&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); }; } &&
40530 { ac_try
='test -s conftest$ac_exeext'
40531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40532 (eval $ac_try) 2>&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); }; }; then
40536 ac_cv_func_pthread_cancel
=yes
40538 echo "$as_me: failed program was:" >&5
40539 sed 's/^/| /' conftest.
$ac_ext >&5
40541 ac_cv_func_pthread_cancel
=no
40543 rm -f conftest.err conftest.
$ac_objext \
40544 conftest
$ac_exeext conftest.
$ac_ext
40546 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40547 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40548 if test $ac_cv_func_pthread_cancel = yes; then
40549 cat >>confdefs.h
<<\_ACEOF
40550 #define HAVE_PTHREAD_CANCEL 1
40554 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40555 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40559 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40560 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40561 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40564 cat >conftest.
$ac_ext <<_ACEOF
40567 cat confdefs.h
>>conftest.
$ac_ext
40568 cat >>conftest.
$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char pthread_attr_setstacksize (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40580 # include <limits.h>
40582 # include <assert.h>
40585 #undef pthread_attr_setstacksize
40587 /* Override any gcc2 internal prototype to avoid an error. */
40592 /* We use char because int might match the return type of a gcc2
40593 builtin and then its argument prototype would still apply. */
40594 char pthread_attr_setstacksize ();
40595 /* The GNU C library defines this for functions which it implements
40596 to always fail with ENOSYS. Some functions are actually named
40597 something starting with __ and the normal name is an alias. */
40598 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40601 char (*f) () = pthread_attr_setstacksize;
40610 return f != pthread_attr_setstacksize;
40615 rm -f conftest.
$ac_objext conftest
$ac_exeext
40616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40617 (eval $ac_link) 2>conftest.er1
40619 grep -v '^ *+' conftest.er1
>conftest.err
40621 cat conftest.err
>&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } &&
40624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40626 (eval $ac_try) 2>&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); }; } &&
40630 { ac_try
='test -s conftest$ac_exeext'
40631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40632 (eval $ac_try) 2>&5
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); }; }; then
40636 ac_cv_func_pthread_attr_setstacksize
=yes
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.
$ac_ext >&5
40641 ac_cv_func_pthread_attr_setstacksize
=no
40643 rm -f conftest.err conftest.
$ac_objext \
40644 conftest
$ac_exeext conftest.
$ac_ext
40646 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40647 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40648 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40649 cat >>confdefs.h
<<\_ACEOF
40650 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40657 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40658 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40659 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 cat >conftest.
$ac_ext <<_ACEOF
40666 cat confdefs.h
>>conftest.
$ac_ext
40667 cat >>conftest.
$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 #include <pthread.h>
40674 pthread_mutexattr_t attr;
40675 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40681 rm -f conftest.
$ac_objext
40682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40683 (eval $ac_compile) 2>conftest.er1
40685 grep -v '^ *+' conftest.er1
>conftest.err
40687 cat conftest.err
>&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } &&
40690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40692 (eval $ac_try) 2>&5
40694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40695 (exit $ac_status); }; } &&
40696 { ac_try
='test -s conftest.$ac_objext'
40697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698 (eval $ac_try) 2>&5
40700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701 (exit $ac_status); }; }; then
40702 wx_cv_type_pthread_mutexattr_t
=yes
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.
$ac_ext >&5
40707 wx_cv_type_pthread_mutexattr_t
=no
40710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40713 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40714 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40716 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40717 cat >>confdefs.h
<<\_ACEOF
40718 #define HAVE_PTHREAD_MUTEXATTR_T 1
40722 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40723 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40724 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40725 echo $ECHO_N "(cached) $ECHO_C" >&6
40728 cat >conftest.
$ac_ext <<_ACEOF
40731 cat confdefs.h
>>conftest.
$ac_ext
40732 cat >>conftest.
$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734 #include <pthread.h>
40739 pthread_mutexattr_t attr;
40740 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
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_cxx_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 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.
$ac_ext >&5
40772 wx_cv_func_pthread_mutexattr_settype_decl
=no
40775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40778 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40779 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40780 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40781 cat >>confdefs.h
<<\_ACEOF
40782 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40787 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40788 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40789 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 cat >conftest.
$ac_ext <<_ACEOF
40796 cat confdefs.h
>>conftest.
$ac_ext
40797 cat >>conftest.
$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799 #include <pthread.h>
40804 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40810 rm -f conftest.
$ac_objext
40811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40812 (eval $ac_compile) 2>conftest.er1
40814 grep -v '^ *+' conftest.er1
>conftest.err
40816 cat conftest.err
>&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); } &&
40819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40825 { ac_try
='test -s conftest.$ac_objext'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; }; then
40832 wx_cv_type_pthread_rec_mutex_init
=yes
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.
$ac_ext >&5
40839 wx_cv_type_pthread_rec_mutex_init
=no
40843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40846 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40847 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40848 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40849 cat >>confdefs.h
<<\_ACEOF
40850 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40854 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40855 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40861 if test "$wxUSE_THREADS" = "yes" ; then
40864 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40865 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40866 if test "${wx_cv_cflags_mthread+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40870 CXXFLAGS_OLD
="$CXXFLAGS"
40871 CXXFLAGS
="-mthreads $CXXFLAGS"
40872 cat >conftest.
$ac_ext <<_ACEOF
40875 cat confdefs.h
>>conftest.
$ac_ext
40876 cat >>conftest.
$ac_ext <<_ACEOF
40877 /* end confdefs.h. */
40887 rm -f conftest.
$ac_objext
40888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40889 (eval $ac_compile) 2>conftest.er1
40891 grep -v '^ *+' conftest.er1
>conftest.err
40893 cat conftest.err
>&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } &&
40896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try
='test -s conftest.$ac_objext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 wx_cv_cflags_mthread
=yes
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.
$ac_ext >&5
40913 wx_cv_cflags_mthread
=no
40916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40920 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40921 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40923 if test "$wx_cv_cflags_mthread" = "yes"; then
40924 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40925 LDFLAGS
="$LDFLAGS -mthreads"
40927 CXXFLAGS
="$CXXFLAGS_OLD"
40931 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40932 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40933 LDFLAGS
="$LDFLAGS -Zmt"
40939 echo "$as_me:$LINENO: checking for localtime_r" >&5
40940 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40941 if test "${ac_cv_func_localtime_r+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 cat >conftest.
$ac_ext <<_ACEOF
40947 cat confdefs.h
>>conftest.
$ac_ext
40948 cat >>conftest.
$ac_ext <<_ACEOF
40949 /* end confdefs.h. */
40950 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40952 #define localtime_r innocuous_localtime_r
40954 /* System header to define __stub macros and hopefully few prototypes,
40955 which can conflict with char localtime_r (); below.
40956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40957 <limits.h> exists even on freestanding compilers. */
40960 # include <limits.h>
40962 # include <assert.h>
40967 /* Override any gcc2 internal prototype to avoid an error. */
40972 /* We use char because int might match the return type of a gcc2
40973 builtin and then its argument prototype would still apply. */
40974 char localtime_r ();
40975 /* The GNU C library defines this for functions which it implements
40976 to always fail with ENOSYS. Some functions are actually named
40977 something starting with __ and the normal name is an alias. */
40978 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40981 char (*f) () = localtime_r;
40990 return f != localtime_r;
40995 rm -f conftest.
$ac_objext conftest
$ac_exeext
40996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40997 (eval $ac_link) 2>conftest.er1
40999 grep -v '^ *+' conftest.er1
>conftest.err
41001 cat conftest.err
>&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } &&
41004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41006 (eval $ac_try) 2>&5
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); }; } &&
41010 { ac_try
='test -s conftest$ac_exeext'
41011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41012 (eval $ac_try) 2>&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); }; }; then
41016 ac_cv_func_localtime_r
=yes
41018 echo "$as_me: failed program was:" >&5
41019 sed 's/^/| /' conftest.
$ac_ext >&5
41021 ac_cv_func_localtime_r
=no
41023 rm -f conftest.err conftest.
$ac_objext \
41024 conftest
$ac_exeext conftest.
$ac_ext
41026 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41027 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41028 if test $ac_cv_func_localtime_r = yes; then
41029 cat >>confdefs.h
<<\_ACEOF
41030 #define HAVE_LOCALTIME_R 1
41035 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41036 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41037 if test "${ac_cv_func_gmtime_r+set}" = set; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 cat >conftest.
$ac_ext <<_ACEOF
41043 cat confdefs.h
>>conftest.
$ac_ext
41044 cat >>conftest.
$ac_ext <<_ACEOF
41045 /* end confdefs.h. */
41046 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41048 #define gmtime_r innocuous_gmtime_r
41050 /* System header to define __stub macros and hopefully few prototypes,
41051 which can conflict with char gmtime_r (); below.
41052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41053 <limits.h> exists even on freestanding compilers. */
41056 # include <limits.h>
41058 # include <assert.h>
41063 /* Override any gcc2 internal prototype to avoid an error. */
41068 /* We use char because int might match the return type of a gcc2
41069 builtin and then its argument prototype would still apply. */
41071 /* The GNU C library defines this for functions which it implements
41072 to always fail with ENOSYS. Some functions are actually named
41073 something starting with __ and the normal name is an alias. */
41074 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41077 char (*f) () = gmtime_r;
41086 return f != gmtime_r;
41091 rm -f conftest.
$ac_objext conftest
$ac_exeext
41092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41093 (eval $ac_link) 2>conftest.er1
41095 grep -v '^ *+' conftest.er1
>conftest.err
41097 cat conftest.err
>&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); } &&
41100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41102 (eval $ac_try) 2>&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); }; } &&
41106 { ac_try
='test -s conftest$ac_exeext'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; }; then
41112 ac_cv_func_gmtime_r
=yes
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.
$ac_ext >&5
41117 ac_cv_func_gmtime_r
=no
41119 rm -f conftest.err conftest.
$ac_objext \
41120 conftest
$ac_exeext conftest.
$ac_ext
41122 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41123 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41124 if test $ac_cv_func_gmtime_r = yes; then
41125 cat >>confdefs.h
<<\_ACEOF
41126 #define HAVE_GMTIME_R 1
41131 echo "$as_me:$LINENO: checking for readdir_r" >&5
41132 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41133 if test "${ac_cv_func_readdir_r+set}" = set; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41136 cat >conftest.
$ac_ext <<_ACEOF
41139 cat confdefs.h
>>conftest.
$ac_ext
41140 cat >>conftest.
$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define readdir_r innocuous_readdir_r
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char readdir_r (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41152 # include <limits.h>
41154 # include <assert.h>
41159 /* Override any gcc2 internal prototype to avoid an error. */
41164 /* We use char because int might match the return type of a gcc2
41165 builtin and then its argument prototype would still apply. */
41167 /* The GNU C library defines this for functions which it implements
41168 to always fail with ENOSYS. Some functions are actually named
41169 something starting with __ and the normal name is an alias. */
41170 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41173 char (*f) () = readdir_r;
41182 return f != readdir_r;
41187 rm -f conftest.
$ac_objext conftest
$ac_exeext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41189 (eval $ac_link) 2>conftest.er1
41191 grep -v '^ *+' conftest.er1
>conftest.err
41193 cat conftest.err
>&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try
='test -s conftest$ac_exeext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 ac_cv_func_readdir_r
=yes
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.
$ac_ext >&5
41213 ac_cv_func_readdir_r
=no
41215 rm -f conftest.err conftest.
$ac_objext \
41216 conftest
$ac_exeext conftest.
$ac_ext
41218 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41219 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41220 if test $ac_cv_func_readdir_r = yes; then
41221 cat >>confdefs.h
<<\_ACEOF
41222 #define HAVE_READDIR_R 1
41231 ac_cpp
='$CPP $CPPFLAGS'
41232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41236 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41237 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41239 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41240 echo $ECHO_N "(cached) $ECHO_C" >&6
41244 ################################################################
41246 ac_cv_func_which_gethostbyname_r
=unknown
41249 # ONE ARGUMENT (sanity check)
41252 # This should fail, as there is no variant of gethostbyname_r() that takes
41253 # a single argument. If it actually compiles, then we can assume that
41254 # netdb.h is not declaring the function, and the compiler is thereby
41255 # assuming an implicit prototype. In which case, we're out of luck.
41257 cat >conftest.
$ac_ext <<_ACEOF
41260 cat confdefs.h
>>conftest.
$ac_ext
41261 cat >>conftest.
$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41268 char *name = "www.gnu.org";
41269 (void)gethostbyname_r(name) /* ; */
41275 rm -f conftest.
$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277 (eval $ac_compile) 2>conftest.er1
41279 grep -v '^ *+' conftest.er1
>conftest.err
41281 cat conftest.err
>&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } &&
41284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41286 (eval $ac_try) 2>&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); }; } &&
41290 { ac_try
='test -s conftest.$ac_objext'
41291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41292 (eval $ac_try) 2>&5
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); }; }; then
41296 ac_cv_func_which_gethostbyname_r
=no
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.
$ac_ext >&5
41302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41309 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41311 cat >conftest.
$ac_ext <<_ACEOF
41314 cat confdefs.h
>>conftest.
$ac_ext
41315 cat >>conftest.
$ac_ext <<_ACEOF
41316 /* end confdefs.h. */
41322 char *name = "www.gnu.org";
41323 struct hostent ret, *retp;
41327 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41333 rm -f conftest.
$ac_objext
41334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41335 (eval $ac_compile) 2>conftest.er1
41337 grep -v '^ *+' conftest.er1
>conftest.err
41339 cat conftest.err
>&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } &&
41342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41344 (eval $ac_try) 2>&5
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); }; } &&
41348 { ac_try
='test -s conftest.$ac_objext'
41349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41350 (eval $ac_try) 2>&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); }; }; then
41354 ac_cv_func_which_gethostbyname_r
=six
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.
$ac_ext >&5
41360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41371 cat >conftest.
$ac_ext <<_ACEOF
41374 cat confdefs.h
>>conftest.
$ac_ext
41375 cat >>conftest.
$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41382 char *name = "www.gnu.org";
41383 struct hostent ret;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41393 rm -f conftest.
$ac_objext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41395 (eval $ac_compile) 2>conftest.er1
41397 grep -v '^ *+' conftest.er1
>conftest.err
41399 cat conftest.err
>&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404 (eval $ac_try) 2>&5
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); }; } &&
41408 { ac_try
='test -s conftest.$ac_objext'
41409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41410 (eval $ac_try) 2>&5
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); }; }; then
41414 ac_cv_func_which_gethostbyname_r
=five
41416 echo "$as_me: failed program was:" >&5
41417 sed 's/^/| /' conftest.
$ac_ext >&5
41420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41426 # (e.g. AIX, HP-UX, Tru64)
41429 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41431 cat >conftest.
$ac_ext <<_ACEOF
41434 cat confdefs.h
>>conftest.
$ac_ext
41435 cat >>conftest.
$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41442 char *name = "www.gnu.org";
41443 struct hostent ret;
41444 struct hostent_data data;
41445 (void)gethostbyname_r(name, &ret, &data) /* ; */
41451 rm -f conftest.
$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41455 grep -v '^ *+' conftest.er1
>conftest.err
41457 cat conftest.err
>&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try
='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 ac_cv_func_which_gethostbyname_r
=three
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.
$ac_ext >&5
41478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41482 ################################################################
41487 case "$ac_cv_func_which_gethostbyname_r" in
41489 echo "$as_me:$LINENO: result: three" >&5
41490 echo "${ECHO_T}three" >&6
41491 cat >>confdefs.h
<<\_ACEOF
41492 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41498 echo "$as_me:$LINENO: result: five" >&5
41499 echo "${ECHO_T}five" >&6
41500 cat >>confdefs.h
<<\_ACEOF
41501 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41507 echo "$as_me:$LINENO: result: six" >&5
41508 echo "${ECHO_T}six" >&6
41509 cat >>confdefs.h
<<\_ACEOF
41510 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41516 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41517 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41521 echo "$as_me:$LINENO: result: can't tell" >&5
41522 echo "${ECHO_T}can't tell" >&6
41526 { { echo "$as_me:$LINENO: error: internal error" >&5
41527 echo "$as_me: error: internal error" >&2;}
41528 { (exit 1); exit 1; }; }
41533 ac_cpp
='$CXXCPP $CPPFLAGS'
41534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41540 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41541 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41542 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41543 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41544 if test "${ac_cv_func_gethostbyname+set}" = set; then
41545 echo $ECHO_N "(cached) $ECHO_C" >&6
41547 cat >conftest.
$ac_ext <<_ACEOF
41550 cat confdefs.h
>>conftest.
$ac_ext
41551 cat >>conftest.
$ac_ext <<_ACEOF
41552 /* end confdefs.h. */
41553 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41555 #define gethostbyname innocuous_gethostbyname
41557 /* System header to define __stub macros and hopefully few prototypes,
41558 which can conflict with char gethostbyname (); below.
41559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41560 <limits.h> exists even on freestanding compilers. */
41563 # include <limits.h>
41565 # include <assert.h>
41568 #undef gethostbyname
41570 /* Override any gcc2 internal prototype to avoid an error. */
41575 /* We use char because int might match the return type of a gcc2
41576 builtin and then its argument prototype would still apply. */
41577 char gethostbyname ();
41578 /* The GNU C library defines this for functions which it implements
41579 to always fail with ENOSYS. Some functions are actually named
41580 something starting with __ and the normal name is an alias. */
41581 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41584 char (*f) () = gethostbyname;
41593 return f != gethostbyname;
41598 rm -f conftest.
$ac_objext conftest
$ac_exeext
41599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41600 (eval $ac_link) 2>conftest.er1
41602 grep -v '^ *+' conftest.er1
>conftest.err
41604 cat conftest.err
>&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } &&
41607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41609 (eval $ac_try) 2>&5
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); }; } &&
41613 { ac_try
='test -s conftest$ac_exeext'
41614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41615 (eval $ac_try) 2>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); }; }; then
41619 ac_cv_func_gethostbyname
=yes
41621 echo "$as_me: failed program was:" >&5
41622 sed 's/^/| /' conftest.
$ac_ext >&5
41624 ac_cv_func_gethostbyname
=no
41626 rm -f conftest.err conftest.
$ac_objext \
41627 conftest
$ac_exeext conftest.
$ac_ext
41629 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41630 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41631 if test $ac_cv_func_gethostbyname = yes; then
41632 cat >>confdefs.h
<<\_ACEOF
41633 #define HAVE_GETHOSTBYNAME 1
41640 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41641 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41642 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41643 echo $ECHO_N "(cached) $ECHO_C" >&6
41646 cat >conftest.
$ac_ext <<_ACEOF
41649 cat confdefs.h
>>conftest.
$ac_ext
41650 cat >>conftest.
$ac_ext <<_ACEOF
41651 /* end confdefs.h. */
41659 struct servent *se, *res;
41662 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41668 rm -f conftest.
$ac_objext
41669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41670 (eval $ac_compile) 2>conftest.er1
41672 grep -v '^ *+' conftest.er1
>conftest.err
41674 cat conftest.err
>&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } &&
41677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679 (eval $ac_try) 2>&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); }; } &&
41683 { ac_try
='test -s conftest.$ac_objext'
41684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41685 (eval $ac_try) 2>&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); }; }; then
41689 ac_cv_func_which_getservbyname_r
=six
41691 echo "$as_me: failed program was:" >&5
41692 sed 's/^/| /' conftest.
$ac_ext >&5
41695 cat >conftest.
$ac_ext <<_ACEOF
41698 cat confdefs.h
>>conftest.
$ac_ext
41699 cat >>conftest.
$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41708 struct servent *se;
41711 (void) getservbyname_r(name, proto, se, buffer, buflen)
41717 rm -f conftest.
$ac_objext
41718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41719 (eval $ac_compile) 2>conftest.er1
41721 grep -v '^ *+' conftest.er1
>conftest.err
41723 cat conftest.err
>&5
41724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725 (exit $ac_status); } &&
41726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41728 (eval $ac_try) 2>&5
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); }; } &&
41732 { ac_try
='test -s conftest.$ac_objext'
41733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41734 (eval $ac_try) 2>&5
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; }; then
41738 ac_cv_func_which_getservbyname_r
=five
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.
$ac_ext >&5
41744 cat >conftest.
$ac_ext <<_ACEOF
41747 cat confdefs.h
>>conftest.
$ac_ext
41748 cat >>conftest.
$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41757 struct servent *se;
41758 struct servent_data data;
41759 (void) getservbyname_r(name, proto, se, &data);
41765 rm -f conftest.
$ac_objext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41767 (eval $ac_compile) 2>conftest.er1
41769 grep -v '^ *+' conftest.er1
>conftest.err
41771 cat conftest.err
>&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); } &&
41774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776 (eval $ac_try) 2>&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; } &&
41780 { ac_try
='test -s conftest.$ac_objext'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; }; then
41786 ac_cv_func_which_getservbyname_r
=four
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.
$ac_ext >&5
41791 ac_cv_func_which_getservbyname_r
=no
41794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41806 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41807 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41809 if test $ac_cv_func_which_getservbyname_r = six
; then
41810 cat >>confdefs.h
<<\_ACEOF
41811 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41814 elif test $ac_cv_func_which_getservbyname_r = five
; then
41815 cat >>confdefs.h
<<\_ACEOF
41816 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41819 elif test $ac_cv_func_which_getservbyname_r = four
; then
41820 cat >>confdefs.h
<<\_ACEOF
41821 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41827 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41828 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41830 for ac_func
in getservbyname
41832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41833 echo "$as_me:$LINENO: checking for $ac_func" >&5
41834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41835 if eval "test \"\${$as_ac_var+set}\" = set"; then
41836 echo $ECHO_N "(cached) $ECHO_C" >&6
41838 cat >conftest.
$ac_ext <<_ACEOF
41841 cat confdefs.h
>>conftest.
$ac_ext
41842 cat >>conftest.
$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41846 #define $ac_func innocuous_$ac_func
41848 /* System header to define __stub macros and hopefully few prototypes,
41849 which can conflict with char $ac_func (); below.
41850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41851 <limits.h> exists even on freestanding compilers. */
41854 # include <limits.h>
41856 # include <assert.h>
41861 /* Override any gcc2 internal prototype to avoid an error. */
41866 /* We use char because int might match the return type of a gcc2
41867 builtin and then its argument prototype would still apply. */
41869 /* The GNU C library defines this for functions which it implements
41870 to always fail with ENOSYS. Some functions are actually named
41871 something starting with __ and the normal name is an alias. */
41872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41875 char (*f) () = $ac_func;
41884 return f != $ac_func;
41889 rm -f conftest.
$ac_objext conftest
$ac_exeext
41890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41891 (eval $ac_link) 2>conftest.er1
41893 grep -v '^ *+' conftest.er1
>conftest.err
41895 cat conftest.err
>&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } &&
41898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41900 (eval $ac_try) 2>&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); }; } &&
41904 { ac_try
='test -s conftest$ac_exeext'
41905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41906 (eval $ac_try) 2>&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); }; }; then
41910 eval "$as_ac_var=yes"
41912 echo "$as_me: failed program was:" >&5
41913 sed 's/^/| /' conftest.
$ac_ext >&5
41915 eval "$as_ac_var=no"
41917 rm -f conftest.err conftest.
$ac_objext \
41918 conftest
$ac_exeext conftest.
$ac_ext
41920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41922 if test `eval echo '${'$as_ac_var'}'` = yes; then
41923 cat >>confdefs.h
<<_ACEOF
41924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41926 cat >>confdefs.h
<<\_ACEOF
41927 #define HAVE_GETSERVBYNAME 1
41935 if test "$wxUSE_THREADS" = "yes"; then
41936 cat >>confdefs.h
<<\_ACEOF
41937 #define wxUSE_THREADS 1
41941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41943 if test "$wx_cv_func_strtok_r" = "yes"; then
41944 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41945 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41946 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41947 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41948 echo "$as_me:$LINENO: result: yes" >&5
41949 echo "${ECHO_T}yes" >&6
41951 echo "$as_me:$LINENO: result: no" >&5
41952 echo "${ECHO_T}no" >&6
41957 if test "$WXGTK20" = 1 ; then
41958 cat >>confdefs.h
<<_ACEOF
41959 #define __WXGTK20__ $WXGTK20
41965 if test "$WXGTK12" = 1 ; then
41966 cat >>confdefs.h
<<_ACEOF
41967 #define __WXGTK12__ $WXGTK12
41972 if test "$WXGTK127" = 1 ; then
41973 cat >>confdefs.h
<<_ACEOF
41974 #define __WXGTK127__ $WXGTK127
41979 if test "$WXGPE" = 1 ; then
41980 cat >>confdefs.h
<<_ACEOF
41981 #define __WXGPE__ $WXGPE
41987 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41992 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41993 wxUSE_DEBUG_INFO
=yes
41994 if test "$GCC" = yes; then
41995 DEBUG_CFLAGS
="-ggdb"
41999 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42000 cat >>confdefs.h
<<\_ACEOF
42004 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42006 if test "$wxUSE_GTK" = 1 ; then
42007 if test "x$wxGTK_VERSION" = "x1" ; then
42008 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42013 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42014 cat >>confdefs.h
<<\_ACEOF
42015 #define wxUSE_MEMORY_TRACING 1
42018 cat >>confdefs.h
<<\_ACEOF
42019 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42022 cat >>confdefs.h
<<\_ACEOF
42023 #define wxUSE_DEBUG_NEW_ALWAYS 1
42026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42029 if test "$wxUSE_DMALLOC" = "yes" ; then
42030 DMALLOC_LIBS
="-ldmallocthcxx"
42034 if test "$wxUSE_PROFILE" = "yes" ; then
42035 PROFILE_FLAGS
=" -pg"
42038 if test "$GCC" = "yes" ; then
42039 if test "$wxUSE_NO_RTTI" = "yes" ; then
42040 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42042 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42043 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42045 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42046 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42051 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42054 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42060 if test "$wxUSE_OPTIMISE" = "no" ; then
42061 if test "$GCC" = yes ; then
42062 OPTIMISE_CFLAGS
="-O0"
42065 if test "$GCC" = yes ; then
42067 *-pc-os2_emx | *-pc-os2-emx )
42068 OPTIMISE_CFLAGS
="-O2"
42071 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42075 OPTIMISE_CFLAGS
="-O"
42080 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42081 cat >>confdefs.h
<<\_ACEOF
42082 #define WXWIN_COMPATIBILITY_2_4 1
42086 WXWIN_COMPATIBILITY_2_6
="yes"
42089 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42090 cat >>confdefs.h
<<\_ACEOF
42091 #define WXWIN_COMPATIBILITY_2_6 1
42097 if test "$wxUSE_GUI" = "yes"; then
42098 cat >>confdefs.h
<<\_ACEOF
42099 #define wxUSE_GUI 1
42106 if test "$wxUSE_UNIX" = "yes"; then
42107 cat >>confdefs.h
<<\_ACEOF
42108 #define wxUSE_UNIX 1
42114 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42118 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42119 if test "$USE_DARWIN" = 1; then
42121 elif test "$USE_DOS" = 1; then
42125 for ac_func
in dlopen
42127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42128 echo "$as_me:$LINENO: checking for $ac_func" >&5
42129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42130 if eval "test \"\${$as_ac_var+set}\" = set"; then
42131 echo $ECHO_N "(cached) $ECHO_C" >&6
42133 cat >conftest.
$ac_ext <<_ACEOF
42136 cat confdefs.h
>>conftest.
$ac_ext
42137 cat >>conftest.
$ac_ext <<_ACEOF
42138 /* end confdefs.h. */
42139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42141 #define $ac_func innocuous_$ac_func
42143 /* System header to define __stub macros and hopefully few prototypes,
42144 which can conflict with char $ac_func (); below.
42145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42146 <limits.h> exists even on freestanding compilers. */
42149 # include <limits.h>
42151 # include <assert.h>
42156 /* Override any gcc2 internal prototype to avoid an error. */
42161 /* We use char because int might match the return type of a gcc2
42162 builtin and then its argument prototype would still apply. */
42164 /* The GNU C library defines this for functions which it implements
42165 to always fail with ENOSYS. Some functions are actually named
42166 something starting with __ and the normal name is an alias. */
42167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42170 char (*f) () = $ac_func;
42179 return f != $ac_func;
42184 rm -f conftest.
$ac_objext conftest
$ac_exeext
42185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42186 (eval $ac_link) 2>conftest.er1
42188 grep -v '^ *+' conftest.er1
>conftest.err
42190 cat conftest.err
>&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } &&
42193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42195 (eval $ac_try) 2>&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; } &&
42199 { ac_try
='test -s conftest$ac_exeext'
42200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42201 (eval $ac_try) 2>&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); }; }; then
42205 eval "$as_ac_var=yes"
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.
$ac_ext >&5
42210 eval "$as_ac_var=no"
42212 rm -f conftest.err conftest.
$ac_objext \
42213 conftest
$ac_exeext conftest.
$ac_ext
42215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42217 if test `eval echo '${'$as_ac_var'}'` = yes; then
42218 cat >>confdefs.h
<<_ACEOF
42219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42222 cat >>confdefs.h
<<\_ACEOF
42223 #define HAVE_DLOPEN 1
42230 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42231 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42232 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42233 echo $ECHO_N "(cached) $ECHO_C" >&6
42235 ac_check_lib_save_LIBS
=$LIBS
42237 cat >conftest.
$ac_ext <<_ACEOF
42240 cat confdefs.h
>>conftest.
$ac_ext
42241 cat >>conftest.
$ac_ext <<_ACEOF
42242 /* end confdefs.h. */
42244 /* Override any gcc2 internal prototype to avoid an error. */
42248 /* We use char because int might match the return type of a gcc2
42249 builtin and then its argument prototype would still apply. */
42259 rm -f conftest.
$ac_objext conftest
$ac_exeext
42260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42261 (eval $ac_link) 2>conftest.er1
42263 grep -v '^ *+' conftest.er1
>conftest.err
42265 cat conftest.err
>&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } &&
42268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; } &&
42274 { ac_try
='test -s conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42280 ac_cv_lib_dl_dlopen
=yes
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.
$ac_ext >&5
42285 ac_cv_lib_dl_dlopen
=no
42287 rm -f conftest.err conftest.
$ac_objext \
42288 conftest
$ac_exeext conftest.
$ac_ext
42289 LIBS
=$ac_check_lib_save_LIBS
42291 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42292 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42293 if test $ac_cv_lib_dl_dlopen = yes; then
42295 cat >>confdefs.h
<<\_ACEOF
42296 #define HAVE_DLOPEN 1
42300 DL_LINK
=" -ldl$DL_LINK"
42305 for ac_func
in shl_load
42307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42308 echo "$as_me:$LINENO: checking for $ac_func" >&5
42309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42310 if eval "test \"\${$as_ac_var+set}\" = set"; then
42311 echo $ECHO_N "(cached) $ECHO_C" >&6
42313 cat >conftest.
$ac_ext <<_ACEOF
42316 cat confdefs.h
>>conftest.
$ac_ext
42317 cat >>conftest.
$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42321 #define $ac_func innocuous_$ac_func
42323 /* System header to define __stub macros and hopefully few prototypes,
42324 which can conflict with char $ac_func (); below.
42325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42326 <limits.h> exists even on freestanding compilers. */
42329 # include <limits.h>
42331 # include <assert.h>
42336 /* Override any gcc2 internal prototype to avoid an error. */
42341 /* We use char because int might match the return type of a gcc2
42342 builtin and then its argument prototype would still apply. */
42344 /* The GNU C library defines this for functions which it implements
42345 to always fail with ENOSYS. Some functions are actually named
42346 something starting with __ and the normal name is an alias. */
42347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42350 char (*f) () = $ac_func;
42359 return f != $ac_func;
42364 rm -f conftest.
$ac_objext conftest
$ac_exeext
42365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42366 (eval $ac_link) 2>conftest.er1
42368 grep -v '^ *+' conftest.er1
>conftest.err
42370 cat conftest.err
>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } &&
42373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42375 (eval $ac_try) 2>&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); }; } &&
42379 { ac_try
='test -s conftest$ac_exeext'
42380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42381 (eval $ac_try) 2>&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); }; }; then
42385 eval "$as_ac_var=yes"
42387 echo "$as_me: failed program was:" >&5
42388 sed 's/^/| /' conftest.
$ac_ext >&5
42390 eval "$as_ac_var=no"
42392 rm -f conftest.err conftest.
$ac_objext \
42393 conftest
$ac_exeext conftest.
$ac_ext
42395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42397 if test `eval echo '${'$as_ac_var'}'` = yes; then
42398 cat >>confdefs.h
<<_ACEOF
42399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42402 cat >>confdefs.h
<<\_ACEOF
42403 #define HAVE_SHL_LOAD 1
42410 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42411 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42412 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42413 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 ac_check_lib_save_LIBS
=$LIBS
42416 LIBS
="-lshl_load $LIBS"
42417 cat >conftest.
$ac_ext <<_ACEOF
42420 cat confdefs.h
>>conftest.
$ac_ext
42421 cat >>conftest.
$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42424 /* Override any gcc2 internal prototype to avoid an error. */
42428 /* We use char because int might match the return type of a gcc2
42429 builtin and then its argument prototype would still apply. */
42439 rm -f conftest.
$ac_objext conftest
$ac_exeext
42440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42441 (eval $ac_link) 2>conftest.er1
42443 grep -v '^ *+' conftest.er1
>conftest.err
42445 cat conftest.err
>&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } &&
42448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; } &&
42454 { ac_try
='test -s conftest$ac_exeext'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; }; then
42460 ac_cv_lib_shl_load_dld
=yes
42462 echo "$as_me: failed program was:" >&5
42463 sed 's/^/| /' conftest.
$ac_ext >&5
42465 ac_cv_lib_shl_load_dld
=no
42467 rm -f conftest.err conftest.
$ac_objext \
42468 conftest
$ac_exeext conftest.
$ac_ext
42469 LIBS
=$ac_check_lib_save_LIBS
42471 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42472 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42473 if test $ac_cv_lib_shl_load_dld = yes; then
42476 DL_LINK
=" -ldld$DL_LINK"
42492 if test "$HAVE_DL_FUNCS" = 1; then
42494 for ac_func
in dlerror
42496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42497 echo "$as_me:$LINENO: checking for $ac_func" >&5
42498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42499 if eval "test \"\${$as_ac_var+set}\" = set"; then
42500 echo $ECHO_N "(cached) $ECHO_C" >&6
42502 cat >conftest.
$ac_ext <<_ACEOF
42505 cat confdefs.h
>>conftest.
$ac_ext
42506 cat >>conftest.
$ac_ext <<_ACEOF
42507 /* end confdefs.h. */
42508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42510 #define $ac_func innocuous_$ac_func
42512 /* System header to define __stub macros and hopefully few prototypes,
42513 which can conflict with char $ac_func (); below.
42514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42515 <limits.h> exists even on freestanding compilers. */
42518 # include <limits.h>
42520 # include <assert.h>
42525 /* Override any gcc2 internal prototype to avoid an error. */
42530 /* We use char because int might match the return type of a gcc2
42531 builtin and then its argument prototype would still apply. */
42533 /* The GNU C library defines this for functions which it implements
42534 to always fail with ENOSYS. Some functions are actually named
42535 something starting with __ and the normal name is an alias. */
42536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42539 char (*f) () = $ac_func;
42548 return f != $ac_func;
42553 rm -f conftest.
$ac_objext conftest
$ac_exeext
42554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42555 (eval $ac_link) 2>conftest.er1
42557 grep -v '^ *+' conftest.er1
>conftest.err
42559 cat conftest.err
>&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } &&
42562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42564 (eval $ac_try) 2>&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; } &&
42568 { ac_try
='test -s conftest$ac_exeext'
42569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42570 (eval $ac_try) 2>&5
42572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573 (exit $ac_status); }; }; then
42574 eval "$as_ac_var=yes"
42576 echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.
$ac_ext >&5
42579 eval "$as_ac_var=no"
42581 rm -f conftest.err conftest.
$ac_objext \
42582 conftest
$ac_exeext conftest.
$ac_ext
42584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42586 if test `eval echo '${'$as_ac_var'}'` = yes; then
42587 cat >>confdefs.h
<<_ACEOF
42588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42590 cat >>confdefs.h
<<\_ACEOF
42591 #define HAVE_DLERROR 1
42596 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42597 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42598 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42599 echo $ECHO_N "(cached) $ECHO_C" >&6
42601 ac_check_lib_save_LIBS
=$LIBS
42603 cat >conftest.
$ac_ext <<_ACEOF
42606 cat confdefs.h
>>conftest.
$ac_ext
42607 cat >>conftest.
$ac_ext <<_ACEOF
42608 /* end confdefs.h. */
42610 /* Override any gcc2 internal prototype to avoid an error. */
42614 /* We use char because int might match the return type of a gcc2
42615 builtin and then its argument prototype would still apply. */
42625 rm -f conftest.
$ac_objext conftest
$ac_exeext
42626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42627 (eval $ac_link) 2>conftest.er1
42629 grep -v '^ *+' conftest.er1
>conftest.err
42631 cat conftest.err
>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } &&
42634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; } &&
42640 { ac_try
='test -s conftest$ac_exeext'
42641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42642 (eval $ac_try) 2>&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; }; then
42646 ac_cv_lib_dl_dlerror
=yes
42648 echo "$as_me: failed program was:" >&5
42649 sed 's/^/| /' conftest.
$ac_ext >&5
42651 ac_cv_lib_dl_dlerror
=no
42653 rm -f conftest.err conftest.
$ac_objext \
42654 conftest
$ac_exeext conftest.
$ac_ext
42655 LIBS
=$ac_check_lib_save_LIBS
42657 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42658 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42659 if test $ac_cv_lib_dl_dlerror = yes; then
42660 cat >>confdefs.h
<<\_ACEOF
42661 #define HAVE_DLERROR 1
42674 if test "$HAVE_DL_FUNCS" = 0; then
42675 if test "$HAVE_SHL_FUNCS" = 0; then
42676 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42677 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42678 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42679 wxUSE_DYNAMIC_LOADER
=no
42680 wxUSE_DYNLIB_CLASS
=no
42682 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42683 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42690 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42691 cat >>confdefs.h
<<\_ACEOF
42692 #define wxUSE_DYNAMIC_LOADER 1
42696 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42697 cat >>confdefs.h
<<\_ACEOF
42698 #define wxUSE_DYNLIB_CLASS 1
42705 if test "$wxUSE_PLUGINS" = "yes" ; then
42706 if test "$wxUSE_SHARED" = "no" ; then
42707 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42708 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42711 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42712 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42713 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42716 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42717 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42718 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42721 if test "$wxUSE_PLUGINS" = "yes" ; then
42722 cat >>confdefs.h
<<\_ACEOF
42723 #define wxUSE_PLUGINS 1
42730 if test "$wxUSE_STL" = "yes"; then
42731 cat >>confdefs.h
<<\_ACEOF
42732 #define wxUSE_STL 1
42737 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42738 cat >>confdefs.h
<<\_ACEOF
42739 #define wxUSE_APPLE_IEEE 1
42744 if test "$wxUSE_TIMER" = "yes"; then
42745 cat >>confdefs.h
<<\_ACEOF
42746 #define wxUSE_TIMER 1
42751 if test "$USE_UNIX" = "1" ; then
42752 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42753 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42754 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42758 cat >conftest.
$ac_ext <<_ACEOF
42761 cat confdefs.h
>>conftest.
$ac_ext
42762 cat >>conftest.
$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42765 #include <sys/ioctl.h>
42766 #include <sys/soundcard.h>
42772 ioctl(0, SNDCTL_DSP_SPEED, 0);
42778 rm -f conftest.
$ac_objext conftest
$ac_exeext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42780 (eval $ac_link) 2>conftest.er1
42782 grep -v '^ *+' conftest.er1
>conftest.err
42784 cat conftest.err
>&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } &&
42787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789 (eval $ac_try) 2>&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); }; } &&
42793 { ac_try
='test -s conftest$ac_exeext'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 ac_cv_header_sys_soundcard
=yes
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.
$ac_ext >&5
42806 LIBS
="$saveLibs -lossaudio"
42807 cat >conftest.
$ac_ext <<_ACEOF
42810 cat confdefs.h
>>conftest.
$ac_ext
42811 cat >>conftest.
$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42814 #include <sys/ioctl.h>
42815 #include <sys/soundcard.h>
42821 ioctl(0, SNDCTL_DSP_SPEED, 0);
42827 rm -f conftest.
$ac_objext conftest
$ac_exeext
42828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42829 (eval $ac_link) 2>conftest.er1
42831 grep -v '^ *+' conftest.er1
>conftest.err
42833 cat conftest.err
>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); } &&
42836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; } &&
42842 { ac_try
='test -s conftest$ac_exeext'
42843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844 (eval $ac_try) 2>&5
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; }; then
42848 ac_cv_header_sys_soundcard
=yes
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.
$ac_ext >&5
42855 ac_cv_header_sys_soundcard
=no
42859 rm -f conftest.err conftest.
$ac_objext \
42860 conftest
$ac_exeext conftest.
$ac_ext
42864 rm -f conftest.err conftest.
$ac_objext \
42865 conftest
$ac_exeext conftest.
$ac_ext
42868 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42869 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42871 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42872 cat >>confdefs.h
<<\_ACEOF
42873 #define HAVE_SYS_SOUNDCARD_H 1
42877 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42881 if test "$wxUSE_SOUND" = "yes"; then
42882 if test "$USE_UNIX" = "1" ; then
42883 if test "$wxUSE_LIBSDL" != "no"; then
42885 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42886 if test "${with_sdl_prefix+set}" = set; then
42887 withval
="$with_sdl_prefix"
42888 sdl_prefix
="$withval"
42893 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42894 if test "${with_sdl_exec_prefix+set}" = set; then
42895 withval
="$with_sdl_exec_prefix"
42896 sdl_exec_prefix
="$withval"
42900 # Check whether --enable-sdltest or --disable-sdltest was given.
42901 if test "${enable_sdltest+set}" = set; then
42902 enableval
="$enable_sdltest"
42908 if test x
$sdl_exec_prefix != x
; then
42909 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42910 if test x
${SDL_CONFIG+set} != xset
; then
42911 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42914 if test x
$sdl_prefix != x
; then
42915 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42916 if test x
${SDL_CONFIG+set} != xset
; then
42917 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42921 if test "x$prefix" != xNONE
; then
42922 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42924 # Extract the first word of "sdl-config", so it can be a program name with args.
42925 set dummy sdl
-config; ac_word
=$2
42926 echo "$as_me:$LINENO: checking for $ac_word" >&5
42927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42928 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42929 echo $ECHO_N "(cached) $ECHO_C" >&6
42931 case $SDL_CONFIG in
42933 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42937 for as_dir
in $PATH
42940 test -z "$as_dir" && as_dir
=.
42941 for ac_exec_ext
in '' $ac_executable_extensions; do
42942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42943 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42950 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42954 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42956 if test -n "$SDL_CONFIG"; then
42957 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42958 echo "${ECHO_T}$SDL_CONFIG" >&6
42960 echo "$as_me:$LINENO: result: no" >&5
42961 echo "${ECHO_T}no" >&6
42964 min_sdl_version
=1.2.0
42965 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42966 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42968 if test "$SDL_CONFIG" = "no" ; then
42971 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42972 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42974 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42976 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42978 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42980 if test "x$enable_sdltest" = "xyes" ; then
42981 ac_save_CFLAGS
="$CFLAGS"
42982 ac_save_CXXFLAGS
="$CXXFLAGS"
42983 ac_save_LIBS
="$LIBS"
42984 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42985 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42986 LIBS
="$LIBS $SDL_LIBS"
42988 if test "$cross_compiling" = yes; then
42989 echo $ac_n "cross compiling; assumed OK... $ac_c"
42991 cat >conftest.
$ac_ext <<_ACEOF
42994 cat confdefs.h
>>conftest.
$ac_ext
42995 cat >>conftest.
$ac_ext <<_ACEOF
42996 /* end confdefs.h. */
42999 #include <stdlib.h>
43000 #include <string.h>
43004 my_strdup (char *str)
43010 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43011 strcpy (new_str, str);
43019 int main (int argc, char *argv[])
43021 int major, minor, micro;
43024 /* This hangs on some systems (?)
43025 system ("touch conf.sdltest");
43027 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43029 /* HP/UX 9 (%@#!) writes to sscanf strings */
43030 tmp_version = my_strdup("$min_sdl_version");
43031 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43032 printf("%s, bad version string\n", "$min_sdl_version");
43036 if (($sdl_major_version > major) ||
43037 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43038 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43044 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43045 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43046 printf("*** best to upgrade to the required version.\n");
43047 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43048 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43049 printf("*** config.cache before re-running configure\n");
43056 rm -f conftest
$ac_exeext
43057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43058 (eval $ac_link) 2>&5
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; }; then
43069 echo "$as_me: program exited with status $ac_status" >&5
43070 echo "$as_me: failed program was:" >&5
43071 sed 's/^/| /' conftest.
$ac_ext >&5
43073 ( exit $ac_status )
43076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43078 CFLAGS
="$ac_save_CFLAGS"
43079 CXXFLAGS
="$ac_save_CXXFLAGS"
43080 LIBS
="$ac_save_LIBS"
43083 if test "x$no_sdl" = x
; then
43084 echo "$as_me:$LINENO: result: yes" >&5
43085 echo "${ECHO_T}yes" >&6
43087 EXTRALIBS_SDL
="$SDL_LIBS"
43088 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43089 cat >>confdefs.h
<<\_ACEOF
43090 #define wxUSE_LIBSDL 1
43095 echo "$as_me:$LINENO: result: no" >&5
43096 echo "${ECHO_T}no" >&6
43097 if test "$SDL_CONFIG" = "no" ; then
43098 echo "*** The sdl-config script installed by SDL could not be found"
43099 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43100 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43101 echo "*** full path to sdl-config."
43103 if test -f conf.sdltest
; then
43106 echo "*** Could not run SDL test program, checking why..."
43107 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43108 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43109 LIBS
="$LIBS $SDL_LIBS"
43110 cat >conftest.
$ac_ext <<_ACEOF
43113 cat confdefs.h
>>conftest.
$ac_ext
43114 cat >>conftest.
$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43120 int main(int argc, char *argv[])
43123 #define main K_and_R_C_main
43133 rm -f conftest.
$ac_objext conftest
$ac_exeext
43134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43135 (eval $ac_link) 2>conftest.er1
43137 grep -v '^ *+' conftest.er1
>conftest.err
43139 cat conftest.err
>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); } &&
43142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try
='test -s conftest$ac_exeext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 echo "*** The test program compiled, but did not run. This usually means"
43155 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43156 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43157 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43158 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43159 echo "*** is required on your system"
43161 echo "*** If you have an old version installed, it is best to remove it, although"
43162 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43164 echo "$as_me: failed program was:" >&5
43165 sed 's/^/| /' conftest.
$ac_ext >&5
43167 echo "*** The test program failed to compile or link. See the file config.log for the"
43168 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43169 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43170 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43172 rm -f conftest.err conftest.
$ac_objext \
43173 conftest
$ac_exeext conftest.
$ac_ext
43174 CFLAGS
="$ac_save_CFLAGS"
43175 CXXFLAGS
="$ac_save_CXXFLAGS"
43176 LIBS
="$ac_save_LIBS"
43187 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43193 cat >>confdefs.h
<<\_ACEOF
43194 #define wxUSE_SOUND 1
43197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43200 if test "$WXGTK20" = 1; then
43203 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43204 if test -n "$ac_tool_prefix"; then
43205 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43206 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43207 echo "$as_me:$LINENO: checking for $ac_word" >&5
43208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43212 case $PKG_CONFIG in
43214 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43218 for as_dir
in $PATH
43221 test -z "$as_dir" && as_dir
=.
43222 for ac_exec_ext
in '' $ac_executable_extensions; do
43223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43224 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43234 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43236 if test -n "$PKG_CONFIG"; then
43237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43238 echo "${ECHO_T}$PKG_CONFIG" >&6
43240 echo "$as_me:$LINENO: result: no" >&5
43241 echo "${ECHO_T}no" >&6
43245 if test -z "$ac_cv_path_PKG_CONFIG"; then
43246 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43247 # Extract the first word of "pkg-config", so it can be a program name with args.
43248 set dummy pkg
-config; ac_word
=$2
43249 echo "$as_me:$LINENO: checking for $ac_word" >&5
43250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43251 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43252 echo $ECHO_N "(cached) $ECHO_C" >&6
43254 case $ac_pt_PKG_CONFIG in
43256 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43260 for as_dir
in $PATH
43263 test -z "$as_dir" && as_dir
=.
43264 for ac_exec_ext
in '' $ac_executable_extensions; do
43265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43266 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43276 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43278 if test -n "$ac_pt_PKG_CONFIG"; then
43279 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43280 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43282 echo "$as_me:$LINENO: result: no" >&5
43283 echo "${ECHO_T}no" >&6
43286 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43288 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43292 if test -n "$PKG_CONFIG"; then
43293 _pkg_min_version
=0.9.0
43294 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43295 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43296 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43297 echo "$as_me:$LINENO: result: yes" >&5
43298 echo "${ECHO_T}yes" >&6
43300 echo "$as_me:$LINENO: result: no" >&5
43301 echo "${ECHO_T}no" >&6
43307 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43308 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43312 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43313 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43315 if test -n "$PKG_CONFIG"; then
43316 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43317 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43319 if test -n "$PKG_CONFIG" && \
43320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43321 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; then
43325 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43333 if test -n "$PKG_CONFIG"; then
43334 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43335 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43337 if test -n "$PKG_CONFIG" && \
43338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43339 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); }; then
43343 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43354 if test $pkg_failed = yes; then
43356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43357 _pkg_short_errors_supported
=yes
43359 _pkg_short_errors_supported
=no
43361 if test $_pkg_short_errors_supported = yes; then
43362 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43364 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43366 # Put the nasty error message in config.log where it belongs
43367 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43370 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43371 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43372 wxUSE_LIBGNOMEPRINT
="no"
43375 elif test $pkg_failed = untried
; then
43377 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43378 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43379 wxUSE_LIBGNOMEPRINT
="no"
43383 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43384 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43385 echo "$as_me:$LINENO: result: yes" >&5
43386 echo "${ECHO_T}yes" >&6
43388 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43389 cat >>confdefs.h
<<\_ACEOF
43390 #define wxUSE_LIBGNOMEPRINT 1
43398 if test "$wxUSE_MIMETYPE" = "yes" ; then
43399 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43403 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43404 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43406 if test -n "$PKG_CONFIG"; then
43407 if test -n "$GNOMEVFS_CFLAGS"; then
43408 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43410 if test -n "$PKG_CONFIG" && \
43411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43412 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43415 (exit $ac_status); }; then
43416 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43424 if test -n "$PKG_CONFIG"; then
43425 if test -n "$GNOMEVFS_LIBS"; then
43426 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43428 if test -n "$PKG_CONFIG" && \
43429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43430 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; then
43434 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43445 if test $pkg_failed = yes; then
43447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43448 _pkg_short_errors_supported
=yes
43450 _pkg_short_errors_supported
=no
43452 if test $_pkg_short_errors_supported = yes; then
43453 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43455 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43457 # Put the nasty error message in config.log where it belongs
43458 echo "$GNOMEVFS_PKG_ERRORS" >&5
43461 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43462 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43463 wxUSE_LIBGNOMEVFS
="no"
43466 elif test $pkg_failed = untried
; then
43468 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43469 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43470 wxUSE_LIBGNOMEVFS
="no"
43474 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43475 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43476 echo "$as_me:$LINENO: result: yes" >&5
43477 echo "${ECHO_T}yes" >&6
43479 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43480 cat >>confdefs.h
<<\_ACEOF
43481 #define wxUSE_LIBGNOMEVFS 1
43489 if test "$wxUSE_LIBHILDON" = "yes" ; then
43492 echo "$as_me:$LINENO: checking for HILDON" >&5
43493 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43495 if test -n "$PKG_CONFIG"; then
43496 if test -n "$HILDON_CFLAGS"; then
43497 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43499 if test -n "$PKG_CONFIG" && \
43500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43501 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); }; then
43505 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43513 if test -n "$PKG_CONFIG"; then
43514 if test -n "$HILDON_LIBS"; then
43515 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43517 if test -n "$PKG_CONFIG" && \
43518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43519 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); }; then
43523 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43534 if test $pkg_failed = yes; then
43536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43537 _pkg_short_errors_supported
=yes
43539 _pkg_short_errors_supported
=no
43541 if test $_pkg_short_errors_supported = yes; then
43542 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43544 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43546 # Put the nasty error message in config.log where it belongs
43547 echo "$HILDON_PKG_ERRORS" >&5
43550 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43551 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43552 wxUSE_LIBHILDON
="no"
43555 elif test $pkg_failed = untried
; then
43557 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43558 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43559 wxUSE_LIBHILDON
="no"
43563 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43564 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43565 echo "$as_me:$LINENO: result: yes" >&5
43566 echo "${ECHO_T}yes" >&6
43568 EXTRALIBS_HILDON
="$HILDON_LIBS"
43569 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43570 cat >>confdefs.h
<<\_ACEOF
43571 #define wxUSE_LIBHILDON 1
43579 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43580 cat >>confdefs.h
<<\_ACEOF
43581 #define wxUSE_CMDLINE_PARSER 1
43586 if test "$wxUSE_STOPWATCH" = "yes"; then
43587 cat >>confdefs.h
<<\_ACEOF
43588 #define wxUSE_STOPWATCH 1
43593 if test "$wxUSE_DATETIME" = "yes"; then
43594 cat >>confdefs.h
<<\_ACEOF
43595 #define wxUSE_DATETIME 1
43600 if test "$wxUSE_FILE" = "yes"; then
43601 cat >>confdefs.h
<<\_ACEOF
43602 #define wxUSE_FILE 1
43607 if test "$wxUSE_FFILE" = "yes"; then
43608 cat >>confdefs.h
<<\_ACEOF
43609 #define wxUSE_FFILE 1
43614 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43615 if test "$wxUSE_STREAMS" != yes; then
43616 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43617 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43618 wxUSE_ARCHIVE_STREAMS
=no
43620 cat >>confdefs.h
<<\_ACEOF
43621 #define wxUSE_ARCHIVE_STREAMS 1
43627 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43628 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43629 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43630 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43631 elif test "$wxUSE_ZLIB" = "no"; then
43632 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43633 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43635 cat >>confdefs.h
<<\_ACEOF
43636 #define wxUSE_ZIPSTREAM 1
43642 if test "$wxUSE_TARSTREAM" = "yes"; then
43643 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43644 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43645 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define wxUSE_TARSTREAM 1
43654 if test "$wxUSE_FILESYSTEM" = "yes"; then
43655 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43656 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43657 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43658 wxUSE_FILESYSTEM
=no
43660 cat >>confdefs.h
<<\_ACEOF
43661 #define wxUSE_FILESYSTEM 1
43667 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43668 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43669 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43670 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43672 cat >>confdefs.h
<<\_ACEOF
43673 #define wxUSE_FS_ARCHIVE 1
43679 if test "$wxUSE_FS_ZIP" = "yes"; then
43680 if test "$wxUSE_FS_ARCHIVE" != yes; then
43681 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43682 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43684 cat >>confdefs.h
<<\_ACEOF
43685 #define wxUSE_FS_ZIP 1
43691 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43692 if test "$USE_UNIX" != 1; then
43693 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43694 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43695 wxUSE_ON_FATAL_EXCEPTION
=no
43697 cat >>confdefs.h
<<\_ACEOF
43698 #define wxUSE_ON_FATAL_EXCEPTION 1
43704 if test "$wxUSE_STACKWALKER" = "yes"; then
43705 cat >>confdefs.h
<<\_ACEOF
43706 #define wxUSE_STACKWALKER 1
43711 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43712 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43713 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43714 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43715 wxUSE_DEBUGREPORT
=no
43717 cat >>confdefs.h
<<\_ACEOF
43718 #define wxUSE_DEBUGREPORT 1
43721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43727 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43728 cat >>confdefs.h
<<\_ACEOF
43729 #define wxUSE_SNGLINST_CHECKER 1
43734 if test "$wxUSE_BUSYINFO" = "yes"; then
43735 cat >>confdefs.h
<<\_ACEOF
43736 #define wxUSE_BUSYINFO 1
43741 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43742 cat >>confdefs.h
<<\_ACEOF
43743 #define wxUSE_STD_IOSTREAM 1
43748 if test "$wxUSE_STD_STRING" = "yes"; then
43749 cat >>confdefs.h
<<\_ACEOF
43750 #define wxUSE_STD_STRING 1
43755 if test "$wxUSE_STDPATHS" = "yes"; then
43756 cat >>confdefs.h
<<\_ACEOF
43757 #define wxUSE_STDPATHS 1
43762 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43763 cat >>confdefs.h
<<\_ACEOF
43764 #define wxUSE_TEXTBUFFER 1
43769 if test "$wxUSE_TEXTFILE" = "yes"; then
43770 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43771 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43772 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43774 cat >>confdefs.h
<<\_ACEOF
43775 #define wxUSE_TEXTFILE 1
43781 if test "$wxUSE_CONFIG" = "yes" ; then
43782 if test "$wxUSE_TEXTFILE" != "yes"; then
43783 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43784 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43786 cat >>confdefs.h
<<\_ACEOF
43787 #define wxUSE_CONFIG 1
43790 cat >>confdefs.h
<<\_ACEOF
43791 #define wxUSE_CONFIG_NATIVE 1
43794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43798 if test "$wxUSE_INTL" = "yes" ; then
43799 if test "$wxUSE_FILE" != "yes"; then
43800 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43801 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43803 cat >>confdefs.h
<<\_ACEOF
43804 #define wxUSE_INTL 1
43807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43808 GUIDIST
="$GUIDIST INTL_DIST"
43812 if test "$wxUSE_LOG" = "yes"; then
43813 cat >>confdefs.h
<<\_ACEOF
43814 #define wxUSE_LOG 1
43818 if test "$wxUSE_LOGGUI" = "yes"; then
43819 cat >>confdefs.h
<<\_ACEOF
43820 #define wxUSE_LOGGUI 1
43825 if test "$wxUSE_LOGWINDOW" = "yes"; then
43826 cat >>confdefs.h
<<\_ACEOF
43827 #define wxUSE_LOGWINDOW 1
43832 if test "$wxUSE_LOGDIALOG" = "yes"; then
43833 cat >>confdefs.h
<<\_ACEOF
43834 #define wxUSE_LOG_DIALOG 1
43839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43842 if test "$wxUSE_LONGLONG" = "yes"; then
43843 cat >>confdefs.h
<<\_ACEOF
43844 #define wxUSE_LONGLONG 1
43849 if test "$wxUSE_GEOMETRY" = "yes"; then
43850 cat >>confdefs.h
<<\_ACEOF
43851 #define wxUSE_GEOMETRY 1
43856 if test "$wxUSE_STREAMS" = "yes" ; then
43857 cat >>confdefs.h
<<\_ACEOF
43858 #define wxUSE_STREAMS 1
43863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43864 cat >>confdefs.h
<<\_ACEOF
43865 #define wxUSE_PRINTF_POS_PARAMS 1
43872 if test "$wxUSE_DATETIME" = "yes"; then
43874 for ac_func
in strptime
43876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43877 echo "$as_me:$LINENO: checking for $ac_func" >&5
43878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43879 if eval "test \"\${$as_ac_var+set}\" = set"; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43882 cat >conftest.
$ac_ext <<_ACEOF
43885 cat confdefs.h
>>conftest.
$ac_ext
43886 cat >>conftest.
$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43890 #define $ac_func innocuous_$ac_func
43892 /* System header to define __stub macros and hopefully few prototypes,
43893 which can conflict with char $ac_func (); below.
43894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43895 <limits.h> exists even on freestanding compilers. */
43898 # include <limits.h>
43900 # include <assert.h>
43905 /* Override any gcc2 internal prototype to avoid an error. */
43910 /* We use char because int might match the return type of a gcc2
43911 builtin and then its argument prototype would still apply. */
43913 /* The GNU C library defines this for functions which it implements
43914 to always fail with ENOSYS. Some functions are actually named
43915 something starting with __ and the normal name is an alias. */
43916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43919 char (*f) () = $ac_func;
43928 return f != $ac_func;
43933 rm -f conftest.
$ac_objext conftest
$ac_exeext
43934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43935 (eval $ac_link) 2>conftest.er1
43937 grep -v '^ *+' conftest.er1
>conftest.err
43939 cat conftest.err
>&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); } &&
43942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944 (eval $ac_try) 2>&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); }; } &&
43948 { ac_try
='test -s conftest$ac_exeext'
43949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950 (eval $ac_try) 2>&5
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); }; }; then
43954 eval "$as_ac_var=yes"
43956 echo "$as_me: failed program was:" >&5
43957 sed 's/^/| /' conftest.
$ac_ext >&5
43959 eval "$as_ac_var=no"
43961 rm -f conftest.err conftest.
$ac_objext \
43962 conftest
$ac_exeext conftest.
$ac_ext
43964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43966 if test `eval echo '${'$as_ac_var'}'` = yes; then
43967 cat >>confdefs.h
<<_ACEOF
43968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43974 if test "$ac_cv_func_strptime" = "yes"; then
43975 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43976 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43977 if test "${wx_cv_func_strptime_decl+set}" = set; then
43978 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 cat >conftest.
$ac_ext <<_ACEOF
43984 cat confdefs.h
>>conftest.
$ac_ext
43985 cat >>conftest.
$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43995 strptime("foo", "bar", &t);
44001 rm -f conftest.
$ac_objext
44002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44003 (eval $ac_compile) 2>conftest.er1
44005 grep -v '^ *+' conftest.er1
>conftest.err
44007 cat conftest.err
>&5
44008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009 (exit $ac_status); } &&
44010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44012 (eval $ac_try) 2>&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); }; } &&
44016 { ac_try
='test -s conftest.$ac_objext'
44017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44018 (eval $ac_try) 2>&5
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; }; then
44022 wx_cv_func_strptime_decl
=yes
44024 echo "$as_me: failed program was:" >&5
44025 sed 's/^/| /' conftest.
$ac_ext >&5
44027 wx_cv_func_strptime_decl
=no
44030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44034 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44035 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44037 if test "$wx_cv_func_strptime_decl" = "yes"; then
44038 cat >>confdefs.h
<<\_ACEOF
44039 #define HAVE_STRPTIME_DECL 1
44044 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44045 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44046 if test "${wx_cv_var_timezone+set}" = set; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44050 cat >conftest.
$ac_ext <<_ACEOF
44053 cat confdefs.h
>>conftest.
$ac_ext
44054 cat >>conftest.
$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44070 rm -f conftest.
$ac_objext
44071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44072 (eval $ac_compile) 2>conftest.er1
44074 grep -v '^ *+' conftest.er1
>conftest.err
44076 cat conftest.err
>&5
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); } &&
44079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081 (eval $ac_try) 2>&5
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); }; } &&
44085 { ac_try
='test -s conftest.$ac_objext'
44086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087 (eval $ac_try) 2>&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); }; }; then
44092 wx_cv_var_timezone
=timezone
44095 echo "$as_me: failed program was:" >&5
44096 sed 's/^/| /' conftest.
$ac_ext >&5
44099 cat >conftest.
$ac_ext <<_ACEOF
44102 cat confdefs.h
>>conftest.
$ac_ext
44103 cat >>conftest.
$ac_ext <<_ACEOF
44104 /* end confdefs.h. */
44119 rm -f conftest.
$ac_objext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44121 (eval $ac_compile) 2>conftest.er1
44123 grep -v '^ *+' conftest.er1
>conftest.err
44125 cat conftest.err
>&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try
='test -s conftest.$ac_objext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44141 wx_cv_var_timezone
=_timezone
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.
$ac_ext >&5
44148 cat >conftest.
$ac_ext <<_ACEOF
44151 cat confdefs.h
>>conftest.
$ac_ext
44152 cat >>conftest.
$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44168 rm -f conftest.
$ac_objext
44169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44170 (eval $ac_compile) 2>conftest.er1
44172 grep -v '^ *+' conftest.er1
>conftest.err
44174 cat conftest.err
>&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); } &&
44177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; } &&
44183 { ac_try
='test -s conftest.$ac_objext'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; }; then
44190 wx_cv_var_timezone
=__timezone
44193 echo "$as_me: failed program was:" >&5
44194 sed 's/^/| /' conftest.
$ac_ext >&5
44197 if test "$USE_DOS" = 0 ; then
44198 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44199 echo "$as_me: WARNING: no timezone variable" >&2;}
44204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44216 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44217 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44219 if test "x$wx_cv_var_timezone" != x
; then
44220 cat >>confdefs.h
<<_ACEOF
44221 #define WX_TIMEZONE $wx_cv_var_timezone
44227 for ac_func
in localtime
44229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44230 echo "$as_me:$LINENO: checking for $ac_func" >&5
44231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44232 if eval "test \"\${$as_ac_var+set}\" = set"; then
44233 echo $ECHO_N "(cached) $ECHO_C" >&6
44235 cat >conftest.
$ac_ext <<_ACEOF
44238 cat confdefs.h
>>conftest.
$ac_ext
44239 cat >>conftest.
$ac_ext <<_ACEOF
44240 /* end confdefs.h. */
44241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44243 #define $ac_func innocuous_$ac_func
44245 /* System header to define __stub macros and hopefully few prototypes,
44246 which can conflict with char $ac_func (); below.
44247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44248 <limits.h> exists even on freestanding compilers. */
44251 # include <limits.h>
44253 # include <assert.h>
44258 /* Override any gcc2 internal prototype to avoid an error. */
44263 /* We use char because int might match the return type of a gcc2
44264 builtin and then its argument prototype would still apply. */
44266 /* The GNU C library defines this for functions which it implements
44267 to always fail with ENOSYS. Some functions are actually named
44268 something starting with __ and the normal name is an alias. */
44269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44272 char (*f) () = $ac_func;
44281 return f != $ac_func;
44286 rm -f conftest.
$ac_objext conftest
$ac_exeext
44287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44288 (eval $ac_link) 2>conftest.er1
44290 grep -v '^ *+' conftest.er1
>conftest.err
44292 cat conftest.err
>&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); } &&
44295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44297 (eval $ac_try) 2>&5
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); }; } &&
44301 { ac_try
='test -s conftest$ac_exeext'
44302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44303 (eval $ac_try) 2>&5
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); }; }; then
44307 eval "$as_ac_var=yes"
44309 echo "$as_me: failed program was:" >&5
44310 sed 's/^/| /' conftest.
$ac_ext >&5
44312 eval "$as_ac_var=no"
44314 rm -f conftest.err conftest.
$ac_objext \
44315 conftest
$ac_exeext conftest.
$ac_ext
44317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44319 if test `eval echo '${'$as_ac_var'}'` = yes; then
44320 cat >>confdefs.h
<<_ACEOF
44321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44328 if test "$ac_cv_func_localtime" = "yes"; then
44329 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44330 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44331 if test "${wx_cv_struct_tm_has_gmtoff+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. */
44355 rm -f conftest.
$ac_objext
44356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44357 (eval $ac_compile) 2>conftest.er1
44359 grep -v '^ *+' conftest.er1
>conftest.err
44361 cat conftest.err
>&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); } &&
44364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44366 (eval $ac_try) 2>&5
44368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44369 (exit $ac_status); }; } &&
44370 { ac_try
='test -s conftest.$ac_objext'
44371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44372 (eval $ac_try) 2>&5
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); }; }; then
44377 wx_cv_struct_tm_has_gmtoff
=yes
44380 echo "$as_me: failed program was:" >&5
44381 sed 's/^/| /' conftest.
$ac_ext >&5
44383 wx_cv_struct_tm_has_gmtoff
=no
44386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44389 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44390 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44393 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44394 cat >>confdefs.h
<<\_ACEOF
44395 #define WX_GMTOFF_IN_TM 1
44402 for ac_func
in gettimeofday ftime
44404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44405 echo "$as_me:$LINENO: checking for $ac_func" >&5
44406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44407 if eval "test \"\${$as_ac_var+set}\" = set"; then
44408 echo $ECHO_N "(cached) $ECHO_C" >&6
44410 cat >conftest.
$ac_ext <<_ACEOF
44413 cat confdefs.h
>>conftest.
$ac_ext
44414 cat >>conftest.
$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44418 #define $ac_func innocuous_$ac_func
44420 /* System header to define __stub macros and hopefully few prototypes,
44421 which can conflict with char $ac_func (); below.
44422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44423 <limits.h> exists even on freestanding compilers. */
44426 # include <limits.h>
44428 # include <assert.h>
44433 /* Override any gcc2 internal prototype to avoid an error. */
44438 /* We use char because int might match the return type of a gcc2
44439 builtin and then its argument prototype would still apply. */
44441 /* The GNU C library defines this for functions which it implements
44442 to always fail with ENOSYS. Some functions are actually named
44443 something starting with __ and the normal name is an alias. */
44444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44447 char (*f) () = $ac_func;
44456 return f != $ac_func;
44461 rm -f conftest.
$ac_objext conftest
$ac_exeext
44462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44463 (eval $ac_link) 2>conftest.er1
44465 grep -v '^ *+' conftest.er1
>conftest.err
44467 cat conftest.err
>&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } &&
44470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; } &&
44476 { ac_try
='test -s conftest$ac_exeext'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; }; then
44482 eval "$as_ac_var=yes"
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.
$ac_ext >&5
44487 eval "$as_ac_var=no"
44489 rm -f conftest.err conftest.
$ac_objext \
44490 conftest
$ac_exeext conftest.
$ac_ext
44492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44494 if test `eval echo '${'$as_ac_var'}'` = yes; then
44495 cat >>confdefs.h
<<_ACEOF
44496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44503 if test "$ac_cv_func_gettimeofday" = "yes"; then
44504 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44505 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44506 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44507 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 cat >conftest.
$ac_ext <<_ACEOF
44513 cat confdefs.h
>>conftest.
$ac_ext
44514 cat >>conftest.
$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44517 #include <sys/time.h>
44518 #include <unistd.h>
44525 gettimeofday(&tv, NULL);
44531 rm -f conftest.
$ac_objext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44533 (eval $ac_compile) 2>conftest.er1
44535 grep -v '^ *+' conftest.er1
>conftest.err
44537 cat conftest.err
>&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44542 (eval $ac_try) 2>&5
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); }; } &&
44546 { ac_try
='test -s conftest.$ac_objext'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; }; then
44552 wx_cv_func_gettimeofday_has_2_args
=yes
44554 echo "$as_me: failed program was:" >&5
44555 sed 's/^/| /' conftest.
$ac_ext >&5
44557 cat >conftest.
$ac_ext <<_ACEOF
44560 cat confdefs.h
>>conftest.
$ac_ext
44561 cat >>conftest.
$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44564 #include <sys/time.h>
44565 #include <unistd.h>
44578 rm -f conftest.
$ac_objext
44579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44580 (eval $ac_compile) 2>conftest.er1
44582 grep -v '^ *+' conftest.er1
>conftest.err
44584 cat conftest.err
>&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); } &&
44587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589 (eval $ac_try) 2>&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; } &&
44593 { ac_try
='test -s conftest.$ac_objext'
44594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595 (eval $ac_try) 2>&5
44597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598 (exit $ac_status); }; }; then
44599 wx_cv_func_gettimeofday_has_2_args
=no
44601 echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.
$ac_ext >&5
44605 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44606 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44607 wx_cv_func_gettimeofday_has_2_args
=unknown
44611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44617 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44618 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44620 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44621 cat >>confdefs.h
<<\_ACEOF
44622 #define WX_GETTIMEOFDAY_NO_TZ 1
44628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44632 if test "$wxUSE_SOCKETS" = "yes"; then
44633 if test "$wxUSE_MGL" = "1"; then
44634 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44635 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44640 if test "$wxUSE_SOCKETS" = "yes"; then
44641 if test "$TOOLKIT" != "MSW"; then
44642 echo "$as_me:$LINENO: checking for socket" >&5
44643 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44644 if test "${ac_cv_func_socket+set}" = set; then
44645 echo $ECHO_N "(cached) $ECHO_C" >&6
44647 cat >conftest.
$ac_ext <<_ACEOF
44650 cat confdefs.h
>>conftest.
$ac_ext
44651 cat >>conftest.
$ac_ext <<_ACEOF
44652 /* end confdefs.h. */
44653 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44655 #define socket innocuous_socket
44657 /* System header to define __stub macros and hopefully few prototypes,
44658 which can conflict with char socket (); below.
44659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44660 <limits.h> exists even on freestanding compilers. */
44663 # include <limits.h>
44665 # include <assert.h>
44670 /* Override any gcc2 internal prototype to avoid an error. */
44675 /* We use char because int might match the return type of a gcc2
44676 builtin and then its argument prototype would still apply. */
44678 /* The GNU C library defines this for functions which it implements
44679 to always fail with ENOSYS. Some functions are actually named
44680 something starting with __ and the normal name is an alias. */
44681 #if defined (__stub_socket) || defined (__stub___socket)
44684 char (*f) () = socket;
44693 return f != socket;
44698 rm -f conftest.
$ac_objext conftest
$ac_exeext
44699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44700 (eval $ac_link) 2>conftest.er1
44702 grep -v '^ *+' conftest.er1
>conftest.err
44704 cat conftest.err
>&5
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); } &&
44707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; } &&
44713 { ac_try
='test -s conftest$ac_exeext'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; }; then
44719 ac_cv_func_socket
=yes
44721 echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.
$ac_ext >&5
44724 ac_cv_func_socket
=no
44726 rm -f conftest.err conftest.
$ac_objext \
44727 conftest
$ac_exeext conftest.
$ac_ext
44729 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44730 echo "${ECHO_T}$ac_cv_func_socket" >&6
44731 if test $ac_cv_func_socket = yes; then
44735 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44736 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44737 if test "${ac_cv_lib_socket_socket+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44740 ac_check_lib_save_LIBS
=$LIBS
44741 LIBS
="-lsocket $LIBS"
44742 cat >conftest.
$ac_ext <<_ACEOF
44745 cat confdefs.h
>>conftest.
$ac_ext
44746 cat >>conftest.
$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44749 /* Override any gcc2 internal prototype to avoid an error. */
44753 /* We use char because int might match the return type of a gcc2
44754 builtin and then its argument prototype would still apply. */
44764 rm -f conftest.
$ac_objext conftest
$ac_exeext
44765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44766 (eval $ac_link) 2>conftest.er1
44768 grep -v '^ *+' conftest.er1
>conftest.err
44770 cat conftest.err
>&5
44771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772 (exit $ac_status); } &&
44773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44775 (eval $ac_try) 2>&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; } &&
44779 { ac_try
='test -s conftest$ac_exeext'
44780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44781 (eval $ac_try) 2>&5
44783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784 (exit $ac_status); }; }; then
44785 ac_cv_lib_socket_socket
=yes
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.
$ac_ext >&5
44790 ac_cv_lib_socket_socket
=no
44792 rm -f conftest.err conftest.
$ac_objext \
44793 conftest
$ac_exeext conftest.
$ac_ext
44794 LIBS
=$ac_check_lib_save_LIBS
44796 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44797 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44798 if test $ac_cv_lib_socket_socket = yes; then
44799 if test "$INET_LINK" != " -lsocket"; then
44800 INET_LINK
="$INET_LINK -lsocket"
44804 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44805 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44818 if test "$wxUSE_SOCKETS" = "yes" ; then
44819 if test "$TOOLKIT" != "MSW"; then
44820 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44821 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44822 if test "${wx_cv_type_getsockname3+set}" = set; then
44823 echo $ECHO_N "(cached) $ECHO_C" >&6
44826 cat >conftest.
$ac_ext <<_ACEOF
44829 cat confdefs.h
>>conftest.
$ac_ext
44830 cat >>conftest.
$ac_ext <<_ACEOF
44831 /* end confdefs.h. */
44833 #include <sys/types.h>
44834 #include <sys/socket.h>
44841 getsockname(0, 0, &len);
44847 rm -f conftest.
$ac_objext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44849 (eval $ac_compile) 2>conftest.er1
44851 grep -v '^ *+' conftest.er1
>conftest.err
44853 cat conftest.err
>&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); } &&
44856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44858 (eval $ac_try) 2>&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); }; } &&
44862 { ac_try
='test -s conftest.$ac_objext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 wx_cv_type_getsockname3
=socklen_t
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.
$ac_ext >&5
44874 CXXFLAGS_OLD
="$CXXFLAGS"
44875 if test "$GCC" = yes ; then
44876 CXXFLAGS
="-Werror $CXXFLAGS"
44879 cat >conftest.
$ac_ext <<_ACEOF
44882 cat confdefs.h
>>conftest.
$ac_ext
44883 cat >>conftest.
$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44886 #include <sys/types.h>
44887 #include <sys/socket.h>
44894 getsockname(0, 0, &len);
44900 rm -f conftest.
$ac_objext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44902 (eval $ac_compile) 2>conftest.er1
44904 grep -v '^ *+' conftest.er1
>conftest.err
44906 cat conftest.err
>&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try
='test -s conftest.$ac_objext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 wx_cv_type_getsockname3
=size_t
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.
$ac_ext >&5
44926 cat >conftest.
$ac_ext <<_ACEOF
44929 cat confdefs.h
>>conftest.
$ac_ext
44930 cat >>conftest.
$ac_ext <<_ACEOF
44931 /* end confdefs.h. */
44933 #include <sys/types.h>
44934 #include <sys/socket.h>
44941 getsockname(0, 0, &len);
44947 rm -f conftest.
$ac_objext
44948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44949 (eval $ac_compile) 2>conftest.er1
44951 grep -v '^ *+' conftest.er1
>conftest.err
44953 cat conftest.err
>&5
44954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955 (exit $ac_status); } &&
44956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44958 (eval $ac_try) 2>&5
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); }; } &&
44962 { ac_try
='test -s conftest.$ac_objext'
44963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44964 (eval $ac_try) 2>&5
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); }; }; then
44968 wx_cv_type_getsockname3
=int
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.
$ac_ext >&5
44973 wx_cv_type_getsockname3
=unknown
44976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44981 CXXFLAGS
="$CXXFLAGS_OLD"
44985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44988 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44989 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44991 if test "$wx_cv_type_getsockname3" = "unknown"; then
44993 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44994 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44996 cat >>confdefs.h
<<_ACEOF
44997 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45001 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45002 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45003 if test "${wx_cv_type_getsockopt5+set}" = set; then
45004 echo $ECHO_N "(cached) $ECHO_C" >&6
45007 cat >conftest.
$ac_ext <<_ACEOF
45010 cat confdefs.h
>>conftest.
$ac_ext
45011 cat >>conftest.
$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45014 #include <sys/types.h>
45015 #include <sys/socket.h>
45022 getsockopt(0, 0, 0, 0, &len);
45028 rm -f conftest.
$ac_objext
45029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45030 (eval $ac_compile) 2>conftest.er1
45032 grep -v '^ *+' conftest.er1
>conftest.err
45034 cat conftest.err
>&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } &&
45037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039 (eval $ac_try) 2>&5
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; } &&
45043 { ac_try
='test -s conftest.$ac_objext'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 wx_cv_type_getsockopt5
=socklen_t
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.
$ac_ext >&5
45055 CXXFLAGS_OLD
="$CXXFLAGS"
45056 if test "$GCC" = yes ; then
45057 CXXFLAGS
="-Werror $CXXFLAGS"
45060 cat >conftest.
$ac_ext <<_ACEOF
45063 cat confdefs.h
>>conftest.
$ac_ext
45064 cat >>conftest.
$ac_ext <<_ACEOF
45065 /* end confdefs.h. */
45067 #include <sys/types.h>
45068 #include <sys/socket.h>
45075 getsockopt(0, 0, 0, 0, &len);
45081 rm -f conftest.
$ac_objext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45083 (eval $ac_compile) 2>conftest.er1
45085 grep -v '^ *+' conftest.er1
>conftest.err
45087 cat conftest.err
>&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); } &&
45090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092 (eval $ac_try) 2>&5
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); }; } &&
45096 { ac_try
='test -s conftest.$ac_objext'
45097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45098 (eval $ac_try) 2>&5
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; }; then
45102 wx_cv_type_getsockopt5
=size_t
45104 echo "$as_me: failed program was:" >&5
45105 sed 's/^/| /' conftest.
$ac_ext >&5
45107 cat >conftest.
$ac_ext <<_ACEOF
45110 cat confdefs.h
>>conftest.
$ac_ext
45111 cat >>conftest.
$ac_ext <<_ACEOF
45112 /* end confdefs.h. */
45114 #include <sys/types.h>
45115 #include <sys/socket.h>
45122 getsockopt(0, 0, 0, 0, &len);
45128 rm -f conftest.
$ac_objext
45129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45130 (eval $ac_compile) 2>conftest.er1
45132 grep -v '^ *+' conftest.er1
>conftest.err
45134 cat conftest.err
>&5
45135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45136 (exit $ac_status); } &&
45137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45139 (eval $ac_try) 2>&5
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); }; } &&
45143 { ac_try
='test -s conftest.$ac_objext'
45144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45145 (eval $ac_try) 2>&5
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); }; }; then
45149 wx_cv_type_getsockopt5
=int
45151 echo "$as_me: failed program was:" >&5
45152 sed 's/^/| /' conftest.
$ac_ext >&5
45154 wx_cv_type_getsockopt5
=unknown
45157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45162 CXXFLAGS
="$CXXFLAGS_OLD"
45166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45169 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45170 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45172 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45174 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45175 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45177 cat >>confdefs.h
<<_ACEOF
45178 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45185 if test "$wxUSE_SOCKETS" = "yes" ; then
45186 cat >>confdefs.h
<<\_ACEOF
45187 #define wxUSE_SOCKETS 1
45190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45193 if test "$wxUSE_PROTOCOL" = "yes"; then
45194 if test "$wxUSE_SOCKETS" != "yes"; then
45195 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45196 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45201 if test "$wxUSE_PROTOCOL" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_PROTOCOL 1
45207 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_PROTOCOL_HTTP 1
45213 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_PROTOCOL_FTP 1
45219 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45220 cat >>confdefs.h
<<\_ACEOF
45221 #define wxUSE_PROTOCOL_FILE 1
45226 if test "$wxUSE_FS_INET" = "yes"; then
45227 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45228 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45233 if test "$wxUSE_URL" = "yes"; then
45234 if test "$wxUSE_PROTOCOL" != "yes"; then
45235 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45236 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45239 if test "$wxUSE_URL" = "yes"; then
45240 cat >>confdefs.h
<<\_ACEOF
45241 #define wxUSE_URL 1
45247 if test "$wxUSE_VARIANT" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_VARIANT 1
45254 if test "$wxUSE_FS_INET" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_FS_INET 1
45262 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45265 if test "$TOOLKIT" = "MSW"; then
45268 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45269 if test "$USE_DARWIN" = 1; then
45270 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45271 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45272 cat >conftest.
$ac_ext <<_ACEOF
45275 cat confdefs.h
>>conftest.
$ac_ext
45276 cat >>conftest.
$ac_ext <<_ACEOF
45277 /* end confdefs.h. */
45278 #include <IOKit/hid/IOHIDLib.h>
45282 IOHIDQueueInterface *qi = NULL;
45283 IOHIDCallbackFunction cb = NULL;
45284 qi->setEventCallout(NULL, cb, NULL, NULL);
45289 rm -f conftest.
$ac_objext
45290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45291 (eval $ac_compile) 2>conftest.er1
45293 grep -v '^ *+' conftest.er1
>conftest.err
45295 cat conftest.err
>&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); } &&
45298 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300 (eval $ac_try) 2>&5
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; } &&
45304 { ac_try
='test -s conftest.$ac_objext'
45305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45306 (eval $ac_try) 2>&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); }; }; then
45313 echo "$as_me: failed program was:" >&5
45314 sed 's/^/| /' conftest.
$ac_ext >&5
45317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45318 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45319 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45324 for ac_header
in linux
/joystick.h
45326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45328 echo "$as_me:$LINENO: checking for $ac_header" >&5
45329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45336 # Is the header compilable?
45337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45339 cat >conftest.
$ac_ext <<_ACEOF
45342 cat confdefs.h
>>conftest.
$ac_ext
45343 cat >>conftest.
$ac_ext <<_ACEOF
45344 /* end confdefs.h. */
45345 $ac_includes_default
45346 #include <$ac_header>
45348 rm -f conftest.
$ac_objext
45349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45350 (eval $ac_compile) 2>conftest.er1
45352 grep -v '^ *+' conftest.er1
>conftest.err
45354 cat conftest.err
>&5
45355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45356 (exit $ac_status); } &&
45357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45359 (eval $ac_try) 2>&5
45361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362 (exit $ac_status); }; } &&
45363 { ac_try
='test -s conftest.$ac_objext'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; }; then
45369 ac_header_compiler
=yes
45371 echo "$as_me: failed program was:" >&5
45372 sed 's/^/| /' conftest.
$ac_ext >&5
45374 ac_header_compiler
=no
45376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45378 echo "${ECHO_T}$ac_header_compiler" >&6
45380 # Is the header present?
45381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45383 cat >conftest.
$ac_ext <<_ACEOF
45386 cat confdefs.h
>>conftest.
$ac_ext
45387 cat >>conftest.
$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45389 #include <$ac_header>
45391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45394 grep -v '^ *+' conftest.er1
>conftest.err
45396 cat conftest.err
>&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } >/dev
/null
; then
45399 if test -s conftest.err
; then
45400 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45401 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45408 if test -z "$ac_cpp_err"; then
45409 ac_header_preproc
=yes
45411 echo "$as_me: failed program was:" >&5
45412 sed 's/^/| /' conftest.
$ac_ext >&5
45414 ac_header_preproc
=no
45416 rm -f conftest.err conftest.
$ac_ext
45417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45418 echo "${ECHO_T}$ac_header_preproc" >&6
45420 # So? What about this header?
45421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45427 ac_header_preproc
=yes
45430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45444 ## ----------------------------------------- ##
45445 ## Report this to wx-dev@lists.wxwidgets.org ##
45446 ## ----------------------------------------- ##
45449 sed "s/^/$as_me: WARNING: /" >&2
45452 echo "$as_me:$LINENO: checking for $ac_header" >&5
45453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45455 echo $ECHO_N "(cached) $ECHO_C" >&6
45457 eval "$as_ac_Header=\$ac_header_preproc"
45459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45464 cat >>confdefs.h
<<_ACEOF
45465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45474 if test "$wxUSE_JOYSTICK" = "yes"; then
45475 cat >>confdefs.h
<<\_ACEOF
45476 #define wxUSE_JOYSTICK 1
45479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45481 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45482 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45488 if test "$wxUSE_FONTMAP" = "yes" ; then
45489 cat >>confdefs.h
<<\_ACEOF
45490 #define wxUSE_FONTMAP 1
45495 if test "$wxUSE_UNICODE" = "yes" ; then
45496 cat >>confdefs.h
<<\_ACEOF
45497 #define wxUSE_UNICODE 1
45501 if test "$USE_WIN32" != 1; then
45502 wxUSE_UNICODE_MSLU
=no
45505 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45506 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45507 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45508 if test "${ac_cv_lib_unicows_main+set}" = set; then
45509 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 ac_check_lib_save_LIBS
=$LIBS
45512 LIBS
="-lunicows $LIBS"
45513 cat >conftest.
$ac_ext <<_ACEOF
45516 cat confdefs.h
>>conftest.
$ac_ext
45517 cat >>conftest.
$ac_ext <<_ACEOF
45518 /* end confdefs.h. */
45529 rm -f conftest.
$ac_objext conftest
$ac_exeext
45530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45531 (eval $ac_link) 2>conftest.er1
45533 grep -v '^ *+' conftest.er1
>conftest.err
45535 cat conftest.err
>&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } &&
45538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45540 (eval $ac_try) 2>&5
45542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45543 (exit $ac_status); }; } &&
45544 { ac_try
='test -s conftest$ac_exeext'
45545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45546 (eval $ac_try) 2>&5
45548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45549 (exit $ac_status); }; }; then
45550 ac_cv_lib_unicows_main
=yes
45552 echo "$as_me: failed program was:" >&5
45553 sed 's/^/| /' conftest.
$ac_ext >&5
45555 ac_cv_lib_unicows_main
=no
45557 rm -f conftest.err conftest.
$ac_objext \
45558 conftest
$ac_exeext conftest.
$ac_ext
45559 LIBS
=$ac_check_lib_save_LIBS
45561 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45562 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45563 if test $ac_cv_lib_unicows_main = yes; then
45565 cat >>confdefs.h
<<\_ACEOF
45566 #define wxUSE_UNICODE_MSLU 1
45572 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45573 Applications will only run on Windows NT/2000/XP!" >&5
45574 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45575 Applications will only run on Windows NT/2000/XP!" >&2;}
45576 wxUSE_UNICODE_MSLU
=no
45583 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_EXPERIMENTAL_PRINTF 1
45591 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45592 cat >>confdefs.h
<<\_ACEOF
45593 #define wxUSE_POSTSCRIPT 1
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45603 cat >>confdefs.h
<<\_ACEOF
45604 #define wxUSE_NORMALIZED_PS_FONTS 1
45609 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45610 cat >>confdefs.h
<<\_ACEOF
45611 #define wxUSE_CONSTRAINTS 1
45614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45617 if test "$wxUSE_MDI" = "yes"; then
45618 cat >>confdefs.h
<<\_ACEOF
45619 #define wxUSE_MDI 1
45623 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_MDI_ARCHITECTURE 1
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45632 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45638 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45643 if test "$wxUSE_HELP" = "yes"; then
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_HELP 1
45648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45650 if test "$wxUSE_MSW" = 1; then
45651 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45652 cat >>confdefs.h
<<\_ACEOF
45653 #define wxUSE_MS_HTML_HELP 1
45659 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45660 if test "$wxUSE_HTML" = "yes"; then
45661 cat >>confdefs.h
<<\_ACEOF
45662 #define wxUSE_WXHTML_HELP 1
45666 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45667 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45668 wxUSE_WXHTML_HELP
=no
45673 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45674 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45675 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45676 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_PRINTING_ARCHITECTURE 1
45683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45686 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45687 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45688 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45689 { (exit 1); exit 1; }; }
45693 if test "$wxUSE_METAFILE" = "yes"; then
45694 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45695 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45696 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45702 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45703 -o "$wxUSE_CLIPBOARD" = "yes" \
45704 -o "$wxUSE_OLE" = "yes" \
45705 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45707 for ac_header
in ole2.h
45709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45711 echo "$as_me:$LINENO: checking for $ac_header" >&5
45712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45714 echo $ECHO_N "(cached) $ECHO_C" >&6
45716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45719 # Is the header compilable?
45720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45722 cat >conftest.
$ac_ext <<_ACEOF
45725 cat confdefs.h
>>conftest.
$ac_ext
45726 cat >>conftest.
$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 $ac_includes_default
45729 #include <$ac_header>
45731 rm -f conftest.
$ac_objext
45732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45733 (eval $ac_compile) 2>conftest.er1
45735 grep -v '^ *+' conftest.er1
>conftest.err
45737 cat conftest.err
>&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); } &&
45740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45742 (eval $ac_try) 2>&5
45744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745 (exit $ac_status); }; } &&
45746 { ac_try
='test -s conftest.$ac_objext'
45747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45748 (eval $ac_try) 2>&5
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); }; }; then
45752 ac_header_compiler
=yes
45754 echo "$as_me: failed program was:" >&5
45755 sed 's/^/| /' conftest.
$ac_ext >&5
45757 ac_header_compiler
=no
45759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45761 echo "${ECHO_T}$ac_header_compiler" >&6
45763 # Is the header present?
45764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45766 cat >conftest.
$ac_ext <<_ACEOF
45769 cat confdefs.h
>>conftest.
$ac_ext
45770 cat >>conftest.
$ac_ext <<_ACEOF
45771 /* end confdefs.h. */
45772 #include <$ac_header>
45774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45777 grep -v '^ *+' conftest.er1
>conftest.err
45779 cat conftest.err
>&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); } >/dev
/null
; then
45782 if test -s conftest.err
; then
45783 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45784 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45791 if test -z "$ac_cpp_err"; then
45792 ac_header_preproc
=yes
45794 echo "$as_me: failed program was:" >&5
45795 sed 's/^/| /' conftest.
$ac_ext >&5
45797 ac_header_preproc
=no
45799 rm -f conftest.err conftest.
$ac_ext
45800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45801 echo "${ECHO_T}$ac_header_preproc" >&6
45803 # So? What about this header?
45804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45810 ac_header_preproc
=yes
45813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45827 ## ----------------------------------------- ##
45828 ## Report this to wx-dev@lists.wxwidgets.org ##
45829 ## ----------------------------------------- ##
45832 sed "s/^/$as_me: WARNING: /" >&2
45835 echo "$as_me:$LINENO: checking for $ac_header" >&5
45836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45838 echo $ECHO_N "(cached) $ECHO_C" >&6
45840 eval "$as_ac_Header=\$ac_header_preproc"
45842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45847 cat >>confdefs.h
<<_ACEOF
45848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45856 if test "$ac_cv_header_ole2_h" = "yes" ; then
45857 if test "$GCC" = yes ; then
45858 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45859 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45860 cat >conftest.
$ac_ext <<_ACEOF
45863 cat confdefs.h
>>conftest.
$ac_ext
45864 cat >>conftest.
$ac_ext <<_ACEOF
45865 /* end confdefs.h. */
45866 #include <windows.h>
45876 rm -f conftest.
$ac_objext
45877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45878 (eval $ac_compile) 2>conftest.er1
45880 grep -v '^ *+' conftest.er1
>conftest.err
45882 cat conftest.err
>&5
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); } &&
45885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45887 (eval $ac_try) 2>&5
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; } &&
45891 { ac_try
='test -s conftest.$ac_objext'
45892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45893 (eval $ac_try) 2>&5
45895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896 (exit $ac_status); }; }; then
45897 echo "$as_me:$LINENO: result: no" >&5
45898 echo "${ECHO_T}no" >&6
45900 echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.
$ac_ext >&5
45903 echo "$as_me:$LINENO: result: yes" >&5
45904 echo "${ECHO_T}yes" >&6
45905 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45908 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45909 if test "$wxUSE_OLE" = "yes" ; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_OLE 1
45914 cat >>confdefs.h
<<\_ACEOF
45915 #define wxUSE_OLE_AUTOMATION 1
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_OLE_ACTIVEX 1
45922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45926 if test "$wxUSE_DATAOBJ" = "yes" ; then
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_DATAOBJ 1
45933 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45934 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45937 wxUSE_DRAG_AND_DROP
=no
45942 if test "$wxUSE_METAFILE" = "yes"; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_METAFILE 1
45948 cat >>confdefs.h
<<\_ACEOF
45949 #define wxUSE_ENH_METAFILE 1
45955 if test "$wxUSE_IPC" = "yes"; then
45956 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45957 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45958 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45962 if test "$wxUSE_IPC" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_IPC 1
45967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45971 if test "$wxUSE_DATAOBJ" = "yes"; then
45972 if test "$wxUSE_MGL" = 1; then
45973 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45974 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_DATAOBJ 1
45983 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45984 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45986 wxUSE_DRAG_AND_DROP
=no
45989 if test "$wxUSE_CLIPBOARD" = "yes"; then
45990 if test "$wxUSE_MGL" = 1; then
45991 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45992 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45996 if test "$wxUSE_CLIPBOARD" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_CLIPBOARD 1
46004 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46005 if test "$wxUSE_GTK" = 1; then
46006 if test "$WXGTK12" != 1; then
46007 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46008 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46009 wxUSE_DRAG_AND_DROP
=no
46013 if test "$wxUSE_MOTIF" = 1; then
46014 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46015 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46016 wxUSE_DRAG_AND_DROP
=no
46019 if test "$wxUSE_X11" = 1; then
46020 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46021 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46022 wxUSE_DRAG_AND_DROP
=no
46025 if test "$wxUSE_MGL" = 1; then
46026 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46027 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46028 wxUSE_DRAG_AND_DROP
=no
46031 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46032 cat >>confdefs.h
<<\_ACEOF
46033 #define wxUSE_DRAG_AND_DROP 1
46040 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46044 if test "$wxUSE_SPLINES" = "yes" ; then
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_SPLINES 1
46051 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46052 cat >>confdefs.h
<<\_ACEOF
46053 #define wxUSE_MOUSEWHEEL 1
46060 if test "$wxUSE_CONTROLS" = "yes"; then
46064 if test "$wxUSE_ACCEL" = "yes"; then
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_ACCEL 1
46072 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46073 cat >>confdefs.h
<<\_ACEOF
46074 #define wxUSE_ANIMATIONCTRL 1
46078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46081 if test "$wxUSE_BUTTON" = "yes"; then
46082 cat >>confdefs.h
<<\_ACEOF
46083 #define wxUSE_BUTTON 1
46089 if test "$wxUSE_BMPBUTTON" = "yes"; then
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_BMPBUTTON 1
46097 if test "$wxUSE_CALCTRL" = "yes"; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_CALENDARCTRL 1
46103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46106 if test "$wxUSE_CARET" = "yes"; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_CARET 1
46112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46115 if test "$wxUSE_COLLPANE" = "yes"; then
46116 cat >>confdefs.h
<<\_ACEOF
46117 #define wxUSE_COLLPANE 1
46121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46124 if test "$wxUSE_COMBOBOX" = "yes"; then
46125 cat >>confdefs.h
<<\_ACEOF
46126 #define wxUSE_COMBOBOX 1
46132 if test "$wxUSE_COMBOCTRL" = "yes"; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_COMBOCTRL 1
46140 if test "$wxUSE_CHOICE" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_CHOICE 1
46148 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_CHOICEBOOK 1
46156 if test "$wxUSE_CHECKBOX" = "yes"; then
46157 cat >>confdefs.h
<<\_ACEOF
46158 #define wxUSE_CHECKBOX 1
46164 if test "$wxUSE_CHECKLST" = "yes"; then
46165 cat >>confdefs.h
<<\_ACEOF
46166 #define wxUSE_CHECKLISTBOX 1
46170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46173 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_COLOURPICKERCTRL 1
46181 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46182 cat >>confdefs.h
<<\_ACEOF
46183 #define wxUSE_DATEPICKCTRL 1
46189 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46190 cat >>confdefs.h
<<\_ACEOF
46191 #define wxUSE_DIRPICKERCTRL 1
46197 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46198 cat >>confdefs.h
<<\_ACEOF
46199 #define wxUSE_FILEPICKERCTRL 1
46205 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46206 cat >>confdefs.h
<<\_ACEOF
46207 #define wxUSE_FONTPICKERCTRL 1
46213 if test "$wxUSE_DISPLAY" = "yes"; then
46214 cat >>confdefs.h
<<\_ACEOF
46215 #define wxUSE_DISPLAY 1
46218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46221 if test "$wxUSE_DETECT_SM" = "yes"; then
46222 cat >>confdefs.h
<<\_ACEOF
46223 #define wxUSE_DETECT_SM 1
46228 if test "$wxUSE_GAUGE" = "yes"; then
46229 cat >>confdefs.h
<<\_ACEOF
46230 #define wxUSE_GAUGE 1
46236 if test "$wxUSE_GRID" = "yes"; then
46237 cat >>confdefs.h
<<\_ACEOF
46238 #define wxUSE_GRID 1
46242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46245 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46246 cat >>confdefs.h
<<\_ACEOF
46247 #define wxUSE_HYPERLINKCTRL 1
46253 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46254 cat >>confdefs.h
<<\_ACEOF
46255 #define wxUSE_BITMAPCOMBOBOX 1
46261 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46262 cat >>confdefs.h
<<\_ACEOF
46263 #define wxUSE_DATAVIEWCTRL 1
46267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46270 if test "$wxUSE_IMAGLIST" = "yes"; then
46271 cat >>confdefs.h
<<\_ACEOF
46272 #define wxUSE_IMAGLIST 1
46277 if test "$wxUSE_LISTBOOK" = "yes"; then
46278 cat >>confdefs.h
<<\_ACEOF
46279 #define wxUSE_LISTBOOK 1
46285 if test "$wxUSE_LISTBOX" = "yes"; then
46286 cat >>confdefs.h
<<\_ACEOF
46287 #define wxUSE_LISTBOX 1
46291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46294 if test "$wxUSE_LISTCTRL" = "yes"; then
46295 if test "$wxUSE_IMAGLIST" = "yes"; then
46296 cat >>confdefs.h
<<\_ACEOF
46297 #define wxUSE_LISTCTRL 1
46301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46303 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46304 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46308 if test "$wxUSE_NOTEBOOK" = "yes"; then
46309 cat >>confdefs.h
<<\_ACEOF
46310 #define wxUSE_NOTEBOOK 1
46314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46317 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46318 cat >>confdefs.h
<<\_ACEOF
46319 #define wxUSE_ODCOMBOBOX 1
46323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46327 if test "$wxUSE_RADIOBOX" = "yes"; then
46328 cat >>confdefs.h
<<\_ACEOF
46329 #define wxUSE_RADIOBOX 1
46335 if test "$wxUSE_RADIOBTN" = "yes"; then
46336 cat >>confdefs.h
<<\_ACEOF
46337 #define wxUSE_RADIOBTN 1
46343 if test "$wxUSE_SASH" = "yes"; then
46344 cat >>confdefs.h
<<\_ACEOF
46345 #define wxUSE_SASH 1
46348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46351 if test "$wxUSE_SCROLLBAR" = "yes"; then
46352 cat >>confdefs.h
<<\_ACEOF
46353 #define wxUSE_SCROLLBAR 1
46357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46360 if test "$wxUSE_SLIDER" = "yes"; then
46361 cat >>confdefs.h
<<\_ACEOF
46362 #define wxUSE_SLIDER 1
46368 if test "$wxUSE_SPINBTN" = "yes"; then
46369 cat >>confdefs.h
<<\_ACEOF
46370 #define wxUSE_SPINBTN 1
46376 if test "$wxUSE_SPINCTRL" = "yes"; then
46377 cat >>confdefs.h
<<\_ACEOF
46378 #define wxUSE_SPINCTRL 1
46384 if test "$wxUSE_SPLITTER" = "yes"; then
46385 cat >>confdefs.h
<<\_ACEOF
46386 #define wxUSE_SPLITTER 1
46389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46392 if test "$wxUSE_STATBMP" = "yes"; then
46393 cat >>confdefs.h
<<\_ACEOF
46394 #define wxUSE_STATBMP 1
46400 if test "$wxUSE_STATBOX" = "yes"; then
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define wxUSE_STATBOX 1
46408 if test "$wxUSE_STATTEXT" = "yes"; then
46409 cat >>confdefs.h
<<\_ACEOF
46410 #define wxUSE_STATTEXT 1
46416 if test "$wxUSE_STATLINE" = "yes"; then
46417 cat >>confdefs.h
<<\_ACEOF
46418 #define wxUSE_STATLINE 1
46424 if test "$wxUSE_STATUSBAR" = "yes"; then
46425 cat >>confdefs.h
<<\_ACEOF
46426 #define wxUSE_NATIVE_STATUSBAR 1
46429 cat >>confdefs.h
<<\_ACEOF
46430 #define wxUSE_STATUSBAR 1
46435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46438 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46439 cat >>confdefs.h
<<\_ACEOF
46440 #define wxUSE_TAB_DIALOG 1
46445 if test "$wxUSE_TEXTCTRL" = "yes"; then
46446 cat >>confdefs.h
<<\_ACEOF
46447 #define wxUSE_TEXTCTRL 1
46451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46454 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46455 if test "$wxUSE_COCOA" = 1 ; then
46456 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46457 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46461 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46462 cat >>confdefs.h
<<\_ACEOF
46463 #define wxUSE_TOGGLEBTN 1
46470 if test "$wxUSE_TOOLBAR" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_TOOLBAR 1
46477 if test "$wxUSE_UNIVERSAL" = "yes"; then
46478 wxUSE_TOOLBAR_NATIVE
="no"
46480 wxUSE_TOOLBAR_NATIVE
="yes"
46481 cat >>confdefs.h
<<\_ACEOF
46482 #define wxUSE_TOOLBAR_NATIVE 1
46487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46490 if test "$wxUSE_TOOLTIPS" = "yes"; then
46491 if test "$wxUSE_MOTIF" = 1; then
46492 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46493 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46495 if test "$wxUSE_UNIVERSAL" = "yes"; then
46496 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46497 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46499 cat >>confdefs.h
<<\_ACEOF
46500 #define wxUSE_TOOLTIPS 1
46507 if test "$wxUSE_TREEBOOK" = "yes"; then
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_TREEBOOK 1
46515 if test "$wxUSE_TOOLBOOK" = "yes"; then
46516 cat >>confdefs.h
<<\_ACEOF
46517 #define wxUSE_TOOLBOOK 1
46523 if test "$wxUSE_TREECTRL" = "yes"; then
46524 if test "$wxUSE_IMAGLIST" = "yes"; then
46525 cat >>confdefs.h
<<\_ACEOF
46526 #define wxUSE_TREECTRL 1
46530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46532 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46533 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46537 if test "$wxUSE_POPUPWIN" = "yes"; then
46538 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46539 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46540 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46542 if test "$wxUSE_PM" = 1; then
46543 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46544 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46546 cat >>confdefs.h
<<\_ACEOF
46547 #define wxUSE_POPUPWIN 1
46550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46557 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46558 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46559 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46560 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46562 cat >>confdefs.h
<<\_ACEOF
46563 #define wxUSE_DIALUP_MANAGER 1
46566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46570 if test "$wxUSE_TIPWINDOW" = "yes"; then
46571 if test "$wxUSE_PM" = 1; then
46572 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46573 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46575 cat >>confdefs.h
<<\_ACEOF
46576 #define wxUSE_TIPWINDOW 1
46582 if test "$USES_CONTROLS" = 1; then
46583 cat >>confdefs.h
<<\_ACEOF
46584 #define wxUSE_CONTROLS 1
46590 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46591 cat >>confdefs.h
<<\_ACEOF
46592 #define wxUSE_ACCESSIBILITY 1
46595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46598 if test "$wxUSE_DC_CACHEING" = "yes"; then
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_DC_CACHEING 1
46605 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46606 cat >>confdefs.h
<<\_ACEOF
46607 #define wxUSE_DRAGIMAGE 1
46610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46613 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46614 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46615 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46616 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46618 cat >>confdefs.h
<<\_ACEOF
46619 #define wxUSE_EXCEPTIONS 1
46622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46627 if test "$wxUSE_HTML" = "yes"; then
46628 cat >>confdefs.h
<<\_ACEOF
46629 #define wxUSE_HTML 1
46633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46634 if test "$wxUSE_MAC" = 1; then
46635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46638 if test "$wxUSE_WEBKIT" = "yes"; then
46639 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46640 old_CPPFLAGS
="$CPPFLAGS"
46641 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46642 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46643 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46644 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46645 echo $ECHO_N "(cached) $ECHO_C" >&6
46647 cat >conftest.
$ac_ext <<_ACEOF
46650 cat confdefs.h
>>conftest.
$ac_ext
46651 cat >>conftest.
$ac_ext <<_ACEOF
46652 /* end confdefs.h. */
46653 #include <Carbon/Carbon.h>
46655 #include <WebKit/HIWebView.h>
46657 rm -f conftest.
$ac_objext
46658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46659 (eval $ac_compile) 2>conftest.er1
46661 grep -v '^ *+' conftest.er1
>conftest.err
46663 cat conftest.err
>&5
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); } &&
46666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46668 (eval $ac_try) 2>&5
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); }; } &&
46672 { ac_try
='test -s conftest.$ac_objext'
46673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46674 (eval $ac_try) 2>&5
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); }; }; then
46678 ac_cv_header_WebKit_HIWebView_h
=yes
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.
$ac_ext >&5
46683 ac_cv_header_WebKit_HIWebView_h
=no
46685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46687 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46688 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46689 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46691 cat >>confdefs.h
<<\_ACEOF
46692 #define wxUSE_WEBKIT 1
46695 WEBKIT_LINK
="-framework WebKit"
46699 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46700 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46706 CPPFLAGS
="$old_CPPFLAGS"
46707 elif test "$wxUSE_COCOA" = 1; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_WEBKIT 1
46718 if test "$wxUSE_XRC" = "yes"; then
46719 if test "$wxUSE_XML" != "yes"; then
46720 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46721 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_XRC 1
46729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46734 if test "$wxUSE_AUI" = "yes"; then
46735 cat >>confdefs.h
<<\_ACEOF
46736 #define wxUSE_AUI 1
46740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46743 if test "$wxUSE_MENUS" = "yes"; then
46744 cat >>confdefs.h
<<\_ACEOF
46745 #define wxUSE_MENUS 1
46748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46751 if test "$wxUSE_METAFILE" = "yes"; then
46752 cat >>confdefs.h
<<\_ACEOF
46753 #define wxUSE_METAFILE 1
46758 if test "$wxUSE_MIMETYPE" = "yes"; then
46759 cat >>confdefs.h
<<\_ACEOF
46760 #define wxUSE_MIMETYPE 1
46765 if test "$wxUSE_MINIFRAME" = "yes"; then
46766 cat >>confdefs.h
<<\_ACEOF
46767 #define wxUSE_MINIFRAME 1
46770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46773 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46774 cat >>confdefs.h
<<\_ACEOF
46775 #define wxUSE_SYSTEM_OPTIONS 1
46778 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46779 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46785 if test "$wxUSE_VALIDATORS" = "yes"; then
46786 cat >>confdefs.h
<<\_ACEOF
46787 #define wxUSE_VALIDATORS 1
46790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46793 if test "$wxUSE_PALETTE" = "yes" ; then
46794 cat >>confdefs.h
<<\_ACEOF
46795 #define wxUSE_PALETTE 1
46800 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46801 LIBS
=" -lunicows $LIBS"
46805 if test "$wxUSE_RICHTEXT" = "yes"; then
46806 cat >>confdefs.h
<<\_ACEOF
46807 #define wxUSE_RICHTEXT 1
46811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46815 if test "$wxUSE_IMAGE" = "yes" ; then
46816 cat >>confdefs.h
<<\_ACEOF
46817 #define wxUSE_IMAGE 1
46821 if test "$wxUSE_GIF" = "yes" ; then
46822 cat >>confdefs.h
<<\_ACEOF
46823 #define wxUSE_GIF 1
46828 if test "$wxUSE_PCX" = "yes" ; then
46829 cat >>confdefs.h
<<\_ACEOF
46830 #define wxUSE_PCX 1
46835 if test "$wxUSE_TGA" = "yes" ; then
46836 cat >>confdefs.h
<<\_ACEOF
46837 #define wxUSE_TGA 1
46842 if test "$wxUSE_IFF" = "yes" ; then
46843 cat >>confdefs.h
<<\_ACEOF
46844 #define wxUSE_IFF 1
46849 if test "$wxUSE_PNM" = "yes" ; then
46850 cat >>confdefs.h
<<\_ACEOF
46851 #define wxUSE_PNM 1
46856 if test "$wxUSE_XPM" = "yes" ; then
46857 cat >>confdefs.h
<<\_ACEOF
46858 #define wxUSE_XPM 1
46863 if test "$wxUSE_ICO_CUR" = "yes" ; then
46864 cat >>confdefs.h
<<\_ACEOF
46865 #define wxUSE_ICO_CUR 1
46872 if test "$wxUSE_ABOUTDLG" = "yes"; then
46873 cat >>confdefs.h
<<\_ACEOF
46874 #define wxUSE_ABOUTDLG 1
46879 if test "$wxUSE_CHOICEDLG" = "yes"; then
46880 cat >>confdefs.h
<<\_ACEOF
46881 #define wxUSE_CHOICEDLG 1
46886 if test "$wxUSE_COLOURDLG" = "yes"; then
46887 cat >>confdefs.h
<<\_ACEOF
46888 #define wxUSE_COLOURDLG 1
46893 if test "$wxUSE_FILEDLG" = "yes"; then
46894 cat >>confdefs.h
<<\_ACEOF
46895 #define wxUSE_FILEDLG 1
46900 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_FINDREPLDLG 1
46907 if test "$wxUSE_FONTDLG" = "yes"; then
46908 cat >>confdefs.h
<<\_ACEOF
46909 #define wxUSE_FONTDLG 1
46914 if test "$wxUSE_DIRDLG" = "yes"; then
46915 if test "$wxUSE_TREECTRL" != "yes"; then
46916 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46917 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46919 cat >>confdefs.h
<<\_ACEOF
46920 #define wxUSE_DIRDLG 1
46926 if test "$wxUSE_MSGDLG" = "yes"; then
46927 cat >>confdefs.h
<<\_ACEOF
46928 #define wxUSE_MSGDLG 1
46933 if test "$wxUSE_NUMBERDLG" = "yes"; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_NUMBERDLG 1
46940 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46941 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46942 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46943 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46945 cat >>confdefs.h
<<\_ACEOF
46946 #define wxUSE_PROGRESSDLG 1
46952 if test "$wxUSE_SPLASH" = "yes"; then
46953 cat >>confdefs.h
<<\_ACEOF
46954 #define wxUSE_SPLASH 1
46957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46960 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46961 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46962 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46963 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46965 cat >>confdefs.h
<<\_ACEOF
46966 #define wxUSE_STARTUP_TIPS 1
46972 if test "$wxUSE_TEXTDLG" = "yes"; then
46973 cat >>confdefs.h
<<\_ACEOF
46974 #define wxUSE_TEXTDLG 1
46979 if test "$wxUSE_WIZARDDLG" = "yes"; then
46980 cat >>confdefs.h
<<\_ACEOF
46981 #define wxUSE_WIZARDDLG 1
46984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46988 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46990 cat >>confdefs.h
<<\_ACEOF
46991 #define wxUSE_GRAPHICS_CONTEXT 1
46994 elif test "$wxUSE_GTK" != 1; then
46995 cat >>confdefs.h
<<\_ACEOF
46996 #define wxUSE_GRAPHICS_CONTEXT 1
47002 echo "$as_me:$LINENO: checking for CAIRO" >&5
47003 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47005 if test -n "$PKG_CONFIG"; then
47006 if test -n "$CAIRO_CFLAGS"; then
47007 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47009 if test -n "$PKG_CONFIG" && \
47010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47011 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47014 (exit $ac_status); }; then
47015 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47023 if test -n "$PKG_CONFIG"; then
47024 if test -n "$CAIRO_LIBS"; then
47025 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47027 if test -n "$PKG_CONFIG" && \
47028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47029 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032 (exit $ac_status); }; then
47033 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47044 if test $pkg_failed = yes; then
47046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47047 _pkg_short_errors_supported
=yes
47049 _pkg_short_errors_supported
=no
47051 if test $_pkg_short_errors_supported = yes; then
47052 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47054 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47056 # Put the nasty error message in config.log where it belongs
47057 echo "$CAIRO_PKG_ERRORS" >&5
47059 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47060 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47062 elif test $pkg_failed = untried
; then
47063 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47064 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47067 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47068 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47069 echo "$as_me:$LINENO: result: yes" >&5
47070 echo "${ECHO_T}yes" >&6
47071 cat >>confdefs.h
<<\_ACEOF
47072 #define wxUSE_GRAPHICS_CONTEXT 1
47082 if test "$wxUSE_MEDIACTRL" = "yes"; then
47085 if test "$wxUSE_GTK" = 1; then
47086 wxUSE_GSTREAMER
="no"
47088 GST_VERSION_MAJOR
=0
47089 GST_VERSION_MINOR
=10
47090 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47092 if test "$wxUSE_GSTREAMER8" = "no"; then
47095 echo "$as_me:$LINENO: checking for GST" >&5
47096 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47098 if test -n "$PKG_CONFIG"; then
47099 if test -n "$GST_CFLAGS"; then
47100 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47102 if test -n "$PKG_CONFIG" && \
47103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47104 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47107 (exit $ac_status); }; then
47108 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47116 if test -n "$PKG_CONFIG"; then
47117 if test -n "$GST_LIBS"; then
47118 pkg_cv_GST_LIBS
="$GST_LIBS"
47120 if test -n "$PKG_CONFIG" && \
47121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47122 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; then
47126 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47137 if test $pkg_failed = yes; then
47139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47140 _pkg_short_errors_supported
=yes
47142 _pkg_short_errors_supported
=no
47144 if test $_pkg_short_errors_supported = yes; then
47145 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47147 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47149 # Put the nasty error message in config.log where it belongs
47150 echo "$GST_PKG_ERRORS" >&5
47153 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47154 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47155 GST_VERSION_MINOR
=8
47158 elif test $pkg_failed = untried
; then
47160 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47161 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47162 GST_VERSION_MINOR
=8
47166 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47167 GST_LIBS
=$pkg_cv_GST_LIBS
47168 echo "$as_me:$LINENO: result: yes" >&5
47169 echo "${ECHO_T}yes" >&6
47171 wxUSE_GSTREAMER
="yes"
47172 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47176 GST_VERSION_MINOR
=8
47179 if test $GST_VERSION_MINOR = "8"; then
47180 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47183 echo "$as_me:$LINENO: checking for GST" >&5
47184 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47186 if test -n "$PKG_CONFIG"; then
47187 if test -n "$GST_CFLAGS"; then
47188 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47190 if test -n "$PKG_CONFIG" && \
47191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47192 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); }; then
47196 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47204 if test -n "$PKG_CONFIG"; then
47205 if test -n "$GST_LIBS"; then
47206 pkg_cv_GST_LIBS
="$GST_LIBS"
47208 if test -n "$PKG_CONFIG" && \
47209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47210 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213 (exit $ac_status); }; then
47214 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47225 if test $pkg_failed = yes; then
47227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47228 _pkg_short_errors_supported
=yes
47230 _pkg_short_errors_supported
=no
47232 if test $_pkg_short_errors_supported = yes; then
47233 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47235 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47237 # Put the nasty error message in config.log where it belongs
47238 echo "$GST_PKG_ERRORS" >&5
47241 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47242 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47244 elif test $pkg_failed = untried
; then
47246 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47247 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47250 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47251 GST_LIBS
=$pkg_cv_GST_LIBS
47252 echo "$as_me:$LINENO: result: yes" >&5
47253 echo "${ECHO_T}yes" >&6
47254 wxUSE_GSTREAMER
="yes"
47259 if test "$wxUSE_GSTREAMER" = "yes"; then
47262 if "$GCC" = yes; then
47263 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47264 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47268 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47269 LIBS
="$GST_LIBS $LIBS"
47271 cat >>confdefs.h
<<\_ACEOF
47272 #define wxUSE_GSTREAMER 1
47280 if test $USE_MEDIA = 1; then
47281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_MEDIACTRL 1
47290 if test "$cross_compiling" = "yes"; then
47293 OSINFO
=`uname -s -r -m`
47294 OSINFO
="\"$OSINFO\""
47297 cat >>confdefs.h
<<_ACEOF
47298 #define WXWIN_OS_DESCRIPTION $OSINFO
47303 if test "x$prefix" != "xNONE"; then
47306 wxPREFIX
=$ac_default_prefix
47309 cat >>confdefs.h
<<_ACEOF
47310 #define wxINSTALL_PREFIX "$wxPREFIX"
47316 CORE_BASE_LIBS
="net base"
47317 CORE_GUI_LIBS
="adv core"
47319 if test "$wxUSE_XML" = "yes" ; then
47320 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47322 if test "$wxUSE_ODBC" != "no" ; then
47323 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47324 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47326 if test "$wxUSE_HTML" = "yes" ; then
47327 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47329 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47330 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47332 if test "$wxUSE_XRC" = "yes" ; then
47333 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47335 if test "$wxUSE_AUI" = "yes" ; then
47336 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47339 if test "$wxUSE_GUI" != "yes"; then
47348 ac_cpp
='$CPP $CPPFLAGS'
47349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47355 if test "$wxUSE_MAC" = 1 ; then
47356 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47357 if test "$USE_DARWIN" = 1; then
47358 LDFLAGS
="$LDFLAGS -framework QuickTime"
47360 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47363 if test "$USE_DARWIN" = 1; then
47364 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47366 LDFLAGS
="$LDFLAGS -lCarbonLib"
47369 if test "$wxUSE_COCOA" = 1 ; then
47370 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47371 if test "$wxUSE_MEDIACTRL" = "yes"; then
47372 LDFLAGS
="$LDFLAGS -framework QuickTime"
47375 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47376 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47379 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47381 if test "$wxUSE_GUI" = "yes"; then
47384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47385 dynamic erase event exec font image minimal mobile \
47386 mobile/wxedit mobile/styles propsize render \
47387 rotate shaped vscroll widgets"
47389 if test "$wxUSE_MONOLITHIC" != "yes"; then
47390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47392 if test "$TOOLKIT" = "MSW"; then
47393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47394 if test "$wxUSE_UNIVERSAL" != "yes"; then
47395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47398 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47402 SAMPLES_SUBDIRS
="console"
47406 if test "x$INTELCC" = "xyes" ; then
47407 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47408 elif test "$GCC" = yes ; then
47409 CWARNINGS
="-Wall -Wundef"
47412 if test "x$INTELCXX" = "xyes" ; then
47413 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47414 elif test "$GXX" = yes ; then
47415 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47419 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47420 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47423 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47424 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47425 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47428 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47429 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47430 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47432 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47435 if test "x$MWCC" = "xyes"; then
47437 CC
="$CC -cwd source -I-"
47438 CXX
="$CXX -cwd source -I-"
47443 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47444 EXTRALIBS_XML
="$EXPAT_LINK"
47445 EXTRALIBS_HTML
="$MSPACK_LINK"
47446 EXTRALIBS_ODBC
="$ODBC_LINK"
47447 if test "$wxUSE_GUI" = "yes"; then
47448 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47450 if test "$wxUSE_OPENGL" = "yes"; then
47451 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47454 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47456 WXCONFIG_LIBS
="$LIBS"
47458 if test "$wxUSE_REGEX" = "builtin" ; then
47459 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47461 if test "$wxUSE_EXPAT" = "builtin" ; then
47462 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47464 if test "$wxUSE_ODBC" = "builtin" ; then
47465 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47467 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47468 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47470 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47471 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47473 if test "$wxUSE_LIBPNG" = "builtin" ; then
47474 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47476 if test "$wxUSE_ZLIB" = "builtin" ; then
47477 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47480 for i
in $wxconfig_3rdparty ; do
47481 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47485 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47488 case "$wxUNIV_THEMES" in
47490 cat >>confdefs.h
<<\_ACEOF
47491 #define wxUSE_ALL_THEMES 1
47497 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47498 cat >>confdefs.h
<<_ACEOF
47499 #define wxUSE_THEME_$t 1
47516 if test $wxUSE_MONOLITHIC = "yes" ; then
47522 if test $wxUSE_PLUGINS = "yes" ; then
47528 if test $wxUSE_ODBC != "no" ; then
47534 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47540 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47570 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47581 TOOLKIT_DESC
="GTK+"
47582 if test "$WXGTK20" = 1; then
47583 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47584 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47585 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47587 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47588 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47590 if test "$wxUSE_LIBHILDON" = "yes"; then
47591 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47594 if test "$TOOLKIT_EXTRA" != ""; then
47595 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47601 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47605 TOOLKIT_DESC
="base only"
47609 if test "$wxUSE_WINE" = "yes"; then
47610 BAKEFILE_FORCE_PLATFORM
=win32
47613 if test "$wxUSE_MAC" = 1 ; then
47614 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47615 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47616 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47618 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47620 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47621 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47622 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47623 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47626 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47627 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47630 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47632 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47633 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47634 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47635 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 echo '#include <stdio.h>
47639 const wchar_t test_var[] = L"awidetest";' > conftest.h
47641 echo '#include "conftest.h"
47644 printf("%ls", test_var);
47648 wx_cv_gcc_pch_bug
="pch not supported"
47650 if $CXX conftest.h
>/dev
/null
2>&1
47654 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47656 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47657 grep awidetest
>/dev
/null
47659 wx_cv_gcc_pch_bug
=no
47661 wx_cv_gcc_pch_bug
=yes
47666 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47669 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47670 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47672 if test "$wx_cv_gcc_pch_bug" = yes; then
47680 if test "x$BAKEFILE_HOST" = "x"; then
47681 if test "x${host}" = "x" ; then
47682 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47683 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47684 { (exit 1); exit 1; }; }
47687 BAKEFILE_HOST
="${host}"
47690 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47692 if test -n "$ac_tool_prefix"; then
47693 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47694 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47695 echo "$as_me:$LINENO: checking for $ac_word" >&5
47696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47697 if test "${ac_cv_prog_RANLIB+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 if test -n "$RANLIB"; then
47701 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47704 for as_dir
in $PATH
47707 test -z "$as_dir" && as_dir
=.
47708 for ac_exec_ext
in '' $ac_executable_extensions; do
47709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47710 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47719 RANLIB
=$ac_cv_prog_RANLIB
47720 if test -n "$RANLIB"; then
47721 echo "$as_me:$LINENO: result: $RANLIB" >&5
47722 echo "${ECHO_T}$RANLIB" >&6
47724 echo "$as_me:$LINENO: result: no" >&5
47725 echo "${ECHO_T}no" >&6
47729 if test -z "$ac_cv_prog_RANLIB"; then
47730 ac_ct_RANLIB
=$RANLIB
47731 # Extract the first word of "ranlib", so it can be a program name with args.
47732 set dummy ranlib
; ac_word
=$2
47733 echo "$as_me:$LINENO: checking for $ac_word" >&5
47734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47735 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47736 echo $ECHO_N "(cached) $ECHO_C" >&6
47738 if test -n "$ac_ct_RANLIB"; then
47739 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47742 for as_dir
in $PATH
47745 test -z "$as_dir" && as_dir
=.
47746 for ac_exec_ext
in '' $ac_executable_extensions; do
47747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47748 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47755 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47758 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47759 if test -n "$ac_ct_RANLIB"; then
47760 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47761 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47763 echo "$as_me:$LINENO: result: no" >&5
47764 echo "${ECHO_T}no" >&6
47767 RANLIB
=$ac_ct_RANLIB
47769 RANLIB
="$ac_cv_prog_RANLIB"
47772 # Find a good install program. We prefer a C program (faster),
47773 # so one script is as good as another. But avoid the broken or
47774 # incompatible versions:
47775 # SysV /etc/install, /usr/sbin/install
47776 # SunOS /usr/etc/install
47777 # IRIX /sbin/install
47779 # AmigaOS /C/install, which installs bootblocks on floppy discs
47780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47783 # OS/2's system install, which has a completely different semantic
47784 # ./install, which can be erroneously created by make from ./install.sh.
47785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47787 if test -z "$INSTALL"; then
47788 if test "${ac_cv_path_install+set}" = set; then
47789 echo $ECHO_N "(cached) $ECHO_C" >&6
47791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47792 for as_dir
in $PATH
47795 test -z "$as_dir" && as_dir
=.
47796 # Account for people who put trailing slashes in PATH elements.
47798 .
/ | .
// | /cC
/* | \
47799 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47800 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47803 # OSF1 and SCO ODT 3.0 have their own names for install.
47804 # Don't use installbsd from OSF since it installs stuff as root
47806 for ac_prog
in ginstall scoinst
install; do
47807 for ac_exec_ext
in '' $ac_executable_extensions; do
47808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47809 if test $ac_prog = install &&
47810 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47811 # AIX install. It has an incompatible calling convention.
47813 elif test $ac_prog = install &&
47814 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47815 # program-specific install script used by HP pwplus--don't use.
47818 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47830 if test "${ac_cv_path_install+set}" = set; then
47831 INSTALL
=$ac_cv_path_install
47833 # As a last resort, use the slow shell script. We don't cache a
47834 # path for INSTALL within a source directory, because that will
47835 # break other packages using the cache if that directory is
47836 # removed, or if the path is relative.
47837 INSTALL
=$ac_install_sh
47840 echo "$as_me:$LINENO: result: $INSTALL" >&5
47841 echo "${ECHO_T}$INSTALL" >&6
47843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47844 # It thinks the first close brace ends the variable substitution.
47845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47849 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47851 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47854 if test "$LN_S" = "ln -s"; then
47855 echo "$as_me:$LINENO: result: yes" >&5
47856 echo "${ECHO_T}yes" >&6
47858 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47859 echo "${ECHO_T}no, using $LN_S" >&6
47863 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47865 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47866 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47867 echo $ECHO_N "(cached) $ECHO_C" >&6
47869 cat >conftest.
make <<\_ACEOF
47871 @
echo 'ac_maketemp="$(MAKE)"'
47873 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47874 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47875 if test -n "$ac_maketemp"; then
47876 eval ac_cv_prog_make_
${ac_make}_set
=yes
47878 eval ac_cv_prog_make_
${ac_make}_set
=no
47880 rm -f conftest.
make
47882 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47883 echo "$as_me:$LINENO: result: yes" >&5
47884 echo "${ECHO_T}yes" >&6
47887 echo "$as_me:$LINENO: result: no" >&5
47888 echo "${ECHO_T}no" >&6
47889 SET_MAKE
="MAKE=${MAKE-make}"
47894 if test -n "$ac_tool_prefix"; then
47895 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47896 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47897 echo "$as_me:$LINENO: checking for $ac_word" >&5
47898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47899 if test "${ac_cv_prog_AR+set}" = set; then
47900 echo $ECHO_N "(cached) $ECHO_C" >&6
47902 if test -n "$AR"; then
47903 ac_cv_prog_AR
="$AR" # Let the user override the test.
47905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47906 for as_dir
in $PATH
47909 test -z "$as_dir" && as_dir
=.
47910 for ac_exec_ext
in '' $ac_executable_extensions; do
47911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47912 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47922 if test -n "$AR"; then
47923 echo "$as_me:$LINENO: result: $AR" >&5
47924 echo "${ECHO_T}$AR" >&6
47926 echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6
47931 if test -z "$ac_cv_prog_AR"; then
47933 # Extract the first word of "ar", so it can be a program name with args.
47934 set dummy
ar; ac_word
=$2
47935 echo "$as_me:$LINENO: checking for $ac_word" >&5
47936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47937 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47940 if test -n "$ac_ct_AR"; then
47941 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47944 for as_dir
in $PATH
47947 test -z "$as_dir" && as_dir
=.
47948 for ac_exec_ext
in '' $ac_executable_extensions; do
47949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47950 ac_cv_prog_ac_ct_AR
="ar"
47951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47957 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47960 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47961 if test -n "$ac_ct_AR"; then
47962 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47963 echo "${ECHO_T}$ac_ct_AR" >&6
47965 echo "$as_me:$LINENO: result: no" >&5
47966 echo "${ECHO_T}no" >&6
47971 AR
="$ac_cv_prog_AR"
47974 if test -n "$ac_tool_prefix"; then
47975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47976 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47977 echo "$as_me:$LINENO: checking for $ac_word" >&5
47978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47979 if test "${ac_cv_prog_STRIP+set}" = set; then
47980 echo $ECHO_N "(cached) $ECHO_C" >&6
47982 if test -n "$STRIP"; then
47983 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47986 for as_dir
in $PATH
47989 test -z "$as_dir" && as_dir
=.
47990 for ac_exec_ext
in '' $ac_executable_extensions; do
47991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47992 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48001 STRIP
=$ac_cv_prog_STRIP
48002 if test -n "$STRIP"; then
48003 echo "$as_me:$LINENO: result: $STRIP" >&5
48004 echo "${ECHO_T}$STRIP" >&6
48006 echo "$as_me:$LINENO: result: no" >&5
48007 echo "${ECHO_T}no" >&6
48011 if test -z "$ac_cv_prog_STRIP"; then
48013 # Extract the first word of "strip", so it can be a program name with args.
48014 set dummy strip
; ac_word
=$2
48015 echo "$as_me:$LINENO: checking for $ac_word" >&5
48016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48017 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48018 echo $ECHO_N "(cached) $ECHO_C" >&6
48020 if test -n "$ac_ct_STRIP"; then
48021 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48024 for as_dir
in $PATH
48027 test -z "$as_dir" && as_dir
=.
48028 for ac_exec_ext
in '' $ac_executable_extensions; do
48029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48030 ac_cv_prog_ac_ct_STRIP
="strip"
48031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48037 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48040 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48041 if test -n "$ac_ct_STRIP"; then
48042 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48043 echo "${ECHO_T}$ac_ct_STRIP" >&6
48045 echo "$as_me:$LINENO: result: no" >&5
48046 echo "${ECHO_T}no" >&6
48051 STRIP
="$ac_cv_prog_STRIP"
48054 if test -n "$ac_tool_prefix"; then
48055 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48056 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48057 echo "$as_me:$LINENO: checking for $ac_word" >&5
48058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48059 if test "${ac_cv_prog_NM+set}" = set; then
48060 echo $ECHO_N "(cached) $ECHO_C" >&6
48062 if test -n "$NM"; then
48063 ac_cv_prog_NM
="$NM" # Let the user override the test.
48065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48066 for as_dir
in $PATH
48069 test -z "$as_dir" && as_dir
=.
48070 for ac_exec_ext
in '' $ac_executable_extensions; do
48071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48072 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48082 if test -n "$NM"; then
48083 echo "$as_me:$LINENO: result: $NM" >&5
48084 echo "${ECHO_T}$NM" >&6
48086 echo "$as_me:$LINENO: result: no" >&5
48087 echo "${ECHO_T}no" >&6
48091 if test -z "$ac_cv_prog_NM"; then
48093 # Extract the first word of "nm", so it can be a program name with args.
48094 set dummy nm
; ac_word
=$2
48095 echo "$as_me:$LINENO: checking for $ac_word" >&5
48096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48097 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48098 echo $ECHO_N "(cached) $ECHO_C" >&6
48100 if test -n "$ac_ct_NM"; then
48101 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48104 for as_dir
in $PATH
48107 test -z "$as_dir" && as_dir
=.
48108 for ac_exec_ext
in '' $ac_executable_extensions; do
48109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48110 ac_cv_prog_ac_ct_NM
="nm"
48111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48117 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48120 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48121 if test -n "$ac_ct_NM"; then
48122 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48123 echo "${ECHO_T}$ac_ct_NM" >&6
48125 echo "$as_me:$LINENO: result: no" >&5
48126 echo "${ECHO_T}no" >&6
48131 NM
="$ac_cv_prog_NM"
48135 case ${BAKEFILE_HOST} in
48137 INSTALL_DIR
="mkdir -p"
48139 *) INSTALL_DIR
="$INSTALL -d"
48145 case ${BAKEFILE_HOST} in
48146 *-*-cygwin* | *-*-mingw32* )
48147 LDFLAGS_GUI
="-mwindows"
48153 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48154 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48155 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48156 echo $ECHO_N "(cached) $ECHO_C" >&6
48159 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48160 egrep -s GNU
> /dev
/null
); then
48161 bakefile_cv_prog_makeisgnu
="yes"
48163 bakefile_cv_prog_makeisgnu
="no"
48167 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48168 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48170 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48187 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48188 case "${BAKEFILE_HOST}" in
48195 *-pc-os2_emx | *-pc-os2-emx )
48205 powerpc
-apple-macos* )
48214 case "$BAKEFILE_FORCE_PLATFORM" in
48235 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48236 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48237 { (exit 1); exit 1; }; }
48252 # Check whether --enable-omf or --disable-omf was given.
48253 if test "${enable_omf+set}" = set; then
48254 enableval
="$enable_omf"
48255 bk_os2_use_omf
="$enableval"
48258 case "${BAKEFILE_HOST}" in
48260 if test "x$GCC" = "xyes"; then
48261 CFLAGS
="$CFLAGS -fno-common"
48262 CXXFLAGS
="$CXXFLAGS -fno-common"
48264 if test "x$XLCC" = "xyes"; then
48265 CFLAGS
="$CFLAGS -qnocommon"
48266 CXXFLAGS
="$CXXFLAGS -qnocommon"
48270 *-pc-os2_emx | *-pc-os2-emx )
48271 if test "x$bk_os2_use_omf" = "xyes" ; then
48274 LDFLAGS
="-Zomf $LDFLAGS"
48275 CFLAGS
="-Zomf $CFLAGS"
48276 CXXFLAGS
="-Zomf $CXXFLAGS"
48284 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48290 SO_SUFFIX_MODULE
="so"
48295 DLLPREFIX_MODULE
=""
48299 case "${BAKEFILE_HOST}" in
48302 SO_SUFFIX_MODULE
="sl"
48306 SO_SUFFIX_MODULE
="a"
48310 SO_SUFFIX_MODULE
="dll"
48311 DLLIMP_SUFFIX
="dll.a"
48318 SO_SUFFIX_MODULE
="dll"
48319 DLLIMP_SUFFIX
="dll.a"
48329 *-pc-os2_emx | *-pc-os2-emx )
48331 SO_SUFFIX_MODULE
="dll"
48332 DLLIMP_SUFFIX
=$OS2_LIBEXT
48336 LIBEXT
=".$OS2_LIBEXT"
48341 SO_SUFFIX_MODULE
="bundle"
48345 if test "x$DLLIMP_SUFFIX" = "x" ; then
48346 DLLIMP_SUFFIX
="$SO_SUFFIX"
48361 if test "x$GCC" = "xyes"; then
48365 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48366 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48369 case "${BAKEFILE_HOST}" in
48371 if test "x$GCC" != "xyes"; then
48372 LDFLAGS
="$LDFLAGS -L/usr/lib"
48374 SHARED_LD_CC
="${CC} -b -o"
48375 SHARED_LD_CXX
="${CXX} -b -o"
48381 if test "x$GCC" != "xyes"; then
48382 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48383 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48384 if test "${bakefile_cv_prog_icc+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48388 cat >conftest.
$ac_ext <<_ACEOF
48391 cat confdefs.h
>>conftest.
$ac_ext
48392 cat >>conftest.
$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48399 #ifndef __INTEL_COMPILER
48407 rm -f conftest.
$ac_objext
48408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48409 (eval $ac_compile) 2>conftest.er1
48411 grep -v '^ *+' conftest.er1
>conftest.err
48413 cat conftest.err
>&5
48414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48415 (exit $ac_status); } &&
48416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48418 (eval $ac_try) 2>&5
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); }; } &&
48422 { ac_try
='test -s conftest.$ac_objext'
48423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48424 (eval $ac_try) 2>&5
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); }; }; then
48428 bakefile_cv_prog_icc
=yes
48430 echo "$as_me: failed program was:" >&5
48431 sed 's/^/| /' conftest.
$ac_ext >&5
48433 bakefile_cv_prog_icc
=no
48436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48439 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48440 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48441 if test "$bakefile_cv_prog_icc" = "yes"; then
48448 if test "x$GCC" != xyes
; then
48449 SHARED_LD_CC
="${CC} -G -o"
48450 SHARED_LD_CXX
="${CXX} -G -o"
48458 cat <<EOF >shared-ld-sh
48460 #-----------------------------------------------------------------------------
48461 #-- Name: distrib/mac/shared-ld-sh
48462 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48463 #-- Author: Gilles Depeyrot
48464 #-- Copyright: (c) 2002 Gilles Depeyrot
48465 #-- Licence: any use permitted
48466 #-----------------------------------------------------------------------------
48471 linking_flag="-dynamiclib"
48472 ldargs="-r -keep_private_externs -nostdlib"
48474 while test ${D}# -gt 0; do
48481 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48482 # collect these options and values
48483 args="${D}{args} ${D}1 ${D}2"
48488 # collect these load args
48489 ldargs="${D}{ldargs} ${D}1"
48492 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48493 # collect these options
48494 args="${D}{args} ${D}1"
48497 -dynamiclib|-bundle)
48498 linking_flag="${D}1"
48502 echo "shared-ld: unhandled option '${D}1'"
48506 *.o | *.a | *.dylib)
48507 # collect object files
48508 objects="${D}{objects} ${D}1"
48512 echo "shared-ld: unhandled argument '${D}1'"
48523 # Link one module containing all the others
48525 if test ${D}{verbose} = 1; then
48526 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48528 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48532 # Link the shared library from the single module created, but only if the
48533 # previous command didn't fail:
48535 if test ${D}{status} = 0; then
48536 if test ${D}{verbose} = 1; then
48537 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48539 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48544 # Remove intermediate module
48546 rm -f master.${D}${D}.o
48551 chmod +x shared
-ld-sh
48553 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48554 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48557 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48558 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48559 if test "${bakefile_cv_gcc31+set}" = set; then
48560 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 cat >conftest.
$ac_ext <<_ACEOF
48566 cat confdefs.h
>>conftest.
$ac_ext
48567 cat >>conftest.
$ac_ext <<_ACEOF
48568 /* end confdefs.h. */
48574 #if (__GNUC__ < 3) || \
48575 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48583 rm -f conftest.
$ac_objext
48584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48585 (eval $ac_compile) 2>conftest.er1
48587 grep -v '^ *+' conftest.er1
>conftest.err
48589 cat conftest.err
>&5
48590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48591 (exit $ac_status); } &&
48592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48594 (eval $ac_try) 2>&5
48596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48597 (exit $ac_status); }; } &&
48598 { ac_try
='test -s conftest.$ac_objext'
48599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48600 (eval $ac_try) 2>&5
48602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603 (exit $ac_status); }; }; then
48605 bakefile_cv_gcc31
=yes
48608 echo "$as_me: failed program was:" >&5
48609 sed 's/^/| /' conftest.
$ac_ext >&5
48612 bakefile_cv_gcc31
=no
48616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48619 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48620 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48621 if test "$bakefile_cv_gcc31" = "no"; then
48622 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48623 SHARED_LD_CXX
="$SHARED_LD_CC"
48625 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48626 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48629 if test "x$GCC" == "xyes"; then
48630 PIC_FLAG
="-dynamic -fPIC"
48632 if test "x$XLCC" = "xyes"; then
48633 PIC_FLAG
="-dynamic -DPIC"
48638 if test "x$GCC" = "xyes"; then
48641 case "${BAKEFILE_HOST}" in
48643 LD_EXPFULL
="-Wl,-bexpfull"
48647 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48648 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48650 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48651 set dummy makeC
++SharedLib
; ac_word
=$2
48652 echo "$as_me:$LINENO: checking for $ac_word" >&5
48653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48654 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48655 echo $ECHO_N "(cached) $ECHO_C" >&6
48657 if test -n "$AIX_CXX_LD"; then
48658 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48661 for as_dir
in $PATH
48664 test -z "$as_dir" && as_dir
=.
48665 for ac_exec_ext
in '' $ac_executable_extensions; do
48666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48667 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48674 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48677 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48678 if test -n "$AIX_CXX_LD"; then
48679 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48680 echo "${ECHO_T}$AIX_CXX_LD" >&6
48682 echo "$as_me:$LINENO: result: no" >&5
48683 echo "${ECHO_T}no" >&6
48686 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48687 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48692 SHARED_LD_CC
="${LD} -nostart -o"
48693 SHARED_LD_CXX
="${LD} -nostart -o"
48697 if test "x$GCC" != "xyes"; then
48702 *-*-cygwin* | *-*-mingw32* )
48704 SHARED_LD_CC
="\$(CC) -shared -o"
48705 SHARED_LD_CXX
="\$(CXX) -shared -o"
48709 *-pc-os2_emx | *-pc-os2-emx )
48710 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48711 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48715 cat <<EOF >dllar.sh
48718 # dllar - a tool to build both a .dll and an .a file
48719 # from a set of object (.o) files for EMX/OS2.
48721 # Written by Andrew Zabolotny, bit@freya.etu.ru
48722 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48724 # This script will accept a set of files on the command line.
48725 # All the public symbols from the .o files will be exported into
48726 # a .DEF file, then linker will be run (through gcc) against them to
48727 # build a shared library consisting of all given .o files. All libraries
48728 # (.a) will be first decompressed into component .o files then act as
48729 # described above. You can optionally give a description (-d "description")
48730 # which will be put into .DLL. To see the list of accepted options (as well
48731 # as command-line format) simply run this program without options. The .DLL
48732 # is built to be imported by name (there is no guarantee that new versions
48733 # of the library you build will have same ordinals for same symbols).
48735 # dllar is free software; you can redistribute it and/or modify
48736 # it under the terms of the GNU General Public License as published by
48737 # the Free Software Foundation; either version 2, or (at your option)
48738 # any later version.
48740 # dllar is distributed in the hope that it will be useful,
48741 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48743 # GNU General Public License for more details.
48745 # You should have received a copy of the GNU General Public License
48746 # along with dllar; see the file COPYING. If not, write to the Free
48747 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48750 # To successfuly run this program you will need:
48751 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48752 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48754 # (used to build the .dll)
48756 # (used to create .def file from .o files)
48758 # (used to create .a file from .def file)
48759 # - GNU text utilites (cat, sort, uniq)
48760 # used to process emxexp output
48761 # - GNU file utilities (mv, rm)
48763 # - lxlite (optional, see flag below)
48764 # (used for general .dll cleanup)
48771 # basnam, variant of basename, which does _not_ remove the path, _iff_
48772 # second argument (suffix to remove) is given
48776 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48779 echo ${D}1 | sed 's/'${D}2'${D}//'
48782 echo "error in basnam ${D}*"
48788 # Cleanup temporary files and output
48791 for i in ${D}inputFiles ; do
48794 rm -rf \`basnam ${D}i !\`
48801 # Kill result in case of failure as there is just to many stupid make/nmake
48802 # things out there which doesn't do this.
48803 if [ ${D}# -eq 0 ]; then
48804 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48808 # Print usage and exit script with rc=1.
48810 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48811 echo ' [-name-mangler-script script.sh]'
48812 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48813 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48814 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48815 echo ' [*.o] [*.a]'
48816 echo '*> "output_file" should have no extension.'
48817 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48818 echo ' The import library name is derived from this and is set to "name".a,'
48819 echo ' unless overridden by -import'
48820 echo '*> "importlib_name" should have no extension.'
48821 echo ' If it has the .o, or .a extension, it is automatically removed.'
48822 echo ' This name is used as the import library name and may be longer and'
48823 echo ' more descriptive than the DLL name which has to follow the old '
48824 echo ' 8.3 convention of FAT.'
48825 echo '*> "script.sh may be given to override the output_file name by a'
48826 echo ' different name. It is mainly useful if the regular make process'
48827 echo ' of some package does not take into account OS/2 restriction of'
48828 echo ' DLL name lengths. It takes the importlib name as input and is'
48829 echo ' supposed to procude a shorter name as output. The script should'
48830 echo ' expect to get importlib_name without extension and should produce'
48831 echo ' a (max.) 8 letter name without extension.'
48832 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48833 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48834 echo ' These flags will be put at the start of GCC command line.'
48835 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48836 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48837 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48838 echo ' If the last character of a symbol is "*", all symbols beginning'
48839 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48840 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48841 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48842 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48843 echo ' C runtime DLLs.'
48844 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48845 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48846 echo ' unchanged to GCC at the end of command line.'
48847 echo '*> If you create a DLL from a library and you do not specify -o,'
48848 echo ' the basename for DLL and import library will be set to library name,'
48849 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48850 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48851 echo ' library will be renamed into gcc_s.a.'
48854 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48855 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48860 # Execute a command.
48861 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48862 # @Uses Whatever CleanUp() uses.
48868 if [ ${D}rcCmd -ne 0 ]; then
48869 echo "command failed, exit code="${D}rcCmd
48884 CFLAGS="-s -Zcrtdll"
48886 EXPORT_BY_ORDINALS=0
48891 case ${D}curDirS in
48895 curDirS=${D}{curDirS}"/"
48898 # Parse commandline
48901 while [ ${D}1 ]; do
48904 EXPORT_BY_ORDINALS=1;
48914 -name-mangler-script)
48935 exclude_symbols=${D}{exclude_symbols}${D}1" "
48939 library_flags=${D}{library_flags}${D}1" "
48958 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48961 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48962 if [ ${D}omfLinking -eq 1 ]; then
48963 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48965 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48970 if [ ${D}libsToLink -ne 0 ]; then
48971 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48973 for file in ${D}1 ; do
48974 if [ -f ${D}file ]; then
48975 inputFiles="${D}{inputFiles} ${D}file"
48979 if [ ${D}found -eq 0 ]; then
48980 echo "ERROR: No file(s) found: "${D}1
48987 done # iterate cmdline words
48990 if [ -z "${D}inputFiles" ]; then
48991 echo "dllar: no input files"
48995 # Now extract all .o files from .a files
48997 for file in ${D}inputFiles ; do
49008 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49013 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49015 if [ ${D}? -ne 0 ]; then
49016 echo "Failed to create subdirectory ./${D}dirname"
49020 # Append '!' to indicate archive
49021 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49022 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49025 for subfile in ${D}dirname/*.o* ; do
49026 if [ -f ${D}subfile ]; then
49028 if [ -s ${D}subfile ]; then
49029 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49030 newInputFiles="${D}newInputFiles ${D}subfile"
49034 if [ ${D}found -eq 0 ]; then
49035 echo "WARNING: there are no files in archive \\'${D}file\\'"
49039 newInputFiles="${D}{newInputFiles} ${D}file"
49043 inputFiles="${D}newInputFiles"
49045 # Output filename(s).
49047 if [ -z ${D}outFile ]; then
49049 set outFile ${D}inputFiles; outFile=${D}2
49052 # If it is an archive, remove the '!' and the '_%' suffixes
49053 case ${D}outFile in
49055 outFile=\`basnam ${D}outFile _%!\`
49060 case ${D}outFile in
49062 outFile=\`basnam ${D}outFile .dll\`
49065 outFile=\`basnam ${D}outFile .DLL\`
49068 outFile=\`basnam ${D}outFile .o\`
49071 outFile=\`basnam ${D}outFile .obj\`
49074 outFile=\`basnam ${D}outFile .a\`
49077 outFile=\`basnam ${D}outFile .lib\`
49082 case ${D}outimpFile in
49084 outimpFile=\`basnam ${D}outimpFile .a\`
49087 outimpFile=\`basnam ${D}outimpFile .lib\`
49092 if [ -z ${D}outimpFile ]; then
49093 outimpFile=${D}outFile
49095 defFile="${D}{outFile}.def"
49096 arcFile="${D}{outimpFile}.a"
49097 arcFile2="${D}{outimpFile}.lib"
49099 #create ${D}dllFile as something matching 8.3 restrictions,
49100 if [ -z ${D}renameScript ] ; then
49101 dllFile="${D}outFile"
49103 dllFile=\`${D}renameScript ${D}outimpFile\`
49106 if [ ${D}do_backup -ne 0 ] ; then
49107 if [ -f ${D}arcFile ] ; then
49108 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49110 if [ -f ${D}arcFile2 ] ; then
49111 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49115 # Extract public symbols from all the object files.
49116 tmpdefFile=${D}{defFile}_%
49117 rm -f ${D}tmpdefFile
49118 for file in ${D}inputFiles ; do
49123 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49128 # Create the def file.
49130 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49131 dllFile="${D}{dllFile}.dll"
49132 if [ ! -z ${D}description ]; then
49133 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49135 echo "EXPORTS" >> ${D}defFile
49137 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49138 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49140 # Checks if the export is ok or not.
49141 for word in ${D}exclude_symbols; do
49142 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49143 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49147 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49148 sed "=" < ${D}tmpdefFile | \\
49152 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49154 ' > ${D}{tmpdefFile}%
49155 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49157 rm -f ${D}{tmpdefFile}%
49159 cat ${D}tmpdefFile >> ${D}defFile
49160 rm -f ${D}tmpdefFile
49162 # Do linking, create implib, and apply lxlite.
49164 for file in ${D}inputFiles ; do
49169 gccCmdl="${D}gccCmdl ${D}file"
49173 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49174 touch "${D}{outFile}.dll"
49176 doCommand "emximp -o ${D}arcFile ${D}defFile"
49177 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49179 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49182 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49184 doCommand "emxomf -s -l ${D}arcFile"
49194 powerpc
-apple-macos* | \
49195 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49206 if test "x$PIC_FLAG" != "x" ; then
49207 PIC_FLAG
="$PIC_FLAG -DPIC"
49210 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49211 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49213 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49214 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49233 case "${BAKEFILE_HOST}" in
49234 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49235 SONAME_FLAG
="-Wl,-soname,"
49269 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49270 if test "${enable_dependency_tracking+set}" = set; then
49271 enableval
="$enable_dependency_tracking"
49272 bk_use_trackdeps
="$enableval"
49275 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49276 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49278 if test "x$bk_use_trackdeps" = "xno" ; then
49280 echo "$as_me:$LINENO: result: disabled" >&5
49281 echo "${ECHO_T}disabled" >&6
49285 if test "x$GCC" = "xyes"; then
49287 case "${BAKEFILE_HOST}" in
49289 DEPSFLAG
="-no-cpp-precomp -MMD"
49295 echo "$as_me:$LINENO: result: gcc" >&5
49296 echo "${ECHO_T}gcc" >&6
49297 elif test "x$MWCC" = "xyes"; then
49300 echo "$as_me:$LINENO: result: mwcc" >&5
49301 echo "${ECHO_T}mwcc" >&6
49302 elif test "x$SUNCC" = "xyes"; then
49305 echo "$as_me:$LINENO: result: Sun cc" >&5
49306 echo "${ECHO_T}Sun cc" >&6
49307 elif test "x$SGICC" = "xyes"; then
49310 echo "$as_me:$LINENO: result: SGI cc" >&5
49311 echo "${ECHO_T}SGI cc" >&6
49312 elif test "x$HPCC" = "xyes"; then
49315 echo "$as_me:$LINENO: result: HP cc" >&5
49316 echo "${ECHO_T}HP cc" >&6
49317 elif test "x$COMPAQCC" = "xyes"; then
49320 echo "$as_me:$LINENO: result: Compaq cc" >&5
49321 echo "${ECHO_T}Compaq cc" >&6
49324 echo "$as_me:$LINENO: result: none" >&5
49325 echo "${ECHO_T}none" >&6
49328 if test $DEPS_TRACKING = 1 ; then
49334 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49335 # script. It is used to track C/C++ files dependencies in portable way.
49337 # Permission is given to use this file in any way.
49339 DEPSMODE=${DEPSMODE}
49341 DEPSFLAG="${DEPSFLAG}"
49343 mkdir -p ${D}DEPSDIR
49345 if test ${D}DEPSMODE = gcc ; then
49346 ${D}* ${D}{DEPSFLAG}
49348 if test ${D}{status} != 0 ; then
49351 # move created file to the location we want it in:
49352 while test ${D}# -gt 0; do
49366 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49367 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49368 if test -f ${D}depfile ; then
49369 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49372 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49373 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49374 if test ! -f ${D}depfile ; then
49375 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49376 depfile="${D}objfile.d"
49378 if test -f ${D}depfile ; then
49379 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49384 elif test ${D}DEPSMODE = mwcc ; then
49385 ${D}* || exit ${D}?
49386 # Run mwcc again with -MM and redirect into the dep file we want
49387 # NOTE: We can't use shift here because we need ${D}* to be valid
49389 for arg in ${D}* ; do
49390 if test "${D}prevarg" = "-o"; then
49403 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49405 elif test ${D}DEPSMODE = unixcc; then
49406 ${D}* || exit ${D}?
49407 # Run compiler again with deps flag and redirect into the dep file.
49408 # It doesn't work if the '-o FILE' option is used, but without it the
49409 # dependency file will contain the wrong name for the object. So it is
49410 # removed from the command line, and the dep file is fixed with sed.
49412 while test ${D}# -gt 0; do
49419 eval arg${D}#=\\${D}1
49420 cmd="${D}cmd \\${D}arg${D}#"
49425 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49440 case ${BAKEFILE_HOST} in
49441 *-*-cygwin* | *-*-mingw32* )
49442 if test -n "$ac_tool_prefix"; then
49443 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49444 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49445 echo "$as_me:$LINENO: checking for $ac_word" >&5
49446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49447 if test "${ac_cv_prog_WINDRES+set}" = set; then
49448 echo $ECHO_N "(cached) $ECHO_C" >&6
49450 if test -n "$WINDRES"; then
49451 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49454 for as_dir
in $PATH
49457 test -z "$as_dir" && as_dir
=.
49458 for ac_exec_ext
in '' $ac_executable_extensions; do
49459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49460 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49469 WINDRES
=$ac_cv_prog_WINDRES
49470 if test -n "$WINDRES"; then
49471 echo "$as_me:$LINENO: result: $WINDRES" >&5
49472 echo "${ECHO_T}$WINDRES" >&6
49474 echo "$as_me:$LINENO: result: no" >&5
49475 echo "${ECHO_T}no" >&6
49479 if test -z "$ac_cv_prog_WINDRES"; then
49480 ac_ct_WINDRES
=$WINDRES
49481 # Extract the first word of "windres", so it can be a program name with args.
49482 set dummy windres
; ac_word
=$2
49483 echo "$as_me:$LINENO: checking for $ac_word" >&5
49484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49485 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49486 echo $ECHO_N "(cached) $ECHO_C" >&6
49488 if test -n "$ac_ct_WINDRES"; then
49489 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49492 for as_dir
in $PATH
49495 test -z "$as_dir" && as_dir
=.
49496 for ac_exec_ext
in '' $ac_executable_extensions; do
49497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49498 ac_cv_prog_ac_ct_WINDRES
="windres"
49499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49507 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49508 if test -n "$ac_ct_WINDRES"; then
49509 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49510 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49512 echo "$as_me:$LINENO: result: no" >&5
49513 echo "${ECHO_T}no" >&6
49516 WINDRES
=$ac_ct_WINDRES
49518 WINDRES
="$ac_cv_prog_WINDRES"
49523 *-*-darwin* | powerpc
-apple-macos* )
49524 # Extract the first word of "Rez", so it can be a program name with args.
49525 set dummy Rez
; ac_word
=$2
49526 echo "$as_me:$LINENO: checking for $ac_word" >&5
49527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49528 if test "${ac_cv_prog_REZ+set}" = set; then
49529 echo $ECHO_N "(cached) $ECHO_C" >&6
49531 if test -n "$REZ"; then
49532 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49535 for as_dir
in $PATH
49538 test -z "$as_dir" && as_dir
=.
49539 for ac_exec_ext
in '' $ac_executable_extensions; do
49540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49541 ac_cv_prog_REZ
="Rez"
49542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49548 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49551 REZ
=$ac_cv_prog_REZ
49552 if test -n "$REZ"; then
49553 echo "$as_me:$LINENO: result: $REZ" >&5
49554 echo "${ECHO_T}$REZ" >&6
49556 echo "$as_me:$LINENO: result: no" >&5
49557 echo "${ECHO_T}no" >&6
49560 # Extract the first word of "SetFile", so it can be a program name with args.
49561 set dummy SetFile
; ac_word
=$2
49562 echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49564 if test "${ac_cv_prog_SETFILE+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49567 if test -n "$SETFILE"; then
49568 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49571 for as_dir
in $PATH
49574 test -z "$as_dir" && as_dir
=.
49575 for ac_exec_ext
in '' $ac_executable_extensions; do
49576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49577 ac_cv_prog_SETFILE
="SetFile"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49584 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49587 SETFILE
=$ac_cv_prog_SETFILE
49588 if test -n "$SETFILE"; then
49589 echo "$as_me:$LINENO: result: $SETFILE" >&5
49590 echo "${ECHO_T}$SETFILE" >&6
49592 echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6
49604 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49607 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49611 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49612 if test "${enable_precomp_headers+set}" = set; then
49613 enableval
="$enable_precomp_headers"
49614 bk_use_pch
="$enableval"
49621 case ${BAKEFILE_HOST} in
49627 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49628 if test "x$GCC" = "xyes"; then
49629 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49630 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49631 cat >conftest.
$ac_ext <<_ACEOF
49634 cat confdefs.h
>>conftest.
$ac_ext
49635 cat >>conftest.
$ac_ext <<_ACEOF
49636 /* end confdefs.h. */
49642 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49643 There is no PCH support
49646 There is no PCH support
49648 #if (__GNUC__ == 3) && \
49649 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49650 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49651 ( defined(__INTEL_COMPILER) )
49652 There is no PCH support
49659 rm -f conftest.
$ac_objext
49660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49661 (eval $ac_compile) 2>conftest.er1
49663 grep -v '^ *+' conftest.er1
>conftest.err
49665 cat conftest.err
>&5
49666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49667 (exit $ac_status); } &&
49668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49670 (eval $ac_try) 2>&5
49672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49673 (exit $ac_status); }; } &&
49674 { ac_try
='test -s conftest.$ac_objext'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; }; then
49681 echo "$as_me:$LINENO: result: yes" >&5
49682 echo "${ECHO_T}yes" >&6
49686 echo "$as_me: failed program was:" >&5
49687 sed 's/^/| /' conftest.
$ac_ext >&5
49690 cat >conftest.
$ac_ext <<_ACEOF
49693 cat confdefs.h
>>conftest.
$ac_ext
49694 cat >>conftest.
$ac_ext <<_ACEOF
49695 /* end confdefs.h. */
49701 #if !defined(__INTEL_COMPILER) || \
49702 (__INTEL_COMPILER < 800)
49703 There is no PCH support
49710 rm -f conftest.
$ac_objext
49711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49712 (eval $ac_compile) 2>conftest.er1
49714 grep -v '^ *+' conftest.er1
>conftest.err
49716 cat conftest.err
>&5
49717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49718 (exit $ac_status); } &&
49719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; } &&
49725 { ac_try
='test -s conftest.$ac_objext'
49726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727 (eval $ac_try) 2>&5
49729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730 (exit $ac_status); }; }; then
49732 echo "$as_me:$LINENO: result: yes" >&5
49733 echo "${ECHO_T}yes" >&6
49737 echo "$as_me: failed program was:" >&5
49738 sed 's/^/| /' conftest.
$ac_ext >&5
49741 echo "$as_me:$LINENO: result: no" >&5
49742 echo "${ECHO_T}no" >&6
49745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49749 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49753 cat <<EOF >bk-make-pch
49756 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49757 # script. It is used to generated precompiled headers.
49759 # Permission is given to use this file in any way.
49769 while test ${D}{#} -gt 0; do
49773 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49774 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49775 headerfile="${D}{incdir}/${D}{header}"
49778 -use-pch|-use_pch )
49783 if test ${D}add_to_cmdline = 1 ; then
49784 compiler="${D}{compiler} ${D}{1}"
49789 if test "x${D}{headerfile}" = "x" ; then
49790 echo "error: can't find header ${D}{header} in include paths" >&2
49792 if test -f ${D}{outfile} ; then
49793 rm -f ${D}{outfile}
49795 mkdir -p \`dirname ${D}{outfile}\`
49797 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49799 if test "x${GCC_PCH}" = "x1" ; then
49800 # can do this because gcc is >= 3.4:
49801 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49802 elif test "x${ICC_PCH}" = "x1" ; then
49803 filename=pch_gen-${D}${D}
49804 file=${D}{filename}.c
49805 dfile=${D}{filename}.d
49806 cat > ${D}file <<EOT
49807 #include "${D}header"
49809 # using -MF icc complains about differing command lines in creation/use
49810 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49811 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49812 rm -f ${D}file ${D}dfile ${D}{filename}.o
49818 chmod +x bk
-make-pch
49826 COND_BUILD_DEBUG
="#"
49827 if test "x$BUILD" = "xdebug" ; then
49828 COND_BUILD_DEBUG
=""
49831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49832 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49833 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49837 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49838 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49841 COND_BUILD_DEBUG_UNICODE_0
="#"
49842 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49843 COND_BUILD_DEBUG_UNICODE_0
=""
49846 COND_BUILD_DEBUG_UNICODE_1
="#"
49847 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49848 COND_BUILD_DEBUG_UNICODE_1
=""
49851 COND_BUILD_RELEASE
="#"
49852 if test "x$BUILD" = "xrelease" ; then
49853 COND_BUILD_RELEASE
=""
49856 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49857 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49858 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49861 COND_BUILD_RELEASE_UNICODE_0
="#"
49862 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49863 COND_BUILD_RELEASE_UNICODE_0
=""
49866 COND_BUILD_RELEASE_UNICODE_1
="#"
49867 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49868 COND_BUILD_RELEASE_UNICODE_1
=""
49871 COND_DEBUG_FLAG_1
="#"
49872 if test "x$DEBUG_FLAG" = "x1" ; then
49873 COND_DEBUG_FLAG_1
=""
49876 COND_DEBUG_INFO_0
="#"
49877 if test "x$DEBUG_INFO" = "x0" ; then
49878 COND_DEBUG_INFO_0
=""
49881 COND_DEBUG_INFO_1
="#"
49882 if test "x$DEBUG_INFO" = "x1" ; then
49883 COND_DEBUG_INFO_1
=""
49886 COND_DEPS_TRACKING_0
="#"
49887 if test "x$DEPS_TRACKING" = "x0" ; then
49888 COND_DEPS_TRACKING_0
=""
49891 COND_DEPS_TRACKING_1
="#"
49892 if test "x$DEPS_TRACKING" = "x1" ; then
49893 COND_DEPS_TRACKING_1
=""
49897 if test "x$GCC_PCH" = "x1" ; then
49902 if test "x$ICC_PCH" = "x1" ; then
49906 COND_MONOLITHIC_0
="#"
49907 if test "x$MONOLITHIC" = "x0" ; then
49908 COND_MONOLITHIC_0
=""
49911 COND_MONOLITHIC_0_SHARED_0
="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49913 COND_MONOLITHIC_0_SHARED_0
=""
49916 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49926 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49946 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49951 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49953 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49956 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49958 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49961 COND_MONOLITHIC_0_SHARED_1
="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49963 COND_MONOLITHIC_0_SHARED_1
=""
49966 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49968 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49981 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49983 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49986 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49991 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49996 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49998 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50001 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50003 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50006 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50008 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50011 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50012 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50013 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50016 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50017 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50018 COND_MONOLITHIC_0_USE_ODBC_1
=""
50021 COND_MONOLITHIC_1
="#"
50022 if test "x$MONOLITHIC" = "x1" ; then
50023 COND_MONOLITHIC_1
=""
50026 COND_MONOLITHIC_1_SHARED_0
="#"
50027 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50028 COND_MONOLITHIC_1_SHARED_0
=""
50031 COND_MONOLITHIC_1_SHARED_1
="#"
50032 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50033 COND_MONOLITHIC_1_SHARED_1
=""
50036 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50037 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50038 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50041 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50042 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50043 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50046 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50047 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50048 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50051 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50052 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50053 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50056 COND_PLATFORM_MACOSX_1
="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1
=""
50061 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50063 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
50066 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50068 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50071 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50073 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50076 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50078 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50083 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50088 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50091 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50096 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50101 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50102 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50103 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50107 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50108 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50111 COND_PLATFORM_MACOS_1
="#"
50112 if test "x$PLATFORM_MACOS" = "x1" ; then
50113 COND_PLATFORM_MACOS_1
=""
50116 COND_PLATFORM_MAC_1
="#"
50117 if test "x$PLATFORM_MAC" = "x1" ; then
50118 COND_PLATFORM_MAC_1
=""
50121 COND_PLATFORM_MSDOS_0
="#"
50122 if test "x$PLATFORM_MSDOS" = "x0" ; then
50123 COND_PLATFORM_MSDOS_0
=""
50126 COND_PLATFORM_MSDOS_1
="#"
50127 if test "x$PLATFORM_MSDOS" = "x1" ; then
50128 COND_PLATFORM_MSDOS_1
=""
50131 COND_PLATFORM_OS2_1
="#"
50132 if test "x$PLATFORM_OS2" = "x1" ; then
50133 COND_PLATFORM_OS2_1
=""
50136 COND_PLATFORM_UNIX_0
="#"
50137 if test "x$PLATFORM_UNIX" = "x0" ; then
50138 COND_PLATFORM_UNIX_0
=""
50141 COND_PLATFORM_UNIX_1
="#"
50142 if test "x$PLATFORM_UNIX" = "x1" ; then
50143 COND_PLATFORM_UNIX_1
=""
50146 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50147 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50148 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50151 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50152 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50153 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50156 COND_PLATFORM_WIN32_0
="#"
50157 if test "x$PLATFORM_WIN32" = "x0" ; then
50158 COND_PLATFORM_WIN32_0
=""
50161 COND_PLATFORM_WIN32_1
="#"
50162 if test "x$PLATFORM_WIN32" = "x1" ; then
50163 COND_PLATFORM_WIN32_1
=""
50167 if test "x$SHARED" = "x0" ; then
50171 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50172 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50173 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50176 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50177 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50178 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50181 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50182 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50183 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50186 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50188 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50193 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50198 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50202 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50203 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50206 COND_SHARED_0_USE_XRC_1
="#"
50207 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50208 COND_SHARED_0_USE_XRC_1
=""
50211 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50212 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50213 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50216 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50217 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50218 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50221 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50222 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50223 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50226 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50227 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50228 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50232 if test "x$SHARED" = "x1" ; then
50236 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50237 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50238 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50241 COND_SHARED_1_USE_XRC_1
="#"
50242 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50243 COND_SHARED_1_USE_XRC_1
=""
50247 if test "x$TOOLKIT" = "x" ; then
50251 COND_TOOLKIT_COCOA
="#"
50252 if test "x$TOOLKIT" = "xCOCOA" ; then
50253 COND_TOOLKIT_COCOA
=""
50256 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50257 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50261 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50262 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50263 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50266 COND_TOOLKIT_DFB
="#"
50267 if test "x$TOOLKIT" = "xDFB" ; then
50268 COND_TOOLKIT_DFB
=""
50271 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50272 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_DFB_USE_GUI_1
=""
50276 COND_TOOLKIT_GTK
="#"
50277 if test "x$TOOLKIT" = "xGTK" ; then
50278 COND_TOOLKIT_GTK
=""
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50301 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50306 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50307 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50311 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50312 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_GTK_USE_GUI_1
=""
50316 COND_TOOLKIT_MAC
="#"
50317 if test "x$TOOLKIT" = "xMAC" ; then
50318 COND_TOOLKIT_MAC
=""
50321 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50322 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50323 COND_TOOLKIT_MAC_USE_GUI_1
=""
50326 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50327 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50328 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50331 COND_TOOLKIT_MGL
="#"
50332 if test "x$TOOLKIT" = "xMGL" ; then
50333 COND_TOOLKIT_MGL
=""
50336 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50337 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50338 COND_TOOLKIT_MGL_USE_GUI_1
=""
50341 COND_TOOLKIT_MOTIF
="#"
50342 if test "x$TOOLKIT" = "xMOTIF" ; then
50343 COND_TOOLKIT_MOTIF
=""
50346 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50347 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50348 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50351 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50352 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50356 COND_TOOLKIT_MSW
="#"
50357 if test "x$TOOLKIT" = "xMSW" ; then
50358 COND_TOOLKIT_MSW
=""
50361 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50362 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50363 COND_TOOLKIT_MSW_USE_GUI_1
=""
50366 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50367 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50368 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50371 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50372 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50373 COND_TOOLKIT_MSW_WXUNIV_0
=""
50376 COND_TOOLKIT_PM
="#"
50377 if test "x$TOOLKIT" = "xPM" ; then
50381 COND_TOOLKIT_PM_USE_GUI_1
="#"
50382 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50383 COND_TOOLKIT_PM_USE_GUI_1
=""
50386 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50387 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50388 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50391 COND_TOOLKIT_WINCE
="#"
50392 if test "x$TOOLKIT" = "xWINCE" ; then
50393 COND_TOOLKIT_WINCE
=""
50396 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50397 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50398 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50401 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50402 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50403 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50406 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50407 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50411 COND_TOOLKIT_X11
="#"
50412 if test "x$TOOLKIT" = "xX11" ; then
50413 COND_TOOLKIT_X11
=""
50416 COND_TOOLKIT_X11_USE_GUI_1
="#"
50417 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50418 COND_TOOLKIT_X11_USE_GUI_1
=""
50422 if test "x$UNICODE" = "x1" ; then
50426 COND_USE_EXCEPTIONS_0
="#"
50427 if test "x$USE_EXCEPTIONS" = "x0" ; then
50428 COND_USE_EXCEPTIONS_0
=""
50431 COND_USE_EXCEPTIONS_1
="#"
50432 if test "x$USE_EXCEPTIONS" = "x1" ; then
50433 COND_USE_EXCEPTIONS_1
=""
50437 if test "x$USE_GUI" = "x0" ; then
50442 if test "x$USE_GUI" = "x1" ; then
50446 COND_USE_GUI_1_WXUNIV_0
="#"
50447 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50448 COND_USE_GUI_1_WXUNIV_0
=""
50451 COND_USE_GUI_1_WXUNIV_1
="#"
50452 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50453 COND_USE_GUI_1_WXUNIV_1
=""
50456 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50457 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50458 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50461 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50463 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50466 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50467 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50468 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50471 COND_USE_ODBC_1
="#"
50472 if test "x$USE_ODBC" = "x1" ; then
50476 COND_USE_OPENGL_1
="#"
50477 if test "x$USE_OPENGL" = "x1" ; then
50478 COND_USE_OPENGL_1
=""
50482 if test "x$USE_PCH" = "x1" ; then
50486 COND_USE_PLUGINS_0
="#"
50487 if test "x$USE_PLUGINS" = "x0" ; then
50488 COND_USE_PLUGINS_0
=""
50491 COND_USE_RTTI_0
="#"
50492 if test "x$USE_RTTI" = "x0" ; then
50496 COND_USE_RTTI_1
="#"
50497 if test "x$USE_RTTI" = "x1" ; then
50501 COND_USE_SOSYMLINKS_1
="#"
50502 if test "x$USE_SOSYMLINKS" = "x1" ; then
50503 COND_USE_SOSYMLINKS_1
=""
50506 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50507 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50508 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50511 COND_USE_SOVERLINUX_1
="#"
50512 if test "x$USE_SOVERLINUX" = "x1" ; then
50513 COND_USE_SOVERLINUX_1
=""
50516 COND_USE_SOVERSION_0
="#"
50517 if test "x$USE_SOVERSION" = "x0" ; then
50518 COND_USE_SOVERSION_0
=""
50521 COND_USE_SOVERSOLARIS_1
="#"
50522 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50523 COND_USE_SOVERSOLARIS_1
=""
50526 COND_USE_THREADS_0
="#"
50527 if test "x$USE_THREADS" = "x0" ; then
50528 COND_USE_THREADS_0
=""
50531 COND_USE_THREADS_1
="#"
50532 if test "x$USE_THREADS" = "x1" ; then
50533 COND_USE_THREADS_1
=""
50537 if test "x$USE_XRC" = "x1" ; then
50541 COND_WINDOWS_IMPLIB_1
="#"
50542 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50543 COND_WINDOWS_IMPLIB_1
=""
50546 COND_WITH_PLUGIN_SDL_1
="#"
50547 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50548 COND_WITH_PLUGIN_SDL_1
=""
50552 if test "x$WXUNIV" = "x0" ; then
50557 if test "x$WXUNIV" = "x1" ; then
50561 COND_WXUSE_EXPAT_BUILTIN
="#"
50562 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50563 COND_WXUSE_EXPAT_BUILTIN
=""
50566 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50567 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50568 COND_WXUSE_LIBJPEG_BUILTIN
=""
50571 COND_WXUSE_LIBPNG_BUILTIN
="#"
50572 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50573 COND_WXUSE_LIBPNG_BUILTIN
=""
50576 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50577 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50578 COND_WXUSE_LIBTIFF_BUILTIN
=""
50581 COND_WXUSE_ODBC_BUILTIN
="#"
50582 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50583 COND_WXUSE_ODBC_BUILTIN
=""
50586 COND_WXUSE_REGEX_BUILTIN
="#"
50587 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50588 COND_WXUSE_REGEX_BUILTIN
=""
50591 COND_WXUSE_ZLIB_BUILTIN
="#"
50592 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50593 COND_WXUSE_ZLIB_BUILTIN
=""
50598 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50599 { { 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
50600 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;}
50601 { (exit 1); exit 1; }; }
50604 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50605 { { 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
50606 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;}
50607 { (exit 1); exit 1; }; }
50611 if test $GCC_PCH = 1
50613 if test "$wx_cv_gcc_pch_bug" = yes; then
50614 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50615 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50616 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50617 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50618 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50619 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50622 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50626 if test "$wxUSE_MAC" = 1 ; then
50627 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50628 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50634 if test "$wxUSE_SHARED" = "yes"; then
50636 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50637 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50640 *-pc-os2_emx | *-pc-os2-emx )
50641 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50642 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50643 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50644 cp -p ${srcdir}/src
/os
2/dllar.sh .
50649 EXE_LINKER
="$CXX -o"
50652 if test "$wxUSE_OMF" = "yes"; then
50654 *-pc-os2_emx | *-pc-os2-emx )
50655 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50656 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50657 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50662 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50664 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50726 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50727 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50728 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50730 echo $ECHO_N "(cached) $ECHO_C" >&6
50732 cat >conftest.
make <<\_ACEOF
50734 @
echo 'ac_maketemp="$(MAKE)"'
50736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50737 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50738 if test -n "$ac_maketemp"; then
50739 eval ac_cv_prog_make_
${ac_make}_set
=yes
50741 eval ac_cv_prog_make_
${ac_make}_set
=no
50743 rm -f conftest.
make
50745 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50746 echo "$as_me:$LINENO: result: yes" >&5
50747 echo "${ECHO_T}yes" >&6
50750 echo "$as_me:$LINENO: result: no" >&5
50751 echo "${ECHO_T}no" >&6
50752 SET_MAKE
="MAKE=${MAKE-make}"
50757 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50760 if test "$USE_WIN32" = 1; then
50761 ac_config_commands
="$ac_config_commands
50767 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50770 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50773 ac_config_files
="$ac_config_files version-script Makefile"
50776 ac_config_commands
="$ac_config_commands wx-config"
50780 if test "$wxWITH_SUBDIRS" != "no"; then
50781 if test "$wxUSE_GUI" = "yes"; then
50782 SUBDIRS
="samples demos utils contrib"
50783 else SUBDIRS
="samples utils"
50788 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50789 if test "${with_cppunit_prefix+set}" = set; then
50790 withval
="$with_cppunit_prefix"
50791 cppunit_config_prefix
="$withval"
50793 cppunit_config_prefix
=""
50796 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50797 if test "${with_cppunit_exec_prefix+set}" = set; then
50798 withval
="$with_cppunit_exec_prefix"
50799 cppunit_config_exec_prefix
="$withval"
50801 cppunit_config_exec_prefix
=""
50804 if test x
$cppunit_config_exec_prefix != x
; then
50805 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50806 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50807 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50810 if test x
$cppunit_config_prefix != x
; then
50811 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50812 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50813 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50817 # Extract the first word of "cppunit-config", so it can be a program name with args.
50818 set dummy cppunit
-config; ac_word
=$2
50819 echo "$as_me:$LINENO: checking for $ac_word" >&5
50820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50821 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50822 echo $ECHO_N "(cached) $ECHO_C" >&6
50824 case $CPPUNIT_CONFIG in
50826 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50830 for as_dir
in $PATH
50833 test -z "$as_dir" && as_dir
=.
50834 for ac_exec_ext
in '' $ac_executable_extensions; do
50835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50836 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50843 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50847 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50849 if test -n "$CPPUNIT_CONFIG"; then
50850 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50851 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50853 echo "$as_me:$LINENO: result: no" >&5
50854 echo "${ECHO_T}no" >&6
50857 cppunit_version_min
=1.8.0
50859 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50860 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50862 if test "$CPPUNIT_CONFIG" = "no" ; then
50863 echo "$as_me:$LINENO: result: no" >&5
50864 echo "${ECHO_T}no" >&6
50867 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50868 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50869 cppunit_version
=`$CPPUNIT_CONFIG --version`
50871 cppunit_major_version
=`echo $cppunit_version | \
50872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50873 cppunit_minor_version
=`echo $cppunit_version | \
50874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50875 cppunit_micro_version
=`echo $cppunit_version | \
50876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50878 cppunit_major_min
=`echo $cppunit_version_min | \
50879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50880 cppunit_minor_min
=`echo $cppunit_version_min | \
50881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50882 cppunit_micro_min
=`echo $cppunit_version_min | \
50883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50885 cppunit_version_proper
=`expr \
50886 $cppunit_major_version \> $cppunit_major_min \| \
50887 $cppunit_major_version \= $cppunit_major_min \& \
50888 $cppunit_minor_version \> $cppunit_minor_min \| \
50889 $cppunit_major_version \= $cppunit_major_min \& \
50890 $cppunit_minor_version \= $cppunit_minor_min \& \
50891 $cppunit_micro_version \>= $cppunit_micro_min `
50893 if test "$cppunit_version_proper" = "1" ; then
50894 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50895 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50897 echo "$as_me:$LINENO: result: no" >&5
50898 echo "${ECHO_T}no" >&6
50903 if test "x$no_cppunit" = x
; then
50904 SUBDIRS
="$SUBDIRS tests"
50915 for subdir
in `echo $SUBDIRS`; do
50916 if test -d ${srcdir}/${subdir} ; then
50917 if test "$wxUSE_GUI" = "yes"; then
50918 if test ${subdir} = "samples"; then
50919 makefiles
="samples/Makefile.in $makefiles"
50920 for sample
in `echo $SAMPLES_SUBDIRS`; do
50921 if test -d $srcdir/samples
/$sample; then
50922 makefiles
="samples/$sample/Makefile.in $makefiles"
50926 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50927 eval "disabled=\$$disabled_var"
50928 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50929 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50931 else if test ${subdir} = "samples"; then
50932 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50933 elif test ${subdir} = "utils"; then
50935 for util
in HelpGen tex2rtf
; do
50936 if test -d $srcdir/utils
/$util ; then
50937 makefiles
="utils/$util/Makefile.in \
50938 utils/$util/src/Makefile.in \
50942 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50946 for mkin
in $makefiles ; do
50947 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50948 ac_config_files
="$ac_config_files $mk"
50954 cat >confcache
<<\_ACEOF
50955 # This file is a shell script that caches the results of configure
50956 # tests run on this system so they can be shared between configure
50957 # scripts and configure runs, see configure's option --config-cache.
50958 # It is not useful on other systems. If it contains results you don't
50959 # want to keep, you may remove or edit it.
50961 # config.status only pays attention to the cache file if you give it
50962 # the --recheck option to rerun configure.
50964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50966 # following values.
50970 # The following way of writing the cache mishandles newlines in values,
50971 # but we know of no workaround that is simple, portable, and efficient.
50972 # So, don't put newlines in cache variables' values.
50973 # Ultrix sh set writes to stderr and can't be redirected directly,
50974 # and sets the high bit in the cache file unless we assign to the vars.
50977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50979 # `set' does not quote correctly, so add quotes (double-quote
50980 # substitution turns \\\\ into \\, and sed turns \\ into \).
50983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50986 # `set' quotes correctly as required by POSIX, so do not add quotes.
50988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
51000 if test -w $cache_file; then
51001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51002 cat confcache
>$cache_file
51004 echo "not updating unwritable cache $cache_file"
51009 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51010 # Let make expand exec_prefix.
51011 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51015 # trailing colons and then remove the whole line if VPATH becomes empty
51016 # (actually we leave an empty line to preserve line numbers).
51017 if test "x$srcdir" = x.
; then
51018 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51019 s/:*\$(srcdir):*/:/;
51020 s/:*\${srcdir}:*/:/;
51022 s/^\([^=]*=[ ]*\):*/\1/;
51028 DEFS
=-DHAVE_CONFIG_H
51032 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51033 # 1. Remove the extension, and $U if already installed.
51034 ac_i
=`echo "$ac_i" |
51035 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51037 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
51038 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
51040 LIBOBJS
=$ac_libobjs
51042 LTLIBOBJS
=$ac_ltlibobjs
51046 : ${CONFIG_STATUS=./config.status}
51047 ac_clean_files_save
=$ac_clean_files
51048 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51049 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51050 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51051 cat >$CONFIG_STATUS <<_ACEOF
51053 # Generated by $as_me.
51054 # Run this file to recreate the current configuration.
51055 # Compiler output produced by configure, useful for debugging
51056 # configure, is in config.log if it exists.
51059 ac_cs_recheck=false
51061 SHELL=\${CONFIG_SHELL-$SHELL}
51064 cat >>$CONFIG_STATUS <<\_ACEOF
51065 ## --------------------- ##
51066 ## M4sh Initialization. ##
51067 ## --------------------- ##
51069 # Be Bourne compatible
51070 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51073 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51074 # is contrary to our usage. Disable this feature.
51075 alias -g '${1+"$@"}'='"$@"'
51076 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51079 DUALCASE
=1; export DUALCASE
# for MKS sh
51081 # Support unset when possible.
51082 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51089 # Work around bugs in pre-3.0 UWIN ksh.
51090 $as_unset ENV MAIL MAILPATH
51097 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51098 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51099 LC_TELEPHONE LC_TIME
51101 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51102 eval $as_var=C
; export $as_var
51108 # Required to use basename.
51109 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51115 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51116 as_basename
=basename
51122 # Name of the executable.
51123 as_me
=`$as_basename "$0" ||
51124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51125 X"$0" : 'X\(//\)$' \| \
51126 X"$0" : 'X\(/\)$' \| \
51127 . : '\(.\)' 2>/dev/null ||
51129 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51130 /^X\/\(\/\/\)$/{ s//\1/; q; }
51131 /^X\/\(\/\).*/{ s//\1/; q; }
51135 # PATH needs CR, and LINENO needs CR and PATH.
51136 # Avoid depending upon Character Ranges.
51137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51140 as_cr_digits
='0123456789'
51141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51143 # The user is always right.
51144 if test "${PATH_SEPARATOR+set}" != set; then
51145 echo "#! /bin/sh" >conf$$.sh
51146 echo "exit 0" >>conf$$.sh
51148 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51157 as_lineno_1
=$LINENO
51158 as_lineno_2
=$LINENO
51159 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51160 test "x$as_lineno_1" != "x$as_lineno_2" &&
51161 test "x$as_lineno_3" = "x$as_lineno_2" || {
51162 # Find who we are. Look in the path if we contain no path at all
51165 *[\\/]* ) as_myself
=$0 ;;
51166 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51167 for as_dir
in $PATH
51170 test -z "$as_dir" && as_dir
=.
51171 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51176 # We did not find ourselves, most probably we were run as `sh COMMAND'
51177 # in which case we are not to be found in the path.
51178 if test "x$as_myself" = x
; then
51181 if test ! -f "$as_myself"; then
51182 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51183 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51184 { (exit 1); exit 1; }; }
51186 case $CONFIG_SHELL in
51188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51192 test -z "$as_dir" && as_dir
=.
51193 for as_base
in sh bash ksh sh5
; do
51196 if ("$as_dir/$as_base" -c '
51197 as_lineno_1=$LINENO
51198 as_lineno_2=$LINENO
51199 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51200 test "x$as_lineno_1" != "x$as_lineno_2" &&
51201 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51202 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51203 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51204 CONFIG_SHELL
=$as_dir/$as_base
51205 export CONFIG_SHELL
51206 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51214 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51215 # uniformly replaced by the line number. The first 'sed' inserts a
51216 # line-number line before each line; the second 'sed' does the real
51217 # work. The second script uses 'N' to pair each line-number line
51218 # with the numbered line, and appends trailing '-' during
51219 # substitution so that $LINENO is not a special case at line end.
51220 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51221 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51222 sed '=' <$as_myself |
51227 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51230 s,^['$as_cr_digits']*\n,,
51231 ' >$as_me.lineno
&&
51232 chmod +x
$as_me.lineno
||
51233 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51234 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51235 { (exit 1); exit 1; }; }
51237 # Don't try to exec as it changes $[0], causing all sort of problems
51238 # (the dirname of $[0] is not the place where we might find the
51239 # original and so on. Autoconf is especially sensible to this).
51241 # Exit status is that of the last command.
51246 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51247 *c
*,-n*) ECHO_N
= ECHO_C
='
51249 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51250 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51253 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51259 rm -f conf$$ conf$$.exe conf$$.
file
51261 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51262 # We could just check for DJGPP; but this test a) works b) is more generic
51263 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51264 if test -f conf$$.exe
; then
51265 # Don't use ln at all; we don't have any links
51270 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51275 rm -f conf$$ conf$$.exe conf$$.
file
51277 if mkdir -p .
2>/dev
/null
; then
51280 test -d .
/-p && rmdir .
/-p
51284 as_executable_p
="test -f"
51286 # Sed expression to map a string onto a valid CPP name.
51287 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51289 # Sed expression to map a string onto a valid variable name.
51290 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51294 # We need space, tab and new line, in precisely that order.
51304 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51305 # report actual input values of CONFIG_FILES etc. instead of their
51306 # values after options handling. Logging --version etc. is OK.
51310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51311 ## Running $as_me. ##
51316 This file was extended by wxWidgets $as_me 2.7.1, which was
51317 generated by GNU Autoconf 2.59. Invocation command line was
51319 CONFIG_FILES = $CONFIG_FILES
51320 CONFIG_HEADERS = $CONFIG_HEADERS
51321 CONFIG_LINKS = $CONFIG_LINKS
51322 CONFIG_COMMANDS = $CONFIG_COMMANDS
51326 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51330 # Files that config.status was made for.
51331 if test -n "$ac_config_files"; then
51332 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51335 if test -n "$ac_config_headers"; then
51336 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51339 if test -n "$ac_config_links"; then
51340 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51343 if test -n "$ac_config_commands"; then
51344 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51347 cat >>$CONFIG_STATUS <<\_ACEOF
51350 \`$as_me' instantiates files from templates according to the
51351 current configuration.
51353 Usage: $0 [OPTIONS] [FILE]...
51355 -h, --help print this help, then exit
51356 -V, --version print version number, then exit
51357 -q, --quiet do not print progress messages
51358 -d, --debug don't remove temporary files
51359 --recheck update $as_me by reconfiguring in the same conditions
51360 --file=FILE[:TEMPLATE]
51361 instantiate the configuration file FILE
51362 --header=FILE[:TEMPLATE]
51363 instantiate the configuration header FILE
51365 Configuration files:
51368 Configuration headers:
51371 Configuration commands:
51374 Report bugs to <bug-autoconf@gnu.org>."
51377 cat >>$CONFIG_STATUS <<_ACEOF
51379 wxWidgets config.status 2.7.1
51380 configured by $0, generated by GNU Autoconf 2.59,
51381 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51383 Copyright (C) 2003 Free Software Foundation, Inc.
51384 This config.status script is free software; the Free Software Foundation
51385 gives unlimited permission to copy, distribute and modify it."
51390 cat >>$CONFIG_STATUS <<\_ACEOF
51391 # If no file are specified by the user, then we need to provide default
51392 # value. By we need to know if files were specified by the user.
51398 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51399 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51407 *) # This is not an option, so the user has probably given explicit
51410 ac_need_defaults
=false
;;
51414 # Handling of the options.
51416 cat >>$CONFIG_STATUS <<\_ACEOF
51417 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51419 --version | --vers* | -V )
51420 echo "$ac_cs_version"; exit 0 ;;
51422 # Conflict between --help and --header
51423 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51424 Try \`$0 --help' for more information." >&5
51425 echo "$as_me: error: ambiguous option: $1
51426 Try \`$0 --help' for more information." >&2;}
51427 { (exit 1); exit 1; }; };;
51428 --help | --hel | -h )
51429 echo "$ac_cs_usage"; exit 0 ;;
51430 --debug | --d* | -d )
51432 --file | --fil | --fi | --f )
51434 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51435 ac_need_defaults
=false
;;
51436 --header | --heade | --head | --hea )
51438 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51439 ac_need_defaults
=false
;;
51440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51441 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51444 # This is an error.
51445 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51446 Try \`$0 --help' for more information." >&5
51447 echo "$as_me: error: unrecognized option: $1
51448 Try \`$0 --help' for more information." >&2;}
51449 { (exit 1); exit 1; }; } ;;
51451 *) ac_config_targets
="$ac_config_targets $1" ;;
51457 ac_configure_extra_args
=
51459 if $ac_cs_silent; then
51461 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51465 cat >>$CONFIG_STATUS <<_ACEOF
51466 if \$ac_cs_recheck; then
51467 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51468 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51473 cat >>$CONFIG_STATUS <<_ACEOF
51475 # INIT-COMMANDS section.
51480 infile="$srcdir/include/wx/msw/genrcdefs.h"
51481 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51484 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51494 cat >>$CONFIG_STATUS <<\_ACEOF
51495 for ac_config_target
in $ac_config_targets
51497 case "$ac_config_target" in
51498 # Handling of arguments.
51499 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51500 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51501 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51502 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51503 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51504 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51505 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51506 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51507 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51508 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51509 { (exit 1); exit 1; }; };;
51513 # If the user did not use the arguments to specify the items to instantiate,
51514 # then the envvar interface is used. Set only those that are not.
51515 # We use the long form for the default assignment because of an extremely
51516 # bizarre bug on SunOS 4.1.3.
51517 if $ac_need_defaults; then
51518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51523 # Have a temporary directory for convenience. Make it in the build tree
51524 # simply because there is no reason to put it here, and in addition,
51525 # creating and moving files from /tmp can sometimes cause problems.
51526 # Create a temporary directory, and hook for its removal unless debugging.
51529 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51530 trap '{ (exit 1); exit 1; }' 1 2 13 15
51533 # Create a (secure) tmp directory for tmp files.
51536 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51537 test -n "$tmp" && test -d "$tmp"
51540 tmp
=.
/confstat$$
-$RANDOM
51541 (umask 077 && mkdir $tmp)
51544 echo "$me: cannot create a temporary directory in ." >&2
51545 { (exit 1); exit 1; }
51550 cat >>$CONFIG_STATUS <<_ACEOF
51553 # CONFIG_FILES section.
51556 # No need to generate the scripts if there are no CONFIG_FILES.
51557 # This happens for instance when ./config.status config.h
51558 if test -n "\$CONFIG_FILES"; then
51559 # Protect against being on the right side of a sed subst in config.status.
51560 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51561 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51562 s,@SHELL@,$SHELL,;t t
51563 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51564 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51565 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51566 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51567 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51568 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51569 s,@exec_prefix@,$exec_prefix,;t t
51570 s,@prefix@,$prefix,;t t
51571 s,@program_transform_name@,$program_transform_name,;t t
51572 s,@bindir@,$bindir,;t t
51573 s,@sbindir@,$sbindir,;t t
51574 s,@libexecdir@,$libexecdir,;t t
51575 s,@datadir@,$datadir,;t t
51576 s,@sysconfdir@,$sysconfdir,;t t
51577 s,@sharedstatedir@,$sharedstatedir,;t t
51578 s,@localstatedir@,$localstatedir,;t t
51579 s,@libdir@,$libdir,;t t
51580 s,@includedir@,$includedir,;t t
51581 s,@oldincludedir@,$oldincludedir,;t t
51582 s,@infodir@,$infodir,;t t
51583 s,@mandir@,$mandir,;t t
51584 s,@build_alias@,$build_alias,;t t
51585 s,@host_alias@,$host_alias,;t t
51586 s,@target_alias@,$target_alias,;t t
51587 s,@DEFS@,$DEFS,;t t
51588 s,@ECHO_C@,$ECHO_C,;t t
51589 s,@ECHO_N@,$ECHO_N,;t t
51590 s,@ECHO_T@,$ECHO_T,;t t
51591 s,@LIBS@,$LIBS,;t t
51592 s,@build@,$build,;t t
51593 s,@build_cpu@,$build_cpu,;t t
51594 s,@build_vendor@,$build_vendor,;t t
51595 s,@build_os@,$build_os,;t t
51596 s,@host@,$host,;t t
51597 s,@host_cpu@,$host_cpu,;t t
51598 s,@host_vendor@,$host_vendor,;t t
51599 s,@host_os@,$host_os,;t t
51600 s,@target@,$target,;t t
51601 s,@target_cpu@,$target_cpu,;t t
51602 s,@target_vendor@,$target_vendor,;t t
51603 s,@target_os@,$target_os,;t t
51605 s,@CFLAGS@,$CFLAGS,;t t
51606 s,@LDFLAGS@,$LDFLAGS,;t t
51607 s,@CPPFLAGS@,$CPPFLAGS,;t t
51608 s,@ac_ct_CC@,$ac_ct_CC,;t t
51609 s,@EXEEXT@,$EXEEXT,;t t
51610 s,@OBJEXT@,$OBJEXT,;t t
51612 s,@EGREP@,$EGREP,;t t
51614 s,@CXXFLAGS@,$CXXFLAGS,;t t
51615 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51616 s,@RANLIB@,$RANLIB,;t t
51617 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51619 s,@ac_ct_AR@,$ac_ct_AR,;t t
51620 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51621 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51622 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51623 s,@STRIP@,$STRIP,;t t
51624 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51625 s,@WINDRES@,$WINDRES,;t t
51626 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51627 s,@DLLTOOL@,$DLLTOOL,;t t
51628 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51629 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51630 s,@LN_S@,$LN_S,;t t
51631 s,@CXXCPP@,$CXXCPP,;t t
51632 s,@subdirs@,$subdirs,;t t
51633 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51634 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51635 s,@GTK_LIBS@,$GTK_LIBS,;t t
51636 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51637 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51638 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51639 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51640 s,@X_CFLAGS@,$X_CFLAGS,;t t
51641 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51642 s,@X_LIBS@,$X_LIBS,;t t
51643 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51644 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51645 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51646 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51647 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51648 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51649 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51651 s,@DEREZ@,$DEREZ,;t t
51652 s,@SETFILE@,$SETFILE,;t t
51653 s,@LIBICONV@,$LIBICONV,;t t
51654 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51655 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51656 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51657 s,@SDL_LIBS@,$SDL_LIBS,;t t
51658 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51659 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51660 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51661 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51662 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51663 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51664 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51665 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51666 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51667 s,@GST_LIBS@,$GST_LIBS,;t t
51668 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51669 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51670 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51671 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51672 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51673 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51674 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51675 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51676 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51677 s,@VENDOR@,$VENDOR,;t t
51678 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51679 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51680 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51681 s,@WXUNIV@,$WXUNIV,;t t
51682 s,@MONOLITHIC@,$MONOLITHIC,;t t
51683 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51684 s,@EXTRALIBS@,$EXTRALIBS,;t t
51685 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51686 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51687 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51688 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51689 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51690 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51691 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51692 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51693 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51694 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51695 s,@UNICODE@,$UNICODE,;t t
51696 s,@BUILD@,$BUILD,;t t
51697 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51698 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51699 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51700 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51701 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51702 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51703 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51704 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51705 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51706 s,@SET_MAKE@,$SET_MAKE,;t t
51707 s,@MAKE_SET@,$MAKE_SET,;t t
51709 s,@ac_ct_NM@,$ac_ct_NM,;t t
51710 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51711 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51712 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51713 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51714 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51715 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51716 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51717 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51718 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51719 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51720 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51721 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51722 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51723 s,@LIBPREFIX@,$LIBPREFIX,;t t
51724 s,@LIBEXT@,$LIBEXT,;t t
51725 s,@DLLPREFIX@,$DLLPREFIX,;t t
51726 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51727 s,@dlldir@,$dlldir,;t t
51728 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51729 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51730 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51731 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51732 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51733 s,@PIC_FLAG@,$PIC_FLAG,;t t
51734 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51735 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51736 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51737 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51738 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51739 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51740 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51741 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51742 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51743 s,@GCC_PCH@,$GCC_PCH,;t t
51744 s,@ICC_PCH@,$ICC_PCH,;t t
51745 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51746 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51747 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51748 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51749 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51750 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51751 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51752 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51753 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51754 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51755 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51756 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51757 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51758 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51759 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51760 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51761 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51762 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51763 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51764 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51765 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
51766 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
51767 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
51768 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
51769 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51770 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51771 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51772 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51773 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51774 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51775 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
51776 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
51777 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
51778 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
51779 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51780 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51781 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51782 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51783 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51784 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51785 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51786 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51787 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51788 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51789 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51790 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51791 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51792 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51793 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51794 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51795 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51796 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51797 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
51798 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51799 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51800 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51801 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51802 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51803 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51804 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51805 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51806 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51807 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51808 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51809 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51810 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51811 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51812 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51813 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51814 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51815 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51816 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51817 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51818 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51819 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51820 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51821 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51822 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51823 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51824 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51825 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51826 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51827 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51828 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51829 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51830 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51831 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51832 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51833 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51834 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51835 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51836 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51837 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51838 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51839 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
51840 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51841 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51842 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51843 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51844 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51845 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51846 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51847 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51848 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51849 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51850 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51851 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51852 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51853 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51854 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51855 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51856 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51857 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51858 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51859 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51860 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51861 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51862 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51863 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51864 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51865 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51866 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51867 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51868 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51869 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51870 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51871 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51872 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51873 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51874 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51875 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51876 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51877 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51878 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51879 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51880 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51881 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51882 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51883 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51884 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51885 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51886 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51887 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51888 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51889 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51890 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51891 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51892 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51893 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51894 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51895 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51896 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51897 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51898 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51899 s,@SHARED@,$SHARED,;t t
51900 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51901 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51902 s,@USE_GUI@,$USE_GUI,;t t
51903 s,@AFMINSTALL@,$AFMINSTALL,;t t
51904 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51905 s,@TOOLKIT@,$TOOLKIT,;t t
51906 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51907 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51908 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51909 s,@cross_compiling@,$cross_compiling,;t t
51910 s,@WIDGET_SET@,$WIDGET_SET,;t t
51911 s,@WX_RELEASE@,$WX_RELEASE,;t t
51912 s,@WX_VERSION@,$WX_VERSION,;t t
51913 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51914 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51915 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51916 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51917 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51918 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51919 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51920 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51921 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51922 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51923 s,@EXE_LINKER@,$EXE_LINKER,;t t
51924 s,@GUIDIST@,$GUIDIST,;t t
51925 s,@DISTDIR@,$DISTDIR,;t t
51926 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51927 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51928 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51929 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51930 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51931 s,@RESCOMP@,$RESCOMP,;t t
51932 s,@RESFLAGS@,$RESFLAGS,;t t
51933 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51934 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51935 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51936 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51937 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51938 s,@MACSETFILE@,$MACSETFILE,;t t
51940 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51941 s,@LIBOBJS@,$LIBOBJS,;t t
51942 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51947 cat >>$CONFIG_STATUS <<\_ACEOF
51948 # Split the substitutions into bite-sized pieces for seds with
51949 # small command number limits, like on Digital OSF/1 and HP-UX.
51950 ac_max_sed_lines
=48
51951 ac_sed_frag
=1 # Number of current file.
51952 ac_beg
=1 # First line for current file.
51953 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51956 while $ac_more_lines; do
51957 if test $ac_beg -gt 1; then
51958 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51960 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51962 if test ! -s $tmp/subs.frag
; then
51963 ac_more_lines
=false
51965 # The purpose of the label and of the branching condition is to
51966 # speed up the sed processing (if there are no `@' at all, there
51967 # is no need to browse any of the substitutions).
51968 # These are the two extra sed commands mentioned above.
51970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51971 if test -z "$ac_sed_cmds"; then
51972 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51974 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51976 ac_sed_frag
=`expr $ac_sed_frag + 1`
51978 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51981 if test -z "$ac_sed_cmds"; then
51984 fi # test -n "$CONFIG_FILES"
51987 cat >>$CONFIG_STATUS <<\_ACEOF
51988 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51989 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51991 - | *:- | *:-:* ) # input from stdin
51993 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51994 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51995 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51996 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51997 * ) ac_file_in
=$ac_file.
in ;;
52000 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52001 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52003 X"$ac_file" : 'X\(//\)[^/]' \| \
52004 X"$ac_file" : 'X\(//\)$' \| \
52005 X"$ac_file" : 'X\(/\)' \| \
52006 . : '\(.\)' 2>/dev/null ||
52008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52010 /^X\(\/\/\)$/{ s//\1/; q; }
52011 /^X\(\/\).*/{ s//\1/; q; }
52013 { if $as_mkdir_p; then
52018 while test ! -d "$as_dir"; do
52019 as_dirs
="$as_dir $as_dirs"
52020 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52022 X"$as_dir" : 'X\(//\)[^/]' \| \
52023 X"$as_dir" : 'X\(//\)$' \| \
52024 X"$as_dir" : 'X\(/\)' \| \
52025 . : '\(.\)' 2>/dev/null ||
52027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52029 /^X\(\/\/\)$/{ s//\1/; q; }
52030 /^X\(\/\).*/{ s//\1/; q; }
52033 test ! -n "$as_dirs" || mkdir $as_dirs
52034 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52036 { (exit 1); exit 1; }; }; }
52040 if test "$ac_dir" != .
; then
52041 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52042 # A "../" for each directory in $ac_dir_suffix.
52043 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52045 ac_dir_suffix
= ac_top_builddir
=
52049 .
) # No --srcdir option. We are building in place.
52051 if test -z "$ac_top_builddir"; then
52054 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52056 [\\/]* | ?
:[\\/]* ) # Absolute path.
52057 ac_srcdir
=$srcdir$ac_dir_suffix;
52058 ac_top_srcdir
=$srcdir ;;
52059 *) # Relative path.
52060 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52061 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52064 # Do not use `cd foo && pwd` to compute absolute paths, because
52065 # the directories may not exist.
52067 .
) ac_abs_builddir
="$ac_dir";;
52070 .
) ac_abs_builddir
=`pwd`;;
52071 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52072 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52075 case $ac_abs_builddir in
52076 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52078 case ${ac_top_builddir}.
in
52079 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52080 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52081 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52084 case $ac_abs_builddir in
52085 .
) ac_abs_srcdir
=$ac_srcdir;;
52088 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52089 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52090 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52093 case $ac_abs_builddir in
52094 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52096 case $ac_top_srcdir in
52097 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52098 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52099 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52105 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52106 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52109 # Let's still pretend it is `configure' which instantiates (i.e., don't
52110 # use $as_me), people would be surprised to read:
52111 # /* config.h. Generated by config.status. */
52112 if test x
"$ac_file" = x
-; then
52115 configure_input
="$ac_file. "
52117 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52118 sed 's,.*/,,'` by configure."
52120 # First look for the input files in the build tree, otherwise in the
52122 ac_file_inputs
=`IFS=:
52123 for f in $ac_file_in; do
52125 -) echo $tmp/stdin ;;
52127 # Absolute (can't be DOS-style, as IFS=:)
52128 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52129 echo "$as_me: error: cannot find input file: $f" >&2;}
52130 { (exit 1); exit 1; }; }
52133 if test -f "$f"; then
52136 elif test -f "$srcdir/$f"; then
52141 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52142 echo "$as_me: error: cannot find input file: $f" >&2;}
52143 { (exit 1); exit 1; }; }
52146 done` || { (exit 1); exit 1; }
52148 if test x
"$ac_file" != x
-; then
52149 { echo "$as_me:$LINENO: creating $ac_file" >&5
52150 echo "$as_me: creating $ac_file" >&6;}
52154 cat >>$CONFIG_STATUS <<_ACEOF
52158 cat >>$CONFIG_STATUS <<\_ACEOF
52160 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52161 s
,@configure_input@
,$configure_input,;t t
52162 s
,@srcdir@
,$ac_srcdir,;t t
52163 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52164 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52165 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52166 s
,@builddir@
,$ac_builddir,;t t
52167 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52168 s
,@top_builddir@
,$ac_top_builddir,;t t
52169 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52170 s
,@INSTALL@
,$ac_INSTALL,;t t
52171 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52173 if test x"$ac_file" != x-; then
52174 mv $tmp/out $ac_file
52180 # Run the commands associated with the file.
52182 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52183 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52187 cat >>$CONFIG_STATUS <<\_ACEOF
52190 # CONFIG_HEADER section.
52193 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52194 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52196 # ac_d sets the value in "#define NAME VALUE" lines.
52197 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52198 ac_dB
='[ ].*$,\1#\2'
52201 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52202 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52203 ac_uB
='$,\1#\2define\3'
52207 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52208 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52210 - | *:- | *:-:* ) # input from stdin
52212 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52213 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52214 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52215 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52216 * ) ac_file_in
=$ac_file.
in ;;
52219 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52220 echo "$as_me: creating $ac_file" >&6;}
52222 # First look for the input files in the build tree, otherwise in the
52224 ac_file_inputs
=`IFS=:
52225 for f in $ac_file_in; do
52227 -) echo $tmp/stdin ;;
52229 # Absolute (can't be DOS-style, as IFS=:)
52230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52231 echo "$as_me: error: cannot find input file: $f" >&2;}
52232 { (exit 1); exit 1; }; }
52233 # Do quote $f, to prevent DOS paths from being IFS'd.
52236 if test -f "$f"; then
52239 elif test -f "$srcdir/$f"; then
52244 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52245 echo "$as_me: error: cannot find input file: $f" >&2;}
52246 { (exit 1); exit 1; }; }
52249 done` || { (exit 1); exit 1; }
52250 # Remove the trailing spaces.
52251 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52255 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52256 # `conftest.undefs', that substitutes the proper values into
52257 # config.h.in to produce config.h. The first handles `#define'
52258 # templates, and the second `#undef' templates.
52259 # And first: Protect against being on the right side of a sed subst in
52260 # config.status. Protect against being in an unquoted here document
52261 # in config.status.
52262 rm -f conftest.defines conftest.undefs
52263 # Using a here document instead of a string reduces the quoting nightmare.
52264 # Putting comments in sed scripts is not portable.
52266 # `end' is used to avoid that the second main sed command (meant for
52267 # 0-ary CPP macros) applies to n-ary macro definitions.
52268 # See the Autoconf documentation for `clear'.
52269 cat >confdef2sed.
sed <<\_ACEOF
52274 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52276 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52279 # If some macros were called several times there might be several times
52280 # the same #defines, which is useless. Nevertheless, we may not want to
52281 # sort them, since we want the *last* AC-DEFINE to be honored.
52282 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52283 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52284 rm -f confdef2sed.sed
52286 # This sed command replaces #undef with comments. This is necessary, for
52287 # example, in the case of _POSIX_SOURCE, which is predefined and required
52288 # on some systems where configure will not decide to define it.
52289 cat >>conftest.undefs <<\_ACEOF
52290 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52293 # Break up conftest.defines because some shells have a limit on the size
52294 # of here documents, and old seds have small limits too (100 cmds).
52295 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52296 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52297 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52298 echo ' :' >>$CONFIG_STATUS
52299 rm -f conftest.tail
52300 while grep . conftest.defines >/dev/null
52302 # Write a limited-size here document to $tmp/defines.sed.
52303 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52304 # Speed up: don't consider the non `#define' lines.
52305 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52306 # Work around the forget-to-reset-the-flag bug.
52307 echo 't clr' >>$CONFIG_STATUS
52308 echo ': clr' >>$CONFIG_STATUS
52309 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52311 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52313 mv $tmp/out $tmp/in
52315 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52316 rm -f conftest.defines
52317 mv conftest.
tail conftest.defines
52319 rm -f conftest.defines
52320 echo ' fi # grep' >>$CONFIG_STATUS
52321 echo >>$CONFIG_STATUS
52323 # Break up conftest.undefs because some shells have a limit on the size
52324 # of here documents, and old seds have small limits too (100 cmds).
52325 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52326 rm -f conftest.
tail
52327 while grep . conftest.undefs
>/dev
/null
52329 # Write a limited-size here document to $tmp/undefs.sed.
52330 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52331 # Speed up: don't consider the non
`#undef'
52332 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52333 # Work around the forget-to-reset-the-flag bug.
52334 echo 't clr' >>$CONFIG_STATUS
52335 echo ': clr' >>$CONFIG_STATUS
52336 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52338 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52340 mv $tmp/out $tmp/in
52342 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52343 rm -f conftest.undefs
52344 mv conftest.tail conftest.undefs
52346 rm -f conftest.undefs
52348 cat >>$CONFIG_STATUS <<\_ACEOF
52349 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52350 # use $as_me), people would be surprised to read:
52351 # /* config.h. Generated by config.status. */
52352 if test x
"$ac_file" = x
-; then
52353 echo "/* Generated by configure. */" >$tmp/config.h
52355 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52357 cat $tmp/in >>$tmp/config.h
52359 if test x
"$ac_file" != x
-; then
52360 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52361 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52362 echo "$as_me: $ac_file is unchanged" >&6;}
52364 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52365 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52366 X"$ac_file" : 'X\(//\)[^/]' \| \
52367 X"$ac_file" : 'X\(//\)$' \| \
52368 X"$ac_file" : 'X\(/\)' \| \
52369 . : '\(.\)' 2>/dev/null ||
52371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52373 /^X\(\/\/\)$/{ s//\1/; q; }
52374 /^X\(\/\).*/{ s//\1/; q; }
52376 { if $as_mkdir_p; then
52381 while test ! -d "$as_dir"; do
52382 as_dirs
="$as_dir $as_dirs"
52383 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52385 X"$as_dir" : 'X\(//\)[^/]' \| \
52386 X"$as_dir" : 'X\(//\)$' \| \
52387 X"$as_dir" : 'X\(/\)' \| \
52388 . : '\(.\)' 2>/dev/null ||
52390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52392 /^X\(\/\/\)$/{ s//\1/; q; }
52393 /^X\(\/\).*/{ s//\1/; q; }
52396 test ! -n "$as_dirs" || mkdir $as_dirs
52397 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52398 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52399 { (exit 1); exit 1; }; }; }
52402 mv $tmp/config.h
$ac_file
52406 rm -f $tmp/config.h
52410 cat >>$CONFIG_STATUS <<\_ACEOF
52413 # CONFIG_COMMANDS section.
52415 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52416 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52417 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52418 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52419 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52420 X"$ac_dest" : 'X\(//\)[^/]' \| \
52421 X"$ac_dest" : 'X\(//\)$' \| \
52422 X"$ac_dest" : 'X\(/\)' \| \
52423 . : '\(.\)' 2>/dev/null ||
52425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52426 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52427 /^X\(\/\/\)$/{ s//\1/; q; }
52428 /^X\(\/\).*/{ s//\1/; q; }
52430 { if $as_mkdir_p; then
52435 while test ! -d "$as_dir"; do
52436 as_dirs
="$as_dir $as_dirs"
52437 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52439 X"$as_dir" : 'X\(//\)[^/]' \| \
52440 X"$as_dir" : 'X\(//\)$' \| \
52441 X"$as_dir" : 'X\(/\)' \| \
52442 . : '\(.\)' 2>/dev/null ||
52444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52446 /^X\(\/\/\)$/{ s//\1/; q; }
52447 /^X\(\/\).*/{ s//\1/; q; }
52450 test ! -n "$as_dirs" || mkdir $as_dirs
52451 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52452 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52453 { (exit 1); exit 1; }; }; }
52457 if test "$ac_dir" != .
; then
52458 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52459 # A "../" for each directory in $ac_dir_suffix.
52460 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52462 ac_dir_suffix
= ac_top_builddir
=
52466 .
) # No --srcdir option. We are building in place.
52468 if test -z "$ac_top_builddir"; then
52471 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52473 [\\/]* | ?
:[\\/]* ) # Absolute path.
52474 ac_srcdir
=$srcdir$ac_dir_suffix;
52475 ac_top_srcdir
=$srcdir ;;
52476 *) # Relative path.
52477 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52478 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52481 # Do not use `cd foo && pwd` to compute absolute paths, because
52482 # the directories may not exist.
52484 .
) ac_abs_builddir
="$ac_dir";;
52487 .
) ac_abs_builddir
=`pwd`;;
52488 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52489 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52492 case $ac_abs_builddir in
52493 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52495 case ${ac_top_builddir}.
in
52496 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52497 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52498 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52501 case $ac_abs_builddir in
52502 .
) ac_abs_srcdir
=$ac_srcdir;;
52505 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52506 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52507 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52510 case $ac_abs_builddir in
52511 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52513 case $ac_top_srcdir in
52514 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52515 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52516 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52521 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52522 echo "$as_me: executing $ac_dest commands" >&6;}
52525 mkdir -p $outdir &&
52526 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52528 wx
-config ) rm -f wx
-config
52529 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52535 cat >>$CONFIG_STATUS <<\_ACEOF
52537 { (exit 0); exit 0; }
52539 chmod +x
$CONFIG_STATUS
52540 ac_clean_files
=$ac_clean_files_save
52543 # configure is writing to config.log, and then calls config.status.
52544 # config.status does its own redirection, appending to config.log.
52545 # Unfortunately, on DOS this fails, as config.log is still kept open
52546 # by configure, so config.status won't be able to write to it; its
52547 # output is simply discarded. So we exec the FD to /dev/null,
52548 # effectively closing config.log, so it can be properly (re)opened and
52549 # appended to by config.status. When coming back to configure, we
52550 # need to make the FD available again.
52551 if test "$no_create" != yes; then
52553 ac_config_status_args
=
52554 test "$silent" = yes &&
52555 ac_config_status_args
="$ac_config_status_args --quiet"
52557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52560 # would make configure fail if this is the last instruction.
52561 $ac_cs_success || { (exit 1); exit 1; }
52565 # CONFIG_SUBDIRS section.
52567 if test "$no_recursion" != yes; then
52569 # Remove --cache-file and --srcdir arguments so they do not pile up.
52570 ac_sub_configure_args
=
52572 for ac_arg
in $ac_configure_args; do
52573 if test -n "$ac_prev"; then
52578 -cache-file | --cache-file | --cache-fil | --cache-fi \
52579 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52580 ac_prev
=cache_file
;;
52581 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52582 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52585 --config-cache | -C)
52587 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52589 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52591 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52593 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52595 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52599 # Always prepend --prefix to ensure using the same prefix
52600 # in subdir configurations.
52601 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52604 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52606 # Do not complain, so a configure script can configure whichever
52607 # parts of a large source tree are present.
52608 test -d $srcdir/$ac_dir || continue
52610 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52611 echo "$as_me: configuring in $ac_dir" >&6;}
52612 { if $as_mkdir_p; then
52617 while test ! -d "$as_dir"; do
52618 as_dirs
="$as_dir $as_dirs"
52619 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52621 X"$as_dir" : 'X\(//\)[^/]' \| \
52622 X"$as_dir" : 'X\(//\)$' \| \
52623 X"$as_dir" : 'X\(/\)' \| \
52624 . : '\(.\)' 2>/dev/null ||
52626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52628 /^X\(\/\/\)$/{ s//\1/; q; }
52629 /^X\(\/\).*/{ s//\1/; q; }
52632 test ! -n "$as_dirs" || mkdir $as_dirs
52633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52635 { (exit 1); exit 1; }; }; }
52639 if test "$ac_dir" != .
; then
52640 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52641 # A "../" for each directory in $ac_dir_suffix.
52642 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52644 ac_dir_suffix
= ac_top_builddir
=
52648 .
) # No --srcdir option. We are building in place.
52650 if test -z "$ac_top_builddir"; then
52653 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52655 [\\/]* | ?
:[\\/]* ) # Absolute path.
52656 ac_srcdir
=$srcdir$ac_dir_suffix;
52657 ac_top_srcdir
=$srcdir ;;
52658 *) # Relative path.
52659 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52660 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52663 # Do not use `cd foo && pwd` to compute absolute paths, because
52664 # the directories may not exist.
52666 .
) ac_abs_builddir
="$ac_dir";;
52669 .
) ac_abs_builddir
=`pwd`;;
52670 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52671 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52674 case $ac_abs_builddir in
52675 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52677 case ${ac_top_builddir}.
in
52678 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52679 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52680 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52683 case $ac_abs_builddir in
52684 .
) ac_abs_srcdir
=$ac_srcdir;;
52687 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52688 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52689 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52692 case $ac_abs_builddir in
52693 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52695 case $ac_top_srcdir in
52696 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52697 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52698 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52705 # Check for guested configure; otherwise get Cygnus style configure.
52706 if test -f $ac_srcdir/configure.gnu
; then
52707 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52708 elif test -f $ac_srcdir/configure
; then
52709 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52710 elif test -f $ac_srcdir/configure.
in; then
52711 ac_sub_configure
=$ac_configure
52713 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52714 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52718 # The recursion is here.
52719 if test -n "$ac_sub_configure"; then
52720 # Make the cache file name correct relative to the subdirectory.
52721 case $cache_file in
52722 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52723 *) # Relative path.
52724 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52727 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52728 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52729 # The eval makes quoting arguments work.
52730 eval $ac_sub_configure $ac_sub_configure_args \
52731 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52732 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52733 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52734 { (exit 1); exit 1; }; }
52743 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52745 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52746 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52748 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52749 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52750 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52752 echo " What level of wxWidgets compatibility should be enabled?"
52753 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52754 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52756 echo " Which libraries should wxWidgets use?"
52757 echo " jpeg ${wxUSE_LIBJPEG-none}"
52758 echo " png ${wxUSE_LIBPNG-none}"
52759 echo " regex ${wxUSE_REGEX}"
52760 echo " tiff ${wxUSE_LIBTIFF-none}"
52761 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52762 echo " xpm ${wxUSE_LIBXPM-none}"
52764 echo " zlib ${wxUSE_ZLIB}"
52765 echo " odbc ${wxUSE_ODBC}"
52766 echo " expat ${wxUSE_EXPAT}"
52767 echo " libmspack ${wxUSE_LIBMSPACK}"
52768 echo " sdl ${wxUSE_LIBSDL}"